Skip to content
Browse files

* correctly catch the error

  • Loading branch information...
1 parent f2fc9e1 commit d76db8e9366a0fbd2460a5074c12ca53df64adae @dudemeister committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 passenger.rb
View
2 passenger.rb
@@ -14,7 +14,7 @@
setup {
passenger_path = begin
Babushka::GemHelper.gem_path_for('passenger')
- rescue
+ rescue Errno::ENOENT
login_shell("source /usr/local/rvm/scripts/rvm; echo $GEM_PATH").split(":").first + "/gems/passenger-3.0.12"
end
set :passenger_root, passenger_path

0 comments on commit d76db8e

Please sign in to comment.
Something went wrong with that request. Please try again.