"sqlite3" module

Hey all, I recently started playing with Rails, but I have run into a problem. Whenever i try to use the "rails generate scaffold" command, Rails tells me that I do not have SQLite3 installed. However, I went into the package manager of my Linux distribution and installed the libraries for sqlite3 for Ruby. However, when I rerun the command, it still does not work. Any help would be appreciated.

Thank you in advance.

Have you installed the SQLite3 gem? Run bundle install and then try your command again.

B.``

Thanks!