RVM is not a function on "rvm use x" even after sourcing

1,112 views
Skip to first unread message

coneybeare

unread,
Dec 13, 2011, 12:00:00 PM12/13/11
to rvm (Ruby Version Manager)
I have an automated install script that has recently been broken by a
rvm install script change of some sort.
rvm installs fine, according to exit codes and stdout. I am using the
newer: bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer
)

works: source /usr/local/rvm/bin/rvm
works: rvm install 1.9.2-p290
fails: rvm use 1.9.2-p90
fails: rvm create gemset foo


Here, in the logs you can see 1.9.2-p290 installing correctly, but the
rvm use call failing.
16:40:06: Install of ruby-1.9.2-p290 - #complete
16:40:07: tput: No value for $TERM and no -T specified
16:40:07: tput: No value for $TERM and no -T specified
16:40:07: tput: No value for $TERM and no -T specified
16:40:07: tput: No value for $TERM and no -T specified
16:40:07: RVM is not a function, selecting rubies with 'rvm use ...'
will not work.

mpapis

unread,
Dec 13, 2011, 1:29:18 PM12/13/11
to rvm (Ruby Version Manager)
you source /usr/local/rvm/bin/rvm not /usr/local/rvm/scripts/rvm - two
different files

On Dec 13, 6:00 pm, coneybeare <coneybe...@gmail.com> wrote:
> I have an automated install script that has recently been broken by a
> rvm install script change of some sort.
> rvm installs fine, according to exit codes and stdout. I am using the

> newer: bash < <(curl -shttps://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer

Reply all
Reply to author
Forward
0 new messages