Merge pull request #24 from cyplo/rvm

Add Ruby support
This commit is contained in:
Cyryl Płotnicki 2016-08-11 16:26:10 +02:00 committed by GitHub
commit 3db6229ea4
4 changed files with 9 additions and 1 deletions

2
.zshrc
View file

@ -51,3 +51,5 @@ alias benice="ionice -c3 nice -n20"
source ~/.setenv source ~/.setenv
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting

View file

@ -99,6 +99,11 @@ if [[ -z $NORUST ]]; then
cargo install -f rustfmt cargo install -f rustfmt
fi fi
if [[ -z $NORUBY ]]; then
gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable --ruby
fi
if [[ -z $NOVIM ]]; then if [[ -z $NOVIM ]]; then
echo "\n" | vim +PluginInstall +qa echo "\n" | vim +PluginInstall +qa
cd "$DIR/.vim/bundle/YouCompleteMe/" cd "$DIR/.vim/bundle/YouCompleteMe/"

View file

@ -1,5 +1,5 @@
@echo on @echo on
choco install -y firefox googlechrome wget notepadplusplus sublimetext3 mono monodevelop gtksharp visualstudiocode microsoft-build-tools visualstudio2015community p4merge dotnet4.5 choco install -y firefox googlechrome wget notepadplusplus sublimetext3 mono monodevelop gtksharp visualstudiocode microsoft-build-tools visualstudio2015community p4merge dotnet4.5 ruby ruby2.devkit
wget -c https://cygwin.com/setup-x86_64.exe wget -c https://cygwin.com/setup-x86_64.exe
setup-x86_64.exe -R "C:\cygwin64" -s http://cygwin.netbet.org/ -q -g -P curl,zsh,git,vim,wget,xz,tar,gawk,bzip2,subversion,zlib,fontconfig,clang setup-x86_64.exe -R "C:\cygwin64" -s http://cygwin.netbet.org/ -q -g -P curl,zsh,git,vim,wget,xz,tar,gawk,bzip2,subversion,zlib,fontconfig,clang

View file

@ -12,6 +12,7 @@ git checkout $branch
export NOSUDO=true export NOSUDO=true
export DONT_CHANGE_SHELL=true export DONT_CHANGE_SHELL=true
export NORUST=true export NORUST=true
export NORUBY=true
export NOVIM=true export NOVIM=true
export NO_GO=true export NO_GO=true
export DIR=$DOTFILES_PATH export DIR=$DOTFILES_PATH