aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/jruby.rb7
-rw-r--r--Library/Formula/rubinius.rb7
-rw-r--r--Library/Formula/ruby-enterprise-edition.rb4
-rw-r--r--Library/Formula/ruby.rb12
4 files changed, 26 insertions, 4 deletions
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 <Formula
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
+
By default we don't compile REE as a shared library. From their documentation:
Please note that enabling --enable-shared will make the Ruby interpreter
about 20% slower.
diff --git a/Library/Formula/ruby.rb b/Library/Formula/ruby.rb
index 53269b0c1..d7ea7dba9 100644
--- a/Library/Formula/ruby.rb
+++ b/Library/Formula/ruby.rb
@@ -36,10 +36,14 @@ class Ruby <Formula
system "make install-doc" if ARGV.include? "--with-doc"
end
- def caveats; <<-EOS
-If you install gems with the RubyGems installed with this formula they will
-be installed to this formula's prefix. This needs to be fixed, as for example,
-upgrading Ruby will lose all your gems.
+ 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
+
+ If you install gems with the RubyGems installed with this formula they will
+ be installed to this formula's prefix. This needs to be fixed, as for example,
+ upgrading Ruby will lose all your gems.
EOS
end