PRB RAILS (I am a beginner)

Hi,

Excuse me for my english. After some difficulty, I managed to install Ruby 2.2.1 and Rails 4.2.1 on a machine windows 7 32-bit. After create test project (rails new first_app) When when I do rails server in folder first_app I obtains : c:/Ruby22/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x86-mingw32/lib/sqlite3.rb:6:in `require': cannot load such file -- sqlite3/sqli te3_native (LoadError)         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x86-mingw32/lib/sqlite3.rb:6:in `rescue in <top (required)>'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.10-x86-mingw32/lib/sqlite3.rb:2:in `<top (required)>'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.9.1/lib/bundler/runtime.rb:76:in `require'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.9.1/lib/bundler/runtime.rb:76:in `block (2 levels) in require'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.9.1/lib/bundler/runtime.rb:72:in `each'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.9.1/lib/bundler/runtime.rb:72:in `block in require'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.9.1/lib/bundler/runtime.rb:61:in `each'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.9.1/lib/bundler/runtime.rb:61:in `require'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/bundler-1.9.1/lib/bundler.rb:134:in `require'         from D:/bruno/Language_prog/RAILS/RailsProject/first_app/config/application.rb:7:in `<top (required)>'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:78:in `require'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:78:in `block in server'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:75:in `tap'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:75:in `server'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.1/lib/rails/commands/commands_tasks.rb:39:in `run_command!'         from c:/Ruby22/lib/ruby/gems/2.2.0/gems/railties-4.2.1/lib/rails/commands.rb:17:in `<top (required)>'         from bin/rails:4:in `require'         from bin/rails:4:in `<main>'

thank you for help

it cannot load the file since it's probably not there. it's looking for sqlite3... you need to install sqlite3

thank you for your response how to install sqlite3 and what version ?

Hi, This might help you, http://stackoverflow.com/questions/15480381/how-do-i-install-sqlite3-for-ruby-on-windows

Regards

i execute gem install sqlite3 install is ok but i don't found sqlite3.dll ?

thank you

The gem is the ruby bit which allows ruby to access sqlite. That's what you just installed.

The error is complaining about sqlite itself, which you have not yet installed.

So the StackOverflow question you were referred to before does have your answer, but not directly at the top. Look for the answer part way down the page from "Williams".