Folks,
I just used rails installer to install ruby on rails on my windows 8
machine. I was happy to see that my installation went through without
any issue.
As most of you know, it creates a dummy rails app on installation, todo
app. I thought of running this before jumping into something else.
So, I did "bundle install" and then "rails s" to run server, it went
well until I typed "localhost:3000" in my browser. Message I got in
console was :
ERROR LoadError: Please install the sqlite3 adapter: 'gem install
ativerecord-dqlite-adapter' <sqlite3 is not part of the bundle. Add it
to Gemfile.>
I needed to update the certificates(.pem file) to install sqlite3(Thanks
to ruby-forum for helping me on this as well). Now,
I can see that even sqlite3 is also installed on my machine.
Doing "bundle show sqlite3" gives :
C:/Rails
Installer/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.8-x86-mingw32
Fair enough. So, I should be able to run server now. Right?
Surprisingly, "rails s" is giving me another error message now. Message
is :
C:/Rails
Installer/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.8-x86-mingw32/lib/sqlite3.rb:
in 'require' : cannot load such file --
sqlite3/sqlite3_native<LoadError>
from ...
....
I would appreciate if someone can help me to fix this quickly. Cheers!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/50c084fcb6bcb1d374d7e8a157cab5aa%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment