Setting up Padrino with DataMapper database and MySQL
Hello I am trying to set up a Padrino project using DataMapper and MySQL on my Mac OSX Snow Leopard.
I have the gems needed: dm core data_objects do_mysql mysql (linked to my initial Mac OSX installation)
But when I try to start 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 have the do_mysql gem installed, so there should be no such error, I did bundle install
in my project folder before trying to start Padrino.
Any ideas?
+2
source to share