Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Windows support

  • Loading branch information...
commit db81b72dda98b82cecdadba008a5a437c3adbbcc 1 parent 603a8cf
@wagenet wagenet authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 guides.gemspec
View
9 guides.gemspec
@@ -4,6 +4,9 @@ $:.unshift lib unless $:.include?(lib)
require 'guides/version'
+os = Gem::Platform.local.os
+is_mingw = (os == "mingw32")
+
Gem::Specification.new do |s|
s.name = "guides"
s.version = Guides::VERSION
@@ -20,11 +23,15 @@ Gem::Specification.new do |s|
s.add_dependency "actionpack", "~> 3.0.0"
s.add_dependency "activesupport", "~> 3.0.0"
s.add_dependency "rack", "~> 1.2.1"
- s.add_dependency "RedCloth", "~> 4.1.1"
+ s.add_dependency "RedCloth", "~> 4.2.7"
s.add_dependency "maruku", "~> 0.6.0"
s.add_dependency "thor", "~> 0.14.6"
s.add_dependency "thin", "~> 1.2.7"
+ if is_mingw
+ s.add_dependency 'eventmachine', '~> 1.0.0.beta'
+ end
+
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = %w(guides)
Please sign in to comment.
Something went wrong with that request. Please try again.