Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 89 lines (76 sloc) 2.175 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"
f668684 Konstantin Haase indentation
rkh authored
20 repos = {'tilt' => github % "rtomayko/tilt", 'rack' => github % "rack/rack"}
21
01ae70e Konstantin Haase allow setting rack dependency with env var (for CI)
rkh authored
22 %w[tilt rack].each do |lib|
f668684 Konstantin Haase 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 Tim Felgentreff Edit Gemfile to use the swiggly-operator when specifying a version of ra...
timfel authored
27 end
01ae70e Konstantin Haase allow setting rack dependency with env var (for CI)
rkh authored
28 gem lib, dep
33cde76 Konstantin Haase allow setting tilt version via env var
rkh authored
29 end
30
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
31 gem 'haml', '>= 3.0'
3b620cb Konstantin Haase don't install Sass/SCSS on Ruby 2.0
rkh authored
32 gem 'sass' if RUBY_VERSION < "2.0"
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
33 gem 'builder'
34 gem 'erubis'
bde0e77 Konstantin Haase fix gemfile
rkh authored
35 gem 'liquid' unless RUBY_ENGINE == 'rbx' and RUBY_VERSION > '1.9'
811cbb3 Konstantin Haase make sure we are running slim 1.0
rkh authored
36 gem 'slim', '~> 1.0'
f40e43d Konstantin Haase skip temple 0.3.3
rkh authored
37 gem 'temple', '!= 0.3.3'
8cc5f01 Tim Felgentreff Updating Gemfile to include gems that now also work on MagLev.
timfel authored
38 gem 'coffee-script', '>= 2.0'
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
39 gem 'rdoc'
40 gem 'kramdown'
41 gem 'maruku'
42 gem 'creole'
6ccd89f Konstantin Haase markaby, radius and redcloth now run on 1.9.3
rkh authored
43 gem 'markaby'
44 gem 'radius'
89ed0fd Tim Felgentreff omit wlang and rabl when running on MagLev
timfel authored
45 gem 'wlang', '>= 2.0.1' unless RUBY_ENGINE == "maglev"
46 gem 'rabl' unless RUBY_ENGINE =~ /jruby|maglev/
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
47
dfbe9f4 Konstantin Haase dont run against nokogiri 1.5.0 on jruby
rkh authored
48 if RUBY_ENGINE == 'jruby'
49 gem 'nokogiri', '!= 1.5.0'
f1b3507 Konstantin Haase load jruby-openssl when testing on jruby
rkh authored
50 gem 'jruby-openssl'
700d5b2 Konstantin Haase add mizuno
rkh authored
51 gem 'trinidad'
a3c7c79 Tim Felgentreff remove maglev specific switches, maglev master can provide/install patch...
timfel authored
52 else
298b014 Konstantin Haase skip yajl on jruby
rkh authored
53 gem 'yajl-ruby'
dfbe9f4 Konstantin Haase dont run against nokogiri 1.5.0 on jruby
rkh authored
54 gem 'nokogiri'
09d3918 Konstantin Haase don't run thin tests on jruby
rkh authored
55 gem 'thin'
dfbe9f4 Konstantin Haase dont run against nokogiri 1.5.0 on jruby
rkh authored
56 end
f3f34f8 Konstantin Haase adjust gemfile to install on maglev
rkh authored
57
752faa3 Konstantin Haase install less 1.0 on 1.8
rkh authored
58 if RUBY_ENGINE == "ruby" and RUBY_VERSION > '1.9'
5fdfa0d Tim Felgentreff therubyracer is very unstable/crashes often on rbx,jruby and maglev - re...
timfel authored
59 gem 'less', '~> 2.0'
60 else
61 gem 'less', '~> 1.0'
62 end
63
b75e696 Konstantin Haase no C exts on JRuby on travis
rkh authored
64 if RUBY_ENGINE != 'jruby' or not ENV['TRAVIS']
8dc9e35 Konstantin Haase jruby 1.6.1 now is able to gem install cexts out of the box
rkh authored
65 # C extensions
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
66 gem 'rdiscount'
a0adda9 Konstantin Haase prevent double-logging only on webrick, fixes #454
rkh authored
67 platforms(:ruby_18) do
68 gem 'redcarpet'
69 gem 'mongrel'
70 end
57b73e3 Konstantin Haase RedCloth is a C extension
rkh authored
71 gem 'RedCloth' unless RUBY_ENGINE == "macruby"
b5bbb27 Konstantin Haase add puma to Gemfile
rkh authored
72 gem 'puma'
89c6a38 Konstantin Haase Revert "enable bluecloth"
rkh authored
73
74 ## bluecloth is broken
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
75 #gem 'bluecloth'
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
76 end
77
6ec5234 Konstantin Haase be smarter about servers
rkh authored
78 gem 'net-http-server'
79
a3c7c79 Tim Felgentreff remove maglev specific switches, maglev master can provide/install patch...
timfel authored
80 platforms :ruby_18, :jruby do
414b9d5 Konstantin Haase do not install json on jruby in 1.9 mode
rkh authored
81 gem 'json' unless RUBY_VERSION > '1.9' # is there a jruby but 1.8 only selector?
64f6052 Konstantin Haase Use platforms properly in Gemfile, even though bundler is broken.
rkh authored
82 end
83
84 platforms :mri_18 do
85 # bundler platforms are broken
ee2e348 Konstantin Haase Merge branch 'drop-1.8.6'
rkh authored
86 next if RUBY_ENGINE != 'ruby' or RUBY_VERSION > "1.8"
1f6d9d5 Konstantin Haase clean up gemfile a little
rkh authored
87 gem 'rcov'
64f6052 Konstantin Haase Use platforms properly in Gemfile, even though bundler is broken.
rkh authored
88 end
Something went wrong with that request. Please try again.