I've moved it into a separate recipe (https://github.com/johannesbecker/cookbook-gitlabhq/blob/master/recipes/ruby.rb) which itself gets included in the dependencies recipe (https://github.com/johannesbecker/cookbook-gitlabhq/blob/master/recipes/dependencies.rb#L5). That way one could introduce simply a new way to handle ruby (like with rvm ;)