Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 57 lines (48 sloc) 1.683 kb
5a3f133 @rkh Add Gemfile, fixes #152.
rkh authored
1 # Why use bundler?
66a7db6 @rkh drop 1.8.6 support
rkh authored
2 # Well, not all development dependencies install on all rubies. Moreover, `gem
5a3f133 @rkh Add Gemfile, fixes #152.
rkh authored
3 # install sinatra --development` doesn't work, as it will also try to install
4 # development dependencies of our dependencies, and those are not conflict free.
5 # So, here we are, `bundle install`.
6 #
79ae9c8 @rkh typo in Gemfile comment
rkh authored
7 # If you have issues with a gem: `bundle install --without-coffee-script`.
5a3f133 @rkh Add Gemfile, fixes #152.
rkh authored
8
d269bf5 @rkh add some test guards for rbx
rkh authored
9 RUBY_ENGINE = 'ruby' unless defined? RUBY_ENGINE
33cde76 @rkh allow setting tilt version via env var
rkh authored
10 TILT_REPO = "git://github.com/rtomayko/tilt.git"
d269bf5 @rkh add some test guards for rbx
rkh authored
11
12 source :rubygems unless ENV['QUICK']
5a3f133 @rkh Add Gemfile, fixes #152.
rkh authored
13 gemspec
14
15 gem 'rake'
16 gem 'rack-test', '>= 0.5.6'
17
33cde76 @rkh allow setting tilt version via env var
rkh authored
18 # Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
19 # Used by the CI.
652411f @rkh avoid nil.dup in Gemfile
rkh authored
20 tilt = (ENV['tilt'] || 'stable').dup
33cde76 @rkh allow setting tilt version via env var
rkh authored
21 tilt.sub! 'tilt-', ''
22 if tilt != 'stable'
23 tilt = {:git => TILT_REPO, :branch => tilt} unless tilt =~ /(\d+\.)+\d+/
24 gem 'tilt', tilt
25 end
26
5a3f133 @rkh Add Gemfile, fixes #152.
rkh authored
27 gem 'haml', '>= 3.0', :group => 'haml'
28 gem 'builder', :group => 'builder'
29 gem 'erubis', :group => 'erubis'
30 gem 'less', :group => 'less'
31 gem 'liquid', :group => 'liquid'
32 gem 'nokogiri', :group => 'nokogiri'
33 gem 'slim', :group => 'slim'
6fbd58f @rkh JRuby 1.6.0 and Rubinius 1.2.3 have been released
rkh authored
34 gem 'RedCloth', :group => 'redcloth'
66a7db6 @rkh drop 1.8.6 support
rkh authored
35 gem 'coffee-script', '>= 2.0', :group => 'coffee-script'
36 gem 'rdoc', :group => 'rdoc'
4b8aaef @rkh test all mardown engines if available
rkh authored
37 gem 'kramdown', :group => 'kramdown'
38 gem 'maruku', :group => 'maruku'
9ce9e54 @rkh add support for creole templates
rkh authored
39 gem 'creole', :group => 'creole'
5a3f133 @rkh Add Gemfile, fixes #152.
rkh authored
40
41 platforms :ruby do
42 gem 'rdiscount', :group => 'rdiscount'
4b8aaef @rkh test all mardown engines if available
rkh authored
43 gem 'bluecloth', :group => 'bluecloth'
5a3f133 @rkh Add Gemfile, fixes #152.
rkh authored
44 end
45
46 platforms :ruby_18, :jruby do
47 gem 'json', :group => 'coffee-script'
48 gem 'markaby', :group => 'markaby'
49 gem 'radius', :group => 'radius'
64f6052 @rkh Use platforms properly in Gemfile, even though bundler is broken.
rkh authored
50 end
51
52 platforms :mri_18 do
53 # bundler platforms are broken
ee2e348 @rkh Merge branch 'drop-1.8.6'
rkh authored
54 next if RUBY_ENGINE != 'ruby' or RUBY_VERSION > "1.8"
64f6052 @rkh Use platforms properly in Gemfile, even though bundler is broken.
rkh authored
55 gem 'rcov', :group => 'rcov'
56 end
Something went wrong with that request. Please try again.