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

78 lines
1.8 KiB
Text
Raw Normal View History

2011-02-18 04:26:42 -05:00
# Why use bundler?
2011-02-26 11:06:11 -05:00
# Well, not all development dependencies install on all rubies. Moreover, `gem
2011-02-18 04:26:42 -05:00
# install sinatra --development` doesn't work, as it will also try to install
# development dependencies of our dependencies, and those are not conflict free.
# So, here we are, `bundle install`.
#
2011-02-21 08:05:02 -05:00
# If you have issues with a gem: `bundle install --without-coffee-script`.
2011-02-18 04:26:42 -05:00
2011-02-21 05:54:26 -05:00
RUBY_ENGINE = 'ruby' unless defined? RUBY_ENGINE
2013-03-07 20:43:46 -05:00
source 'https://rubygems.org' unless ENV['QUICK']
2011-09-02 16:54:49 -04:00
gemspec
2011-02-18 04:26:42 -05:00
gem 'rake'
gem 'rack-test', '>= 0.5.6'
2011-04-13 07:52:05 -04:00
# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
# Used by the CI.
github = "git://github.com/%s.git"
2011-10-30 12:41:54 -04:00
repos = {'tilt' => github % "rtomayko/tilt", 'rack' => github % "rack/rack"}
%w[tilt rack].each do |lib|
2011-10-30 12:41:54 -04:00
dep = case ENV[lib]
when 'stable', nil then nil
when /(\d+\.)+\d+/ then "~> " + ENV[lib].sub("#{lib}-", '')
else {:git => repos[lib], :branch => dep}
end
gem lib, dep
2011-04-13 07:52:05 -04:00
end
if RUBY_ENGINE == 'jruby'
gem 'nokogiri', '!= 1.5.0'
gem 'jruby-openssl'
2012-05-13 16:32:18 -04:00
gem 'trinidad'
end
2011-05-20 08:17:59 -04:00
if RUBY_ENGINE == "ruby" and RUBY_VERSION > '1.9.2'
2014-06-06 17:28:20 -04:00
gem "minitest", "~> 4.0"
gem 'less', '~> 2.0'
gem 'therubyracer'
gem 'redcarpet'
gem 'wlang', '>= 2.0.1'
gem 'bluecloth'
gem 'rdiscount'
gem 'RedCloth'
2012-03-18 08:25:35 -04:00
gem 'puma'
gem 'net-http-server'
gem 'yajl-ruby'
gem 'nokogiri'
gem 'thin'
gem 'slim', '~> 1.0'
gem 'coffee-script', '>= 2.0'
gem 'rdoc'
gem 'kramdown'
gem 'maruku'
gem 'creole'
gem 'wikicloth'
gem 'markaby'
gem 'radius'
gem 'asciidoctor'
gem 'liquid'
gem 'stylus'
gem 'rabl'
gem 'builder'
gem 'erubis'
gem 'haml', '>= 3.0'
gem 'sass'
2011-02-18 04:26:42 -05:00
end
if RUBY_ENGINE == "rbx"
gem 'json'
gem 'rubysl'
gem 'rubysl-test-unit'
end
2012-05-13 14:59:49 -04:00
platforms :ruby_18, :jruby do
gem 'json' unless RUBY_VERSION > '1.9' # is there a jruby but 1.8 only selector?
end