lib/rconf/configurators/ruby_configurator.rb in rconf-0.8.3 vs lib/rconf/configurators/ruby_configurator.rb in rconf-0.8.4
- old
+ new
@@ -30,9 +30,19 @@
:rubygems => 'Rubygems version, e.g. "1.3.7"',
:gemset => 'Gemset to be used for platforms supporting rvm'
validate_has_settings :version, :rubygems
+ # Let configurator run, it is idempotent
+ #
+ # === Return
+ # false:: Always return false
+ def check_linux
+ false
+ end
+ alias :check_darwin :check_linux
+ alias :check_windows :check_linux
+
# Switch to ruby version defined in settings
# Use rvm and install it if needed
#
# === Return
# true:: Always return true