I wanted to see how local deploys work, so I went into the "my app" sample app and added the following into config.yml:
staging:
deploy_strategy: local
deploy_path: compiled/staging
Then I tried running "spar deploy staging" from the myapp directory (after first creating the compiled/staging directory), but got the following. Where did I go wrong?
/Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:153:in 'resolve': couldn't find file 'bootstrap/component.json' (Sprockets::FileNotFound)
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/spar-1.0.9/lib/spar/compiler.rb:48:in 'path_compile_info'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/spar-1.0.9/lib/spar/compiler.rb:10:in 'block in assets'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:341:in 'block in each_logical_path'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:324:in 'block (2 levels) in each_file'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:314:in 'each'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:314:in 'each_entry'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:322:in 'block in each_file'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:321:in 'each'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:321:in 'each_file'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:335:in 'each_logical_path'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/spar-1.0.9/lib/spar/compiler.rb:9:in 'assets'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/spar-1.0.9/lib/spar/cli.rb:37:in 'deploy'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/thor-0.16.0/lib/thor/task.rb:27:in 'run'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/thor-0.16.0/lib/thor/invocation.rb:120:in 'invoke_task'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/thor-0.16.0/lib/thor.rb:275:in 'dispatch'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/thor-0.16.0/lib/thor/base.rb:425:in 'start'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/spar-1.0.9/bin/spar:26:in '<top (required)>'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/bin/spar:19:in 'load'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/bin/spar:19:in '
'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in 'eval'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in ''
I wanted to see how local deploys work, so I went into the "my app" sample app and added the following into config.yml:
Then I tried running "spar deploy staging" from the myapp directory (after first creating the compiled/staging directory), but got the following. Where did I go wrong?
/Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:153:in 'resolve': couldn't find file 'bootstrap/component.json' (Sprockets::FileNotFound)
'from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/spar-1.0.9/lib/spar/compiler.rb:48:in 'path_compile_info'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/spar-1.0.9/lib/spar/compiler.rb:10:in 'block in assets'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:341:in 'block in each_logical_path'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:324:in 'block (2 levels) in each_file'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:314:in 'each'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:314:in 'each_entry'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:322:in 'block in each_file'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:321:in 'each'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:321:in 'each_file'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/sprockets-2.8.1/lib/sprockets/base.rb:335:in 'each_logical_path'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/spar-1.0.9/lib/spar/compiler.rb:9:in 'assets'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/spar-1.0.9/lib/spar/cli.rb:37:in 'deploy'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/thor-0.16.0/lib/thor/task.rb:27:in 'run'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/thor-0.16.0/lib/thor/invocation.rb:120:in 'invoke_task'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/thor-0.16.0/lib/thor.rb:275:in 'dispatch'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/thor-0.16.0/lib/thor/base.rb:425:in 'start'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/gems/spar-1.0.9/bin/spar:26:in '<top (required)>'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/bin/spar:19:in 'load'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/bin/spar:19:in '
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in 'eval'
from /Users/dickfryling/.rvm/gems/ruby-1.9.3-p286/bin/ruby_noexec_wrapper:14:in ''