You have no Capfile? Sent from my Nexus 4. On 13 Jan 2014 09:55, "Slava Kanaykin" <[email protected]> wrote:
> Files are in attaches. > Made from templates (+ some strings for unicorn). > > понедельник, 13 января 2014 г., 9:07:06 UTC+4 пользователь Slava Kanaykin > написал: > >> Using: Capistrano + capistrano-bundler + capistrano-rails +capistrano-rvm >> Problem: >> > cap production deploy >> ... >> and when deploy:assets:precompile >> >> ... bundle exec rake assets:precompile >> bash: bundle: command not found >> cap aborted! >> >> we need "rvm use 2.0.0 do bundle exec rake ...." , but there is only >> "bundle exec rake" >> >> Or such combination ( rvm + bundle) is not allowed? >> >> ------------------------------------------- >> >> Versions: >> >> - Ruby 2.0.0 >> - Capistrano 3.0.1, capistrano-bundler (1.1.1), capistrano-rails >> (1.1.0), capistrano-rvm (0.0.3) >> - Rake 10.1.1 / Rails 4.0.2 / etc >> >> Platform: >> >> - Working on Linux 3.8.0-35-generic #50~precise1-Ubuntu SMP Wed Dec 4 >> 17:28:45 UTC 2013 i686 i686 i386 GNU/Linux >> - Deploying to Linux 2.6.32-5-amd64 #1 SMP Mon Sep 23 22:14:43 UTC >> 2013 x86_64 GNU/Linux >> >> Logs: >> >> - INFO [8212b6b0] Running /usr/local/rvm/bin/rvm 2.0.0 do bundle >> --gemfile /home/deploy/projects/op1/releases/20140113042011/Gemfile --path >> /home/deploy/projects/op1/shared/bundle --deployment --quiet >> --binstubs /home/deploy/projects/op1/shared/bin --without development >> test on gotar.ru >> DEBUG [8212b6b0] Command: cd >> /home/deploy/projects/op1/releases/20140113042011 >> && /usr/local/rvm/bin/rvm 2.0.0 do bundle --gemfile >> /home/deploy/projects/op1/releases/20140113042011/Gemfile >> --path /home/deploy/projects/op1/shared/bundle --deployment --quiet >> --binstubs /home/deploy/projects/op1/shared/bin --without development >> test >> INFO [8212b6b0] Finished in 1.831 seconds with exit status 0 >> (successful). >> - ... >> INFO [58eaf64f] Running bundle exec rake assets:precompile on gotar.ru >> DEBUG [58eaf64f] Command: cd >> /home/deploy/projects/op1/releases/20140113042011 >> && ( RAILS_ENV=production bundle exec rake assets:precompile ) >> DEBUG [58eaf64f] bash: bundle: command not found >> >> -- > 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 [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/capistrano/468aa041-f855-47eb-82d5-d8944b086ead%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/CAN_%2BVLWx1a159xE4P7vgW6GD5hqmNT02s8JtQfYFU%3D0faihnMg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
