aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/ruby-build.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/ruby-build.rb')
-rw-r--r--Library/Formula/ruby-build.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/ruby-build.rb b/Library/Formula/ruby-build.rb
index 712e3a7de..141da8fce 100644
--- a/Library/Formula/ruby-build.rb
+++ b/Library/Formula/ruby-build.rb
@@ -2,8 +2,8 @@ require 'formula'
class RubyBuild < Formula
homepage 'https://github.com/sstephenson/ruby-build'
- url 'https://github.com/sstephenson/ruby-build/archive/v20131024.tar.gz'
- sha1 '2b6adef4914ae24965b696a38e4ba131fdb321fb'
+ url 'https://github.com/sstephenson/ruby-build/archive/v20131028.tar.gz'
+ sha1 '4fa33cbcc5f84f2e7b4ec160fb3fd5119ad11404'
head 'https://github.com/sstephenson/ruby-build.git'
@@ -14,4 +14,8 @@ class RubyBuild < Formula
ENV['PREFIX'] = prefix
system "./install.sh"
end
+
+ test do
+ system "#{bin}/ruby-build --version | grep #{version}"
+ end
end