Posted by Michael Jerome on April 18th, 2009 @ 10:00 – 4 comments
Updated on April 18th, 2009 @ 10:09
Tagged with tips
Way back in 2007, Rails 2.0.2 changed the default database from MySQL to SQLite3, making it easier for newcomers to get up and running with Rails quickly without having to worry about setting up a database. Unfortunately for Windows users, trying to install the SQLite3 gem with gem install sqlite3-ruby will result in the following error:
Building native extensions. This could take a while…
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
Read more of this entry
Posted by Chris Anderton on April 2nd, 2009 @ 09:52 – 2 comments
Updated on April 2nd, 2009 @ 09:53
Tagged with tips
The first thing most people do when starting a new Rails project is to use the rails generator to create the basic application structure.
By default you’ll be using the most recent version of Rails that’s installed on your system, for example:
rails -v
=> Rails 2.3.2
A few weeks back we were training a bunch of eager new Rails developers and one of them asked if they could specify the version of Rails to use if they had multiple versions installed.
Read more of this entry