Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get update
- sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev
- sudo apt-get install python-software-properties libffi-dev
- git clone git://github.com/sstephenson/rbenv.git .rbenv
- echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
- echo 'eval "$(rbenv init -)"' >> ~/.bashrc
- exec $SHELL
- git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
- echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
- exec $SHELL
- git clone https://github.com/sstephenson/rbenv-gem-rehash.git ~/.rbenv/plugins/rbenv-gem-rehash
- rbenv install 2.2.2
- rbenv global 2.2.2
- ruby -v
- echo "gem: --no-ri --no-rdoc" > ~/.gemrc
- gem install bundler
- git config --global color.ui true
- git config --global user.name "YOUR NAME"
- git config --global user.email "YOUR@EMAIL.com"
- ssh-keygen -t rsa -C "YOUR@EMAIL.com"
- cat ~/.ssh/id_rsa.pub
- ssh -T git@github.com
- Ukoliko prenosis .gitconfig s windoza, postavi autocrlf = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement