lib/padrino-gen/generators/base.rb in padrino-gen-0.2.9 vs lib/padrino-gen/generators/base.rb in padrino-gen-0.4.5
- old
+ new
@@ -13,11 +13,9 @@
# Copies over the base sinatra starting project
def load_boot
if in_app_root?(options[:root])
require(options[:root] ? File.join(options[:root], 'config/boot.rb') : 'config/boot.rb')
- else
- say "You are not at the root of a Padrino application! (config/boot.rb not found)" and return unless in_app_root?
end
end
end
end
\ No newline at end of file