とりあえずやったことメモ整形は後で考える。

git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
source ~/.zshrc
rbenv
$SHELL --login
apt-cyg install libreadline-devel
rbenv install 2.3.0
which ruby
apt-cyg remove ruby
rm gems/ -r
rbenv exec gem install bundler
rbenv install 2.2.4
gem -list
rbenv global 2.3.0
rbenv global 2.2.4
ruby -v
gem install sinatra
gem install netconf
gem install nokogiri
gem install activerecord
gem install mysql2
gem install netaddr
gem install sinatra-contrib
gem update

あとこっそりProfileを作ったりした。

Next Post Previous Post