August 2019
Beginner
608 pages
16h 7m
English
As GitLab is still mainly written in Ruby, we need to install that language. Remove the old Ruby 1.8 if present in the OS:
sudo apt-get remove ruby1.8
Download the latest Ruby, check the signature and compile it:
$ wget https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.3.tar.gz$ shasum ruby-2.6.3.tar.gz 2347ed6ca5490a104ebd5684d2b9b5eefa6cd33c ruby-2.6.3.tar.gz$ tar xvzf ruby-2.6.3.tar.gz..$ cd ruby-2.6.3$ ./configure --disable-install-rdoc$ make$ sudo make install
After installation is finished, check the version using the following command:
$ruby -vruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
Then, install the bundler gem:
$ sudo gem install bundler --no-document --version '< 2'Fetching: bundler-1.17.3.gem (100%)Successfully ...
Read now
Unlock full access