This forum is no longer active. Please post your questions to our new community site
problem starting up rails on osx Leopard
|
|
Hello, whenever I try to start up the rails enviroment via the rubyconsole this is what starts up… now something tells me thats not what i want? also im using netbeans 6.0, does anyone here know how to point netbeans to the rubystack? im totally lost. Thanks |
|
|
Hi Stefan, The rubyconsole is a script to load the environment variables to can use ruby binaries, subversion, mysql, etc. When you are in the rubyconsole you can go to ‘projects’ folder and start ‘rubystack’ project for example:
You can see something like this:
You can type into your browser http://127.0.0.1:3000 and you can see the example rails application. In addition to this, you can find more information about RubyStack at RubyStack Quick Start Guide. Cheers. |
|
|
ahhh ok, thanks! am I going to need Xcode 3.0 or MacPorts for leopard? |
|
|
hmmm whenever I start the server console from within the projects folder this is what I get… Macintosh:~ stefandozier$ /Applications/rubystack-1.0/projects/rubystack/script/server ; exit; [Process completed] |
|
|
No, these applications are not required. RubyStack has all required software to deploy a Ruby On Rails application.
Sorry, I haven’t explained well. First, you have to start the rubyconsole:
And then go to rubystack example project:
Finally, you can start the sample application:
or
|
|
|
Ok heres what I did, I went to the rubystack-1.0 directory and click on the rubyconsole which opened in the terminal, then I typed ruby script/server in the terminal and this is what i am getting… /Applications/rubystack-1.0/rubyconsole ; exit; |
|
|
Hi Stefan, You forgot to change directory to
before executing
|
|
|
I did that, it dosnt work, I cannot reset the server or start it…. Macintosh:rubystack-1.0 stefandozier$ cd projects |
|
|
when I start the rubyconsole from within the terminal all it does is go to bash and from there I cant do anything… Macintosh:~ stefandozier$ /Applications/rubystack-1.0/rubyconsole |
|
|
Ok so I opend up one terminal and started the rubyconsole… Macintosh:~ stefandozier$ /Applications/rubystack-1.0/rubyconsole then I opend another terminal window, while leaving that one open and tried to reset the server… Macintosh:~ stefandozier$ cd /Applications/rubystack-1.0/projects/rubystack/ didnt work. |
|
|
Everything is done from the rubyconsole terminal, you don’t have to open another one. So, 1) Start the rubyconsole |
|
|
I did that, Still the same problem. |
|
|
I cant change directories from within the rubyconsole terminal, it takes me straight to Bash when I open the rubyconsole which wont let me change directories |
|
|
What’s the error message when trying to change the working directory? |
|
|
when I try to change directories it just goes back to bash |
|
|
Hi Stefan, you can change the directory into the rubyconsole, but you can’t see the directory at the beginning. Try to this: Start the rubyconsole and type this:
then, you can see that you are in the rubystack sample project folder:
Finally execute:
And go to your Safari browser at http://127.0.0.1:3000 If you don’t like this console you can load the environment variables in your terminal. Open your terminal and go to rubystack installation directory:
then, you can load the ruby environment with
later you can go to the rubystack sample project,
and finally start the sample application,
Cheers |

