Sha256: 4466f8069a1f748905f9593cbcff8661b31c241be179b0105cf22d739264d660

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents

# 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`.
#
# If you have issues with a gem: `bundle install --without-coffee-script`.

RUBY_ENGINE = 'ruby' unless defined? RUBY_ENGINE
TILT_REPO = "git://github.com/rtomayko/tilt.git"

source :rubygems unless ENV['QUICK']
gemspec

gem 'rake'
gem 'rack-test', '>= 0.5.6'

# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
# Used by the CI.
tilt = (ENV['tilt'] || 'stable').dup
tilt.sub! 'tilt-', ''
if tilt != 'stable'
  tilt = {:git => TILT_REPO, :branch => tilt} unless tilt =~ /(\d+\.)+\d+/
  gem 'tilt', tilt
end

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'


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

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 unless RUBY_ENGINE == 'ruby'
  gem 'rcov', :group => 'rcov'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinatra-1.2.6 Gemfile