Another great thing about the Ruby community is that we also like to help out. Maybe, someone wants to fix a bug, or perhaps sees an opportunity for a new feature, or just wants to help make the code better.
Anyone should be able to contribute to your gem after doing this3:
% git clone http://github.com/leshill/makes_coffee.git % cd makes_coffee % cat > .rvmrc rvm_gemset_create_on_use_flag=1 rvm gemset use makes_coffee ^D % cd . % gem install bundler % bundle install % rake ...All specs pass...
That is all4 it should take to get a development environment up and running for your gem.
1 We are using Rails 3.
2 It is disastrous if I have to repeatedly run
rake and look at stack traces for me to discern exactly what needs to be done to get a working development environment.
4 Yea, the
rvmrc step should not need to be there :) Oh and there may need to be more done, like setting up a database. Put it in the