[macruby-changes] [4814] DietRB/trunk/lib/irb/ext/history.rb

source_changes at macosforge.org source_changes at macosforge.org
Sat Oct 23 04:46:55 PDT 2010


Revision: 4814
          http://trac.macosforge.org/projects/ruby/changeset/4814
Author:   eloy.de.enige at gmail.com
Date:     2010-10-23 04:46:52 -0700 (Sat, 23 Oct 2010)
Log Message:
-----------
Don?\226?\128?\153t break when the user loads irb/ext/history without loading readline.

Modified Paths:
--------------
    DietRB/trunk/lib/irb/ext/history.rb

Modified: DietRB/trunk/lib/irb/ext/history.rb
===================================================================
--- DietRB/trunk/lib/irb/ext/history.rb	2010-10-23 07:17:53 UTC (rev 4813)
+++ DietRB/trunk/lib/irb/ext/history.rb	2010-10-23 11:46:52 UTC (rev 4814)
@@ -89,4 +89,4 @@
 
 IRB::History.file = File.expand_path("~/.irb_history")
 IRB::History.max_entries_in_overview = 50
-IRB::History.setup
\ No newline at end of file
+IRB::History.setup if defined?(Readline)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101023/6c1c0e8d/attachment.html>


More information about the macruby-changes mailing list