简体   繁体   中英

Ruby on Rails fails on bundle install when using capistrano

I have not much knowledge of Ruby. I have to host a Ruby website. When I make deploy setup and check, is everything ok. But when I cap deploy I get the following error.

*** [deploy:update_code] rolling back
  * executing "rm -rf /var/www/lpavisit/releases/20131009211837; true"
    servers: ["x.xx.xx.xxx"]
    [5.56.61.183] executing command
    command finished in 209ms
failed: "sh -c 'cd /var/www/lpavisit/releases/20131009211837 && bundle install --without development test'" on x.xx.xx.xxx

Thanks!!

Setting up a Capistrano-based deploy system is a bit complex. You might want to give Heroku a try until you're more familiar with Ruby. But to continue with Capistrano, first ask it if it has everything it needs to deploy:

$ cap deploy:check

You want to see it say, You appear to have all necessary dependencies installed . Yours probably won't. In that case, you should look for a good capistrano book or online tutorial.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM