To modify and build your own gem.
bundle install
or
bundle update
Then build the gem file.
gem build moesif_rack.gemspec
gem install /full/path/to/your.gem
to uninstall
gem uninstall moesif_rack
after you installed it in a rails app, to run the rails app bin/rails server