use rvm to run sup with an old ruby
This commit is contained in:
parent
e3977e2756
commit
b1a9bcba72
2
local/bin/sup
Executable file
2
local/bin/sup
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
exec rvm 2.3.3 do sup
|
4
profile
4
profile
@ -9,10 +9,10 @@ mkdir -p "$XDG_RUNTIME_DIR"
|
|||||||
chmod 0700 "$XDG_RUNTIME_DIR"
|
chmod 0700 "$XDG_RUNTIME_DIR"
|
||||||
|
|
||||||
# Local scripts
|
# Local scripts
|
||||||
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
|
|
||||||
export CABAL_HOME="$HOME/.cabal"
|
export CABAL_HOME="$HOME/.cabal"
|
||||||
export CARGO_HOME="$HOME/.cargo"
|
export CARGO_HOME="$HOME/.cargo"
|
||||||
export PATH="$HOME/.local/bin:$CABAL_HOME/bin:$GEM_HOME/bin:$CARGO_HOME/bin:$PATH"
|
export RVM_HOME="$HOME/.rvm"
|
||||||
|
export PATH="$HOME/.local/bin:$CABAL_HOME/bin:$RVM_HOME/bin:$CARGO_HOME/bin:$PATH"
|
||||||
|
|
||||||
# For vim
|
# For vim
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
Loading…
Reference in New Issue
Block a user