Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save captainpete/11297216 to your computer and use it in GitHub Desktop.
Save captainpete/11297216 to your computer and use it in GitHub Desktop.
ruby-install rbx 2.2.6, Rubinius Mavericks "error: ... rl_username_completion_function" workaround
# If installing Rubinius 2.2.6 fails
# with an error containing 'rl_username_completion_function'
ruby-install rbx 2.2.6 # <= fails
# Remove and re-extract Rubinius
cd ~/src && rm -fr rubinius-2.2.6 && tar -xf rubinius-2.2.6.tar.bz2
# Make sure LLVM is installed
brew install llvm
# Make sure the other libs are present
brew install openssl readline libyaml gdbm
# Re-configure Rubinius
cd ~/src/rubinius-2.2.6
export GEM_HOME="$HOME/src/rubinius-2.2.6/vendor/gems"
bundle install
./configure --prefix="/Users/pete/.rubies/rbx-2.2.6" \
--with-opt-dir="/usr/local/opt/openssl:/usr/local/opt/readline:/usr/local/opt/libyaml:/usr/local/opt/gdbm" \
--skip-system --skip-prebuilt --llvm-path="/usr/local/opt/llvm"
# Build
rake build
# then install
rake install
# optionally install all Rubinius files
rake install:files
@jeremyfrancis
Copy link

Same issue when looking at the log file after running rvm install 2.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment