diff --git a/bin/rubigen b/bin/rubigen index 3557d21..5bcb780 100644 --- a/bin/rubigen +++ b/bin/rubigen @@ -4,7 +4,7 @@ # Copyright (c) 2008. All rights reserved. require "rubygems" -gem 'activesupport', '2.3.5' +gem 'activesupport', '~> 2.3.5' require File.expand_path(File.dirname(__FILE__) + "/../lib/rubigen") require "rubigen/cli" diff --git a/lib/rubigen.rb b/lib/rubigen.rb index 5fa157b..eaa2647 100644 --- a/lib/rubigen.rb +++ b/lib/rubigen.rb @@ -3,7 +3,7 @@ begin # if you are using rubygems, fix to 2.3.5 - gem 'activesupport', '2.3.5' + gem 'activesupport', '~> 2.3.5' rescue end