Saari Development

Ali Rizvi's Technical Blog as a Professional Software Development Engineer

Ruby : Where are the gems on ubuntu 7.04

leave a comment »

It took me some time to figure it out where the gems are installed on my ubuntu 7.04 linux machine so I thought I would save it here as a reminder. The ruby gems are stored here:


What I did to find this is to run gem install without sudo to see the error message:

me@desktop:/usr/lib/ruby/1.8$ gem install rails
Bulk updating Gem source index for:
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - /var/lib/gems/1.8/cache/rails-1.2.3.gem

The permission denied message gave me my answer. Who said error messages are not educational?



Written by imsaar

August 8, 2007 at 2:15 pm

Posted in linux/unix, ruby

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: