Compass/compass-rails — pull request #7 by josepjaume (2012-02-02 19:19:51+00:00)
Title: Don't depend on rails

The `rails` metagem has a lot of dependencies but only few of them are needed with compass. It's better to depend on `railties`.

Rails 2.3 doesn't have such a gem - you have to use `rails`.

Since the gemspec is serialized prior to being required, is not possible to decide on runtime which version of rails to use. So the only solution is to not depend on rails and decide on runtime wether Rails 2.3 or 3.x is used.

The only caveat of this is that rails must be required before the compass gem. Not all that pretty, but what are the chances of compass being included *before*?