Hi Lori,
Thank you so much for your response. Below is what I have done. I am
trying not to leave out any steps (I used to work in tech support for a
software company so I understand to give as much info and be as literal
as possible).
As you suggested, I typed "which ruby" and got the following (which
looks to be the right version but wrong location).
-------
Last login: Thu Sep 20 05:36:30 on ttyp1
Welcome to Darwin!
-bash: cd: /Users/hollyfortenberry/Pictures/myphotos: No such file or
directory
holly-fortenberrys-computer:~ hollyfortenberry$ which ruby
/Volumes/Locomotive2/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386/bin/ruby
holly-fortenberrys-computer:~ hollyfortenberry$
------
Please note that my shell seems to be in my Pictures folder, I think.
The reason it does this is because, immediately after I installed
Locomotive, i followed a tip at http://aralbalkan.com/758. The tip
suggested I create an application and open Terminal to change the
location. So, I did the following steps in that vein:
1 - open brand new Locomotive
2 - applications - create new
3 - typed in a name for a new app that I wanted to create (called
Pictures) and typed in the folder location.
Then, somehow, from that, rails seems to have installed itself in that
location.
If you wouldn't mind looking at that tip, you will see what I mean.
Now, when I type "ruby", my terminal just sits there (maybe it is
running??). I didn't realize you can run ruby from locomotive. I
haven't gotten that far yet. I thought I should try to get a good
install before getting too far into how to use the apps so I don't
compound any issues.
So far, ALL I have done is:
1 - install Locomotive
2 - typed ruby in Terminal and found it (version 1.8.1 I think)
3 - typed rails and did not find it
4 - implemented the tip at http://aralbalkan.com/758
5 - and now what you have suggested by checking which ruby
Now, when I type "ruby ~v", I get the following error in Terminal:
_______
Last login: Thu Sep 20 17:08:31 on ttyp1
Welcome to Darwin!
-bash: cd: /Users/hollyfortenberry/Pictures/myphotos: No such file or
directory
holly-fortenberrys-computer:~ hollyfortenberry$ ruby ~v
ruby: No such file or directory -- ~v (LoadError)
holly-fortenberrys-computer:~ hollyfortenberry$ ruby ~v
ruby: No such file or directory -- ~v (LoadError)
holly-fortenberrys-computer:~ hollyfortenberry$
_____
Finally, in response to your suggestion that I am using the wrong Ruby,
I think I am too. When I do as you suggested and try to open Terminal
from within my Locomotive, I receive a Locomotive error warning me that
if I continue, I may be using the wrong Ruby and my app may not work
properly. In addition, the shell results above suggest that neither
ruby is available.
I am afraid to do too much and compound any problem. Is it not a good
idea for me to just do an uninstall/reinstall?
thank you,
Holly
Post by Lori M OlsonPost by Holly FortenberryHi,
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.
Post by Holly FortenberryIn 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.
Post by Holly FortenberryI 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
http://lists.raaum.org/mailman/listinfo/locomotive-users
_______________________________________________
Locomotive-users mailing list
http://lists.raaum.org/mailman/listinfo/locomotive-users
--
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.*