ruby - gem 'pg' can't be loaded only for rails application -


i using pg gem pg-0.17.1-x86-mingw32. working fine when connecting ruby codes.but when trying connect via rails apps, gives me error:: "specified 'postgresql' database adapter, gem not loaded. add gem 'pg' gemfile."

i gettigng error @ time of executing:: "rake db:migrate" after changing database.yml

my yml looks like::

development:   adapter: postgresql   database: postgres   host: localhost   user: postgres   password: postgre90   pool: 5   timeout: 5000 

i using::

rails -4.0.4 ruby -1.9.3 

please help.. newbie in ruby on rails


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -