Skip to content

Conversation

@var114
Copy link

@var114 var114 commented Oct 10, 2013

Took a bit longer than I anticipated. But here it is, in all it's glory.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor, but you named this keys (plural). I would keep to "key", since you can't actually pass in multiple entries here.

@jwo
Copy link
Member

jwo commented Oct 11, 2013

Some very excellent stuff here! I commented on some style issues, but I didn't see anything where I'd suggest a rewrite. Let me know if you have any questions!

@var114
Copy link
Author

var114 commented Oct 11, 2013

Thanks Jesse.
I'll make the necessary adjustments soon.

But I'm doing Episode3 right now and running into problems with postgres.

This is the error I keep getting when I run "watchman.rb"

/Users/yearlydoubt/.rvm/gems/ruby-2.0.0-p195/gems/activerecord-3.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:1194:in `initialize': could not connect to server: No such file or directory (PG::Error)
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?

can you tell what may be the problem?

-Patil

On Oct 11, 2013, at 11:47 AM, Jesse Wolgamott [email protected] wrote:

Some very excellent stuff here! I commented on some style issues, but I didn't see anything where I'd suggest a rewrite. Let me know if you have any questions!


Reply to this email directly or view it on GitHub.

@jwo
Copy link
Member

jwo commented Oct 11, 2013

Usually that happens when you have not installed postgres. have you downloaded and run http://postgresapp.com/ ? You may also need to uninstall old versions of postgres. This can be a pain.

If you do end up unable to proceed, you can try out Nitrous -- it's a cloud based editor https://www.nitrous.io/join/594AeXlZUKk -- and follow http://help.nitrous.io/postgres/

  • jesse

On Friday, October 11, 2013 at 3:04 PM, var114 wrote:

Thanks Jesse.
I'll make the necessary adjustments soon.

But I'm doing Episode3 right now and running into problems with postgres.

This is the error I keep getting when I run "watchman.rb"

/Users/yearlydoubt/.rvm/gems/ruby-2.0.0-p195/gems/activerecord-3.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:1194:in `initialize': could not connect to server: No such file or directory (PG::Error)
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?

can you tell what may be the problem?

-Patil

On Oct 11, 2013, at 11:47 AM, Jesse Wolgamott <[email protected] (mailto:[email protected])> wrote:

Some very excellent stuff here! I commented on some style issues, but I didn't see anything where I'd suggest a rewrite. Let me know if you have any questions!


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub (#21 (comment)).

@var114
Copy link
Author

var114 commented Oct 11, 2013

No I installed the postgress app.

I'm getting this...

WARNING: psql version 9.1, server version 9.3.
also when I ape in "ps -aef|grep postgress,
the postgress server is running.

On Oct 11, 2013, at 1:16 PM, Jesse Wolgamott [email protected] wrote:

Usually that happens when you have not installed postgres. have you downloaded and run http://postgresapp.com/ ? You may also need to uninstall old versions of postgres. This can be a pain.

If you do end up unable to proceed, you can try out Nitrous -- it's a cloud based editor https://www.nitrous.io/join/594AeXlZUKk -- and follow http://help.nitrous.io/postgres/

  • jesse

On Friday, October 11, 2013 at 3:04 PM, var114 wrote:

Thanks Jesse.
I'll make the necessary adjustments soon.

But I'm doing Episode3 right now and running into problems with postgres.

This is the error I keep getting when I run "watchman.rb"

/Users/yearlydoubt/.rvm/gems/ruby-2.0.0-p195/gems/activerecord-3.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:1194:in `initialize': could not connect to server: No such file or directory (PG::Error)
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?

can you tell what may be the problem?

-Patil

On Oct 11, 2013, at 11:47 AM, Jesse Wolgamott <[email protected] (mailto:[email protected])> wrote:

Some very excellent stuff here! I commented on some style issues, but I didn't see anything where I'd suggest a rewrite. Let me know if you have any questions!


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub (#21 (comment)).


Reply to this email directly or view it on GitHub.

@jwo
Copy link
Member

jwo commented Oct 11, 2013

Try running

which psql

And then deleting that file, if that file is not part of the postgresapp

On Fri, Oct 11, 2013 at 4:01 PM, var114 [email protected] wrote:

No I installed the postgress app.
I'm getting this...
WARNING: psql version 9.1, server version 9.3.
also when I ape in "ps -aef|grep postgress,
the postgress server is running.
On Oct 11, 2013, at 1:16 PM, Jesse Wolgamott [email protected] wrote:

Usually that happens when you have not installed postgres. have you downloaded and run http://postgresapp.com/ ? You may also need to uninstall old versions of postgres. This can be a pain.

If you do end up unable to proceed, you can try out Nitrous -- it's a cloud based editor https://www.nitrous.io/join/594AeXlZUKk -- and follow http://help.nitrous.io/postgres/

  • jesse

On Friday, October 11, 2013 at 3:04 PM, var114 wrote:

Thanks Jesse.
I'll make the necessary adjustments soon.

But I'm doing Episode3 right now and running into problems with postgres.

This is the error I keep getting when I run "watchman.rb"

/Users/yearlydoubt/.rvm/gems/ruby-2.0.0-p195/gems/activerecord-3.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:1194:in `initialize': could not connect to server: No such file or directory (PG::Error)
Is the server running locally and accepting
connections on Unix domain socket "/var/pgsql_socket/.s.PGSQL.5432"?

can you tell what may be the problem?

-Patil

On Oct 11, 2013, at 11:47 AM, Jesse Wolgamott <[email protected] (mailto:[email protected])> wrote:

Some very excellent stuff here! I commented on some style issues, but I didn't see anything where I'd suggest a rewrite. Let me know if you have any questions!


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub (#21 (comment)).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub:
#21 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants