I am very new to RoR ... I installed Ruby and installed its gems ...
then download and install MySql ...
created my first catalog demo.
then started the server using ruby script / server
entered http: // localhost: 3000 url in the browser and got the welcome page on board ... everything is fine so far ...
now create a controller using ruby script / generate controller Say
a controller is created and it looks like
class SayController < ApplicationController def hello end end
Then I create a document of the form hello.html.erb , which looks like this.
<html> <body> <h1>Hello World!!!</h1> </body> </html>
now I enter the URL http: // localhost: 3000 / say / hello in the browser and I get the following error
This application failed to start because sqlite3.dll was not found. Reinstalling the application may fix this problem. and the browser displays the default error page
I did a little googling and tried the following.
1.gem install sqlite-ruby
2.gem install sqlite3-ruby
the first message successfully passed the message .... the second initially gives a success message, and then floods me with no definition errors.
I did not even start using models ... why does it even throw exceptions in sqlite ..?! I am completely confused and lost here, since this is my first attempt with RoR ...
thanks in advance...