Heroku app deployment to Dreamhost Passenger problems

I have problems deploying an application from Heroku to the dreamhost VPS solution.

I’m using Passenger based on the wiki from Dreamhost to deploy a rails app(based on spree), but im having serious problems with the app.


Error message: undefined method `set_preference' for nil:NilClass Exception class: NoMethodError Application root: /home/naxxaiweb/naxxai.com.mx

The backtrace and more information on the link:

I did the bundle install and everything was ok, i’m thinking it have to be something with the db. Has anyone deployed heroku app to dreamhost? Any information about this?

Sorry if my english is bad as im from Mexico.