Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Pow not running my app in OS X 10.9 Mavericks #420

Open
nikolas opened this issue Nov 13, 2013 · 4 comments
Open

Pow not running my app in OS X 10.9 Mavericks #420

nikolas opened this issue Nov 13, 2013 · 4 comments

Comments

@nikolas
Copy link

nikolas commented Nov 13, 2013

Pow fails to boot my app when I call Bundler.require() in application.rb.

screen shot 2013-11-13 at 2 44 23 pm

Pow log for my app:

[Thu Nov 14 2013 15:50:15 GMT-0500 (EST)] DEBUG nack worker 29331 spawned
[Thu Nov 14 2013 15:52:22 GMT-0500 (EST)] WARNING /Users/dobie/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:87:in `eof?': closed stream (IOError)
[Thu Nov 14 2013 15:52:22 GMT-0500 (EST)] WARNING       from /Users/dobie/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:87:in `block (2 levels) in start'
[Thu Nov 14 2013 15:52:22 GMT-0500 (EST)] WARNING       from /Users/dobie/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:86:in `each'
[Thu Nov 14 2013 15:52:22 GMT-0500 (EST)] WARNING       from /Users/dobie/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:86:in `block in start'
[Thu Nov 14 2013 15:52:22 GMT-0500 (EST)] WARNING       from /Users/dobie/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:66:in `loop'
[Thu Nov 14 2013 15:52:22 GMT-0500 (EST)] WARNING       from /Users/dobie/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:66:in `start'
[Thu Nov 14 2013 15:52:22 GMT-0500 (EST)] WARNING       from /Users/dobie/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/nack/server.rb:13:in `run'
[Thu Nov 14 2013 15:52:22 GMT-0500 (EST)] WARNING       from /Users/dobie/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/bin/nack_worker:4:in `<main>'
[Thu Nov 14 2013 15:52:22 GMT-0500 (EST)] DEBUG nack worker exited

The error seems to be the kind of opaque error you get when running a rails app in production mode, but when I print out Rails.env before the app fails to be, I am in development.

  • Rails 3.2.14
  • Bundler 1.3.5
  • Ruby 2.0.0-p247
  • Pow 0.4.1 / master
  • OS X 10.9

I've tried swapping out the version of node pow uses in ~/Library/Application Support/Pow/Versions/0.4.1 for 0.10.22 with no luck.

@guidobouman
Copy link

Are you sure this is not a rails 3.2 + Ruby 2.0 error?

What does rails s tell you?

@nikolas
Copy link
Author

nikolas commented Nov 14, 2013

I fixed this problem I was having by reinstalling all my homebrew packages and making a new OS X user. Pow is working fine for me, now.

@nikolas nikolas closed this as completed Nov 14, 2013
@nikolas
Copy link
Author

nikolas commented Nov 14, 2013

This still happens to me, after upgrading to rails 4 and running bundle install.

Started GET "/" for 127.0.0.1 at 2013-11-14 15:18:56 -0500
  ActiveRecord::SchemaMigration Load (1.0ms)  SELECT "schema_migrations".* FROM "schema_migrations"
Processing by PagesController#empty as HTML
Completed 500 Internal Server Error in 27ms

I can run . .powenv; bundle exec rails server to boot the server just fine.

@guidobouman
Copy link

Can you check what rails and ruby versions your app reports?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants