aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2016-05-12 15:58:14 +0800
committerXu Cheng2016-07-11 19:23:00 +0800
commit8f178187c0910864c9d811ed00ca93f0ad208d55 (patch)
tree301c9ccc7de819a00f75b958465e3d27d1fab72d
parentac229f95b5097492ab2c81cfa2770abe2881615c (diff)
downloadbrew-8f178187c0910864c9d811ed00ca93f0ad208d55.tar.bz2
add file directory for vendor Ruby
The vendor Ruby will be put inside `Library/Homebrew/vendor/portable-ruby/<version>`, with a symlink `Library/Homebrew/vendor/portable-ruby/current` pointed to it. In addition, a `Library/Homebrew/vendor/portable-ruby-version` will track the latest version of vendor binaries. This gives us version control on vendor Ruby and enables us to bump vendor Ruby whenever needed such as security update.
-rw-r--r--.gitignore3
-rw-r--r--Library/Homebrew/vendor/portable-ruby-version1
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 9dc4eb8db..be800c3ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,6 +20,9 @@
/Library/PinnedTaps
/Library/Taps
+# Ignore vendored files within `Library`
+/Library/Homebrew/vendor/portable-ruby/*
+
# Ignore `bin` contents (again).
/bin
diff --git a/Library/Homebrew/vendor/portable-ruby-version b/Library/Homebrew/vendor/portable-ruby-version
new file mode 100644
index 000000000..633c00da3
--- /dev/null
+++ b/Library/Homebrew/vendor/portable-ruby-version
@@ -0,0 +1 @@
+2.0.0-p648