lib/rconf/configurators/passenger_configurator.rb in rconf-0.9.25 vs lib/rconf/configurators/passenger_configurator.rb in rconf-0.10.0
- old
+ new
@@ -26,12 +26,12 @@
description "Installs and configure passenger with nginx\nNOTE: If the " +
'configuration file includes a ruby section before the ' +
'passenger section then that ruby will be used, otherwise ' +
'the default ruby will.'
- settings :library_src_path => "Path to library sources, #{File.expand_path(File.join(Dir.getwd, '..', 'library'))} by default",
- :gem_version => "Passenger gem version #{PASSENGER_GEM_VERSION} by default",
- :install_path => 'Path to nginx installation directory, uses /opt/nginx if it ' +
+ setting 'library_src_path', "Path to library sources, #{File.expand_path(File.join(Dir.getwd, '..', 'library'))} by default"
+ setting 'gem_version', "Passenger gem version #{PASSENGER_GEM_VERSION} by default"
+ setting 'install_path', 'Path to nginx installation directory, uses /opt/nginx if it ' +
'is writable by the current user or ~/nginx otherwise by default'
# Check that passenger gem is installed and that passenger+nginx is installed
#
# === Return