Sunday, February 8, 2009

A quick setup for development environment of Rails on Windows

1. Install Ruby
Use One Click Installer for Ruby

2. Update Gem
> gem update --system

3. Install Rails
> gem install rails

4. Install Sqlite3 & Sqlite3 driver for Rails
- download sqlite and extract to get 3 files: sqlite3.exe, sqlite3.dll, sqlite3.def
- copy 3 above files to ruby/bin
- $ gem install sqlite3-ruby
-> If errors, try another version of sqlite driver, ex:
$ gem install --version 1.2.3 sqlite3-ruby