gemfiles/3.1.gemfile in can_be-0.3.0 vs gemfiles/3.1.gemfile in can_be-0.4.0
- old
+ new
@@ -1,7 +1,11 @@
source "http://rubygems.org"
gem "activerecord", "~> 3.1.0"
gem "activesupport", "~> 3.1.0"
-gemspec :path=>"../"
+if File.dirname(__FILE__).split('/').last == 'gemfiles'
+ gemspec path: '../'
+else
+ gemspec
+end