On 25 January 2016 at 21:24, Benyamin Pm <li...@ruby-forum.com> 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.

I suggest you start by working right through a good tutorial such as
railstutorial.org (which is free to use online).  This can be worked
through using a development environment in the cloud so there is no
need to worry about whether you have the right stuff installed on your
machine.  Once you have worked through the tutorial you should have a
grasp of the basics or RoR and be ready to go with your own projects.
The couple of days spent will be very soon recovered in saved time
during the next phase of your learning.

Colin

>
> --
> 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 rubyonrails-talk+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> 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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu4fV4%3DxFx%3DcmLpf5dPc6kGX4Tgg_dgJjzYsTpaPPJVcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to