mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
do not load gemspec in Gemfile
This commit is contained in:
parent
8ca8df1c9b
commit
3909b5e53f
1 changed files with 1 additions and 3 deletions
4
Gemfile
4
Gemfile
|
@ -7,9 +7,7 @@
|
|||
# If you have issues with a gem: `bundle install --without-coffee-script`.
|
||||
|
||||
RUBY_ENGINE = 'ruby' unless defined? RUBY_ENGINE
|
||||
|
||||
source :rubygems unless ENV['QUICK']
|
||||
gemspec
|
||||
|
||||
gem 'rake'
|
||||
gem 'rack-test', '>= 0.5.6'
|
||||
|
@ -20,7 +18,7 @@ github = "git://github.com/%s.git"
|
|||
repos = { 'tilt' => github % "rtomayko/tilt", 'rack' => github % "rack/rack" }
|
||||
%w[tilt rack].each do |lib|
|
||||
dep = (ENV[lib] || 'stable').sub "#{lib}-", ''
|
||||
next if dep == 'stable'
|
||||
dep = nil if dep == 'stable'
|
||||
dep = {:git => repos[lib], :branch => dep} unless dep =~ /(\d+\.)+\d+/
|
||||
gem lib, dep
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue