views:

162

answers:

2

I'm running ruby script/server from the command line and getting

ActiveRecord-JDBC is for use with JRuby only

it then suggests gem install activerecord-jdbcmysql-adapter

but when I try this it says that

(no such file to load -- java) (RuntimeError)

I've tried a fresh install of Rails and reinstalling the gems, but still not joy. Any suggestion on how to proceed?

A: 

I have same problem

pablo
I gave up using an IDE that is radrails or netbeans and now use the command line. You'll probably find it alot easier
conspirisi
A: 

Probably you generate your project using the default Netbeans settings which uses JRuby, so your project was created for JRuby and when you try to run it using mongrel you got that error.Try creating a new project using ruby in Netbeans.

manu