Mac setup issue

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?

I got it. A little spotlight and a corrected path fixed it.

Michael

On 5/27/07, MichaelLatta [email protected] wrote:

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

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 R.

http://blog.ravet.com