Browse files

avoid nil.dup in Gemfile

  • Loading branch information...
1 parent 7d7e441 commit 652411f832d012420de62fe154b8b1c8e9055402 @rkh rkh committed Apr 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Gemfile
View
2 Gemfile
@@ -17,7 +17,7 @@ gem 'rack-test', '>= 0.5.6'
# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
# Used by the CI.
-tilt = ENV['tilt'].dup || 'stable'
+tilt = (ENV['tilt'] || 'stable').dup
tilt.sub! 'tilt-', ''
if tilt != 'stable'
tilt = {:git => TILT_REPO, :branch => tilt} unless tilt =~ /(\d+\.)+\d+/

0 comments on commit 652411f

Please sign in to comment.