lib/rconf/configurators/ruby_configurator.rb in rconf-0.9.25 vs lib/rconf/configurators/ruby_configurator.rb in rconf-0.10.0
- old
+ new
@@ -18,14 +18,12 @@
register :ruby
description "Installs ruby interpreter and rubygems.\n" +
'Installs and uses rvm on supported (i.e. non-Windows) platforms'
- settings :version => 'Ruby version using rvm notation (see "rvm list known")',
- :rubygems => 'Rubygems version, e.g. "1.3.7"',
- :gemset => 'Gemset to be used for platforms supporting rvm'
-
- validate_has_settings :version
+ setting 'version', 'Ruby version using rvm notation (see "rvm list known")', :required => true
+ setting 'rubygems', 'Rubygems version, e.g. "1.3.7"'
+ setting 'gemset', 'Gemset to be used for platforms supporting rvm'
# RVM version used to install rubies
RVM_VERSION = '1.10.2'
# RVM releases URL