Skip to content

Instantly share code, notes, and snippets.

@elrayle
Created April 16, 2018 12:34
Show Gist options
  • Save elrayle/676ad4f54475d4cafc7f3dac537aeead to your computer and use it in GitHub Desktop.
Save elrayle/676ad4f54475d4cafc7f3dac537aeead to your computer and use it in GitHub Desktop.
$ cap sandbox deploy
00:00 git:wrapper
01 mkdir -p /tmp
Enter passphrase for /Users/elr37/.ssh/id_rsa:
Enter passphrase for /Users/elr37/.ssh/id_rsa:
✔ 01 [email protected] 59.954s
Uploading /tmp/git-ssh-nurax-sandbox-elr37.sh 100.0%
02 chmod 700 /tmp/git-ssh-nurax-sandbox-elr37.sh
✔ 02 [email protected] 0.161s
01:00 git:check
01 git ls-remote [email protected]:curationexperts/nurax.git HEAD
01 61fd8aa1b605dfb420c3e0f06f43a23fbb7b0e4c HEAD
✔ 01 [email protected] 0.373s
01:00 deploy:check:directories
01 mkdir -p /opt/nurax/shared /opt/nurax/releases
✔ 01 [email protected] 0.147s
01:00 deploy:check:linked_dirs
01 mkdir -p /opt/nurax/shared/log /opt/nurax/shared/tmp/pids /opt/nurax/shared/tmp/cache /opt/nurax/shared/tmp/sockets /opt/nurax/shared/public/system /opt/nurax/shared/public/assets
✔ 01 [email protected] 0.144s
01:01 deploy:check:make_linked_dirs
01 mkdir -p /opt/nurax/shared/config
✔ 01 [email protected] 0.146s
01:03 git:clone
The repository mirror is at /opt/nurax/repo
01:03 git:update
01 git remote set-url origin [email protected]:curationexperts/nurax.git
✔ 01 [email protected] 0.147s
02 git remote update --prune
02 Fetching origin
02 From github.com:curationexperts/nurax
02 x [deleted] (none) -> sidekiq_as_system_service
02 x [deleted] (none) -> refs/pull/260/merge
02 72a7829..61fd8aa master -> master
✔ 02 [email protected] 0.525s
01:04 git:create_release
01 mkdir -p /opt/nurax/releases/20180416122750
✔ 01 [email protected] 0.146s
02 git archive master | /usr/bin/env tar -x -f - -C /opt/nurax/releases/20180416122750
✔ 02 [email protected] 0.153s
01:05 deploy:set_current_revision
01 echo "61fd8aa1b605dfb420c3e0f06f43a23fbb7b0e4c" >> REVISION
✔ 01 [email protected] 0.146s
01:05 deploy:symlink:linked_files
01 mkdir -p /opt/nurax/releases/20180416122750/config
✔ 01 [email protected] 0.142s
02 rm /opt/nurax/releases/20180416122750/config/analytics.yml
✔ 02 [email protected] 0.148s
03 ln -s /opt/nurax/shared/config/analytics.yml /opt/nurax/releases/20180416122750/config/analytics.yml
✔ 03 [email protected] 0.148s
04 rm /opt/nurax/releases/20180416122750/config/blacklight.yml
✔ 04 [email protected] 0.147s
05 ln -s /opt/nurax/shared/config/blacklight.yml /opt/nurax/releases/20180416122750/config/blacklight.yml
✔ 05 [email protected] 0.150s
06 rm /opt/nurax/releases/20180416122750/config/browse_everything_providers.yml
✔ 06 [email protected] 0.148s
07 ln -s /opt/nurax/shared/config/browse_everything_providers.yml /opt/nurax/releases/20180416122750/config/browse_everything_providers.yml
✔ 07 [email protected] 0.147s
08 rm /opt/nurax/releases/20180416122750/config/database.yml
✔ 08 [email protected] 0.151s
09 ln -s /opt/nurax/shared/config/database.yml /opt/nurax/releases/20180416122750/config/database.yml
✔ 09 [email protected] 0.151s
10 rm /opt/nurax/releases/20180416122750/config/fedora.yml
✔ 10 [email protected] 0.148s
11 ln -s /opt/nurax/shared/config/fedora.yml /opt/nurax/releases/20180416122750/config/fedora.yml
✔ 11 [email protected] 0.149s
12 rm /opt/nurax/releases/20180416122750/config/secrets.yml
✔ 12 [email protected] 0.148s
13 ln -s /opt/nurax/shared/config/secrets.yml /opt/nurax/releases/20180416122750/config/secrets.yml
✔ 13 [email protected] 0.148s
14 rm /opt/nurax/releases/20180416122750/config/solr.yml
✔ 14 [email protected] 0.150s
15 ln -s /opt/nurax/shared/config/solr.yml /opt/nurax/releases/20180416122750/config/solr.yml
✔ 15 [email protected] 0.147s
01:09 deploy:symlink:linked_dirs
01 mkdir -p /opt/nurax/releases/20180416122750 /opt/nurax/releases/20180416122750/tmp /opt/nurax/releases/20180416122750/public
✔ 01 [email protected] 0.153s
02 rm -rf /opt/nurax/releases/20180416122750/log
✔ 02 [email protected] 0.149s
03 ln -s /opt/nurax/shared/log /opt/nurax/releases/20180416122750/log
✔ 03 [email protected] 0.146s
04 ln -s /opt/nurax/shared/tmp/pids /opt/nurax/releases/20180416122750/tmp/pids
✔ 04 [email protected] 0.146s
05 ln -s /opt/nurax/shared/tmp/cache /opt/nurax/releases/20180416122750/tmp/cache
✔ 05 [email protected] 0.153s
06 ln -s /opt/nurax/shared/tmp/sockets /opt/nurax/releases/20180416122750/tmp/sockets
✔ 06 [email protected] 0.147s
07 ln -s /opt/nurax/shared/public/system /opt/nurax/releases/20180416122750/public/system
✔ 07 [email protected] 0.149s
08 ln -s /opt/nurax/shared/public/assets /opt/nurax/releases/20180416122750/public/assets
✔ 08 [email protected] 0.148s
01:13 bundler:install
01 bundle install --path /opt/nurax/shared/bundle --without development test --deployment --quiet
01 The latest bundler is 1.16.1, but you are currently running 1.15.4.
01 To update, run `gem install bundler`
✔ 01 [email protected] 15.738s
01:29 deploy:assets:precompile
01 bundle exec rake assets:precompile
01 Yarn executable was not detected in the system.
01 Download Yarn at https://yarnpkg.com/en/docs/install
01 I, [2018-04-16T12:28:59.044540 #6714] INFO -- : Writing /opt/nurax/releases/20180416122750/public/assets/tinymce-15c4ba84deb2b0d8716859cf0b406747cd72e1aff7f2e989a3fd23a98fd2c153.js
01 I, [2018-04-16T12:28:59.045023 #6714] INFO -- : Writing /opt/nurax/releases/20180416122750/public/assets/tinymce-15c4ba84deb2b0d8716859cf0b406747cd72e1aff7f2e989a3fd23a98fd2c153.js.gz
01 rake aborted!
01 Uglifier::Error: Invalid assignment
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/uglifier-4.1.8/lib/uglifier.rb:234:in `parse_result'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/uglifier-4.1.8/lib/uglifier.rb:216:in `run_uglifyjs'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/uglifier-4.1.8/lib/uglifier.rb:168:in `compile'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/uglifier_compressor.rb:53:in `call'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/uglifier_compressor.rb:28:in `call'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/base.rb:66:in `find_asset'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/base.rb:73:in `find_all_linked_assets'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:142:in `block in find'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `each'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `stat_directory'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:227:in `stat_tree'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `each'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `block in logical_paths'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `each'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `logical_paths'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:140:in `find'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:185:in `compile'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/rake/sprocketstask.rb:147:in `with_logger'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
01 /opt/nurax/shared/bundle/ruby/2.3.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
01 /usr/local/bin/bundle:23:in `load'
01 /usr/local/bin/bundle:23:in `<main>'
01 Tasks: TOP => assets:precompile
01 (See full trace by running task with --trace)
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: rake exit status: 1
rake stdout: Nothing written
rake stderr: Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install
I, [2018-04-16T12:28:59.044540 #6714] INFO -- : Writing /opt/nurax/releases/20180416122750/public/assets/tinymce-15c4ba84deb2b0d8716859cf0b406747cd72e1aff7f2e989a3fd23a98fd2c153.js
I, [2018-04-16T12:28:59.045023 #6714] INFO -- : Writing /opt/nurax/releases/20180416122750/public/assets/tinymce-15c4ba84deb2b0d8716859cf0b406747cd72e1aff7f2e989a3fd23a98fd2c153.js.gz
rake aborted!
Uglifier::Error: Invalid assignment
/opt/nurax/shared/bundle/ruby/2.3.0/gems/uglifier-4.1.8/lib/uglifier.rb:234:in `parse_result'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/uglifier-4.1.8/lib/uglifier.rb:216:in `run_uglifyjs'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/uglifier-4.1.8/lib/uglifier.rb:168:in `compile'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/uglifier_compressor.rb:53:in `call'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/uglifier_compressor.rb:28:in `call'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/base.rb:66:in `find_asset'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:142:in `block in find'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `stat_directory'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:227:in `stat_tree'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `logical_paths'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:140:in `find'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:185:in `compile'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/rake/sprocketstask.rb:147:in `with_logger'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
Caused by:
SSHKit::Command::Failed: rake exit status: 1
rake stdout: Nothing written
rake stderr: Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install
I, [2018-04-16T12:28:59.044540 #6714] INFO -- : Writing /opt/nurax/releases/20180416122750/public/assets/tinymce-15c4ba84deb2b0d8716859cf0b406747cd72e1aff7f2e989a3fd23a98fd2c153.js
I, [2018-04-16T12:28:59.045023 #6714] INFO -- : Writing /opt/nurax/releases/20180416122750/public/assets/tinymce-15c4ba84deb2b0d8716859cf0b406747cd72e1aff7f2e989a3fd23a98fd2c153.js.gz
rake aborted!
Uglifier::Error: Invalid assignment
/opt/nurax/shared/bundle/ruby/2.3.0/gems/uglifier-4.1.8/lib/uglifier.rb:234:in `parse_result'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/uglifier-4.1.8/lib/uglifier.rb:216:in `run_uglifyjs'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/uglifier-4.1.8/lib/uglifier.rb:168:in `compile'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/uglifier_compressor.rb:53:in `call'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/uglifier_compressor.rb:28:in `call'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/base.rb:66:in `find_asset'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:142:in `block in find'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `stat_directory'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:227:in `stat_tree'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `logical_paths'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:140:in `find'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:185:in `compile'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/rake/sprocketstask.rb:147:in `with_logger'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
Tasks: TOP => deploy:assets:precompile
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as [email protected]: rake exit status: 1
rake stdout: Nothing written
rake stderr: Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install
I, [2018-04-16T12:28:59.044540 #6714] INFO -- : Writing /opt/nurax/releases/20180416122750/public/assets/tinymce-15c4ba84deb2b0d8716859cf0b406747cd72e1aff7f2e989a3fd23a98fd2c153.js
I, [2018-04-16T12:28:59.045023 #6714] INFO -- : Writing /opt/nurax/releases/20180416122750/public/assets/tinymce-15c4ba84deb2b0d8716859cf0b406747cd72e1aff7f2e989a3fd23a98fd2c153.js.gz
rake aborted!
Uglifier::Error: Invalid assignment
/opt/nurax/shared/bundle/ruby/2.3.0/gems/uglifier-4.1.8/lib/uglifier.rb:234:in `parse_result'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/uglifier-4.1.8/lib/uglifier.rb:216:in `run_uglifyjs'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/uglifier-4.1.8/lib/uglifier.rb:168:in `compile'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/uglifier_compressor.rb:53:in `call'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/uglifier_compressor.rb:28:in `call'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:75:in `call_processor'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/processor_utils.rb:56:in `call_processors'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:60:in `block in load'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/loader.rb:44:in `load'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/cached_environment.rb:47:in `load'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/base.rb:66:in `find_asset'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:142:in `block in find'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `stat_directory'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:227:in `stat_tree'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `logical_paths'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:140:in `find'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:185:in `compile'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/rake/sprocketstask.rb:147:in `with_logger'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 lines:
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:209:in `stat_directory'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/path_utils.rb:227:in `stat_tree'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `each'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/legacy.rb:104:in `logical_paths'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:140:in `find'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/sprockets/manifest.rb:185:in `compile'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-3.7.1/lib/rake/sprocketstask.rb:147:in `with_logger'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/opt/nurax/shared/bundle/ruby/2.3.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
DEBUG [c10cd560] Tasks: TOP => assets:precompile
DEBUG [c10cd560] (See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment