Beginner: Unable to create the first page

I have create my first ruby applications with the command:> rails rails_space

Then I have created the controller like:> ruby script/generate controller Site index about help

Then started the server:> ruby script/server

I have removed the index.html file from the public directory.Then wrote
the app/views/site/index.rhtml like:

[snip]

But in its not showing in thehttp://localhost:3000/

You have to tell rails that you want the root of your site to be
connected to that controller. You do this by creating a route in
routes.rb, eg

map.root :controller => 'foo'

will make the root of the site connected to the index action of the
Foo controller.

Fred

Frederick Cheung wrote:

Nabanita Sen wrote:

Frederick Cheung wrote:

I have create my first ruby applications with the command:> rails rails_space

[snip]

But in its not showing in thehttp://localhost:3000/

You have to tell rails that you want the root of your site to be
connected to that controller. You do this by creating a route in
routes.rb, eg

map.root :controller => 'foo'

will make the root of the site connected to the index action of the
Foo controller.

Fred

yes, I have already did this.

It gives the following error:

You need to install the sqlite gem and library. There are plenty of
howtos around for that.