Using Datamapper for Heroku without installing Postgres locally

516 views Asked by At

I want to use datamapper in a rails app i want to deploy on heroku. Therefore i need to add dm-postgres-adapter to my Gemfile. Is there any way to have heroku installing this gem without installing postgreSQL locally?

1

There are 1 answers

1
Mike Yockey On

Limit its context to production using "group".

group :production do
  gem "gemname"
end