-
Notifications
You must be signed in to change notification settings - Fork 102
Developing
davetron5000 edited this page Mar 6, 2011
·
7 revisions
GLI uses bundler to manage development-time dependencies. I also suggest you use rvm when developing, using at least Ruby 1.8.7 and Ruby 1.9.2.
gem install rvm
rvm install 1.8.7
rvm install 1.9.2
rvm use 1.8.7
rvm gemset create gli-dev
rvm gemset use gli-dev
gem install bundler
bundle install
rake test
rake rcov
rvm use 1.9.2
rvm gemset create gli-dev
rvm use gli-dev
gem install bundler
bundle install
rake test
# rcov doesn't work on 1.9.2
GLI currently has 100% test coverage (of everything except for the scaffold task), and I'd like to keep it that way. If you submit patches, please have a test, that makes it easier for me to know if anything's broken.