Permalink
Browse files

* passenger gem path fix (?)

  • Loading branch information...
1 parent 0f31bf8 commit cb764c3c542c9bf28719dc4de95ee7dc71eccbce @dudemeister committed Jun 13, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 passenger.rb
View
6 passenger.rb
@@ -12,11 +12,7 @@
requires 'apache2'
requires_when_unmet 'build tools', 'apache2 dev packages', 'libcurl4-openssl-dev.managed'
setup {
- passenger_path = begin
- Babushka::GemHelper.gem_path_for('passenger')
- rescue Errno::ENOENT
- "/usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.12"
- end
+ passenger_path = Babushka::GemHelper.gem_path_for('passenger') || "/usr/local/rvm/gems/ruby-1.9.3-p125/gems/passenger-3.0.12"
set :passenger_root, passenger_path
set :ruby, "/usr/local/rvm/wrappers/ruby-1.9.3-p125/ruby"
}

0 comments on commit cb764c3

Please sign in to comment.