seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.5k stars 998 forks source link

Removed rails dependency #821

Closed owenbendavies closed 9 years ago

owenbendavies commented 9 years ago

Rails depends on activerecord which is not needed for every project. It is also not needed for twitter-bootstrap-rails to work. The gem already depends on actionpack which should be enough.

toadkicker commented 9 years ago

The whole point of the gem is to focus on adding rails to the asset pipeline. Are you using the gem in another way, and if so could you explain/demonstrate how? It's a curious notion considering the generators and such.

owenbendavies commented 9 years ago

I use rails, just not activerecord: https://github.com/obduk/cms

The rails gem relies on a lot of things that not everyone needs, so a lot of gems just add dependencies for what they actually need, e.g. actionpack etc.

toadkicker commented 9 years ago

@obduk check out railsstrap as I've taking your suggestions there and would love your contributions to go into an active project.