Fresh MSI installation prlblems

I have recently tried to download and use the Windows installer to get
started with Ruby. Everything seems to install ok. I have it located
in c:\Ruby and I have followed this exactly:

http://rubyonrails.org/download

I am able to startup Ruby and visit http://localhost:3000 and see my
start page.

This is where I am hitting two stumbling blocks.

I see the Rails welcome aboard page, and I click the link “About your
application’s environment”, but when I do this a pink box slides down
and says:

"We’re sorry, but something went wrong.

We’ve been notified about this issue and we’ll take a look at it
shortly."

This is a fresh install, I have never used it before at all, so I’m
not sure what is causing this message. The site seems to have loaded
ok, except for this.

So, I ignore this and I follow the instructions on the page.

1.) Use script/generate to create your models and controllers To see
all available options, run it without parameters.
This seems to works fine.

2.) Set up a default route and remove or rename this file Routes are
set up in config/routes.rb.
I checked, there is already a default route.

3.) Create your database Run rake db:migrate to create your database.
If you’re not using SQLite (the default), edit config/database.yml
with your username and password.

This is where I get an error…

The command prompt says:

"rake aborted!
no such file to load – sqlite3

(see full stack by running task with --trace)"

Any ideas what is going on here? I’d really like to get started with
Ruby on Rails!

I think the root cause of both issues is the same–the ruby & rails
installs for windows don’t include sqlite binaries and/or the associated
ruby bindings.

There are excellent instructions for making a functional ruby and rails
install on windows here:

http://blog.mmediasys.com/2009/07/06/getting-started-with-rails-and-sqlite3

You’ve already got ruby & rails installs, but you should follow the
instructions on that page re: downloading the sqlite dll & doing the gem
install sqlite3-ruby step.

HTH,

-Roy