Ok. I have a ruby on rails app that was sent to me. I changed directories to it in the Terminal, and did the script/server command. I pointed my browser to http://localhost:3000/. Now I'm on the "welcome aboard, you're riding rails!" Page. How do I run the app?

3.0 stars
Forward

7 months, 3 weeks ago by Truman K.

7 Replies

  • Chris C. Chris C. replied Jan 14th
    Looks like your server is running, so just get rid of the index.html page in the public directory.
  • Truman K. Truman K. replied Jan 14th
    just delete it? and then go back to that local url?
  • Sharuk H. Sharuk H. replied Jan 14th
    yup your ror webrick server is running but you probably need to play some commands like scaffold and stuff to make it hook up with db if your app needs one. it always important to read "readme" file because author of your ror app might want you to do stuff differently as usaul.
  • Truman K. Truman K. replied Jan 14th
    is there a command that i can enter so that the app starts when i go to the local url?
  • 3.0 stars
    faddah yuetsu w. faddah yuetsu w. replied Jan 14th
    which ruby on rails app. are you talking about? maybe post a url so the rest of us can download & try it and give you tips?
  • Olivier A. Olivier A. replied Jan 15th
    Are you sue this app is using apache ? it maybe a stand alone programm ?
  • Chris C. Chris C. replied Jan 15th
    Oh, I forgot did you do a migrate? Does it have a database?
    If you deleted the index.html file in the public directory, you can just go to localhost:3000 and if routes are setup correctly you should see the app running.

Join Now to Reply!

To add your own reply, sign in or join Pownce today!

486 Recipients

View all

This note is viewable by everyone.