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,

[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

[jruby-dev] Running Jruby on TomCat

2007-07-31 Thread capi
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

Re: [jruby-dev] Problem installing rails

2007-07-27 Thread capi
Thank you very much to all of you for your help! The problem, meaning my error, like Charlie said was my Ruby path. That why I had double \\ before the bin. Greetings, Antonio Charles Oliver Nutter-2 wrote: > > capi wrote: >> Hello Niko. >> The output is this one: >>

Re: [jruby-dev] Problem installing rails

2007-07-27 Thread capi
> Can you try to execute: > > %JRUBY_HOME%\bin\gem > > and see what it returns ? > > Niko > > On Jul 27, 2007, at 1:46 PM, capi wrote: > >> >> Hello Charlie, >> thank you for you reply. >> Unfortunatly didnt work too :-( &g

Re: [jruby-dev] Problem installing rails

2007-07-27 Thread capi
oadError) from -e:1 Greetings, Antonio Charles Oliver Nutter-2 wrote: > > capi wrote: >> Hello. >> I just finish install Ruby and now i was installing Rails on JRuby >> C:\jruby-1.0>%JRUBY_HOME%/bin/gem install rails -y --no--ri --no-rdoc >> >> a

[jruby-dev] Problem installing rails

2007-07-27 Thread capi
Hello. I just finish install Ruby and now i was installing Rails on JRuby C:\jruby-1.0>%JRUBY_HOME%/bin/gem install rails -y --no--ri --no-rdoc and I'm getting this error: C:\jruby-1.0\\bin\gem:9: no such file to load -- rubygems (LoadError) Can anybody help me with it? Thank you in advance, An

Re: [jruby-dev] The system cannot find the path specified.

2007-07-27 Thread capi
capi wrote: > > Hello. > I'm trying to install jruby and i can't. > These are the steps that i took: > 1) I download jruby. > 2) I have installed jruby in C:\jruby-1.0 > 3) I set these Environment Variables: > > JAVA_HOME = C:\Program Files\Java\jre1.6.0_

[jruby-dev] The system cannot find the path specified.

2007-07-27 Thread capi
Hello. I'm trying to install jruby and i can't. These are the steps that i took: 1) I download jruby. 2) I have installed jruby in C:\jruby-1.0 3) I set these Environment Variables: JAVA_HOME = C:\Program Files\Java\jre1.6.0_01\bin\ JRUBY_ME = C:\jruby-1.0\bin\ 4 ) i open a dos shell and i writ