lib/generators/instance/templates/instance_boot.rb in radiant-0.8.2 vs lib/generators/instance/templates/instance_boot.rb in radiant-0.9.0.rc2
- old
+ new
@@ -117,10 +117,10 @@
exit 1
end
class << self
def rubygems_version
- Gem::RubyGemsVersion if defined? Gem::RubyGemsVersion
+ Gem::RubyGemsVersion rescue nil
end
def gem_version
if defined? RADIANT_GEM_VERSION
RADIANT_GEM_VERSION