This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
performexa_application_setup [2021/09/06 10:29] 157.51.9.156 |
performexa_application_setup [2021/10/28 06:46] (current) 157.49.205.44 |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| First, install the dependencies required to install Ruby: | First, install the dependencies required to install Ruby: | ||
| - | **sudo yum install -y git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel | + | **sudo yum install -y git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel** |
| - | ** | + | |
| if anything breaks the installation, remove the particular dependency and install the other packages | if anything breaks the installation, remove the particular dependency and install the other packages | ||
| Once the dependencies download, you can install rbenv itself. Clone the rbenv repository from GitHub into the directory ~/.rbenv | Once the dependencies download, you can install rbenv itself. Clone the rbenv repository from GitHub into the directory ~/.rbenv | ||
| - | **git clone git://github.com/sstephenson/rbenv.git .rbenv** | + | =====git clone git://github.com/sstephenson/rbenv.git .rbenv===== |
| Next, add ~/.rbenv/bin to your $PATH so that you can use the rbenv command line utility. Do this by altering your ~/.bashrc file so that it affects future login sessions: | Next, add ~/.rbenv/bin to your $PATH so that you can use the rbenv command line utility. Do this by altering your ~/.bashrc file so that it affects future login sessions: | ||
| - | |||
| **echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile** | **echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile** | ||
| - | |||
| Then add the command eval "$(rbenv init -)" to your ~/.bashrc file so rbenv loads automatically: | Then add the command eval "$(rbenv init -)" to your ~/.bashrc file so rbenv loads automatically: | ||
| Line 42: | Line 38: | ||
| **exec $SHELL** | **exec $SHELL** | ||
| - | With the ruby-build plugin now installed, you can install versions of Ruby y may need through a simple command. First, let’s list all the available versions of Ruby: | + | with the ruby-build plugin now installed, you can install versions of Ruby y may need through a simple command. First, let’s list all the available versions of Ruby: |
| **rbenv install -l** | **rbenv install -l** | ||