forked from aglover/ubuntu-equip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathequip_ruby_alt.sh
executable file
·26 lines (17 loc) · 927 Bytes
/
equip_ruby_alt.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
# http://michalf.me/blog:make-ruby-1-9-default-on-ubuntu-9-10-karmic-koala
# http://stackoverflow.com/questions/1109695/installing-ruby-1-9-1-on-ubuntu
# http://blog.moonflare.com/2011/10/25/installing-ruby-1-9-2-and-gems-on-ubuntu-11-10/
wget --no-check-certificate https://github.com/aglover/ubuntu-equip/raw/master/equip_base.sh && bash equip_base.sh
sudo apt-get update
sudo apt-get install build-essential rsync telnet screen man -y
sudo apt-get install strace tcpdump -y
sudo apt-get install libssl-dev zlib1g-dev libcurl3-dev libxslt-dev -y
sudo apt-get install zlib1g-dev libreadline5-dev -y
sudo apt-get install gcc g++ linux-headers-generic libsqlite3-dev -y
sudo apt-get install git -y
sudo apt-get install libxml2-dev -y
sudo apt-get install libxslt1-dev -y
sudo apt-get install ruby1.9.1-dev -y
sudo apt-get install ruby1.9.1 -y
sudo update-alternatives --config ruby
sudo update-alternatives --config gem