ruby on rails - RAILS_ENV=staging cap deploy fails on rake precompile assets -
I set a t1.micro instance on AWS. I was able to successfully run: You need to include your application.rb in: RAILS_ENV = Scaffolding Rubber: create_staging to create a server, deploy the code, and run the app. I have made some changes to the code and want to deploy on my staging server, but when I run this command:
RAILS_ENV = staging cap deployed I get the following error:
< Code> * executed "CD - / MNT / Domain-Scaffolding / Releases / 20130321005928 & amp; amp; Bundle Executive Rake RAILS_ENV = Scaffolding RAILS_GROUPS = Property Property: Precompile & amp; CP - / MNT / Domain Scaffolding / Share / Assets / Manifest.yml /mnt/domain-staging/releases/20130321005928/assets_manifest.yml "Server: [" staging.domain.com "] [staging.domain.co M] execute command * [out :: staging.domain.com] / usr / local / ruby / 1.9.3-p385 / bin / ruby /mnt/domain-staging/shared/bundle/ruby/1.9.1/bin/ Rake Property: precompile: nondigest RAILS_ENV = Scaffolding RAILS_GROUPS = property * [Out:: Staging.domain.com] * [out :: staging.domain.com] Rack has been aborted! * [Out :: staging.domain.com] with command status failed (): [/usr/local/rubies/1.9.3-p385/bin/ruby/mnt ...] * [out :: staging.domain Com] `ruby_rake_task '* [Out: staging.domain /mnt/domain-staging/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.3/lib/sprockets/assets.rake:9:in & Lt com] `/mnt/domain-staging/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.3/lib/sprockets/assets.rake:62:in Block (3 levels); Top (required) & gt; '* [Out: staging.domain.com] `invoke_or_reboot_rake_task' /mnt/domain-staging/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.3/lib/sprockets/assets.rake:19: In * [Out :: staging.domain.com] /mnt/domain-staging/shared/bundle/ruby/1.9.1/gems/actionpack-3.1.3/lib/sprockets/assets.rake:25:in`block (Level 2) & lt; Top (required) & gt; '* [Out :: staging.domain.com] Tasks: Top = & gt; Property: precompile: all * [out :: staging.domain.com] (see complete details on working with --trace) The order ending in 223523ms failed: "/ bin / bash -l -c 'cd - / Mnt / domain-scaffold / release / 20130321005928 & amp; amp; bundle executive rake RAILS_ENV = scaffolding RAILS_GROUPS = property property: precompile & amp; CP - /mnt/domain-staging/shared/assets/manifest.yml/ "Staging.domain.com" at MNT / Domain-Scaffolding /releases/20130321005928/assets_manifest.yml I have not changed any default castoran recipes and this code is successfully deployed 1 time. Or was. I have been successful in running "cap deployment" for my production site, but not a staging site. I can not find anything in Google Groups, any help would be appreciated.
< Code> if defined? (Bundler) bundler.Require (* Rails.groups (: assets = & gt;% w (development test) ,: Profiling = & gt;% w [Staging Development]))
Comments
Post a Comment