Project

General

Profile

Actions

Bug #1382

closed

no such file to load -- pg

Added by Florian Koch over 12 years ago. Updated over 12 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Packaging
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #1367: Ensure all gems are defined in Bundler GemfileClosed12/04/2011Actions
Actions #1

Updated by Ohad Levy over 12 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 #2

Updated by Ohad Levy over 12 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF