After I have changed my debian server from rvm to use rbenv I gave it a shot for my local system:
These commands should work:
These commands should work:
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
- "
type rbenv" should show something like "rbenv is a function"
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
git clone https://github.com/sstephenson/rbenv-gem-rehash.git ~/.rbenv/plugins/rbenv-gem-rehash
rbenv install 2.1.1 -k
rbenv global 2.1.1
gem install rails
- CONFIGURE_OPTS="--with-readline-dir=/usr/include/readline" rbenv install 2.1.1
OR (could not get console working, tried following)
curl -fsSL https://gist.github.com/mislav/a18b9d7f0dc5b9efc162.txt | rbenv install --patch 2.1.1
(source) - gem install railties && rbenv rehash
Kommentare
Kommentar veröffentlichen