Thanks, Dick. That did the job. Actually I saw this option but thought it 
would work the other way around (as in if set to yes, it would create the 
executable). It's working like a charm now.

On Friday, May 9, 2014 11:43:36 PM UTC+8, Dick Davies wrote:
>
> Look at the 'user_install' option on the gem task. 
>
> Cheers 
> Dick. 
>
> On 9 May 2014 03:06, Navid Paya <[email protected] <javascript:>> 
> wrote: 
> > Hi guys 
> > I'm using ansible to deploy the scoutapp.com agent which is basically a 
> ruby 
> > gem. I have used both the gem and shell modules to install the module, 
> the 
> > problem is after the module is installed, the executable isn't symlinked 
> to 
> > a location like /usr/bin or /usr/local/bin which is what would happen if 
> I 
> > run the exact same command in a shell. I know ansible runs this stuff 
> using 
> > a Python script so I was wondering if you know anyway I can fix this? 
> > 
> > This is my instructions: 
> > 
> > - name: Install the scout gem 
> >   shell: gem install scout -no-rdoc -no-ri 
> > 
> > And this is the one I tried with the gem module: 
> > 
> > - name: Install the scout gem 
> >   gem: name=scout state=present 
> > 
> > -- 
> > 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] <javascript:>. 
> > To post to this group, send email to 
> > [email protected]<javascript:>. 
>
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/ansible-project/831be09b-614c-468c-8753-9344f36f814e%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
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/8772d22b-716b-49e1-8ea5-afd0a6ff15b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to