ruby on rails - Cannot install SQLITE3 with JRuby -


i brand new ruby , using windows 7. different environment used having problems getting simple project going.

after reading several tutorials, appears jruby simplest way go on windows have done. trying create web application scratch confused shell style method of working.

i have downloaded sqliste3.def, sqlite3.dll , sqlite3 have put in the: c:jruby-1.6.4>bin directory. however, trying install sqlite no avail. firstly know console environment 1 use this. cmd or irb console?

whenever use cmd default line c:\users\me> , don't know if affecting how things should work.

whenever try install sqlite3 assuming need go :

c:\users\me>gem install sqlite3-ruby 

however not getting anywhere , receiving following error:

warning:jruby not support native extensions or 'mkmf' library 

i have heard lot of things ruby , trying build basic webpage contact form seem running sorts of issues project installation , getting ruby , running. there tutorials explain how start web project jruby , sqlite3 scratch?

as warning suggests, sqlite3-ruby requires native c extension, , not work jruby.

you should use activerecord-jdbcsqlite3-adapter instead.

https://rubygems.org/gems/activerecord-jdbcsqlite3-adapter

see https://github.com/jruby/activerecord-jdbc-adapter


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -