Modified gemspec to allow Rails 3
Make list of acceptable environments user-configurable