Hi Yassen. I already solved it with that wrapper 
Code:

- name: bundle install (install the rest of the gems)
  shell: /usr/local/rvm/wrappers/default/bundle
         chdir={{rails_app_path}}
  sudo: false

I just want to know how is the proper way to use ansible in this case, 
would be nice that ansible can  just detect the shell login on 
chdir={{rails_app_path}}, let me do just *bundle*

*(if a go by ssh to the server and run just bundle that  works, why ansible 
cant do that?)*

Thanks for you time  and your answers :)



El lunes, 11 de mayo de 2015, 13:33:55 (UTC+2), Yassen Damyanov escribió:
>
> Ivan, I have difficulties understanding you, so can you please help me 
> clarify the issue (if it is still relevant):
>
> 1. Can you confirm that your primary issue is running bundle to install 
> rails app dependencies?
>
> 2. Can you confirm that you now solve the issue via creating a wrapper 
> script located at */usr/local/rvm/wrappers/default/bundle* , that 
> actually does the bundle invocation? If so, can you please paste it here 
> (consider removing sensitive information first)?
>
> Thanks,
> -Y.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ea5c29f8-b556-4b76-b4ab-d08e21f63b69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to