This forum is no longer active. Please post your questions to our new community site
OSX installation error
|
|
I have a iMac5 with Intel Core2duo, OSx 10.4.11. I was confused on which download to try—the Mac x86 or the Mac PPC. My last try was the x86 version. I thought it was going well, I chose the Mongrels version, everything seemed to download/extract just fine. However, when I clicked on the link for the Rails Sample Application, I got an error: 500 Internal Server Error Content-type:text/html I tried to follow the Quick Start pdf very carefully, but the instructions on p. 10-11 for the shell commands are confusing to a noob like me (but I do understand the windows instructions!) What should I do to get it working? I’ve been at this all day long! Thanks |
|
|
Hi, You can see your OS X processor typing this command into a Terminal:
And you can see i386 or PowerPC at the end of the line. On the other hand, BitNami RubyStack start the sample application only the first time that you installed it. If you want to restart the sample application you should to start manually into the rubyconsole:
An you can see something similar to this:
Finally, you can access to the sample application at http://127.0.0.1:3000. I hope it helps you. |
|
|
Yes, this helped , thankyou. I see I have a i386 and I downloaded the right version. I never could get the rubyconsole working right (I think it’s because my Applications folder is located on the root directory because I have multiple users on my iMac) I did get the instructions from another forum post about installing for leopard and he was having the same problems as me. So I followed the very last post and used |
|
|
./scripts/setenv.sh this worked except now I get a message to please install RubyGems and try again So now what should I do? |
|
|
Can you post the error? Can you post the result of the “export” command before and after to execute ”. scripts/setenv.sh”? I think that the multiple users configuration shouldn’t be a problem. |
|
|
I opened a new terminal and then I changed directories and then you see below that I am getting a different error than I reported above. cynthia-butlers-computer:/Applications/rubystack-1.1-0 Cindy$ . scripts/setenv.shcynthia-butlers-computer:/Applications/rubystack-1.1-0 Cindy$ cd projects/rubystack cynthia-butlers-computer:/Applications/rubystack-1.1-0/projects/rubystack Cindy$ script/server => Booting Mongrel (use ‘script/server webrick’ to force WEBrick) => Rails application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server
|
|
|
Hi CB, Thanks for your posts, I can see that you have an application at port 3000:
What do you see at http://127.0.0.1:3000 on your browser? You can try to start the sample application on another port:
And you can see the sample application at http://127.0.0.1:3001. |
|
|
Hi, Here is the error I get at http://127.0.0.1:3000 on my browser (firefox): Status: 500 Internal Server Error Content-Type: text/html Here is the error I get at http://127.0.0.1:3001 Unable to connect Firefox can’t establish a connection to the server at 127.0.0.1:3001.
What should I try next? I have been trying to shut down the server but I can’t or I don’t know how. Thanks |
|
|
Ooops, I forgot to restart server with script/server -p 3001 I’ll try that now |
|
|
Yeah ! finally working on port 3001! Thankyou very much! Can you tell me why port 3000 does not work? Is it because I choose to run 2 ports for Mongrels during the download/setup? |
|
|
Oh no! Another problem. Here is what I see on http://127.0.0.1:3001 after I clicked on “About your applications Environment” Welcome aboard Can’t connect to local MySQL server through socket ’/Applications/rubystack-1.1-0/mysql/tmp/mysql.sock’ (2) RAILS_ROOT: /Applications/rubystack-1.1-0/projects/rubystack |

