On Wed, Jan 20, 2010 at 5:27 AM, Mauro [email protected] wrote:
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.
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
To unsubscribe from this list, please visit: