Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 72 lines (61 sloc) 2.456 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']
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
11
12 gem 'rake'
13 gem 'rack-test', '>= 0.5.6'
e187ec8 Tim Felgentreff Make CI Reporter optional
timfel authored
14 gem 'ci_reporter', :group => :ci
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
15
33cde76 Konstantin Haase allow setting tilt version via env var
rkh authored
16 # Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
17 # Used by the CI.
01ae70e Konstantin Haase allow setting rack dependency with env var (for CI)
rkh authored
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}-", ''
3909b5e Konstantin Haase do not load gemspec in Gemfile
rkh authored
22 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
23 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
24 gem lib, dep
33cde76 Konstantin Haase allow setting tilt version via env var
rkh authored
25 end
26
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
27 gem 'haml', '>= 3.0', :group => 'haml'
a7bf182 Konstantin Haase sass 3.1 has been released
rkh authored
28 gem 'sass', :group => 'sass'
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
29 gem 'builder', :group => 'builder'
30 gem 'erubis', :group => 'erubis'
eaee326 Konstantin Haase less 2.0 is not supported atm
rkh authored
31 gem 'less', '~> 1.0', :group => 'less'
fa5f9a4 Tim Felgentreff Exclude liquid for Maglev for now, it doesn't load.
timfel authored
32 gem 'liquid', :group => 'liquid' unless RUBY_ENGINE == 'maglev'
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
33 gem 'slim', :group => 'slim'
f3f34f8 Konstantin Haase adjust gemfile to install on maglev
rkh authored
34 gem 'RedCloth', :group => 'redcloth' if RUBY_VERSION < "1.9.3" and not RUBY_ENGINE.start_with? 'ma'
c594558 Tim Felgentreff adjust gemfile for maglev. coffee-script broken b/c json gem doesn't wor...
timfel authored
35 gem 'coffee-script', '>= 2.0', :group => 'coffee-script' unless RUBY_ENGINE == 'maglev'
66a7db6 Konstantin Haase drop 1.8.6 support
rkh authored
36 gem 'rdoc', :group => 'rdoc'
4b8aaef Konstantin Haase test all mardown engines if available
rkh authored
37 gem 'kramdown', :group => 'kramdown'
38 gem 'maruku', :group => 'maruku'
9ce9e54 Konstantin Haase add support for creole templates
rkh authored
39 gem 'creole', :group => 'creole'
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
40
f3f34f8 Konstantin Haase adjust gemfile to install on maglev
rkh authored
41 gem 'nokogiri', :group => 'nokogiri' if RUBY_ENGINE != 'maglev'
42 #nokogiri_options = {:group => 'nokogiri'}
43 #nokogiri_options[:git] = "https://github.com/MagLev/nokogiri.git" if RUBY_ENGINE == 'maglev'
44 #gem 'nokogiri', nokogiri_options if RUBY_ENGINE != 'maglev'
45
8dc9e35 Konstantin Haase jruby 1.6.1 now is able to gem install cexts out of the box
rkh authored
46 unless RUBY_ENGINE == 'jruby' && JRUBY_VERSION < "1.6.1"
47 # C extensions
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
48 gem 'rdiscount', :group => 'rdiscount'
6fbee52 Konstantin Haase add redcarpet to gemfile and requirements docs
rkh authored
49 gem 'redcarpet', :group => 'redcarpet'
89c6a38 Konstantin Haase Revert "enable bluecloth"
rkh authored
50
51 ## bluecloth is broken
52 #gem 'bluecloth', :group => 'bluecloth'
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
53 end
54
c594558 Tim Felgentreff adjust gemfile for maglev. coffee-script broken b/c json gem doesn't wor...
timfel authored
55 if RUBY_ENGINE == 'maglev'
56 gem 'json', :group => 'coffee-script'
57 gem 'markaby', :group => 'markaby'
58 gem 'radius', :group => 'radius'
59 end
60
5a3f133 Konstantin Haase Add Gemfile, fixes #152.
rkh authored
61 platforms :ruby_18, :jruby do
62 gem 'json', :group => 'coffee-script'
63 gem 'markaby', :group => 'markaby'
64 gem 'radius', :group => 'radius'
64f6052 Konstantin Haase Use platforms properly in Gemfile, even though bundler is broken.
rkh authored
65 end
66
67 platforms :mri_18 do
68 # bundler platforms are broken
ee2e348 Konstantin Haase Merge branch 'drop-1.8.6'
rkh authored
69 next if RUBY_ENGINE != 'ruby' or RUBY_VERSION > "1.8"
64f6052 Konstantin Haase Use platforms properly in Gemfile, even though bundler is broken.
rkh authored
70 gem 'rcov', :group => 'rcov'
71 end
Something went wrong with that request. Please try again.