do you added in config/environment.rb?

config.gem 'pg'

2010/10/13 kenvogt <[email protected]>

> I have a macbook running snow leopard. I recently installed postgresql
> 9.0 on it. I also installed pg with the following command:
>
> sudo env ARCHFLAGS='-arch x86_64' gem install pg
>
> The result was fine:
>
> Building native extensions.  This could take a while...
> Successfully installed pg-0.9.0
> 1 gem installed
> Installing ri documentation for pg-0.9.0...
> Installing RDoc documentation for pg-0.9.0...
>
> I launched rails and when I tried to access http://localhost:3000/ I
> got the following error:
>
> LoadError (no such file to load -- pg):
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>


-- 
att: Luciano Sousa
http://www.lucianosousa.net
<http://www.lucianosousa.net>http://twitter.com/lucianosousa
*Ruby on Rails Developer
*Linux User #456387
*Contato: (21) 7639-5049

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to