Skip to content

Instantly share code, notes, and snippets.

@monkstone
Last active December 29, 2015 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monkstone/7614877 to your computer and use it in GitHub Desktop.
Save monkstone/7614877 to your computer and use it in GitHub Desktop.
Simplify your jruby setup on linux (avoid rvm and all that other crap)
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
export GEM_HOME="${HOME}/.gem/ruby/2.0.0"
export PATH="${PATH}:${HOME}/bin:${HOME}/.gem/ruby/2.0.0/bin"
@monkstone
Copy link
Author

Add lines 10 and 11 to your .bashrc (don't even think about using bundler), and you have made working with jruby on linux so easy

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