I''m following this guide
http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html
to set up the environment, but for the life of me can''t get tests
passed for postgres.
When I do rake test_postregsql in activerecord folder I get:
rails/activerecord/lib/active_record/connection_adapters/
postgresql_adapter.rb:1063:in `initialize'': could not connect to
server: Permission denied (PGError)
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.
5432"?
I tried to install postgres with homebrew and from dmg. Added /usr/
local/bin to $PATH.
Basically tried everything I could google about it but nothing helped.
Anyone bumped into similar situation?
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-core+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.
Bruno Ferreira Pinto
2011-Sep-11 05:41 UTC
Re: Postgresql, Rails and OS X Lion: Permission denied.
Are you sure do you have the service running? Can you access it through command line? Be careful as Lion ships with postgre tools... What''s the result of this: which psql On Sep 11, 2011 12:33 AM, "yankov" <artem.yankov@gmail.com> wrote:> I''m following this guidehttp://guides.rubyonrails.org/contributing_to_ruby_on_rails.html> to set up the environment, but for the life of me can''t get tests > passed for postgres. > > When I do rake test_postregsql in activerecord folder I get: > > rails/activerecord/lib/active_record/connection_adapters/ > postgresql_adapter.rb:1063:in `initialize'': could not connect to > server: Permission denied (PGError) > Is the server running locally and accepting > connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL. > 5432"? > > I tried to install postgres with homebrew and from dmg. Added /usr/ > local/bin to $PATH. > Basically tried everything I could google about it but nothing helped. > Anyone bumped into similar situation? > > -- > You received this message because you are subscribed to the Google Groups"Ruby on Rails: Core" group.> To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email torubyonrails-core+unsubscribe@googlegroups.com.> For more options, visit this group athttp://groups.google.com/group/rubyonrails-core?hl=en.>-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
Pedro Nascimento
2011-Sep-11 06:19 UTC
Re: Postgresql, Rails and OS X Lion: Permission denied.
Please, take this discussion at rubyonrais-talk. This list is for core-related discussions only. On Sun, Sep 11, 2011 at 02:41, Bruno Ferreira Pinto < brunoferreirapinto@gmail.com> wrote:> Are you sure do you have the service running? > Can you access it through command line? > > Be careful as Lion ships with postgre tools... What''s the result of this: > which psql > On Sep 11, 2011 12:33 AM, "yankov" <artem.yankov@gmail.com> wrote: > > I''m following this guide > http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html > > to set up the environment, but for the life of me can''t get tests > > passed for postgres. > > > > When I do rake test_postregsql in activerecord folder I get: > > > > rails/activerecord/lib/active_record/connection_adapters/ > > postgresql_adapter.rb:1063:in `initialize'': could not connect to > > server: Permission denied (PGError) > > Is the server running locally and accepting > > connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL. > > 5432"? > > > > I tried to install postgres with homebrew and from dmg. Added /usr/ > > local/bin to $PATH. > > Basically tried everything I could google about it but nothing helped. > > Anyone bumped into similar situation? > > > > -- > > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > > To post to this group, send email to rubyonrails-core@googlegroups.com. > > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com. > > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.