RE: [jruby-dev] Error using JDBC connection adapter

2007-07-31 Thread Alex Durgin
You need to run rake in the context of jruby. Try this: C:\projects\shop>jruby -S rake db:migrate -Original Message- From: capi [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 31, 2007 1:27 PM To: [email protected] Subject: Re: [jruby-dev] Error using JDBC connection adapter D

Re: [jruby-dev] Error using JDBC connection adapter

2007-07-31 Thread capi
Dont know if it might help, when i run rake db:migrate i have this output: C:\projects\shop>%RUBY_HOME%/bin/rake db:migrate (in C:/projects/shop) rake aborted! database configuration specifies nonexistent jdbc adapter capi wrote: > > since im trying to run my aplication on tomcat, > i made so

[jruby-dev] Error using JDBC connection adapter

2007-07-31 Thread capi
since im trying to run my aplication on tomcat, i made some chages on the envionment.rb, i add if RUBY_PLATFORM =~ /java/ require 'rubygems' RAILS_CONNECTION_ADAPTERS = %w(jdbc) end before: Rails::Initializer.run do |config| i also download the mysql-connector-java-5.0.7-bin.jar and i put