JRuby/jruby GH #1607.  Generate index.txt file for RVM