Skip to content

Instantly share code, notes, and snippets.

@anteaya
Created February 24, 2011 16:38
Show Gist options
  • Select an option

  • Save anteaya/842409 to your computer and use it in GitHub Desktop.

Select an option

Save anteaya/842409 to your computer and use it in GitHub Desktop.
rvm install 1.8.6
Installing Ruby from source to: /home/anita/.rvm/rubies/ruby-1.8.6-p420, this may take a while depending on your cpu(s)...
ruby-1.8.6-p420 - #fetching
ruby-1.8.6-p420 - #extracted to /home/anita/.rvm/src/ruby-1.8.6-p420 (already extracted)
ruby-1.8.6-p420 - #configuring
ruby-1.8.6-p420 - #compiling
ruby-1.8.6-p420 - #installing
ruby-1.8.6-p420 - #rubygems installing to ruby-1.8.6-p420
ERROR: Error running 'GEM_PATH='/home/anita/.rvm/gems/ruby-1.8.6-p420:/home/anita/.rvm/gems/ruby-1.8.6-p420@global:/home/anita/.rvm/gems/ruby-1.8.6-p420@global' GEM_HOME='/home/anita/.rvm/gems/ruby-1.8.6-p420' /home/anita/.rvm/rubies/ruby-1.8.6-p420/bin/ruby /home/anita/.rvm/src/rubygems-1.5.2/setup.rb', please read /home/anita/.rvm/log/ruby-1.8.6-p420/rubygems.install.log
WARN: ruby-1.8.6-p420 - #warning Installation of rubygems ruby-1.8.6-p420 did not complete successfully.
ruby-1.8.6-p420 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.8.6-p420 - #importing default gemsets (/home/anita/.rvm/gemsets/)
ERROR: Error running ''/home/anita/.rvm/scripts/gemsets' initial' under ,
please read /home/anita/.rvm/log/ruby-1.8.6-p420/gemsets.initial.log
Install of ruby-1.8.6-p420 - #complete
~ $ cat /home/anita/.rvm/log/ruby-1.8.6-p420/rubygems.install.log
[2011-02-24 11:31:04] GEM_PATH='/home/anita/.rvm/gems/ruby-1.8.6-p420:/home/anita/.rvm/gems/ruby-1.8.6-p420@global:/home/anita/.rvm/gems/ruby-1.8.6-p420@global' GEM_HOME='/home/anita/.rvm/gems/ruby-1.8.6-p420' /home/anita/.rvm/rubies/ruby-1.8.6-p420/bin/ruby /home/anita/.rvm/src/rubygems-1.5.2/setup.rb
./lib/rubygems/custom_require.rb:31:in `require': undefined method `end_with?' for "no such file to load -- Win32API":String (NoMethodError)
from ./lib/rubygems/config_file.rb:55
from ./lib/rubygems/custom_require.rb:29:in `gem_original_require'
from ./lib/rubygems/custom_require.rb:29:in `require'
from ./lib/rubygems/gem_runner.rb:8
from ./lib/rubygems/custom_require.rb:29:in `gem_original_require'
from ./lib/rubygems/custom_require.rb:29:in `require'
from /home/anita/.rvm/src/rubygems-1.5.2/setup.rb:25
[2011-02-24 11:34:02] GEM_PATH='/home/anita/.rvm/gems/ruby-1.8.6-p420:/home/anita/.rvm/gems/ruby-1.8.6-p420@global:/home/anita/.rvm/gems/ruby-1.8.6-p420@global' GEM_HOME='/home/anita/.rvm/gems/ruby-1.8.6-p420' /home/anita/.rvm/rubies/ruby-1.8.6-p420/bin/ruby /home/anita/.rvm/src/rubygems-1.5.2/setup.rb
./lib/rubygems/custom_require.rb:31:in `require': undefined method `end_with?' for "no such file to load -- Win32API":String (NoMethodError)
from ./lib/rubygems/config_file.rb:55
from ./lib/rubygems/custom_require.rb:29:in `gem_original_require'
from ./lib/rubygems/custom_require.rb:29:in `require'
from ./lib/rubygems/gem_runner.rb:8
from ./lib/rubygems/custom_require.rb:29:in `gem_original_require'
from ./lib/rubygems/custom_require.rb:29:in `require'
from /home/anita/.rvm/src/rubygems-1.5.2/setup.rb:25
~ $ cat /home/anita/.rvm/log/ruby-1.8.6-p420/gemsets.initial.log
[2011-02-24 11:31:05] '/home/anita/.rvm/scripts/gemsets' initial # under ruby-1.8.6-p420
ERROR: 'gem' was not found, cannot perform gem actions (Do you have an RVM ruby selected?)
[2011-02-24 11:34:06] '/home/anita/.rvm/scripts/gemsets' initial # under ruby-1.8.6-p420
ERROR: 'gem' was not found, cannot perform gem actions (Do you have an RVM ruby selected?)
~ $ rvm -v
rvm 1.2.7 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
~ $ uname -a
Linux anita-laptop 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 21:21:01 UTC 2011 i686 GNU/Linux
@anteaya
Copy link
Copy Markdown
Author

anteaya commented Feb 24, 2011

Via Wayne:
run 'rvm 1.8.6 ; rvm rubygems 1.3.7 ; '
followed by 'gem install rake'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment