binding.pry isn't able to open file for reading due to Dir.chdir in runner.rb
sent-hil opened this issue · 2 comments
sent-hil commented
Here's the line: https://github.com/postrank-labs/goliath/blob/master/lib/goliath/runner.rb#L190
See pry/pry#675 for more info.
Using goliath (1.0.0.beta.1) on Ruby 1.9.3 and OSX 10.8.
Also, I've to use full path for config file when starting the server:
ruby lib/endpoints/pages/show.rb -svp 8000 -e 'prod' -c /Users/senthil/Documents/Developer/freelance/app/backend/lib/config/server.rb
Relevant bug: #61
dj2 commented
Is this fixed? I see the pry bug is closed. There isn't much we can do on the Goliath side as the chdir is needed to handle config loading.
sent-hil commented
Yep, thanks!