Actions
Bug #1382
closedno such file to load -- pg
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Packaging
Target version:
-
Description
Hi,
fresh install of the new develop branch. Database is from 0.4 with postgres 9.1
bundle install says all installed, if i run gem install pg, all went find, but i always get
no such file to load -- pg
while running RAILS_ENV=production rake db:migrate
if i add
gem 'pg', :require => 'pg
to the Gemfile and run bundle install all went fine and now i can run
while running RAILS_ENV=production rake db:migrate
without problems
Updated by Ohad Levy about 13 years ago
Yes thats correct.
I'm still not 100% sure of how to solve this, one possible solution would be to use bundler groups
something like
bundle install --with pg
Actions