Created
November 3, 2023 22:23
-
-
Save kolosek/d7d960916d2fef6e07e59bc9bc01ecbb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install make gcc dirmngr gpg curl gawk zlib1g-dev libssl-dev unzip | |
sudo apt-get install autoconf bison patch build-essential rustc libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libgmp-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev uuid-dev | |
wget https://www.openssl.org/source/openssl-1.1.1g.tar.gz | |
tar zxvf openssl-1.1.1g.tar.gz | |
cd openssl-1.1.1g/ | |
./config --prefix=$HOME/.openssl/openssl-1.1.1g --openssldir=$HOME/.openssl/openssl-1.1.1g | |
make install | |
rm -rf ~/.openssl/openssl-1.1.1g/certs | |
ln -s /etc/ssl/certs ~/.openssl/openssl-1.1.1g/certs | |
#ASDF ruby manager | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.2 | |
echo '. $HOME/.asdf/asdf.sh' >> ~/.bashrc | |
echo '. $HOME/.asdf/completions/asdf.bash' >> ~/.bashrc | |
source ~/.bashrc | |
echo 'Please reload terminal before moving on' | |
#Troubleshooting: | |
#bundle exec rails s | |
#/usr/bin/env: ‘ruby_executable_hooks’: No such file or directory | |
#sudo gem install --user-install executable-hooks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment