summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-04-09 06:51:15 -0700
committerStan Hu <stanhu@gmail.com>2018-04-09 06:51:15 -0700
commit1776a73881ff0494664be296a7b3ee1932c6e708 (patch)
tree9ff03faa68265b39cbfc39593a29473242594b25
parente267ac499866c5e06d2a4f405da9ffc6beacafa9 (diff)
downloadgitlab-ce-sh-bump-ruby-and-git-image-ci.tar.gz
Bump ruby 2.3.6 cache key and source installation docssh-bump-ruby-and-git-image-ci
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--doc/install/installation.md7
2 files changed, 6 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5645964678f..4659722854e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,7 +6,7 @@ image: "dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.3.7-golang-1.9-git
- gitlab-org
.default-cache: &default-cache
- key: "ruby-2.3.6-with-yarn"
+ key: "ruby-2.3.7-with-yarn"
paths:
- vendor/ruby
- .yarn-cache/
@@ -571,7 +571,7 @@ static-analysis:
script:
- scripts/static-analysis
cache:
- key: "ruby-2.3.6-with-yarn-and-rubocop"
+ key: "ruby-2.3.7-with-yarn-and-rubocop"
paths:
- vendor/ruby
- .yarn-cache/
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 1abbfd78738..3cf6f7b7ddf 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -133,9 +133,10 @@ Remove the old Ruby 1.8 if present:
Download Ruby and compile it:
mkdir /tmp/ruby && cd /tmp/ruby
- curl --remote-name --progress https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.6.tar.gz
- echo '4e6a0f828819e15d274ae58485585fc8b7caace0 ruby-2.3.6.tar.gz' | shasum -c - && tar xzf ruby-2.3.6.tar.gz
- cd ruby-2.3.6
+ curl --remote-name --progress https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.7.tar.gz
+ echo '540996fec64984ab6099e34d2f5820b14904f15a ruby-2.3.7.tar.gz' | shasum -c - && tar xzf ruby-2.3.7.tar.gz
+ cd ruby-2.3.7
+
./configure --disable-install-rdoc
make
sudo make install