aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/console.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-03-06 09:22:07 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-03-06 09:22:07 +0000
commit8dfe5b78fa4525d2d3c6167e9aea29d7756b5eb7 (patch)
treee2285428760d0669dbe4867ad228051fad3188db /railties/lib/commands/console.rb
parente17df19b86a2ad0ed8c5657ef046c3e82cf6d63b (diff)
downloadrails-8dfe5b78fa4525d2d3c6167e9aea29d7756b5eb7.tar.gz
rails-8dfe5b78fa4525d2d3c6167e9aea29d7756b5eb7.tar.bz2
rails-8dfe5b78fa4525d2d3c6167e9aea29d7756b5eb7.zip
Windows: include MinGW in RUBY_PLATFORM check. Closes #2982.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/commands/console.rb')
-rw-r--r--railties/lib/commands/console.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/console.rb b/railties/lib/commands/console.rb
index 5abdb49273..dab84c5de3 100644
--- a/railties/lib/commands/console.rb
+++ b/railties/lib/commands/console.rb
@@ -1,4 +1,4 @@
-irb = RUBY_PLATFORM =~ /mswin32/ ? 'irb.bat' : 'irb'
+irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb'
require 'optparse'
options = { :sandbox => false, :irb => irb }