Error: activerecord-jdbcmysql-adapter` (no such file to load -- java).. help??
Added by Manish Shrestha almost 14 years ago
Hi Folks,
I recently installed redmine-1.0.0 in my 64bit ubuntu 10.04 machine. My machine has ruby enterprise edition (1.8.7) installed in it.
Then in order to run it in apache tomcat, I followed following
http://www.redmine.org/wiki/1/HowTo_install_Redmine_in_Apache_Tomcat
Everything was running fine, until yesterday I was trying to create issues in redmine by sending emails. As described in this link: http://www.redmine.org/wiki/1/RedmineReceivingEmails,
I created a cron job like this
*/30 * * * * redmineuser rake -f /path/to/redmine/appdir/Rakefile --silent redmine:email:receive_imap RAILS_ENV="production" host=imap.foo.bar username=redmine@somenet.foo password=xx
To my great surprise, I got the following error message:
rake aborted!
Please install the jdbcmysql adapter: `gem install activerecord-jdbcmysql-adapter` (no such file to load -- java)
I do have activerecord-jdbcmysql-adapter installed.
I think its more of the problem with the classpaths. Since I had installed JRuby, did the paths gets classed? Could someone who is comfortable with these sorts of problem guide me through this, please?
Replies (1)
RE: Error: activerecord-jdbcmysql-adapter` (no such file to load -- java).. help?? - Added by Manish Shrestha almost 14 years ago
solved it by installing correct rails and rake for jruby