ruby & rails
This commit is contained in:
16
post_install
16
post_install
@@ -12,7 +12,8 @@ sudo dnf install \
|
||||
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||
|
||||
# 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
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
@@ -32,6 +33,7 @@ PACKAGE_LIST=(
|
||||
python3
|
||||
python3-pip
|
||||
ripgrep
|
||||
ruby
|
||||
rust
|
||||
solaar
|
||||
tilix
|
||||
@@ -71,7 +73,6 @@ for flatpak_name in ${FLATPAK_LIST[@]}; do
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
echo #######
|
||||
echo # NVM #
|
||||
echo #######
|
||||
@@ -83,6 +84,12 @@ echo ########
|
||||
|
||||
# nvm install node
|
||||
|
||||
echo #########
|
||||
echo # Rails #
|
||||
echo #########
|
||||
|
||||
gem install rails
|
||||
|
||||
echo ##########
|
||||
echo # pynvim #
|
||||
echo ##########
|
||||
@@ -142,13 +149,12 @@ rm -r *.ttf *.tar.gz *.rpm
|
||||
|
||||
# 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
|
||||
echo ""
|
||||
echo "Simlinking $file to $HOME"
|
||||
ln -sf "$PWD/$file" "$HOME/.$file"
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "$PWD/$file ~> $HOME/.$file"
|
||||
else
|
||||
echo 'Install failed to symlink.'
|
||||
|
||||
Reference in New Issue
Block a user