MissingSourceFile error

I created a rails application by “rails demo” command and generated a
controller “script/generate controller Say”. Then I created a file in
app/view/say/hello.html.erb. I added a method “hello” in
app/controllers/say_controller.rb. From a browser to access the link
"http://localhost:3000/say/hello, I got this error:

MissingSourceFile in SayController#index

no such file to load – sqlite3

What’s wrong with my application? Did I forget anything?

On Sep 9, 8:56 am, Zhao Yi [email protected] wrote:

What’s wrong with my application? Did I forget anything?
Sounds like you don’t have the sqlite3-ruby gem (and you’ll need the
sqlite3 library as well)

Fred

Frederick C. wrote:

On Sep 9, 8:56�am, Zhao Yi [email protected] wrote:

What’s wrong with my application? Did I forget anything?
Sounds like you don’t have the sqlite3-ruby gem (and you’ll need the
sqlite3 library as well)

Fred

Where can I get it? How can I install it?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs