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:
parent
ead974db7a
commit
dbfa50769e
1 changed files with 1 additions and 4 deletions
5
Gemfile
5
Gemfile
|
@ -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?
|
||||||
|
|
Loading…
Reference in a new issue