summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSytse Sijbrandij <sytse@gitlab.com>2014-06-25 09:49:07 +0000
committerSytse Sijbrandij <sytse@gitlab.com>2014-06-25 09:49:07 +0000
commit10a33f0f3839be51f05cd5d36c995223b8bc0f90 (patch)
treeb95b29b16c96cf1750a92e6f732437f3fce01867
parent4116588f65fdcb454b1f6cd88a0e1614d19969d4 (diff)
parent086ec401847e2352933543479e7aaf7e7208233d (diff)
downloadgitlab-ce-10a33f0f3839be51f05cd5d36c995223b8bc0f90.tar.gz
Merge branch 'remove-ruby-update-guide' into 'master'
Remove ruby update guide #1371
-rw-r--r--doc/update/README.md1
-rw-r--r--doc/update/ruby.md59
2 files changed, 0 insertions, 60 deletions
diff --git a/doc/update/README.md b/doc/update/README.md
index 8c0cf5f7b26..9a6f09b370a 100644
--- a/doc/update/README.md
+++ b/doc/update/README.md
@@ -1,5 +1,4 @@
- [The individual upgrade guides](https://gitlab.com/gitlab-org/gitlab-ce/tree/master/doc/update)
- [Upgrader](upgrader.md)
-- [Ruby](ruby.md)
- [Patch versions](patch_versions.md)
- [MySQL to PostgreSQL](mysql_to_postgresql.md)
diff --git a/doc/update/ruby.md b/doc/update/ruby.md
deleted file mode 100644
index d1d9d3e77f5..00000000000
--- a/doc/update/ruby.md
+++ /dev/null
@@ -1,59 +0,0 @@
-# Updating Ruby from source
-
-This guide explains how to update Ruby in case you installed it from source according to the [instructions](../install/installation.md#2-ruby).
-
-## 1. Look for Ruby versions
-
-This guide will only update `/usr/local/bin/ruby`. You can see which Ruby binaries are installed on your system by running:
-
-```bash
-ls -l $(which -a ruby)
-```
-
-## 2. Stop GitLab
-
-```bash
-sudo service gitlab stop
-```
-
-## 3. Install or update dependencies
-
-Here we are assuming you are using Debian/Ubuntu.
-
-```bash
-sudo apt-get install build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl
-```
-
-## 4. Download, compile and install Ruby
-
-Find the latest stable version of Ruby 1.9 or 2.0 at <https://www.ruby-lang.org/en/downloads/>. We recommend at least 2.0.0-p353, which is patched against [CVE-2013-4164](https://www.ruby-lang.org/en/news/2013/11/22/heap-overflow-in-floating-point-parsing-cve-2013-4164/).
-
-```bash
-cd /tmp
-curl --progress http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz | tar xz
-cd ruby-2.0.0-p353
-./configure --disable-install-rdoc
-make
-sudo make install # overwrite the existing Ruby in /usr/local/bin
-sudo gem install bundler
-```
-
-### 5. Reinstall GitLab gem bundle
-
-Just to be sure we will reinstall the gems used by GitLab. Note that the `bundle install` command [depends on your choice of database](../install/installation.md#install-gems).
-
-```bash
-cd /home/git/gitlab
-sudo -u git -H rm -rf vendor/bundle # remove existing Gem bundle
-sudo -u git -H bundle install --deployment --without development test mysql aws # Assuming PostgreSQL
-```
-
-## 6. Start GitLab
-
-We are now ready to restart GitLab.
-
-```bash
-sudo service gitlab start
-```
-
-## Done