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!
invalid meta-code syntax: /C:\MyRuby\Depot\Rakefile/
C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/ruby/gems/1.8/
gems/rake-0.8.3/lib/rake.rb:2050:in `standard_exception_handling':
invalid meta-code syntax: /C:\MyRuby\Depot\Rakefile/ (RegexpError)
        from C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/
ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2050:in `each'
        from C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/
ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2050:in `find'
        from C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/
ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2050:in
`standard_exception_handling'
        from C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/
ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'
        from C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/
ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31
        from C:/Program Files/NetBeans 6.7 Beta/ruby2/jruby-1.2.0/lib/
ruby/gems/1.8/gems/rake-0.8.3/bin/rake:19:in `load'
        from C:\Program Files\NetBeans 6.7 Beta\ruby2\jruby-1.2.0\bin
\rake:19

Note that I get the same error in both NetBeans 6.5 and 6.7. I tried
running "gem install mysql" from a command line, but it tells me that
jruby doesn't support compiling native code.

Any help welcome.

Wes

--~--~---------~--~----~------------~-------~--~----~
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