-
Notifications
You must be signed in to change notification settings - Fork 19
/
install.sh
executable file
·29 lines (21 loc) · 1.03 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
echo get ruby here https://www.ruby-lang.org/en/installation/
# get ruby gems
echo get rubygems here https://rubygems.org/pages/download
# wget http://production.cf.rubygems.org/rubygems/rubygems-2.2.2.zip
# unzip rubygems-2.2.2.zip
# cd rubygems-2.2.2
# ruby setup.rb
# cd ..
git clone [email protected]:pannous/EnglishScript.tmbundle.git ~/Library/Application\ Support/TextMate/Bundles/EnglishScript.tmbundle/ 2>/dev/null
echo INSTALLING DEPENDENCIES... This might take a minute or 10
git submodule init [email protected]:pannous/kast.git
git submodule init [email protected]:pannous/angle.git # the python branch of english script
git submodule init [email protected]:pannous/english-script-samples.git
git submodule init [email protected]:pickhardt/betty.git
git submodule foreach git pull origin master
# gem install wordnet-defaultdb
bundle install #--no-deployment --local
export ENGLISH_SCRIPT_HOME=$PWD
echo export ENGLISH_SCRIPT_HOME=$PWD
echo "export ENGLISH_SCRIPT_HOME=$PWD" >> ~/.bashrc
sudo ln -s $ENGLISH_SCRIPT_HOME/bin/angle /usr/local/bin/angle