soveran / cuba

Rum based microframework for web development.
http://cuba.is
MIT License
1.44k stars 248 forks source link

Add Gemfile. #26

Closed vic closed 10 years ago

vic commented 10 years ago

Added Gemfile to make it easier to install required gems with just bundle install. I guess most of us are now familiar with having a Gemfile to manage dependencies.

soveran commented 10 years ago

Hello @vic, thanks for this pull request. We actually have a strong stance against bundler, I hope you understand our position of not including any reference to it. You can read an explanation here: https://github.com/soveran/cuba/pull/20#issuecomment-11585139

vic commented 10 years ago

Hey, no prob, looks like the Bundler team is actually trying to merge into rubygems anyways :)

https://twitter.com/tenderlove/status/408692165682790400

soveran commented 10 years ago

@vic Yes, it was sad to learn that. I commented in the original thread, and it triggered a conversation on twitter. I guess at that point I won't be using rubygems anymore.

ericgj commented 10 years ago

As someone quite happy with gs + dep (although I don't do much ruby these days), I was sad to hear that as well. It speaks to a deeper problem I think which is the massive dependency trees rails apps tend to have.

soveran commented 10 years ago

@ericgj Glad to hear that you are quite happy with gs + dep :-) I agree that a huge dependency tree is likely to cause big problems and bad solutions. If Ruby had a modular system for packages, the dependencies problem could be solved elegantly with a tool like npm.

ericgj commented 10 years ago

@soveran absolutely... although npm has plenty of bloat of its own now. For client-side stuff I use component which is nicer for packaging templates and css as well as code. Although they haven't dealt with versioning at all yet, for most people it's not even been a problem.

soveran commented 10 years ago

@ericgj Excellent, thanks for the tip!