[Cruisecontrolrb-users] using jruby and mysql jdbc adapter
Bryan Noll
bwnoll at gmail.com
Wed Sep 5 11:36:23 EDT 2007
OK... good thought.
Doing a 'ruby script/console' fails... not surprisingly, because this
project requires jruby.
Doing a 'jruby script/console' succeeds... saying "Loading development
environemtn." and providing a prompt.
Another thing... when I cd into [cruise]/work/ and do a 'rake test', it
works perfectly... but this is because when I do a 'which rake', I get
the one in the [JRUBY-1.0.1-HOME]/bin directory.
I google for this type of issue and find this:
http://www.nabble.com/cc.rb-under-JRuby-t4251955.html
Do the folks in on the dev list read this one?
Thibaut Barrère wrote:
>
> Thibaut...
>
> Thanks, but I don't think this is what's happening. I say that
> because
> my database.yml has the configuration entries for all three db
> environments. So even if it's not using the one I expect it to
> (TEST),
> it should still be connecting to something, right?
>
>
> Yeah, that makes sense :) I have another suggestion then (just an
> idea): you could try to run ruby script/console directly on the CC
> machine and see what happens (possibly with different environments ?).
>
More information about the Cruisecontrolrb-users
mailing list