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 ~/.rbenvecho 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrcecho '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-buildgit clone https://github.com/sstephenson/rbenv-gem-rehash.git ~/.rbenv/plugins/rbenv-gem-rehashrbenv install 2.1.1 -krbenv global 2.1.1gem 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