I feel like a real idiot, but I have been wading this way all day and don’t get it.
I restarted several times trying to get a full Ruby installation in my OSX environment, RVM, Brew, Ruby: and every time I move on to installing Ruby, it ends up installing rubygems.
The reason I need to start again is because RVM did not update in Jewerybox after my first successful installation (I used the packaged all-in-one RubyInstaller), so I could not manage my gems - the problem caused the initial installation of Ruby on a system living in / usr / local, and not in my own directory. To fix this, I deleted all my Ruby stuff and started again.
Everything is ok until the ruby compiler begins to understand the rubygems installation section when installing ruby 2.0.0. Checking OSX system files under usr / bin. I see that rubygems does not exist either (it should be present by default in OSX). Any ideas? (note that Xcode is updated and command line tools installed)
Last try:
$ rvm get head --autolibs=3
. which causes the following error:
[2013-03-19 23:21:50] /Users/matthew.evans/.rvm/rubies/ruby-2.0.0-p0/bin/ruby Exception `LoadError' at /Users/matthew.evans/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems.rb:1073 - cannot load such file -- rubygems/defaults/operating_system Exception `LoadError' at /Users/matthew.evans/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/rubygems.rb:1082 - cannot load such file -- rubygems/defaults/ruby mkdir -p /Users/matthew.evans/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0
...
install -c -m 0755 /var/folders/nq/wkj89k854tl0w97n68qdn820pzk_51/T/gem.84634 /Users/matthew.evans/.rvm/rubies/ruby-2.0.0-p0/bin/gem rm /var/folders/nq/wkj89k854tl0w97n68qdn820pzk_51/T/gem.84634 ERROR: While executing gem ... (NoMethodError) undefined method `fu_stream_blksize' for #<Gem::Commands::SetupCommand:0x007ffd0e054818> Installing RubyGems Installing gem executable
source share