lib/middleman_ember_scaffold/generators/scaffold.rb in mes-0.3.0 vs lib/middleman_ember_scaffold/generators/scaffold.rb in mes-0.4.0
- old
+ new
@@ -11,11 +11,10 @@
destination_root=args[0]
src = File.expand_path(File.join(File.dirname(__FILE__), "../template"))
directory(src, destination_root)
Dir.chdir(destination_root)
run_bundle
- #puts 'Building scaffold....'
- #puts %x['cd #{destination_root}; middleman build']
+ bundle_command('exec middleman build')
end
#steal bundle command from rails app generator