lib/wwtd/ruby.rb
# set ruby-opts for jruby flavors
set ruby-opts for jruby flavors
set ruby - opts for jruby flavors
def extract_jruby_rbenv_options!(version)
        if version.sub!("-d19", "")
          { "JRUBY_OPTS" => "--1.9" }
        elsif version.sub!("-d18", "")
          { "JRUBY_OPTS" => "--1.8" }
        else
          {}
        end
      end
def extract_jruby_rbenv_options! ( version ) if version . sub! ( "-d19" , "" ) { "JRUBY_OPTS" => "--1.9" } elsif version . sub! ( "-d18" , "" ) { "JRUBY_OPTS" => "--1.8" } else { } end end
set ruby-opts for jruby flavors
set ruby - opts for jruby flavors
version