I just installed an updated set of tools (ruby, rails, etc) under my home directory for my mac 10.4, since I did not want to disturb the pre-installed environment in case something in the system relies on that. The problem I have is that the rake command is still using the old stack rather than the new one, even though the new rake is there. I presume the ''rake'' command itself is coming from the other location, but do not see how. ''ruby -v'' shows the new version number. ''gem list'' lists the gems in the new location. But, ''rake -v'' fails because me environment.rb calls for the version of rails in the new environment and it is seeing the version of rails in the old location. The new location is on both ends of the path, and there is nothing specific to rake in the path, and no alias defined for ''rake'' that would have a hard coded path. Any suggestions would be welcome. Is there a sym link in some common directory I missed? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I got it. A little spotlight and a corrected path fixed it. Michael On May 27, 12:31 pm, MichaelLatta <lat...-ee4meeAH724@public.gmane.org> wrote:> I just installed an updated set of tools (ruby, rails, etc) under my > home directory for my mac 10.4, since I did not want to disturb the > pre-installed environment in case something in the system relies on > that. The problem I have is that the rake command is still using the > old stack rather than the new one, even though the new rake is there. > I presume the ''rake'' command itself is coming from the other location, > but do not see how. ''ruby -v'' shows the new version number. ''gem > list'' lists the gems in the new location. But, ''rake -v'' fails > because me environment.rb calls for the version of rails in the new > environment and it is seeing the version of rails in the old > location. The new location is on both ends of the path, and there is > nothing specific to rake in the path, and no alias defined for ''rake'' > that would have a hard coded path. Any suggestions would be welcome. > Is there a sym link in some common directory I missed?--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
jeanpierre-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-May-27 19:38 UTC
Re: Mac setup issue
On 5/27/07, MichaelLatta <lattam-ee4meeAH724@public.gmane.org> wrote:> > > I just installed an updated set of tools (ruby, rails, etc) under my > home directory for my mac 10.4, since I did not want to disturb the > pre-installed environment in case something in the system relies on > that. The problem I have is that the rake command is still using the > old stack rather than the new one, even though the new rake is there. > I presume the ''rake'' command itself is coming from the other location, > but do not see how. ''ruby -v'' shows the new version number. ''gem > list'' lists the gems in the new location. But, ''rake -v'' fails > because me environment.rb calls for the version of rails in the new > environment and it is seeing the version of rails in the old > location. The new location is on both ends of the path, and there is > nothing specific to rake in the path, and no alias defined for ''rake'' > that would have a hard coded path. Any suggestions would be welcome. > Is there a sym link in some common directory I missed?it sounds like a path problem, the old rake is found before the new. what does % which rake display? the old rake? if you decide to clean up your setup and start anew, i would recommend james duncan davidson''s sandboxing rails with macports setup: <http://blog.duncandavidson.com/2006/04/sandboxing_rail.html> cheers, jean-pierre --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
> if you decide to clean up your setup and start anew, i would recommend james> duncan davidson''s sandboxing rails with macports setup: > <http://blog.duncandavidson.com/2006/04/sandboxing_rail.html If it''s just for development (meaning: you deploy on an external server), much simpler sandboxes can be build with Locomotive http://locomotive.raaum.org/ To create multiple sandboxes, you just have to duplicate the bundles (you have to modif the name of the sdb manually, but it''s easy) Alain Ravet -------- http://blog.ravet.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 -~----------~----~----~----~------~----~------~--~---