I’m trying to build a Rails app that uses JRuby and as database back end
sqlite. Now, trying to use this db engine, I’m encountering some
and as I know it is still work in progress I wanted to know if I’m
something wrong, or if there is a solution.
I’m using jruby1.1.2 and I think I’ve installed all the needed gems.
*** LOCAL GEMS ***
Now I created my application and I modified the database.yml
file following the wiki instruction
At thi point I try to create the database, but i run into this error.
$ jruby -S rake db:create:all
no such file to load – sqlite3
So I tried to install the ruby gem for sqlite, but I got an error again
(here an excerpt)
$ jruby -S gem install sqlite3-ruby
… JRuby does not support native extensions. Check wiki.jruby.org
alternatives. (NotImplementedError) …
I tried to find something on the web, but nothing to do. So I wanted to
if there is a step by step tutorial or something I can do to solve this
problem. I think I’m missing something on the installation phase.
Thanks for your time.