Skip to content

Commit

Permalink
set ruby 1.9 as default ruby stack if none was specified
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto committed Sep 4, 2012
1 parent 0a71926 commit c25650f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions passenger_apache2/attributes/passenger.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
include_attribute 'rails::rails'

case node[:scalarium][:ruby_version]
when /1.9/
default[:passenger][:gems_path] = "/usr/local/lib/ruby/gems/1.9.1/gems"
when /1.8/
default[:passenger][:gems_path] = "/usr/local/lib/ruby/gems/1.8/gems"
default[:passenger][:gems_path] = '/usr/local/lib/ruby/gems/1.8/gems'
else
default[:passenger][:gems_path] = '/usr/local/lib/ruby/gems/1.9.1/gems'
end

default[:passenger][:version] = '3.0.9'
Expand Down

0 comments on commit c25650f

Please sign in to comment.