Hi all,
Need some help with setting my rails server as sqlite3. I'm currently following the 2nd exercise in the book 'Pragmatic Agile Web Development with Rails 4th Edition'. The sample apps are all ran using the sqlite3 server but can't seem to start it when I run the command 'rails server sqlite3' on the command line. This is the error I get:
C:/Ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/handler.rb:63:in `require': cannot load such file -- rack/handler/sqlite3 (LoadError) from C:/Ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/ handler.rb:63: in `try_require' from C:/Ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/ handler.rb:16: in `get' from C:/Ruby/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/ server.rb:269: in `server' from C:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/ commands/ server.rb:59:in `start' from C:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/ commands. rb:55:in `block in <top (required)>' from C:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/ commands. rb:50:in `tap' from C:/Ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/ commands. rb:50:in `<top (required)>' from script/rails:6:in `require' from script/rails:6:in `<main>'
Any help would be greatly appreciated.
Cheers, Gabe