lib/rconf/configurators/ruby_configurator.rb in rconf-0.8.0 vs lib/rconf/configurators/ruby_configurator.rb in rconf-0.8.1
- old
+ new
@@ -131,10 +131,11 @@
report_success
else
report_failure
if out =~ /rvm ([^\s]+)/
report_fatal "You have rvm #{Regexp.last_match[1]} installed which is not compatible with rconf.\n" +
- "Please uninstall your version of rvm and re-run rconf which will install rvm #{RVM_VERSION}."
+ "Please uninstall your version of rvm and re-run rconf which will install rvm #{RVM_VERSION}.\n" +
+ "You can uninstall rvm by running 'rvm implode' or 'rm -rf ~/.rvm'"
else
report_check("Installing rvm #{version}")
rvm_src = File.join(ENV['HOME'] || '/root', '.rvm/src')
FileUtils.mkdir_p(rvm_src)
Dir.chdir(rvm_src) do