User Tools

Site Tools


stretch:rbenv

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
stretch:rbenv [2019/10/25 14:45] – [ruby-build] slackstretch:rbenv [2019/11/07 17:58] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ======= rbenv ======= ======= rbenv =======
  
-  git clone https://github.com/sstephenson/rbenv.git ~/.rbenv+  git clone https://github.com/rbenv/rbenv.git ~/.rbenv
      
 (.bashrc/.zshrc already taken care of in .shellrc) (.bashrc/.zshrc already taken care of in .shellrc)
  
-  git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build+  git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
  
 <del>(may also want the rehash plugin ''rbenv-gem-rehash'')</del>  rbenv-gem-rehash has been integrated into rbenv core, woop. <del>(may also want the rehash plugin ''rbenv-gem-rehash'')</del>  rbenv-gem-rehash has been integrated into rbenv core, woop.
  
-Try and compile shit to be faster (don'worry if it fails): +Don'bother compiling the bash extension.
- +
-  cd ~/.rbenv && src/configure && make -C src+
  
 ''~/.rbenv/bin'' is already in your ''$PATH'' because you won ''config''. ''~/.rbenv/bin'' is already in your ''$PATH'' because you won ''config''.
Line 27: Line 25:
 Ignore the eval shit, again, you won.  Check if you want to check: Ignore the eval shit, again, you won.  Check if you want to check:
  
-  curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | zsh+  # don't pipe to zsh -- it is a bash-only script 
 +  curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
  
 ===== ruby-build ===== ===== ruby-build =====
- 
-  <del>mkdir -p "$(rbenv root)"/plugins 
-  git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build</del> 
- 
-[Handled above.] 
  
 Prerequisites for building a ruby (needed on a pi): Prerequisites for building a ruby (needed on a pi):
stretch/rbenv.1572014744.txt.gz · Last modified: 2019/11/07 17:58 (external edit)