dcrec1/inploy — pull request #32 by svoop (2011-12-15 20:48:30+00:00)
Title: Replace bundler_path with the more powerful bundler_opts

As we discussed in some emails, here's the code to switch to bundler_opts. People who set bundler_path will bump into an error, but it's easy enough to figure out why, so transition code seems an unnecessary luxury. However, I've added a few lines to the README explaining things.

I've slightly altered the defaults:

```ruby
# before
bundle_path = "~/.bundle"

# now
bundle_opts = "--deployment --without development test cucumber"
```

The up to now hardcoded without stanza is now the default which allows the user to override this behaviour. (Useful for those who for some odd reason want to deploy development to a server.) The prior default path "~ /.bundle" is a little tricky when you deploy several Rails apps to the same box. It's better to vendor the gems into "vendor/bundle" and rely on Gemfile.lock - both of which the deployment switch does.

The second commit simply adds .DS_Store to .gitignore. I'm on Mac and if this is not set and Mac devs are not careful, you find your repo filled with pointless .DS_Store files (which store OS X Finder window states).

Hope you like it :-)