Re: [capistrano] Problems with bundle install

48 views
Skip to first unread message

Rafa García

unread,
Mar 25, 2013, 2:02:46 PM3/25/13
to capis...@googlegroups.com
Hi Weverton,

  Could you gist your deploy.rb ?

  Anyway if you ran "bundle install"(by hand) gems should be installed and doesn't need to be installed again.

Regards


2013/3/25 Weverton Gomes <weve...@gmail.com>
Hi,

I'm getting an error when I run cap deploy:cold. When Capstrano tryies to run "bundle install --gemfile /home/deployer/apps/my_app/shared/cached-copy/app_portal/Gemfile --path /home/deployer/apps/my_app/shared/bundle --deployment --quiet --without development test", I get the following error: https://gist.github.com/weverton/5238948

rbenv with ruby 1.9.3-p392
Capistrano 2.14.2

Otherwise, if I run only "bundle install", manually, all works fine.

Any ideas??

Thanks,

Weverton

--
--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
---
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+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Weverton Gomes

unread,
Mar 25, 2013, 2:08:46 PM3/25/13
to capis...@googlegroups.com
Hi,


I just get out if I run "RAILS_ENV=production bundle install", I get the same error.

Weverton Gomes de Morais
Tecnólogo em Redes de Comunicação
Arquiteto de Software
Desenvolvedor C# e Delphi
Entusiasta Ruby/Rails
"Todos juntos somos fortes"


2013/3/25 Rafa García <cont...@rafagarcia.net>

Lee Hambley

unread,
Mar 25, 2013, 2:33:46 PM3/25/13
to capis...@googlegroups.com
It's a problem with rbenv, I would assume, the permissions errors shouldn't be a problem:- is your deploy user a member of the rvm group? (regrettably I have to say that rvm is often a source of more problem than other alternatives such as rbenv or similar)

Lee Hambley

unread,
Mar 25, 2013, 2:34:05 PM3/25/13
to capis...@googlegroups.com
Sorry that should read `rvm` in the first sentence.

Weverton Gomes

unread,
Mar 25, 2013, 2:47:05 PM3/25/13
to capis...@googlegroups.com
But I'm using rbenv :D

Weverton Gomes de Morais
Tecnólogo em Redes de Comunicação
Arquiteto de Software
Desenvolvedor C# e Delphi
Entusiasta Ruby/Rails
"Todos juntos somos fortes"


2013/3/25 Lee Hambley <lee.h...@gmail.com>
Sorry that should read `rvm` in the first sentence.

--
Reply all
Reply to author
Forward
0 new messages