Les Is More
Updated: 31 Jul 2012
When doing Rails development its sometimes handy to have your own additions to the team's Gemfile. This is not as easy to accomplish as you might imagine.
First you need an environment variable, because the corresponding Bundler config option doesn't work:
1 2 |
export BUNDLE_GEMFILE=Gemfile.mine |
Then you need your personal Gemfile.mine:
1 2 3 4 5 |
eval(IO.read('Gemfile'), binding) gem 'mongrel', '>= 1.2.0.pre2' gem 'irbtools' gem 'irbtools-more' |
The eval is because 'load' and 'require' don't work in Gemfiles.
BackThis is the website of Leslie Viljoen. More info
2021
March
2015
September
2014
December
September
July
April
March
February
January
2013
April
March
January
2012
July
2011
April
2008
January