From 3909b5e53f8752283deb979011723c77fee8964f Mon Sep 17 00:00:00 2001 From: Konstantin Haase Date: Tue, 3 May 2011 12:30:37 +0200 Subject: [PATCH] do not load gemspec in Gemfile --- Gemfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 69f1f3a5..856b516f 100644 --- a/Gemfile +++ b/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