Last active
August 29, 2015 13:57
-
-
Save dewwwald/9483672 to your computer and use it in GitHub Desktop.
Ubuntu 12.0.4 => rbenv install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Firstly rbenv like other dev tools should be installed on your home directory not your root. (Dont sudo install it) | |
##Installing rbenv | |
follow the commands on the github repo | |
=> https://github.com/sstephenson/rbenv | |
- install ruby env | |
- install ruby build | |
=> sudo apt-get install g++ gcc make libc6-dev patch openssl ca-certificates libreadline6 libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev | |
Installing a version of ruby | |
=>rbenv install [version] | |
####An old error | |
Doing this I keep getting an error saying BUILD FAILED | |
Solution in terminal | |
=> rm -rf /tmp/ruby-build.[a long code of numbers] | |
=> sudo apt-get install g++ gcc make libc6-dev patch openssl ca-certificates libreadline6 libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libgdbm-dev libncurses5-dev automake libtool bison pkg-config libffi-dev | |
=> rbenv install [version] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment