Ruby On Rails server initiation errors -
i have been following tutorial on how learn ruby on rails basics. have installed latest 2.2.3 version , ran "gem install rails". have created new project, have got error when tried run server "rails server" command. received these errors:
c:\users\kothas\desktop\rubyonrails\myproject>rails server c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x64-mingw32/lib/sqlite3.r:6:in `require': cannot load such file -- sqlite3/sqlite3_native (loaderror) c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x64-mingw32/ib/sqlite3.rb:6:in `rescue in <top (required)>' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x64-mingw32/lib/sqlite3.rb:2:in `<top (required)>' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/ untime.rb:76:in `require' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/ untime.rb:76:in `block (2 levels) in require' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/ untime.rb:72:in `each' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/ untime.rb:72:in `block in require' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/ untime.rb:61:in `each' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler/ untime.rb:61:in `require' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.10.6/lib/bundler. b:134:in `require' c:/users/kothas/desktop/rubyonrails/myproject/config/application.r :7:in `<top (required)>' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/co mands/commands_tasks.rb:78:in `require' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/co mands/commands_tasks.rb:78:in `block in server' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/co mands/commands_tasks.rb:75:in `tap' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/co mands/commands_tasks.rb:75:in `server' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/co mands/commands_tasks.rb:39:in `run_command!' c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/railties-4.2.3/lib/rails/co mands.rb:17:in `<top (required)>' bin/rails:4:in `require' bin/rails:4:in `<main>'
how can fix these problems , start application?
edit managed fix sqlite3 errors, new ones showed "cannot load such file -- nokogirl (loaderror)"
it looks application having difficulty accessing sqlite installation through sqlite3 gem - try answer: cannot load such file -- sqlite3/sqlite3_native (loaderror) on ruby on rails
Comments
Post a Comment