From c8291e4bec569fdbbcdadb03705372628f2d53f6 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 18 Jul 2010 12:31:09 -0700 Subject: Add RVM/cider caveats to alt. Rubies. --- Library/Formula/jruby.rb | 7 +++++++ Library/Formula/rubinius.rb | 7 +++++++ Library/Formula/ruby-enterprise-edition.rb | 4 ++++ Library/Formula/ruby.rb | 12 ++++++++---- 4 files changed, 26 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/jruby.rb b/Library/Formula/jruby.rb index d32bdf8ad..834a81ca2 100644 --- a/Library/Formula/jruby.rb +++ b/Library/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/Library/Formula/rubinius.rb b/Library/Formula/rubinius.rb index 76a2e2d14..1d35e1687 100644 --- a/Library/Formula/rubinius.rb +++ b/Library/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/Library/Formula/ruby-enterprise-edition.rb b/Library/Formula/ruby-enterprise-edition.rb index f8e2f13fe..d96e00c29 100644 --- a/Library/Formula/ruby-enterprise-edition.rb +++ b/Library/Formula/ruby-enterprise-edition.rb @@ -19,6 +19,10 @@ class RubyEnterpriseEdition