[Locomotive-users] can I uninstall/reinstall?

Lori M Olson loriolson at mac.com
Thu Sep 20 17:39:11 GMT 2007


On 20-Sep-07, at 7:22 AM, Holly Fortenberry wrote:

> Hi,
>
> I just installed Locomotive on my mac os x.  Afterwards, I opened  
> Terminal and typed:  ruby ~v   to find it and it appeared.  Yea!  
> Then, when trying to do the same with rails, it was not found.

There is a default ruby, which is incompatible with Rails, installed  
by default on Mac OS X under /user/bin.  If you just open a terminal,  
this is what you get.  If you type "which ruby" from the terminal it  
will tell you where it found ruby.

You need to start Locomotive, configure a Rails application, and then  
open a terminal for that app FROM Locomotive.  Then you will be using  
the Locomotive bundle ruby/rails.  In that terminal, if you type  
"which ruby" you will see the path to the Locomotive bundle version  
of ruby.  And the "rails" command will also be available.

>
> In a search for a fix, I found a post online which suggested having  
> textmate open rails from within it so I tried this and Voila!  my  
> rails appeared to install,  BUT it installed in the wrong place.    
> I need to move my whole rails install into the correct folder and  
> it is not letting me do that via the cp command in terminal.  Every  
> time I try to do a cp and paste in the old location to modify it,  
> terminal starts running code before I even hit the "enter" button.

Again, you need to start Textmate from the Locomotive app, if you  
want to configured to use the Locomotive bundle version of ruby.

>
> I would like to just start over.  So far, I have not installed  
> gems.  Is it advisable to try to move the Locomotive app and  
> folders to the trash and run the install again?
>
> Also, if mysql is already on my computer, do I need to reinstall  
> that after the RoR reinstall?
>
> thank you,
> Holly
>
>
> ---
>
> Holly
>
> http://www.hollyfortenberry.com
>
> *You have probably already done this; but, if not, please consider  
> the impact on the environment before printing this email.*
>
>
> _______________________________________________
> Locomotive-users mailing list
> Locomotive-users at lists.raaum.org
> http://lists.raaum.org/mailman/listinfo/locomotive-users



More information about the Locomotive-users mailing list