Jump to content

[SOLVED] Ruby On Rails - Simple Hello World Application - Not Working


Recommended Posts

Hello!

 

Since I'm currently training for my PHP certification exam, I decided to try out Ruby on Rails. I'm somewhat familiar with Ruby (wrote few dozen scripts), but I have never tried to use Rails yet. I setup Ruby, RubyGems, MySQL, and can run WEBrick fine. I followed this tutorial: link.

 

When I get to: http://localhost:3000, the main page shows up correctly. Link.

 

However, when I try to view my application by visiting http://localhost:3000/hello, I get an error page. Link.

 

Anyone know why this might be happening, maybe the tutorial is wrong?

 

Thanks for the time.

As I found, it seems this is a common problem for beginners. If you are not installing using Instant Rails, a database system will not be installed for you. Wihtout, in this case, SQLite 3, the application would not run. Make sure you check the log files!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.