[LRUG] November talk proposal

Simon Coffey simon at tribesports.com
Thu Oct 11 03:02:32 PDT 2012


On 11 October 2012 10:38, James Adam <james at lazyatom.com> wrote:
> <snip>
>
> 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

Yes, my fingers are eternally grateful for this feature. Also, if
you're using RVM and don't like the idea of having a relative entry
lurking in your PATH, you can add it as an absolute entry on a
per-project basis in your .rvmrc:

rvm 1.9.3 at whatever
export PATH=/path/to/project/.bundle/bin:$PATH

RVM will add it when you enter the project directory, and remove it
when you leave. Maybe there's a certain futility in trying to maintain
PATH security by using something that itself happily overrides the
'cd' command, but I think futility is greatly underrated.

Cheers,
Simon



More information about the Chat mailing list