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
Dont
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
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
I'm trying to make a very simple aplication using jruby rails.
its quite simple, and it runs on the webrick server.
Now im trying to make it run on Tomcat because the goal is to add java code
to it.
I was searching on the web but There is no way for me to run it on the
Tomcat.
Im working on win Xp