lightness/lightrail — pull request #11 by bts (2012-04-06 02:13:19+00:00)
Title: App generator improvements

I've created a branch with some improvements to reduce friction between `lightrail new` and `lightrail server` that I experienced. Changes include:

* Re-addition of ability to skip ActiveRecord
* Re-addition of ability to skip `Test::Unit`
* Re-addition of ability to skip Sprockets
* Re-inclusion of `database_gemfile_entry` in `Gemfile`, allowing `lightrail server` to "just work"
* Default omission of ActiveResource
* Use of `~> X.Y` for Lightrail version in generated `Gemfile` (assumes you are using semver)
* Removal of non-3.2-compatible ActiveRecord config option specified in `config/application.rb`. This prevents `ActiveRecord::ConnectionNotEstablished` from getting thrown on every request.
* Work-around for an ActiveSupport railtie/`TZInfo` issue that breaks Rails initialization when ActiveRecord is skipped (this should probably be addressed upstream)
* Explicit declaration of ActionPack/ActiveSupport dependencies in gemspec

Thank you for this project! Let me know if there's anything you'd like for me to change.