Skip to content

Instantly share code, notes, and snippets.

@rawsyntax
Forked from RobinDaugherty/apply_this.sh
Created February 21, 2018 13:12
Show Gist options
  • Save rawsyntax/e2192c4a03514a1470f14080b1ef21bb to your computer and use it in GitHub Desktop.
Save rawsyntax/e2192c4a03514a1470f14080b1ef21bb to your computer and use it in GitHub Desktop.
Fix Pow's nack so that better_errors works on ruby 2.1+
curl -L https://gist.githubusercontent.com/RobinDaugherty/2731f20d303e6506d451384df2189210/raw/b52e6231170b3dce39633db29634dc892751910f/pow_better_errors_fix.patch |
patch ~/Library/Application\ Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb
105a106
> buf_complete = false
108a110,112
> buf_complete = true
> end
> if buf_complete
@rawsyntax
Copy link
Author

curl -L https://gist.githubusercontent.com/RobinDaugherty/2731f20d303e6506d451384df2189210/raw/b52e6231170b3dce39633db29634dc892751910f/pow_better_errors_fix.patch | patch ~/Library/Application\ Support/Pow/Versions/0.6.0/node_modules/nack/lib/nack/server.rb

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