Skip to content

Commit

Permalink
support Windows mingw Ruby distro
Browse files Browse the repository at this point in the history
Signed-off-by: Marc-Andre Cournoyer <macournoyer@gmail.com>
  • Loading branch information
JuanC authored and macournoyer committed Mar 27, 2009
1 parent 8672df4 commit 812392f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/thin/version.rb
Expand Up @@ -19,7 +19,7 @@ module VERSION #:nodoc:
SERVER = "#{NAME} #{VERSION::STRING} codename #{VERSION::CODENAME}".freeze

def self.win?
RUBY_PLATFORM =~ /mswin/
RUBY_PLATFORM =~ /mswin|mingw/
end

def self.linux?
Expand Down

0 comments on commit 812392f

Please sign in to comment.