I want to share jdbc postgres driver between some applications, so I
put it under tomcat lib.
Then I’ve deleted the jdbc-postgres gem.
When I try to recreate the war, warbler search for the driver.
rake aborted!
gem ‘jdbc-postgres (>= 8.3.604, runtime)’ not installed
Why it need jdbc driver?
I want to share jdbc postgres driver between some applications, so I
put it under tomcat lib.
Then I’ve deleted the jdbc-postgres gem.
When I try to recreate the war, warbler search for the driver.
rake aborted!
gem ‘jdbc-postgres (>= 8.3.604, runtime)’ not installed
Why it need jdbc driver?
The main problem is that it tries to load the gem for normal use, but
perhaps is not smart about handling the gem’s jar file when deploying.
Did you ever get past this?
On 1 February 2010 16:35, Charles Oliver N. [email protected]
wrote:
The main problem is that it tries to load the gem for normal use, but
perhaps is not smart about handling the gem’s jar file when deploying.
Did you ever get past this?
I want to share jdbc postgres driver between some applications, so I
put it under tomcat lib.
Then I’ve deleted the jdbc-postgres gem.
When I try to recreate the war, warbler search for the driver.
rake aborted!
gem ‘jdbc-postgres (>= 8.3.604, runtime)’ not installed
Why it need jdbc driver?
This doesn’t answer your question about how to share the driver, but
to address this specific question, the reason why this is popping up
when you run Warbler is that it loads the Rails environment (including
trying to make a database connection) when you run it so it can learn
more about your application (looking for gems, etc.). If you don’t
want this behavior you can create a config/warble.rb (warble config)
and uncomment the line at the top:
Disable automatic framework detection by uncommenting/setting to false
Warbler.framework_detection = false
/Nick
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.