2011-02-18 04:26:42 -05:00
|
|
|
# Why use bundler?
|
|
|
|
# Well, not all development dependencies install on all rubies. Moreover, `gem
|
|
|
|
# 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-02-18 04:26:42 -05:00
|
|
|
gemspec
|
|
|
|
|
|
|
|
gem 'rake'
|
|
|
|
gem 'rack-test', '>= 0.5.6'
|
|
|
|
|
|
|
|
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'
|
2011-03-17 06:28:06 -04:00
|
|
|
gem 'RedCloth', :group => 'redcloth'
|
2011-02-18 04:26:42 -05:00
|
|
|
|
2011-02-21 05:35:52 -05:00
|
|
|
|
|
|
|
if RUBY_VERSION > '1.8.6'
|
|
|
|
gem 'coffee-script', '>= 2.0', :group => 'coffee-script'
|
|
|
|
gem 'rdoc', :group => 'rdoc'
|
|
|
|
else
|
|
|
|
gem 'rack', '~> 1.1.0'
|
|
|
|
end
|
2011-02-18 04:26:42 -05: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'
|
2011-02-26 09:48:14 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
platforms :mri_18 do
|
|
|
|
# bundler platforms are broken
|
|
|
|
next unless RUBY_ENGINE == 'ruby'
|
|
|
|
gem 'rcov', :group => 'rcov'
|
|
|
|
end
|