Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 70 lines (60 sloc) 1.735 kb
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
1 # Why use bundler?
66a7db6 Konstantin Haase drop 1.8.6 support
rkh authored
2 # Well, not all development dependencies install on all rubies. Moreover, `gem
5a3f133 Konstantin Haase 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 Konstantin Haase typo in Gemfile comment
rkh authored
7 # If you have issues with a gem: `bundle install --without-coffee-script`.
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
8
d269bf5 Konstantin Haase add some test guards for rbx
rkh authored
9 RUBY_ENGINE = 'ruby' unless defined? RUBY_ENGINE
10 source :rubygems unless ENV['QUICK']
1f1e58e Konstantin Haase add rack-protection, fixes #310
rkh authored
11 gemspec
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
12
13 gem 'rake'
14 gem 'rack-test', '>= 0.5.6'
e187ec8 Tim Felgentreff Make CI Reporter optional
timfel authored
15 gem 'ci_reporter', :group => :ci
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
16
33cde76 Konstantin Haase allow setting tilt version via env var
rkh authored
17 # Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
18 # Used by the CI.
01ae70e Konstantin Haase allow setting rack dependency with env var (for CI)
rkh authored
19 github = "git://github.com/%s.git"
20 repos = { 'tilt' => github % "rtomayko/tilt", 'rack' => github % "rack/rack" }
21 %w[tilt rack].each do |lib|
22 dep = (ENV[lib] || 'stable').sub "#{lib}-", ''
3909b5e Konstantin Haase do not load gemspec in Gemfile
rkh authored
23 dep = nil if dep == 'stable'
5a899b2 Konstantin Haase do not use git version in Gemfile if env vars for tilt or rack is not se...
rkh authored
24 dep = {:git => repos[lib], :branch => dep} if dep and dep !~ /(\d+\.)+\d+/
01ae70e Konstantin Haase allow setting rack dependency with env var (for CI)
rkh authored
25 gem lib, dep
33cde76 Konstantin Haase allow setting tilt version via env var
rkh authored
26 end
27
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
28 gem 'haml', '>= 3.0'
29 gem 'sass'
30 gem 'builder'
31 gem 'erubis'
32 gem 'less', '~> 1.0'
a3c7c79 Tim Felgentreff remove maglev specific switches, maglev master can provide/install patch...
timfel authored
33 gem 'liquid'
811cbb3 Konstantin Haase make sure we are running slim 1.0
rkh authored
34 gem 'slim', '~> 1.0'
f40e43d Konstantin Haase skip temple 0.3.3
rkh authored
35 gem 'temple', '!= 0.3.3'
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
36 gem 'RedCloth' if RUBY_VERSION < "1.9.3" and not RUBY_ENGINE.start_with? 'ma'
8cc5f01 Tim Felgentreff Updating Gemfile to include gems that now also work on MagLev.
timfel authored
37 gem 'coffee-script', '>= 2.0'
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
38 gem 'rdoc'
39 gem 'kramdown'
40 gem 'maruku'
41 gem 'creole'
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
42
dfbe9f4 Konstantin Haase dont run against nokogiri 1.5.0 on jruby
rkh authored
43 if RUBY_ENGINE == 'jruby'
44 gem 'nokogiri', '!= 1.5.0'
f1b3507 Konstantin Haase load jruby-openssl when testing on jruby
rkh authored
45 gem 'jruby-openssl'
a3c7c79 Tim Felgentreff remove maglev specific switches, maglev master can provide/install patch...
timfel authored
46 else
dfbe9f4 Konstantin Haase dont run against nokogiri 1.5.0 on jruby
rkh authored
47 gem 'nokogiri'
48 end
f3f34f8 Konstantin Haase adjust gemfile to install on maglev
rkh authored
49
6d9f776 Konstantin Haase do not run c extensions on jruby on travis
rkh authored
50 unless RUBY_ENGINE == 'jruby' && JRUBY_VERSION < "1.6.1" && !ENV['TRAVIS']
8dc9e35 Konstantin Haase jruby 1.6.1 now is able to gem install cexts out of the box
rkh authored
51 # C extensions
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
52 gem 'rdiscount'
53 gem 'redcarpet'
89c6a38 Konstantin Haase Revert "enable bluecloth"
rkh authored
54
55 ## bluecloth is broken
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
56 #gem 'bluecloth'
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
57 end
58
a3c7c79 Tim Felgentreff remove maglev specific switches, maglev master can provide/install patch...
timfel authored
59 platforms :ruby_18, :jruby do
60 gem 'json'
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
61 gem 'markaby'
62 gem 'radius'
64f6052 Konstantin Haase Use platforms properly in Gemfile, even though bundler is broken.
rkh authored
63 end
64
65 platforms :mri_18 do
66 # bundler platforms are broken
ee2e348 Konstantin Haase Merge branch 'drop-1.8.6'
rkh authored
67 next if RUBY_ENGINE != 'ruby' or RUBY_VERSION > "1.8"
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
68 gem 'rcov'
64f6052 Konstantin Haase Use platforms properly in Gemfile, even though bundler is broken.
rkh authored
69 end
Something went wrong with that request. Please try again.