Ruby ON rails- Webrick -
i getting following error while giving "rails s" command in cmd. error given in link. using mongodb database , not mysql.'pls suggest do
-- relevant clip ---
=> booting webrick => rails 3.2.13 application starting in development on http://0.0.0.0:3000 => call -d detach => ctrl-c shutdown server exiting c:/ruby200/lib/ruby/gems/2.0.0/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require': please install sqlite3 adapter: `gem install activerecord-sqlite3-adapter` (cannot load such file --sqlite3/sqlite3_native) (loaderror)
assuming using odm mongoid
need rid of activerecord
in order use mongodb properly.
instructions here should helpful: http://mongoid.org/en/mongoid/docs/installation.html
open myapp/config/application.rb , near top, remove line require "rails/all"
Comments
Post a Comment