Setup Padrino with DataMapper and MySQL database

Posted by Ivo Sabev on Stack Overflow See other posts from Stack Overflow or by Ivo Sabev
Published on 2010-04-10T07:45:20Z Indexed on 2010/04/10 7:53 UTC
Read the original article Hit count: 582

Filed under:
|
|
|
|

Hello I am trying to setup a Padrino project using DataMapper and MySQL on my Mac OSX Snow Leopard.

I have the necessary gems: dm-core data_objects do_mysql mysql (linked to my original Mac OSX installation)

But when I try to start the padrino with PADRINO START from the console, I get the following error:

/Users/ivolution/.bundle/ruby/1.9.1/gems/dm-core-0.10.2/lib/dm-core/adapters/mysql_adapter.rb:3:in `require': no such file to load -- do_mysql (LoadError)

But as I said I do have do_mysql gem installed so there shouldn't be such error, I did bundle install in my project folder before trying to start Padrino.

Any ideas?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about sinatra