Gem install (Errno::EACCES)

I am finding it impossible to install a gem, and even more impossible to
find help.

Can anyone PLEASE help?


Mason-Kessingers-Computer:~/Desktop/rails/pygmalion masonkessinger$ gem
install login_generator

Attempting local installation of ‘login_generator’
Local gem file not found: login_generator*.gem
Attempting remote installation of ‘login_generator’
Updating Gem source index for: http://gems.rubyforge.org

ERROR: While executing gem … (Errno::EACCES)
Permission denied -
/usr/local/lib/ruby/gems/1.8/cache/login_generator-1.2.2.gem

On Fri, 2006-07-28 at 02:58 +0200, Mason K. wrote:

Attempting local installation of ‘login_generator’
Local gem file not found: login_generator*.gem
Attempting remote installation of ‘login_generator’
Updating Gem source index for: http://gems.rubyforge.org

ERROR: While executing gem … (Errno::EACCES)
Permission denied -
/usr/local/lib/ruby/gems/1.8/cache/login_generator-1.2.2.gem


install gems as root and you won’t have this problem.

Craig

Mason K. wrote:

I am finding it impossible to install a gem, and even more impossible to
find help.

Can anyone PLEASE help?


Mason-Kessingers-Computer:~/Desktop/rails/pygmalion masonkessinger$ gem
install login_generator

Attempting local installation of ‘login_generator’
Local gem file not found: login_generator*.gem
Attempting remote installation of ‘login_generator’
Updating Gem source index for: http://gems.rubyforge.org

ERROR: While executing gem … (Errno::EACCES)
Permission denied -
/usr/local/lib/ruby/gems/1.8/cache/login_generator-1.2.2.gem

under OS X or Linux try

sudo gem install

I forget the sudo all the time!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs