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

79 lines
1.8 KiB
Ruby
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
source :rubygems 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-06-09 07:46:30 -04:00
gem 'ci_reporter', :group => :ci
2011-02-18 04:26:42 -05:00
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
2011-06-16 05:11:09 -04:00
gem 'haml', '>= 3.0'
gem 'sass'
gem 'builder'
gem 'erubis'
gem 'liquid'
2011-09-01 13:29:07 -04:00
gem 'slim', '~> 1.0'
2011-09-02 17:10:24 -04:00
gem 'temple', '!= 0.3.3'
gem 'coffee-script', '>= 2.0'
2011-06-16 05:11:09 -04:00
gem 'rdoc'
gem 'kramdown'
gem 'maruku'
gem 'creole'
gem 'markaby'
gem 'radius'
gem 'yajl-ruby'
2011-02-18 04:26:42 -05:00
if RUBY_ENGINE == 'jruby'
gem 'nokogiri', '!= 1.5.0'
gem 'jruby-openssl'
else
gem 'nokogiri'
end
2011-05-20 08:17:59 -04:00
if RUBY_ENGINE == "ruby"
gem 'less', '~> 2.0'
else
gem 'less', '~> 1.0'
end
2012-01-18 06:51:01 -05:00
if RUBY_ENGINE != 'jruby' or not ENV['TRAVIS']
# C extensions
2011-06-16 05:11:09 -04:00
gem 'rdiscount'
platforms(:ruby_18) { gem 'redcarpet' }
2011-10-31 20:01:37 -04:00
gem 'RedCloth' unless RUBY_ENGINE == "macruby"
## bluecloth is broken
2011-06-16 05:11:09 -04:00
#gem 'bluecloth'
2011-02-18 04:26:42 -05:00
end
platforms :ruby_18, :jruby do
gem 'json'
end
platforms :mri_18 do
# bundler platforms are broken
next if RUBY_ENGINE != 'ruby' or RUBY_VERSION > "1.8"
2011-06-16 05:11:09 -04:00
gem 'rcov'
end