Skip to content
This repository
Newer
Older
100644 73 lines (62 sloc) 1.815 kb
5a3f133d »
2011-02-18 Add Gemfile, fixes #152.
1 # Why use bundler?
66a7db6c »
2011-02-26 drop 1.8.6 support
2 # Well, not all development dependencies install on all rubies. Moreover, `gem
5a3f133d »
2011-02-18 Add Gemfile, fixes #152.
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 #
79ae9c8a »
2011-02-21 typo in Gemfile comment
7 # If you have issues with a gem: `bundle install --without-coffee-script`.
5a3f133d »
2011-02-18 Add Gemfile, fixes #152.
8
d269bf5a »
2011-02-21 add some test guards for rbx
9 RUBY_ENGINE = 'ruby' unless defined? RUBY_ENGINE
10 source :rubygems unless ENV['QUICK']
5a3f133d »
2011-02-18 Add Gemfile, fixes #152.
11
12 gem 'rake'
13 gem 'rack-test', '>= 0.5.6'
e187ec85 »
2011-06-09 Make CI Reporter optional
14 gem 'ci_reporter', :group => :ci
5a3f133d »
2011-02-18 Add Gemfile, fixes #152.
15
33cde76d »
2011-04-13 allow setting tilt version via env var
16 # Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
17 # Used by the CI.
01ae70e2 »
2011-05-03 allow setting rack dependency with env var (for CI)
18 github = "git://github.com/%s.git"
19 repos = { 'tilt' => github % "rtomayko/tilt", 'rack' => github % "rack/rack" }
20 %w[tilt rack].each do |lib|
21 dep = (ENV[lib] || 'stable').sub "#{lib}-", ''
3909b5e5 »
2011-05-03 do not load gemspec in Gemfile
22 dep = nil if dep == 'stable'
5a899b2d »
2011-05-11 do not use git version in Gemfile if env vars for tilt or rack is not…
23 dep = {:git => repos[lib], :branch => dep} if dep and dep !~ /(\d+\.)+\d+/
01ae70e2 »
2011-05-03 allow setting rack dependency with env var (for CI)
24 gem lib, dep
33cde76d »
2011-04-13 allow setting tilt version via env var
25 end
26
1f6d9d52 »
2011-06-16 clean up gemfile a little
27 gem 'haml', '>= 3.0'
28 gem 'sass'
29 gem 'builder'
30 gem 'erubis'
31 gem 'less', '~> 1.0'
32 gem 'liquid' unless RUBY_ENGINE == 'maglev'
33 gem 'slim'
34 gem 'RedCloth' if RUBY_VERSION < "1.9.3" and not RUBY_ENGINE.start_with? 'ma'
35 gem 'coffee-script', '>= 2.0' unless RUBY_ENGINE == 'maglev'
36 gem 'rdoc'
37 gem 'kramdown'
38 gem 'maruku'
39 gem 'creole'
5a3f133d »
2011-02-18 Add Gemfile, fixes #152.
40
dfbe9f40 »
2011-07-21 dont run against nokogiri 1.5.0 on jruby
41 if RUBY_ENGINE == 'jruby'
42 gem 'nokogiri', '!= 1.5.0'
43 elsif RUBY_ENGINE != 'maglev'
44 gem 'nokogiri'
45 end
f3f34f8d »
2011-05-20 adjust gemfile to install on maglev
46
43c06252 »
2011-08-01 Revert "dont run c exts on jruby on travis"
47 unless RUBY_ENGINE == 'jruby' && JRUBY_VERSION < "1.6.1"
8dc9e35f »
2011-05-17 jruby 1.6.1 now is able to gem install cexts out of the box
48 # C extensions
1f6d9d52 »
2011-06-16 clean up gemfile a little
49 gem 'rdiscount'
50 gem 'redcarpet'
89c6a38a »
2011-06-05 Revert "enable bluecloth"
51
52 ## bluecloth is broken
1f6d9d52 »
2011-06-16 clean up gemfile a little
53 #gem 'bluecloth'
5a3f133d »
2011-02-18 Add Gemfile, fixes #152.
54 end
55
c594558c »
2011-06-16 adjust gemfile for maglev. coffee-script broken b/c json gem doesn't …
56 if RUBY_ENGINE == 'maglev'
1f6d9d52 »
2011-06-16 clean up gemfile a little
57 gem 'json'
58 gem 'markaby'
59 gem 'radius'
c594558c »
2011-06-16 adjust gemfile for maglev. coffee-script broken b/c json gem doesn't …
60 end
61
5a3f133d »
2011-02-18 Add Gemfile, fixes #152.
62 platforms :ruby_18, :jruby do
1f6d9d52 »
2011-06-16 clean up gemfile a little
63 gem 'json'
64 gem 'markaby'
65 gem 'radius'
64f60526 »
2011-02-26 Use platforms properly in Gemfile, even though bundler is broken.
66 end
67
68 platforms :mri_18 do
69 # bundler platforms are broken
ee2e348f »
2011-03-19 Merge branch 'drop-1.8.6'
70 next if RUBY_ENGINE != 'ruby' or RUBY_VERSION > "1.8"
1f6d9d52 »
2011-06-16 clean up gemfile a little
71 gem 'rcov'
64f60526 »
2011-02-26 Use platforms properly in Gemfile, even though bundler is broken.
72 end
Something went wrong with that request. Please try again.