I am very new to RoR... I installed Ruby and installed its gems...
then downloaded and installed MySql...
created my first directory demo.
then started the server using ruby script/server
entered the http://localhost:3000 url in the browser and get a "welcome aboard" page..all is well till now...
now I create a controller using ruby script/generate controller Say
the controller is created and it looks like this
class SayController < ApplicationController
def hello
end
end
I then create a view document 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. Re-installing the application may fix this problem. and the browser shows a default error page
I did a bit of Googling and tried the following..
1.gem install sqlite-ruby
2.gem install sqlite3-ruby
the first returned a success message....the second initially gives a success message and then floods me with no definition errors.
I have not even started using models...why is it even throwing exceptions in sqlite..?! am totally confused and lost here since it is my first try with RoR...
thanks in advance...