mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Updating Gemfile to include gems that now also work on MagLev.
This commit is contained in:
parent
9f6923214f
commit
8cc5f016db
1 changed files with 13 additions and 9 deletions
22
Gemfile
22
Gemfile
|
@ -29,10 +29,14 @@ gem 'sass'
|
|||
gem 'builder'
|
||||
gem 'erubis'
|
||||
gem 'less', '~> 1.0'
|
||||
gem 'liquid' unless RUBY_ENGINE == 'maglev'
|
||||
if RUBY_ENGINE == "maglev"
|
||||
gem 'liquid', :git => "https://github.com/Shopify/liquid.git"
|
||||
else
|
||||
gem 'liquid'
|
||||
end
|
||||
gem 'slim'
|
||||
gem 'RedCloth' if RUBY_VERSION < "1.9.3" and not RUBY_ENGINE.start_with? 'ma'
|
||||
gem 'coffee-script', '>= 2.0' unless RUBY_ENGINE == 'maglev'
|
||||
gem 'coffee-script', '>= 2.0'
|
||||
gem 'rdoc'
|
||||
gem 'kramdown'
|
||||
gem 'maruku'
|
||||
|
@ -54,15 +58,15 @@ unless RUBY_ENGINE == 'jruby' && JRUBY_VERSION < "1.6.1"
|
|||
end
|
||||
|
||||
if RUBY_ENGINE == 'maglev'
|
||||
gem 'json'
|
||||
gem 'markaby'
|
||||
gem 'radius'
|
||||
end
|
||||
|
||||
platforms :ruby_18, :jruby do
|
||||
gem 'json'
|
||||
gem 'json', :git => "https://github.com/MagLev/json.git"
|
||||
gem 'markaby'
|
||||
gem 'radius'
|
||||
else
|
||||
platforms :ruby_18, :jruby do
|
||||
gem 'json'
|
||||
gem 'markaby'
|
||||
gem 'radius'
|
||||
end
|
||||
end
|
||||
|
||||
platforms :mri_18 do
|
||||
|
|
Loading…
Reference in a new issue