slimgems/slimgems — Issue #11: Install fails (RVM + ruby 1.9.3-p0) (Errno::EACCES)
Author: runa
Created: 2011-12-26 15:59:19+00:00
State: open

Running:
$ gem install slimgems

Prints:

Building native extensions. This could take a while...
ERROR: Error installing slimgems:
ERROR: Failed to build gem native extension.

"/usr/local/rvm/rubies/ruby-1.9.3-p0/bin/ruby" -rubygems /usr/local/rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2/bin/rake RUBYARCHDIR=/usr/local/rvm/gems/ruby-1.9.3-p0/gems/slimgems-1.3.9.3/hide_lib_for_update RUBYLIBDIR=/usr/local/rvm/gems/ruby-1.9.3-p0/gems/slimgems-1.3.9.3/hide_lib_for_update
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - (/usr/local/rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems, /usr/local/rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems-backup/rubygems)

Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.3-p0/gems/slimgems-1.3.9.3 for inspection.
Results logged to /usr/local/rvm/gems/ruby-1.9.3-p0/gems/slimgems-1.3.9.3/bootstrap/gem_make.out