[LRUG] November talk proposal

James Adam james at lazyatom.com
Thu Oct 11 02:38:25 PDT 2012


On 11 Oct 2012, at 10:28, Tom Stuart <tom at tomstuart.co.uk> wrote:

> On 10 October 2012 21:41, Paul Battley <pbattley at gmail.com> wrote:
>> * If your "solution" to this involves some 2000-line shell function
>> that "automagically" detects when to prefix "bundle exec" on a
>> command, we probably shouldn't ever work together.
> 
> I agree with the sentiment - running bundle exec semi-invisibly is a
> recipe for hours of confusion at best

<snip>

> If you've somehow managed to avoid using rvm/rbenv, and hence are not
> able to use gemsets, you could relatively simply create shell aliases
> pointing at the different versions of rake you have installed, and
> then run e.g. rake0.8 or rake 0.9 to achieve the same outcome.
> 
> Anyway, WFM. And yes, I'm aware it depends on rvm, which is arguably
> even more evil than 'some 2000-line shell function that
> "automagically" detects when to prefix "bundle exec"'. I'll update the
> list if and when I find a way to avoid that particular monster.

Using bundler with binstubs and including the relative path '.bundle/bin' in your PATH has pretty much entirely removed the need to run bundle exec for me, Tom Ward and at least a few others. I highly recommend this: http://tomafro.net/2012/06/tip-bundler-with-binstubs

- James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20121011/0a67951f/attachment-0003.html>


More information about the Chat mailing list