Gem path problem in MAC OS

K

Kosmo

I have installed ruby and gems long time ago using the tutorial in the
first edition of Pragmatic Programmers Agile Web Development With
Rails.

My Rails applications work fine, but when I install new gems they go
to /usr/local/lib/ruby/gems/1.8/gems - folder, and when I try to
require them it gives an error with the path /usr/local/lib/ruby/site-
ruby...

Do I have my install of Ruby broken or is this the correct way? Is
the /ruby/gems folder the correct folder for gems to install? If so,
why aren't my requires working?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top