Add RVM/cider caveats to alt. Rubies.

This commit is contained in:
Adam Vandenberg 2010-07-18 12:31:09 -07:00
parent a350520636
commit 0103ba1bc2
4 changed files with 26 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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.

View file

@ -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