Marco Colli
2009-Feb-14 20:44 UTC
I get “Missing these required gems”, but gems are installed
Hi, since I updated ruby using Mac Ports (on Leopard) I have got several problems and I also had to reinstall gems. Now when I run Mongrel I keep getting the error "Missing these required gems" followed by the list of gems that I required in environment.rb but that gems seems to be correctly installed as I see running gem list. I think that rails is looking for a previous installation, but I don''t know how to configure it to use the new ruby/gem path. Thanks in advance! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Freddy Andersen
2009-Feb-15 04:35 UTC
Re: I get “Missing these required gems”, but gems are installed
Gems might be installed in more than one area. Look in ~/.gems and make sure that you use sudo when installing gems. Do you now have multiple ruby directories on your mac? if so you most likely have multiple gems directories too... what I found was best when I upgraded from 1.8.6 to 1.8.7 was to remove all gems directories and start empty. I can''t remember what the issue was but it was a path issue or something like that. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Marco Colli
2009-Feb-15 12:32 UTC
Re: I get “Missing these required gems”, but gems are insta
Freddy Andersen wrote:> Gems might be installed in more than one area.I agree..> Look in ~/.gems and make sure that you use sudo when installing gems.Unfortunately I haven''t got any ~/.gems directory> Do you now have multiple ruby directories on your mac? if so you most > likely have multiple gems directories too...When I upgraded from 1.8.6 to 1.8.7 I used MacPorts and I found out that I had two versions of Ruby, but the first installation was then removed (I think so).> what I found was best when I upgraded from 1.8.6 to 1.8.7 was to > remove all gems directories and start empty. I can''t remember what the > issue was but it was a path issue or something like that.$ which ruby /opt/local/bin/ruby $ which gem /opt/local/bin/gem -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Marco Colli
2009-Feb-15 19:32 UTC
Re: I get “Missing these required gems”, but gems are insta
Oops.. I''ve resolved. The problem wasn''t related to ruby path: when I set environment.rb I forgot to specify the :lib parameter for some gems. Sorry -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---