sinatra/Gemfile

53 lines
1.5 KiB
Ruby
Raw Normal View History

2011-02-18 09:26:42 +00:00
# Why use bundler?
2011-02-26 16:06:11 +00:00
# Well, not all development dependencies install on all rubies. Moreover, `gem
2011-02-18 09:26:42 +00: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 13:05:02 +00:00
# If you have issues with a gem: `bundle install --without-coffee-script`.
2011-02-18 09:26:42 +00:00
2011-02-21 10:54:26 +00:00
RUBY_ENGINE = 'ruby' unless defined? RUBY_ENGINE
2011-04-13 11:52:05 +00:00
TILT_REPO = "git://github.com/rtomayko/tilt.git"
2011-02-21 10:54:26 +00:00
source :rubygems unless ENV['QUICK']
2011-02-18 09:26:42 +00:00
gemspec
gem 'rake'
gem 'rack-test', '>= 0.5.6'
2011-04-13 11:52:05 +00:00
# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
# Used by the CI.
2011-04-14 06:59:39 +00:00
tilt = (ENV['tilt'] || 'stable').dup
2011-04-13 11:52:05 +00:00
tilt.sub! 'tilt-', ''
if tilt != 'stable'
tilt = {:git => TILT_REPO, :branch => tilt} unless tilt =~ /(\d+\.)+\d+/
gem 'tilt', tilt
end
2011-02-18 09:26:42 +00:00
gem 'haml', '>= 3.0', :group => 'haml'
gem 'builder', :group => 'builder'
gem 'erubis', :group => 'erubis'
gem 'less', :group => 'less'
gem 'liquid', :group => 'liquid'
gem 'nokogiri', :group => 'nokogiri'
gem 'slim', :group => 'slim'
gem 'RedCloth', :group => 'redcloth'
2011-02-26 16:06:11 +00:00
gem 'coffee-script', '>= 2.0', :group => 'coffee-script'
gem 'rdoc', :group => 'rdoc'
2011-02-18 09:26:42 +00:00
platforms :ruby do
gem 'rdiscount', :group => 'rdiscount'
end
platforms :ruby_18, :jruby do
gem 'json', :group => 'coffee-script'
gem 'markaby', :group => 'markaby'
gem 'radius', :group => 'radius'
end
platforms :mri_18 do
# bundler platforms are broken
next if RUBY_ENGINE != 'ruby' or RUBY_VERSION > "1.8"
gem 'rcov', :group => 'rcov'
end