Archive for Ruby on Rails

Ruby on Rails: First Time Out

I installed Ruby on Rails last week and just sat down to write my first code.  I am following a book that was written in Ruby 1.2, but I have Ruby 2 installed.

The first thing I found is that Ruby 2 uses SQLite by default instead of MySQL.  If you see errors saying: Missing Source sqlite3, then you can solve this easily.  Just remove your new application and then run “rails APP_NAME -d mysql”.

 
 
This site hosted by bowlingball.com - Find the best deals on Bowling Balls, Bowling Bags, Bowling Shoes, and Bowling Accessories.