Thanks for clarification. I'd say for a start transpose the capistrano-rvm and capistrano-bundler includes (it shouldn't make a difference, but it's worth a try)
Lee Hambley -- http://lee.hambley.name/ +49 (0) 170 298 5667 On 13 January 2014 10:33, Slava Kanaykin <[email protected]> wrote: > attach Capfile raise error > So i rename it to Capfile.example > > понедельник, 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/0fdf5d82-dc03-437f-93e2-d359c212fc96%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_%2BVLUXVsD4r1D__T_TFurEA8e99oxP2gh%3DG%3D09T8A5DPJudA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
