原始地址:http://matt-hulse.com/articles/2010/08/25/another-go-with-rails-3-on-windows/
It has been awhile since we last looked at Rails 3 on Windows and a lot has changed.
Start by downloading and installing Ruby 1.9.2p0 from here.
Once installed, open a command prompt and install rails:
Create a new rails app:
Now make sure the dependencies are met:
bundle install
(at this point, more work may need to be done to get sqlite working. You can download the dll fromhere. Copy the dll into the System Path. I use C:\Tools and add that directory to the path. The Ruby bin directory works too.)
Now create some scaffolding:
rake db:migrate
And start the server:
Navigate to http://localhost:3000/posts and see that everything is working.
You are now riding Rails 3 on Windows!