Installation problem with activerecord-jdbc-adapter

Seems like I have been able to do this on prior versions (like jruby
1.4) but with jruby 1.6.1 (and perhaps versions earlier than that).
Don’t know if this is a jruby or arjdbc issue but here is what I see:

gem install activerecord-jdbc-adapter --no-ri --no-rdoc
Successfully installed activerecord-jdbc-adapter-1.1.1
1 gem installed
$

Then start the rails app and hit the properties page:

Started GET “/rails/info/properties” for 10.0.10.15 at Wed May 04
21:16:20 UTC 2011

RuntimeError (Please install the jdbc adapter: gem install activerecord-jdbc -adapter (no such file to load –
active_record/connection_adapters/jdbc_adapter)):

It is missing something or unhappy with something but I can’t figure out
what since it says the gem IS installed. What am I missing? It must be
something simple.


Pete H.
Value Added Software, Inc
www.asaap.com
www.opensource4i.com

On May 4, 2011, at 16:28 , Pete H. wrote:

RuntimeError (Please install the jdbc adapter: gem install activerecord-jdbc -adapter (no such file to load –
active_record/connection_adapters/jdbc_adapter)):

It is missing something or unhappy with something but I can’t figure out what
since it says the gem IS installed. What am I missing? It must be something
simple.

Are you using Rails 3 with Bundler? You need to add it to Gemfile and
run bundle install.

/Nick

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs