Tuesday, September 7, 2010

Start Rails3 on MinGW

(The library name "sqlite3-ruby" had been renamed to "sqlite3".)

One week ago, Ruby on Rails 3.0 (Rails3) has been released. I try to do the first step of Rails3 application on MinGW. Fortunately, SQLite3 and sqlite3-ruby had been installed in previous post phosphorescence: Install sqlite3-ruby on MinGW and MSYS. Let's start!

$ rails new sample
$ cd sample
$ rails g scaffold person first_name:string last_name:string
$ rake db:migrate
$ rails s

Environment information (inside rails application index page) is below:

And scaffold page created after one record is below:

No comments:

Post a Comment