script/generate in newgem-1.3.0 vs script/generate in newgem-1.4.0
- old
+ new
@@ -2,10 +2,10 @@
APP_ROOT = File.join(File.dirname(__FILE__), '..')
begin
require 'rubigen'
rescue LoadError
- require 'rubygems'
+ require 'rubygems' unless ENV['NO_RUBYGEMS']
require 'rubigen'
end
require 'rubigen/scripts/generate'
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
\ No newline at end of file