Joined July 2011
·
Posted to
Sort gems in your Gemfile
over 1 year
ago
@descentintomael, why not? I found it quite handy to have sorted groups of gems in large Gemfile.
For instance, take a look at catarse project's Gemfile
and at the version with sorted gems in groups. At the first sight there is no difference, but I believe that the additional rule (or convention) reduces the chaos in that file. Of course it should be a team decision.
Posted to
Sort gems in your Gemfile
over 1 year
ago
Make sure you understand what does '<,'> mean ;)
Achievements
161 Karma
5,544 Total ProTip Views
Altruist
Increase developer well-being by sharing at least 20 open source projects
Kona
Have at least one original repo where CoffeeScript is the dominant language
Forked
Have a project valued enough to be forked by someone else
Raven
Have at least one original repo where some form of shell script is the dominant language
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
Mongoose
Have at least one original repo where Ruby is the dominant language
@janlelis, nice script! Not sure I'll use it to keep a sorted list of gems - it adds a lot of noise to Gemfile. Overall, I like it, it could save some time.