Created
January 30, 2012 20:26
-
-
Save jonathanpberger/1706469 to your computer and use it in GitHub Desktop.
RVM / ruby 1.9.3 problem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Mon Jan 30 13:48:46 on ttys000 | |
jpb@jpb-MBP ~ $ rvm reinstall 1.9.3 | |
Removing /Users/jpb/.rvm/src/ruby-1.9.3-p0... | |
Removing /Users/jpb/.rvm/rubies/ruby-1.9.3-p0... | |
Removing ruby-1.9.3-p0 aliases... | |
Removing ruby-1.9.3-p0 wrappers... | |
Removing ruby-1.9.3-p0 environments... | |
Removing ruby-1.9.3-p0 binaries... | |
Fetching yaml-0.1.4.tar.gz to /Users/jpb/.rvm/archives | |
Extracting yaml-0.1.4.tar.gz to /Users/jpb/.rvm/src | |
Configuring yaml in /Users/jpb/.rvm/src/yaml-0.1.4. | |
Compiling yaml in /Users/jpb/.rvm/src/yaml-0.1.4. | |
Installing yaml to /Users/jpb/.rvm/usr | |
Installing Ruby from source to: /Users/jpb/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)... | |
ruby-1.9.3-p0 - #fetching | |
ruby-1.9.3-p0 - #extracting ruby-1.9.3-p0 to /Users/jpb/.rvm/src/ruby-1.9.3-p0 | |
ruby-1.9.3-p0 - #extracted to /Users/jpb/.rvm/src/ruby-1.9.3-p0 | |
ruby-1.9.3-p0 - #configuring | |
ruby-1.9.3-p0 - #compiling | |
ruby-1.9.3-p0 - #installing | |
Removing old Rubygems files... | |
Installing rubygems-1.8.15 for ruby-1.9.3-p0 ... | |
Error running 'GEM_PATH="/Users/jpb/.rvm/gems/ruby-1.9.3-p0:/Users/jpb/.rvm/gems/ruby-1.9.3-p0@global:/Users/jpb/.rvm/gems/ruby-1.9.3-p0:/Users/jpb/.rvm/gems/ruby-1.9.3-p0@global" GEM_HOME="/Users/jpb/.rvm/gems/ruby-1.9.3-p0" "/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/bin/ruby" "/Users/jpb/.rvm/src/rubygems-1.8.15/setup.rb"', please read /Users/jpb/.rvm/log/ruby-1.9.3-p0/rubygems.install.log | |
Installation of rubygems did not complete successfully. | |
ruby-1.9.3-p0 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake). | |
ruby-1.9.3-p0 - #importing default gemsets (/Users/jpb/.rvm/gemsets/) | |
Install of ruby-1.9.3-p0 - #complete | |
jpb@jpb-MBP ~ $ rvm use 1.9.3 | |
Using /Users/jpb/.rvm/gems/ruby-1.9.3-p0 | |
jpb@jpb-MBP ~ $ rvm info | |
ruby-1.9.3-p0: | |
system: | |
uname: "Darwin jpb-MBP.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386" | |
bash: "/bin/bash => GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)" | |
zsh: "/bin/zsh => zsh 4.3.9 (i386-apple-darwin10.0)" | |
rvm: | |
version: "rvm 1.10.2 by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.beginrescueend.com/]" | |
updated: "38 minutes 9 seconds ago" | |
ruby: | |
interpreter: "ruby" | |
version: "1.9.3p0" | |
date: "2011-10-30" | |
platform: "x86_64-darwin10.8.0" | |
patchlevel: "2011-10-30 revision 33570" | |
full_version: "ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]" | |
homes: | |
gem: "/Users/jpb/.rvm/gems/ruby-1.9.3-p0" | |
ruby: "/Users/jpb/.rvm/rubies/ruby-1.9.3-p0" | |
binaries: | |
ruby: "/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/bin/ruby" | |
irb: "/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/bin/irb" | |
gem: "/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/bin/gem" | |
rake: "/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/bin/rake" | |
environment: | |
PATH: "/Users/jpb/.rvm/gems/ruby-1.9.3-p0/bin:/Users/jpb/.rvm/gems/ruby-1.9.3-p0@global/bin:/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/bin:/Users/jpb/.rvm/bin:/usr/local/bin:/usr/local/sbin:/usr/local:/usr/local/git/bin:/Users/jpb/dot-rot/bin:/Users/jpb/bin:/usr/local/mysql/bin:/Users/jpb/.gems/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin" | |
GEM_HOME: "/Users/jpb/.rvm/gems/ruby-1.9.3-p0" | |
GEM_PATH: "/Users/jpb/.rvm/gems/ruby-1.9.3-p0:/Users/jpb/.rvm/gems/ruby-1.9.3-p0@global" | |
MY_RUBY_HOME: "/Users/jpb/.rvm/rubies/ruby-1.9.3-p0" | |
IRBRC: "/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/.irbrc" | |
RUBYOPT: "" | |
gemset: "" | |
jpb@jpb-MBP ~ $ gem install haml | |
/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:154:in `parse': (<unknown>): couldn't parse YAML at line 9 column 1 (Psych::SyntaxError) | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:154:in `parse_stream' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:125:in `parse' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:112:in `load' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems/config_file.rb:239:in `load_file' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems/config_file.rb:179:in `initialize' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems/gem_runner.rb:78:in `new' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems/gem_runner.rb:78:in `do_configuration' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems/gem_runner.rb:51:in `run' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/bin/gem:25:in `<main>' | |
jpb@jpb-MBP ~ $ | |
######################################################################## | |
######################################################################## | |
######################################################################## | |
> mpapis: jpbjpb: add this file to gist: /Users/jpb/.rvm/log/ruby-1.9.3-p0/rubygems.install.log | |
jpb@jpb-MBP ~ $ tail /Users/jpb/.rvm/log/ruby-1.9.3-p0/rubygems.install.log | |
/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:154:in `parse': (<unknown>): couldn't parse YAML at line 9 column 1 (Psych::SyntaxError) | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:154:in `parse_stream' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:125:in `parse' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:112:in `load' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/config_file.rb:239:in `load_file' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/config_file.rb:179:in `initialize' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/gem_runner.rb:78:in `new' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/gem_runner.rb:78:in `do_configuration' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/gem_runner.rb:51:in `run' | |
from setup.rb:38:in `<main>' | |
jpb@jpb-MBP ~ $ | |
############################################################## | |
############################################################## | |
############################################################## | |
here's the bit of psych that's tripping things up (error is line 154) | |
143 ### | |
144 # Parse a YAML string in +yaml+. Returns the full AST for the YAML document. | |
145 # This method can handle multiple YAML documents contained in +yaml+. | |
146 # | |
147 # Example: | |
148 # | |
149 # Psych.parse_stream("---\n - a\n - b") # => #<Psych::Nodes::Stream:0x00> | |
150 # | |
151 # See Psych::Nodes for more information about YAML AST. | |
152 def self.parse_stream yaml | |
153 parser = self.parser | |
154 parser.parse yaml | |
155 parser.handler.root | |
156 end | |
157 | |
158 ### | |
159 # call-seq: | |
160 # Psych.dump(o) -> string of yaml | |
161 # Psych.dump(o, options) -> string of yaml | |
162 # Psych.dump(o, io) -> io object passed in | |
163 # Psych.dump(o, io, options) -> io object passed in | |
164 # | |
###################################################### | |
###################################################### | |
###################################################### | |
> mpapis: jpbjpb: the whole log, not only last 10 lines | |
jpb@jpb-MBP ~ $ tail -n 1000 /Users/jpb/.rvm/log/ruby-1.9.3-p0/rubygems.install.log | |
[2012-01-30 14:22:34] GEM_PATH="/Users/jpb/.rvm/gems/ruby-1.9.3-p0:/Users/jpb/.rvm/gems/ruby-1.9.3-p0@global:/Users/jpb/.rvm/gems/ruby-1.9.3-p0:/Users/jpb/.rvm/gems/ruby-1.9.3-p0@global" GEM_HOME="/Users/jpb/.rvm/gems/ruby-1.9.3-p0" "/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/bin/ruby" "/Users/jpb/.rvm/src/rubygems-1.8.15/setup.rb" | |
/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:154:in `parse': (<unknown>): couldn't parse YAML at line 9 column 1 (Psych::SyntaxError) | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:154:in `parse_stream' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:125:in `parse' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:112:in `load' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/config_file.rb:239:in `load_file' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/config_file.rb:179:in `initialize' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/gem_runner.rb:78:in `new' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/gem_runner.rb:78:in `do_configuration' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/gem_runner.rb:51:in `run' | |
from setup.rb:38:in `<main>' | |
jpb@jpb-MBP ~ $ | |
############################################### | |
############################################### | |
############################################### | |
> mpapis: jpbjpb: cat intead of tail | |
jpb@jpb-MBP ~ $ cat /Users/jpb/.rvm/log/ruby-1.9.3-p0/rubygems.install.log | |
[2012-01-30 14:22:34] GEM_PATH="/Users/jpb/.rvm/gems/ruby-1.9.3-p0:/Users/jpb/.rvm/gems/ruby-1.9.3-p0@global:/Users/jpb/.rvm/gems/ruby-1.9.3-p0:/Users/jpb/.rvm/gems/ruby-1.9.3-p0@global" GEM_HOME="/Users/jpb/.rvm/gems/ruby-1.9.3-p0" "/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/bin/ruby" "/Users/jpb/.rvm/src/rubygems-1.8.15/setup.rb" | |
/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:154:in `parse': (<unknown>): couldn't parse YAML at line 9 column 1 (Psych::SyntaxError) | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:154:in `parse_stream' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:125:in `parse' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych.rb:112:in `load' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/config_file.rb:239:in `load_file' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/config_file.rb:179:in `initialize' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/gem_runner.rb:78:in `new' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/gem_runner.rb:78:in `do_configuration' | |
from /Users/jpb/.rvm/src/rubygems-1.8.15/lib/rubygems/gem_runner.rb:51:in `run' | |
from setup.rb:38:in `<main>' | |
jpb@jpb-MBP ~ $ | |
############################################################# | |
############################################################# | |
############################################################# | |
> mpapis: jpbjpb: do other versions work: rvm rubygems 1.8.10 | |
jpb@jpb-MBP ~ $ rvm rubygems 1.8.10 | |
Retrieving rubygems-1.8.10 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 243k 100 243k 0 0 97k 0 0:00:02 0:00:02 --:--:-- 183k | |
Extracting rubygems-1.8.10 ... | |
Removing old Rubygems files... | |
Installing rubygems-1.8.10 for ruby-1.9.3-p0 ... | |
Error running 'GEM_PATH="/Users/jpb/.rvm/gems/ruby-1.9.3-p0:/Users/jpb/.rvm/gems/ruby-1.9.3-p0@global:/Users/jpb/.rvm/gems/ruby-1.9.3-p0:/Users/jpb/.rvm/gems/ruby-1.9.3-p0@global" GEM_HOME="/Users/jpb/.rvm/gems/ruby-1.9.3-p0" "/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/bin/ruby" "/Users/jpb/.rvm/src/rubygems-1.8.10/setup.rb"', please read /Users/jpb/.rvm/log/ruby-1.9.3-p0/rubygems.install.log | |
Installation of rubygems did not complete successfully. | |
jpb@jpb-MBP ~ $ | |
########################################################### | |
########################################################### | |
########################################################### | |
> mpapis: jpbjpb: 1.6.4 ? | |
jpb@jpb-MBP ~ $ rvm rubygems 1.6.4 | |
Retrieving rubygems-1.6.4 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
curl: (22) The requested URL returned error: 404 | |
The requested url does not exist: 'http://production.cf.rubygems.org/rubygems/rubygems-1.6.4.tgz' | |
Trying ftp:// URL instead. | |
############################################################### | |
############################################################### | |
############################################################### | |
> jpbjpb: k, trying 1.6.2...different error in the log: | |
jpb@jpb-MBP ~ $ cat /Users/jpb/.rvm/log/ruby-1.9.3-p0/rubygems.install.log | |
[2012-01-30 15:06:47] GEM_PATH="/Users/jpb/.rvm/gems/ruby-1.9.3-p0:/Users/jpb/.rvm/gems/ruby-1.9.3-p0@global:/Users/jpb/.rvm/gems/ruby-1.9.3-p0:/Users/jpb/.rvm/gems/ruby-1.9.3-p0@global" GEM_HOME="/Users/jpb/.rvm/gems/ruby-1.9.3-p0" "/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/bin/ruby" "/Users/jpb/.rvm/src/rubygems-1.6.2/setup.rb" | |
/Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems.rb:480:in `find_files': undefined method `map' for Gem::Specification:Class (NoMethodError) | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems.rb:1087:in `load_plugins' | |
from /Users/jpb/.rvm/src/rubygems-1.6.2/lib/rubygems/gem_runner.rb:84:in `<top (required)>' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /Users/jpb/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /Users/jpb/.rvm/src/rubygems-1.6.2/setup.rb:25:in `<main>' | |
jpb@jpb-MBP ~ $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment