lib/negroku/helpers.rb in negroku-0.0.5 vs lib/negroku/helpers.rb in negroku-0.0.6
- old
+ new
@@ -41,10 +41,11 @@
unless File.open(File.join('Capfile'), 'r').read.include?('require "negroku"')
puts "[Negroku] => Adding Negroku Loader inside #{path}/Capfile."
File.open(File.join(path, 'Capfile'), "a") do |cfile|
cfile << <<-capfile
\n
+ load 'deploy/assets'
require "negroku"
load negroku
capfile
end
end
@@ -64,6 +65,6 @@
##
# Returns the RAILS_ENV=production string to reduce overhead
def env
"RAILS_ENV=production"
-end
\ No newline at end of file
+end