1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

net-http-server is not a dependency when RUBY_VERSION == 1.8.7 || RUBY_ENGINE =~ /jruby|rbx/

This commit is contained in:
Patricio Mac Adden 2013-03-11 21:20:06 -03:00
parent ead974db7a
commit dbfa50769e

View file

@ -75,12 +75,9 @@ if RUBY_ENGINE != 'jruby' or not ENV['TRAVIS']
end end
gem 'RedCloth' unless RUBY_ENGINE == "macruby" gem 'RedCloth' unless RUBY_ENGINE == "macruby"
gem 'puma' gem 'puma'
## bluecloth is broken
#gem 'bluecloth'
end end
gem 'net-http-server' gem 'net-http-server' unless RUBY_VERSION == '1.8.7' || RUBY_ENGINE =~ /jruby|rbx/
platforms :ruby_18, :jruby do platforms :ruby_18, :jruby do
gem 'json' unless RUBY_VERSION > '1.9' # is there a jruby but 1.8 only selector? gem 'json' unless RUBY_VERSION > '1.9' # is there a jruby but 1.8 only selector?