Make bin/bundle work
authorMarius Mathiesen <marius@gitorious.org>
Fri, 15 Feb 2013 11:36:11 +0000 (12:36 +0100)
committerMarius Mathiesen <marius@gitorious.org>
Fri, 15 Feb 2013 11:36:11 +0000 (12:36 +0100)
commita99029d3654250e600e88611bb467c476999de9b
tree17439d0a00109c75dd2a7ed9624b7284f2667328
parent283cadfba26bede757fac7af2c1cf4008b54e134
Make bin/bundle work

Previously, all commands in bin/ would require all gems in the Gemfile
to be installed. This doesn't make a lot of sense for bin/bundle.

The updated bin/bundle can be used to install gems:
- it's callable from anywhere on the file system
- it will change gid/uid to the right user
- it will set up the correct Rails.env

/path/to/gitorious/bin/bundle install now works.
bin/bundle
bin/setup.rb