do not load gemspec in Gemfile

This commit is contained in:
Konstantin Haase 2011-05-03 12:30:37 +02:00
parent 8ca8df1c9b
commit 3909b5e53f
1 changed files with 1 additions and 3 deletions

View File

@ -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