try the windows gem again

This commit is contained in:
Thomas Reynolds 2011-09-11 10:46:35 -07:00
parent 5611976d29
commit 4f86fcd89f
4 changed files with 5 additions and 8 deletions

View file

@ -2,9 +2,8 @@ require "guard"
require "guard/guard" require "guard/guard"
require "rbconfig" require "rbconfig"
if Config::CONFIG['host_os'].downcase =~ %r{mswin|mingw} if Config::CONFIG['host_os'].downcase =~ %r{mingw}
require "win32/process" require "win32/process"
require 'win32console'
end end
module Middleman module Middleman

View file

@ -1,3 +1,3 @@
module Middleman module Middleman
VERSION = "2.0.9.pre" VERSION = "2.0.9.pre.2"
end end

View file

@ -7,7 +7,7 @@ require "middleman/version"
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "middleman" s.name = "middleman"
s.version = Middleman::VERSION s.version = Middleman::VERSION
s.platform = "x86-mswin32" s.platform = "x86-mingw32"
s.license = "MIT" s.license = "MIT"
s.authors = ["Thomas Reynolds"] s.authors = ["Thomas Reynolds"]
s.email = ["me@tdreyno.com"] s.email = ["me@tdreyno.com"]
@ -55,10 +55,9 @@ eos
s.add_dependency("padrino-helpers", ["~> 0.10.2"]) s.add_dependency("padrino-helpers", ["~> 0.10.2"])
# case s.platform.to_s # case s.platform.to_s
# when %r{mswin|mingw} # when %r{mingw}
s.add_dependency("eventmachine", ["1.0.0.beta.3"]) s.add_dependency("eventmachine", ["1.0.0.beta.3"])
s.add_dependency("win32-process", ["~> 0.6.5"]) s.add_dependency("win32-process", ["~> 0.6.5"])
s.add_dependency("win32console", ["~> 1.3.0"])
s.add_dependency("rb-fchange") s.add_dependency("rb-fchange")
# else # else
# s.add_dependency("rb-fsevent", ["~> 0.4.2"]) # s.add_dependency("rb-fsevent", ["~> 0.4.2"])

View file

@ -55,10 +55,9 @@ eos
s.add_dependency("padrino-helpers", ["~> 0.10.2"]) s.add_dependency("padrino-helpers", ["~> 0.10.2"])
# case s.platform.to_s # case s.platform.to_s
# when %r{mswin|mingw} # when %r{mingw}
# s.add_dependency("eventmachine", ["1.0.0.beta.3"]) # s.add_dependency("eventmachine", ["1.0.0.beta.3"])
# s.add_dependency("win32-process", ["~> 0.6.5"]) # s.add_dependency("win32-process", ["~> 0.6.5"])
# s.add_dependency("win32console", ["~> 1.3.0"])
# s.add_dependency("rb-fchange") # s.add_dependency("rb-fchange")
# else # else
s.add_dependency("rb-fsevent", ["~> 0.4.2"]) s.add_dependency("rb-fsevent", ["~> 0.4.2"])