Thanks, Miga.

I seem to have found a solution that works. From the link you sent me, I 
found the following: 
http://kenai.com/projects/jruby/pages/ActiveRecord-JDBC

1. I ran "jruby -S gem install activerecord-jdbcmysql-adapter" as 
described from a command line.
2. I changed the adapter name to jdbcmysql in the database.yml file 
(prepend "jdbc").

This worked for me. Bear in mind, I did this on NetBeans 6.7. Not sure 
whether this makes a difference, but I was getting the same error on 6.5 
previously.

--Wes

miga wrote:
>
> On May 28, 8:02 pm, westhielke <[email protected]> wrote:
>   
>> I'm trying to run the Depot lesson. When I try to create the database,
>> I get:
>>
>> (in C:/MyRuby/Depot)
>> !!! The bundled mysql.rb driver has been removed from Rails 2.2.
>> Please install the mysql gem and try again: gem install mysql.
>> rake aborted!
>> no such file to load -- mysql
>> rake aborted!
>>     
> There are two ways to solve the problem:
>
> 1 - return to Rails 2.1 which has mysql working
> 2 - follow the steps in http://kenai.com/projects/jruby/pages/Home,
> right frame JRuby (there is an example of installation on Mac OS X
> with Rails 2.2, Tomcat, Mysql, and the required jdbc adapter.
>
> Personally, I never succeeded in running correctly JRuby with Rails >
> 2.1.0, but I'm far to be an expert.
> >
>
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to