Hacking on the OAuth2 Provider This plugin is tested with: Rails v2.3.4 MRI 1.8.7 and JRuby 1.5.1 Dependencies: See the gemspec in https://github.com/ThoughtWorksStudios/oauth2_provider/blob/master/provider/vendor/plugins/oauth2_provider/tasks/gem.rake a list of known dependencies Getting up and running $ git clone git://github.com/ThoughtWorksStudios/oauth2_provider.git For MRI: $ [sudo] gem install rcov saikuro_treemap validatable —no-rdoc —no-ri For JRuby, nothing more is needed, JRuby 1.5.1 and all necessary gems are bundled in the /tools directory Structure of the code /tools – contains JRuby + dependency gems /provider – a sample rails app containing the plugin /provider/test – contains the unit+functional tests /provider/vendor/plugins/oauth2_provider – the actual plugin Hacking on code $ cd provider $ # muck around with code $ rake #using MRI $ script/jruby -S rake #using the bundled JRuby Metrics $ cd provider $ rake test:coverage $ rake metrics:saikuro_treemap Pushing out gems $ cd provider $ script/jruby -S rake release:push # follow the instructions printed by the task $ script/jruby -S gem push pkg/oauth2_provider-VERSION.gem