Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 78 lines (66 sloc) 1.793 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
10 source :rubygems unless ENV['QUICK']
1f1e58e @rkh add rack-protection, fixes #310
rkh authored
11 gemspec
5a3f133 @rkh Add Gemfile, fixes #152.
rkh authored
12
13 gem 'rake'
14 gem 'rack-test', '>= 0.5.6'
e187ec8 @timfel Make CI Reporter optional
timfel authored
15 gem 'ci_reporter', :group => :ci
5a3f133 @rkh Add Gemfile, fixes #152.
rkh authored
16
33cde76 @rkh 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 @rkh allow setting rack dependency with env var (for CI)
rkh authored
19 github = "git://github.com/%s.git"
f668684 @rkh indentation
rkh authored
20 repos = {'tilt' => github % "rtomayko/tilt", 'rack' => github % "rack/rack"}
21
01ae70e @rkh allow setting rack dependency with env var (for CI)
rkh authored
22 %w[tilt rack].each do |lib|
f668684 @rkh indentation
rkh authored
23 dep = case ENV[lib]
24 when 'stable', nil then nil
25 when /(\d+\.)+\d+/ then "~> " + ENV[lib].sub("#{lib}-", '')
26 else {:git => repos[lib], :branch => dep}
08d6907 @timfel Edit Gemfile to use the swiggly-operator when specifying a version of ra...
timfel authored
27 end
01ae70e @rkh allow setting rack dependency with env var (for CI)
rkh authored
28 gem lib, dep
33cde76 @rkh allow setting tilt version via env var
rkh authored
29 end
30
1f6d9d5 @rkh clean up gemfile a little
rkh authored
31 gem 'haml', '>= 3.0'
32 gem 'sass'
33 gem 'builder'
34 gem 'erubis'
a3c7c79 @timfel remove maglev specific switches, maglev master can provide/install patch...
timfel authored
35 gem 'liquid'
811cbb3 @rkh make sure we are running slim 1.0
rkh authored
36 gem 'slim', '~> 1.0'
f40e43d @rkh skip temple 0.3.3
rkh authored
37 gem 'temple', '!= 0.3.3'
8cc5f01 @timfel Updating Gemfile to include gems that now also work on MagLev.
timfel authored
38 gem 'coffee-script', '>= 2.0'
1f6d9d5 @rkh clean up gemfile a little
rkh authored
39 gem 'rdoc'
40 gem 'kramdown'
41 gem 'maruku'
42 gem 'creole'
6ccd89f @rkh markaby, radius and redcloth now run on 1.9.3
rkh authored
43 gem 'markaby'
44 gem 'radius'
5a3f133 @rkh Add Gemfile, fixes #152.
rkh authored
45
dfbe9f4 @rkh dont run against nokogiri 1.5.0 on jruby
rkh authored
46 if RUBY_ENGINE == 'jruby'
47 gem 'nokogiri', '!= 1.5.0'
f1b3507 @rkh load jruby-openssl when testing on jruby
rkh authored
48 gem 'jruby-openssl'
a3c7c79 @timfel remove maglev specific switches, maglev master can provide/install patch...
timfel authored
49 else
dfbe9f4 @rkh dont run against nokogiri 1.5.0 on jruby
rkh authored
50 gem 'nokogiri'
51 end
f3f34f8 @rkh adjust gemfile to install on maglev
rkh authored
52
5fdfa0d @timfel therubyracer is very unstable/crashes often on rbx,jruby and maglev - re...
timfel authored
53 if RUBY_ENGINE == "ruby"
54 gem 'less', '~> 2.0'
55 else
56 gem 'less', '~> 1.0'
57 end
58
6d9f776 @rkh do not run c extensions on jruby on travis
rkh authored
59 unless RUBY_ENGINE == 'jruby' && JRUBY_VERSION < "1.6.1" && !ENV['TRAVIS']
8dc9e35 @rkh jruby 1.6.1 now is able to gem install cexts out of the box
rkh authored
60 # C extensions
1f6d9d5 @rkh clean up gemfile a little
rkh authored
61 gem 'rdiscount'
62 gem 'redcarpet'
57b73e3 @rkh RedCloth is a C extension
rkh authored
63 gem 'RedCloth' unless RUBY_ENGINE == "macruby"
89c6a38 @rkh Revert "enable bluecloth"
rkh authored
64
65 ## bluecloth is broken
1f6d9d5 @rkh clean up gemfile a little
rkh authored
66 #gem 'bluecloth'
5a3f133 @rkh Add Gemfile, fixes #152.
rkh authored
67 end
68
a3c7c79 @timfel remove maglev specific switches, maglev master can provide/install patch...
timfel authored
69 platforms :ruby_18, :jruby do
70 gem 'json'
64f6052 @rkh Use platforms properly in Gemfile, even though bundler is broken.
rkh authored
71 end
72
73 platforms :mri_18 do
74 # bundler platforms are broken
ee2e348 @rkh Merge branch 'drop-1.8.6'
rkh authored
75 next if RUBY_ENGINE != 'ruby' or RUBY_VERSION > "1.8"
1f6d9d5 @rkh clean up gemfile a little
rkh authored
76 gem 'rcov'
64f6052 @rkh Use platforms properly in Gemfile, even though bundler is broken.
rkh authored
77 end
Something went wrong with that request. Please try again.