How do I create a ruby on rails app?

Question: How do I create a new ruby on rails application and view it on the web?

Answer:

In ssh, type:

rails ~/my_rails_app

to create an app

Be sure to replace :

my_rails_app

with the name for your application

Then type:

ln -s /home/your_username_here/my_rails_app/public/ /home/your_username_here/www/my_rails_app

you can then go to:

http://your_web_site_here.com/my_rails_app/index.html

to see the app on the web.

Note:

Some older phpwebhosting.com servers do not have the latest ruby + gems + rails installed. If typeing rails in ssh does not work for you, enter a support ticket and we’ll get your server updated right away.

Leave a Reply

Your email address will not be published. Required fields are marked *