fvm 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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