This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
forked from zeroc0d3/ruby-deploy-gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Install Ruby
ZeroC0D3 Team edited this page Jan 20, 2018
·
1 revision
Install Ruby for Ubuntu version 16.04
-
Create script
install_ruby.sh
-
Add this line:
#!/usr/bin/env sh
##### INSTALL RUBY #####
sudo chmod 777 /opt
git clone https://github.com/zeroc0d3/ruby-installation.git /opt/ruby-installation \
&& cd /opt/ruby-installation \
&& mv ~/.bashrc ~/.bashrc_old \
&& mv ~/.zshrc ~/.zshrc_old \
&& cp .zshrc ~/.zshrc \
&& cp .bashrc ~/.bashrc \
&& /bin/sh install_ruby.sh \
&& /bin/sh gems.sh
- Change executable script
chmod +x install_ruby.sh
sh ./install_ruby.sh
### Rbenv ###
rbenv install [ruby_verion] # eg: 2.4.2
rbenv global [ruby_version]
rbenv rehash
### Rvm ###
rvm install [ruby_version] # eg: 2.4.2
rvm use [ruby_version]
rvm local [ruby_version]
gem install bundler
bundle install
Research & Development (RnD) - ZeroC0D3 Team
- Email: [email protected]
- Repository: https://github.com/zeroc0d3lab
- Install-Packages
- Setup-Server
- Setup-Account
- Configuration-Bash
- Configuration-Zsh
- Install-Bash-Theme
- Install-Zsh-Theme
- Install-Docker
- Install-Memcached
- Install-MongoDB
- Install-MySQL
- Install-NodeJS
- Install-PostgreSQL
- Install-Redis
- Install-Ruby
- Install-SQLite3
- Configuration-App
- Configuration-GCM
- Configuration-Hosts
- Configuration-Memcached
- Configuration-MongoDB
- Configuration-PostgreSQL
- Configuration-Puma
- Configuration-Swap
- Configuration-Unicorn
- Nginx-Puma
- Nginx-Unicorn
- Logrotate
- Deployment-Dashboard
- Deployment-Configuration
- Deployment-Process
- Deployment-Folder-Structure
- Deploy-Preinstall