forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PUP-7523) Dup RUBY_VERSION in Gem::Version
The following fails on some buggy versions of rubygems in ruby 1.9.3[1]: irb(main):001:0> Gem::Version.new(RUBY_VERSION) RuntimeError: can't modify frozen String As a result, puppet will not run when installed as a gem, until rubygems is updated. This commits `dup`s the version string as is done elsewhere[2]. [1] rubygems/bundler#3187 [2] puppetlabs/modulesync_configs@be386b4
- Loading branch information
1 parent
8d9e0f4
commit fb9995d
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters