fvm 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/fvm/version.rb +1 -1
- data/scripts/fvm +2 -2
- metadata +3 -3
data/README.md
CHANGED
@@ -23,7 +23,7 @@ First, install the **fvm** gem:
|
|
23
23
|
|
24
24
|
Next, add the following to your bash initialization script (bashrc, bash_init, /etc/profile, whatever you prefer):
|
25
25
|
|
26
|
-
[[ -s $(fvm restart) ]] && source $(fvm restart)
|
26
|
+
[[ -s $(fvm restart --chomp) ]] && source $(fvm restart --chomp)
|
27
27
|
# This loads FVM into a shell session.
|
28
28
|
|
29
29
|
*Note: If you also have **rvm** installed, make sure these lines go **AFTER** the **rvm** initialization.*
|
data/lib/fvm/version.rb
CHANGED
data/scripts/fvm
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
# this resets the FLEX_HOME environment variable
|
4
4
|
# to the current version of the sdk linked to by fvm
|
5
|
-
export FLEX_HOME="$(fvm home)"
|
5
|
+
export FLEX_HOME="$(fvm home --chomp)"
|
6
6
|
|
7
7
|
# this sets the alias for this command after being run
|
8
8
|
# from a bash init script
|
9
|
-
alias fvm-restart="source $(fvm restart)"
|
9
|
+
alias fvm-restart="source $(fvm restart --chomp)"
|
metadata
CHANGED