diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/postit_trampoline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/postit_trampoline.rb b/lib/bundler/postit_trampoline.rb index c28eb3e3..d1569aa4 100644 --- a/lib/bundler/postit_trampoline.rb +++ b/lib/bundler/postit_trampoline.rb @@ -49,7 +49,7 @@ rescue LoadError, NameError nil end -if Gem::Version.new(running_version) >= Gem::Version.new("1.13.0.rc.1".dup) +if Gem::Requirement.new(">= 1.13.pre".dup).satisfied_by?(Gem::Version.new(running_version)) ENV["BUNDLE_POSTIT_TRAMPOLINING_VERSION"] = installed_version.to_s elsif ARGV.any? {|a| %w(install i).include? a } # TODO: Change this to warn in Bundler 2.0 |