Versions: - Ruby 1.9.3 - Capistrano 3.2.1 - Rails 3.2.1
Platform: - Working on....windows 8 - Deploying to...Ubuntu 14.04.1LTS (VPS) Logs: - SSHKit::Runner::ExecuteError: Exception while executing on host xxx.xxx.xxx.xxx: rake exit status: 1 rake stdout: Nothing written rake stderr: DEPRECATION WARNING: Support for Rails < 3.2.13 will be dropped from Formtastic 3.0. (called from require a t /home/xtech/.rvm/gems/ruby-1.9.3-p547@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:76) rake aborted! LoadError: cannot load such file -- nokogiri /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `requ ire' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `bloc k in require' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load _dependency' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `requ ire' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/fog-1.23.0/lib/fog/xml.rb:1:in `<top (required)>' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `requ ire' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `bloc k in require' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load _dependency' /home/username/apps/app_name/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `requ ire' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/fog-1.23.0/lib/fog.rb:11:in `<top (required)>' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `requ ire' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `bloc k in require' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load _dependency' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `requ ire' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/carrierwave-0.10.0/lib/carrierwave/storage/fog.rb:3:in `<top (requi red)>' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `requ ire' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `bloc k in require' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load _dependency' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `requ ire' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/carrierwave-0.10.0/lib/carrierwave/storage.rb:9:in `<top (required) >' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `requ ire' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `bloc k in require' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load _dependency' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `requ ire' /home/username/apps/app_name/shared/bundle/ruby/1.9.1/gems/carrierwave-0.10.0/lib/carrierwave.rb:78:in `<top (required)>' /home/username/.rvm/gems/ruby-1.9.3-p547@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:76:in `require' /home/username/.rvm/gems/ruby-1.9.3-p547@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:76:in `block (2 levels) in requir e' /home/username/.rvm/gems/ruby-1.9.3-p547@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:72:in `each' /home/username/.rvm/gems/ruby-1.9.3-p547@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:72:in `block in require' /home/username/.rvm/gems/ruby-1.9.3-p547@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:61:in `each' /home/username/.rvm/gems/ruby-1.9.3-p547@global/gems/bundler-1.6.2/lib/bundler/runtime.rb:61:in `require' /home/username/.rvm/gems/ruby-1.9.3-p547@global/gems/bundler-1.6.2/lib/bundler.rb:132:in `require' /home/username/apps/app_name/releases/20140920131442/config/application.rb:7:in `<top (required)>' /home/username/apps/app_name/releases/20140920131442/Rakefile:5:in `require' /home/username/apps/app_name/releases/20140920131442/Rakefile:5:in `<top (required)>' (See full trace by running task with --trace) Files: - Capfile - deploy.rb -- You received this message because you are subscribed to the Google Groups "Capistrano" group. To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/b4b8c270-43a4-4810-8255-e2d0c7a0d738%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
# config valid only for Capistrano 3.1 lock '3.2.1' require "bundler" set :application, 'app_name' set :deploy_user, 'user' set :scm, :git set :repo_url, 'g...@github.com:user/app-repo.git' set :rvm_ruby_version, '1.9.3-p547' set :rails_env, 'production' # Default branch is :master # ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call # Default deploy_to directory is /var/www/my_app set :deploy_to, '/home/user/apps/app_name' # Default value for :format is :pretty # set :format, :pretty # Default value for :log_level is :debug # set :log_level, :debug # Default value for :pty is false # set :pty, true # how many old releases do we want to keep set :keep_releases, 5 # files we want symlinking to specific entries in shared. set :linked_files, %w{config/database.yml} # Default value for linked_dirs is [] set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system} # what specs should be run before deployment is allowed to # continue, see lib/capistrano/tasks/run_tests.cap set :tests, [] # which config files should be copied by deploy:setup_config # see documentation in lib/capistrano/tasks/setup_config.cap # for details of operations set(:config_files, %w( nginx.conf database.example.yml log_rotation unicorn.rb unicorn_init.sh )) # which config files should be made executable after copying # by deploy:setup_config set(:executable_config_files, %w( unicorn_init.sh )) # files which need to be symlinked to other parts of the # filesystem. For example nginx virtualhosts, log rotation # init scripts etc. set(:symlinks, [ { source: "nginx.conf", link: "/etc/nginx/sites-enabled/#{fetch(:full_app_name)}" }, { source: "unicorn_init.sh", link: "/etc/init.d/unicorn_#{fetch(:full_app_name)}" }, { source: "log_rotation", link: "/etc/logrotate.d/#{fetch(:full_app_name)}" }, ]) # Default value for default_env is {} # set :default_env, { path: "/opt/ruby/bin:$PATH" } namespace :deploy do # make sure we're deploying what we think we're deploying before :deploy, "deploy:check_revision" # only allow a deploy with passing tests to deployed before :deploy, "deploy:run_tests" # compile assets locally then rsync #after 'deploy:symlink:shared', 'deploy:compile_assets_locally' #after :finishing, 'deploy:cleanup' # remove the default nginx configuration as it will tend # to conflict with our configs. before 'deploy:setup_config', 'nginx:remove_default_vhost' # reload nginx to it will pick up any modified vhosts from # setup_config after 'deploy:setup_config', 'nginx:reload' # As of Capistrano 3.1, the `deploy:restart` task is not called # automatically. after 'deploy:publishing', 'deploy:restart' end
# Load DSL and Setup Up Stages require 'capistrano/setup' # Includes default deployment tasks require 'capistrano/deploy' # Includes tasks from other gems included in your Gemfile # # For documentation on these, see for example: # # https://github.com/capistrano/rvm # https://github.com/capistrano/rbenv # https://github.com/capistrano/chruby # https://github.com/capistrano/bundler # https://github.com/capistrano/rails # require 'capistrano/rvm' #require 'capistrano/rbenv' # require 'capistrano/chruby' require 'capistrano/bundler' require 'capistrano/rails/assets' require 'capistrano/rails/migrations' require 'capistrano/unicorn_nginx' require 'capistrano/postgresql' # Loads custom tasks from `lib/capistrano/tasks' if you have any defined. Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r } Dir.glob('lib/capistrano/**/*.rb').each { |r| import r }