What does your Gemfile look like? Does it have the pg gem listed? -James
> On Jan 25, 2016, at 3:24 PM, Benyamin Pm <[email protected]> wrote: > > hi everyone.. > i install rails and all the things which is need for. > i create a new project > i create datbase's and set the database.yml file > > but when i go to browser and type this=> localhost:3000. i get this > error=> > > Gem::Loaderror > > Specified 'postgresql' for database adapter, but the gem is not loaded. > Add `gem 'pg'` to your Gemfile (and ensure its version is at the minimum > required by ActiveRecord). > > for fixing it i uninstall all the gems and reinstall all of them. > but again i have this error. > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/e4d2c97c65b7f182b749809bd8ea4611%40ruby-forum.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2379493E-2E6D-4649-B13E-D68D2AA5C94F%40gmail.com. For more options, visit https://groups.google.com/d/optout.

