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!