<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 11 Oct 2012, at 10:28, Tom Stuart <<a href="mailto:tom@tomstuart.co.uk">tom@tomstuart.co.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On 10 October 2012 21:41, Paul Battley <<a href="mailto:pbattley@gmail.com">pbattley@gmail.com</a>> wrote:<br><blockquote type="cite">* If your "solution" to this involves some 2000-line shell function<br>that "automagically" detects when to prefix "bundle exec" on a<br>command, we probably shouldn't ever work together.<br></blockquote><br>I agree with the sentiment - running bundle exec semi-invisibly is a<br>recipe for hours of confusion at best<br></blockquote><div><br></div><snip></div><div><br><blockquote type="cite">If you've somehow managed to avoid using rvm/rbenv, and hence are not<br>able to use gemsets, you could relatively simply create shell aliases<br>pointing at the different versions of rake you have installed, and<br>then run e.g. rake0.8 or rake 0.9 to achieve the same outcome.<br><br>Anyway, WFM. And yes, I'm aware it depends on rvm, which is arguably<br>even more evil than 'some 2000-line shell function that<br>"automagically" detects when to prefix "bundle exec"'. I'll update the<br>list if and when I find a way to avoid that particular monster.<br></blockquote></div><br><div>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: <a href="http://tomafro.net/2012/06/tip-bundler-with-binstubs">http://tomafro.net/2012/06/tip-bundler-with-binstubs</a></div><div><br></div><div>- James</div></body></html>