From 44232bea8a61df222a9529ca8183f28f5f7193b9 Mon Sep 17 00:00:00 2001 From: Dr Nic Williams Date: Tue, 25 May 2010 19:20:16 +0200 Subject: [PATCH] allow activesupport 2.3.5 or higher --- bin/rubigen | 2 +- lib/rubigen.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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