scripts/irbrc.rb in rvm-1.1.0 vs scripts/irbrc.rb in rvm-1.1.1
- old
+ new
@@ -46,9 +46,10 @@
:PROMPT_C => "#{rvm_ruby_string} > ",
:PROMPT_N => "#{rvm_ruby_string} ?> ", # unknown continuation
:RETURN => " => %s \n",
:AUTO_INDENT => true
}
+IRB.conf[:PROMPT] ||= {}
IRB.conf[:PROMPT][:RVM] = @prompt
IRB.conf[:PROMPT_MODE] = :RVM
# Load the user's irbrc file, if possible.
# Report any errors that occur.