<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -46,6 +46,23 @@ if runner
   end
 
   runner = File.expand_path(runner)
+  
+  console = Ramaze::Global.console
+
+  if console
+    ARGV.clear #Avoid passing args to IRB
+
+    Ramaze.trait[:started] = true
+    require runner
+
+    require 'irb'
+    require 'irb/completion'
+
+    ENV['IRBRC'] = &quot;.irbrc&quot; if File.exists? &quot;.irbrc&quot;
+    IRB.start
+    Ramaze.shutdown
+  end
+  
   daemonize = Ramaze::Global.daemonize
 
   unless daemonize.empty?</diff>
      <filename>bin/ramaze</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>827cce9fe1b738b67205f7df18e22d14511423bf</id>
    </parent>
  </parents>
  <author>
    <name>Jean-Francois Chevrette</name>
    <email>jfchevrette@iweb.ca</email>
  </author>
  <url>http://github.com/manveru/ramaze/commit/028a50cd8b992edcbae6297829fd691e20eae200</url>
  <id>028a50cd8b992edcbae6297829fd691e20eae200</id>
  <committed-date>2008-06-19T05:17:02-07:00</committed-date>
  <authored-date>2008-06-19T05:17:02-07:00</authored-date>
  <message>fixing the console feature that was accidentally dropped in 2008.06</message>
  <tree>4fe6887b7c9c09cf035a2fa4d6ff0b4c79e4b946</tree>
  <committer>
    <name>Jean-Francois Chevrette</name>
    <email>jfchevrette@iweb.ca</email>
  </committer>
</commit>
