Skip to content

Commit

Permalink
fix error trying to sub! frozen string
Browse files Browse the repository at this point in the history
  • Loading branch information
phlipper committed Mar 25, 2011
1 parent 629e1ce commit 97b6f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/helpers.rb
Expand Up @@ -241,7 +241,7 @@ def select_gemset(ruby_string)
def normalize_ruby_string(ruby_string)
# get the actual ruby string that corresponds to "default"
if ruby_string.start_with?("default")
ruby_string.sub!(/default/, current_ruby_default)
ruby_string.sub(/default/, current_ruby_default)
else
ruby_string
end
Expand Down

0 comments on commit 97b6f7f

Please sign in to comment.