diff --git a/Formula/jruby.rb b/Formula/jruby.rb index d32bdf8adf..834a81ca20 100644 --- a/Formula/jruby.rb +++ b/Formula/jruby.rb @@ -31,6 +31,13 @@ class Jruby < Formula end end + def caveats; <<-EOS.undent + Consider using RVM or Cider to manage Ruby environments: + * RVM: http://rvm.beginrescueend.com/ + * Cider: http://www.atmos.org/cider/intro.html + EOS + end + def test system "jruby -e 'puts \"hello\"'" end diff --git a/Formula/rubinius.rb b/Formula/rubinius.rb index 76a2e2d142..1d35e16878 100644 --- a/Formula/rubinius.rb +++ b/Formula/rubinius.rb @@ -30,4 +30,11 @@ class Rubinius < Formula system "/usr/bin/ruby", "-S", "rake", "install" end + + def caveats; <<-EOS.undent + Consider using RVM or Cider to manage Ruby environments: + * RVM: http://rvm.beginrescueend.com/ + * Cider: http://www.atmos.org/cider/intro.html + EOS + end end diff --git a/Formula/ruby-enterprise-edition.rb b/Formula/ruby-enterprise-edition.rb index f8e2f13fe6..d96e00c296 100644 --- a/Formula/ruby-enterprise-edition.rb +++ b/Formula/ruby-enterprise-edition.rb @@ -19,6 +19,10 @@ class RubyEnterpriseEdition