ruby & rails

This commit is contained in:
Blake Ridgway 2023-12-25 10:07:31 -06:00
parent 7d50f578b1
commit 535b840436

View file

@ -12,7 +12,8 @@ sudo dnf install \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
# Update system after confirming RPM Fusion is enabled # Update system after confirming RPM Fusion is enabled
sudo dnf update; sudo dnf upgrade sudo dnf update
sudo dnf upgrade
# Verify flatpak is engaged properly # Verify flatpak is engaged properly
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
@ -32,6 +33,7 @@ PACKAGE_LIST=(
python3 python3
python3-pip python3-pip
ripgrep ripgrep
ruby
rust rust
solaar solaar
tilix tilix
@ -71,7 +73,6 @@ for flatpak_name in ${FLATPAK_LIST[@]}; do
fi fi
done done
echo ####### echo #######
echo # NVM # echo # NVM #
echo ####### echo #######
@ -83,6 +84,12 @@ echo ########
# nvm install node # nvm install node
echo #########
echo # Rails #
echo #########
gem install rails
echo ########## echo ##########
echo # pynvim # echo # pynvim #
echo ########## echo ##########
@ -142,13 +149,12 @@ rm -r *.ttf *.tar.gz *.rpm
# Symlink files # Symlink files
FILES=( 'vimrc' 'vim' 'zshrc' 'zsh' 'agignore' 'gitconfig' 'gitignore' 'gitmessage' 'aliases' ) FILES=('vimrc' 'vim' 'zshrc' 'zsh' 'agignore' 'gitconfig' 'gitignore' 'gitmessage' 'aliases')
for file in ${FILES[@]}; do for file in ${FILES[@]}; do
echo "" echo ""
echo "Simlinking $file to $HOME" echo "Simlinking $file to $HOME"
ln -sf "$PWD/$file" "$HOME/.$file" ln -sf "$PWD/$file" "$HOME/.$file"
if [ $? -eq 0 ] if [ $? -eq 0 ]; then
then
echo "$PWD/$file ~> $HOME/.$file" echo "$PWD/$file ~> $HOME/.$file"
else else
echo 'Install failed to symlink.' echo 'Install failed to symlink.'