Skip to content

Instantly share code, notes, and snippets.

@gregspurrier
Created April 13, 2011 00:16
Show Gist options
  • Save gregspurrier/916727 to your computer and use it in GitHub Desktop.
Save gregspurrier/916727 to your computer and use it in GitHub Desktop.
ree-1.8.6 install failure
gspurrie-mn:~% rvm --version
rvm 1.6.2 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]
gspurrie-mn:~% rvm install ree-1.8.6
Installing Ruby Enterprise Edition from source to: /Users/gspurrie/.rvm/rubies/ree-1.8.6-20090610
ree-1.8.6-20090610 - #fetching (ruby-enterprise-1.8.6-20090610)
ree-1.8.6-20090610 - #extracting ruby-enterprise-1.8.6-20090610 to /Users/gspurrie/.rvm/src/ree-1.8.6-20090610
ree-1.8.6-20090610 - #installing
Removing old Rubygems files...
Installing rubygems dedicated to ree-1.8.6-20090610...
Installing rubygems for /Users/gspurrie/.rvm/rubies/ree-1.8.6-20090610/bin/ruby
ERROR: Error running 'GEM_PATH="/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610:/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610@global:/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610@global" GEM_HOME="/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610" "/Users/gspurrie/.rvm/rubies/ree-1.8.6-20090610/bin/ruby" "/Users/gspurrie/.rvm/src/rubygems-1.6.2/setup.rb"', please read /Users/gspurrie/.rvm/log/ree-1.8.6-20090610/rubygems.install.log
WARN: Installation of rubygems did not complete successfully.
ree-1.8.6-20090610 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ree-1.8.6-20090610 - #importing default gemsets (/Users/gspurrie/.rvm/gemsets/)
gspurrie-mn:~% cat /Users/gspurrie/.rvm/log/ree-1.8.6-20090610/rubygems.install.log
[2011-04-12 16:24:27] GEM_PATH="/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610:/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610@global:/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610@global" GEM_HOME="/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610" "/Users/gspurrie/.rvm/rubies/ree-1.8.6-20090610/bin/ruby" "/Users/gspurrie/.rvm/src/rubygems-1.6.2/setup.rb"
./lib/rubygems/custom_require.rb:54: warning: parenthesize argument(s) for future version
./lib/rubygems/custom_require.rb:57: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:36:in `gem_original_require'
from ./lib/rubygems/custom_require.rb:36:in `require'
from ./lib/rubygems/gem_runner.rb:8
from ./lib/rubygems/custom_require.rb:36:in `gem_original_require'
from ./lib/rubygems/custom_require.rb:36:in `require'
from /Users/gspurrie/.rvm/src/rubygems-1.6.2/setup.rb:25
[2011-04-12 16:40:12] GEM_PATH="/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610:/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610@global:/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610@global" GEM_HOME="/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610" "/Users/gspurrie/.rvm/rubies/ree-1.8.6-20090610/bin/ruby" "/Users/gspurrie/.rvm/src/rubygems-1.6.2/setup.rb"
./lib/rubygems/custom_require.rb:54: warning: parenthesize argument(s) for future version
./lib/rubygems/custom_require.rb:57: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:36:in `gem_original_require'
from ./lib/rubygems/custom_require.rb:36:in `require'
from ./lib/rubygems/gem_runner.rb:8
from ./lib/rubygems/custom_require.rb:36:in `gem_original_require'
from ./lib/rubygems/custom_require.rb:36:in `require'
from /Users/gspurrie/.rvm/src/rubygems-1.6.2/setup.rb:25
[2011-04-12 17:09:57] GEM_PATH="/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610:/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610@global:/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610@global" GEM_HOME="/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610" "/Users/gspurrie/.rvm/rubies/ree-1.8.6-20090610/bin/ruby" "/Users/gspurrie/.rvm/src/rubygems-1.3.7/setup.rb"
RubyGems 1.3.7 installed
=== 1.3.7 / 2010-05-13
NOTE:
http://rubygems.org is now the default source for downloading gems.
You may have sources set via ~/.gemrc, so you should replace
http://gems.rubyforge.org with http://rubygems.org
http://gems.rubyforge.org will continue to work for the forseeable future.
New features:
* `gem` commands
* `gem install` and `gem fetch` now report alternate platforms when a
matching one couldn't be found.
* `gem contents` --prefix is now the default as specified in --help. Bug
#27211 by Mamoru Tasaka.
* `gem fetch` can fetch of old versions again. Bug #27960 by Eric Hankins.
* `gem query` and friends output now lists platforms. Bug #27856 by Greg
Hazel.
* `gem server` now allows specification of multiple gem dirs for
documentation. Bug #27573 by Yuki Sonoda.
* `gem unpack` can unpack gems again. Bug #27872 by Timothy Jones.
* `gem unpack` now unpacks remote gems.
* --user-install is no longer the default. If you really liked it, see
Gem::ConfigFile to learn how to set it by default. (This change was made
in 1.3.6)
* RubyGems now has platform support for IronRuby. Patch #27951 by Will Green.
Bug fixes:
* Require rubygems/custom_require if --disable-gem was set. Bug #27700 by
Roger Pack.
* RubyGems now protects against exceptions being raised by plugins.
* rubygems/builder now requires user_interaction. Ruby Bug #1040 by Phillip
Toland.
* Gem::Dependency support #version_requirements= with a warning. Fix for old
Rails versions. Bug #27868 by Wei Jen Lu.
* Gem::PackageTask depends on the package dir like the other rake package
tasks so dependencies can be hooked up correctly.
------------------------------------------------------------------------------
RubyGems installed the following executables:
/Users/gspurrie/.rvm/rubies/ree-1.8.6-20090610/bin/gem
[2011-04-12 17:13:57] GEM_PATH="/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610:/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610@global:/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610@global" GEM_HOME="/Users/gspurrie/.rvm/gems/ree-1.8.6-20090610" "/Users/gspurrie/.rvm/rubies/ree-1.8.6-20090610/bin/ruby" "/Users/gspurrie/.rvm/src/rubygems-1.6.2/setup.rb"
./lib/rubygems/custom_require.rb:54: warning: parenthesize argument(s) for future version
./lib/rubygems/custom_require.rb:57: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:36:in `gem_original_require'
from ./lib/rubygems/custom_require.rb:36:in `require'
from ./lib/rubygems/gem_runner.rb:8
from ./lib/rubygems/custom_require.rb:36:in `gem_original_require'
from ./lib/rubygems/custom_require.rb:36:in `require'
from /Users/gspurrie/.rvm/src/rubygems-1.6.2/setup.rb:25
@soupmatt
Copy link

Did you find a fix for this? I am having the same issues, and I found your gist, but I can't find anything else related to this.

@gregspurrier
Copy link
Author

Sorry, no. I supplied this gist to the rvm IRC channel, but haven't followed up from there.

I was able to get out of having to use ree-1.8.6, so I didn't pursue it further.

@soupmatt
Copy link

soupmatt commented Jun 23, 2011 via email

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