Unable to install rvm

I've never had this problem before, and have no idea why I have it now.

Environment: I'm running Kubuntu Linux 13.04

Problem: I couple of days ago a previously-working installation of rvm simply disappeared. There have been a number of updates to my OS in the past week, and /maybe/ that's related to this. I have NO idea. It simple is unknown to my OS. All attempts to re-install it have failed so far.

Terminal output: http://pastie.org/8127844

Synopsis of terminal output:

1. lines 1-3: rvm is clearly not installed. (But my /home/{account}/.rvm directory is where I'd expect it to be. Furthermove, deleting this before an re-install attempt has had no effect on the outcome.)

2. lines 5-40: rvm is installed using the command Wayne S. suggests at the rvm website. The output line "RVM sourcing line not found for Zsh, run the installer with '--auto-dotfiles' to fix it." puzzles me. I've no idea what "Zsh" is, nor is it clear what "installer" he's referring to. I guess he's referring to the command that supposedly install rvm. On an early attempt to install it, I did try this:

\curl -L https://get.rvm.io | bash --auto-dotfiles

but it appears to have no effect. rvm still appeared to be NOT installed and EOJ.

3. lines 41-43: rvm is still not installed.

4. lines 45-50: I try the apt-get install (with no expectation it will work). No go.

Any suggestions as to how to fix this will be much appreciated. I am running an identical OS on an HP netbook, and have rvm successfully installed and running just fine, there.

Tom

···

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA
Cedar City / St. George, Utah, U.S.A: (435) 272-3332
<< tc@tomcloyd.com >> (email) << TomCloyd.com >> (website)
<< Sleightmind.com >> (mental health issues weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Untrue. All you can say from that is that the `rvm` command is either
not in your PATH or is not executable. The fact that the rvm install
says 'upgrading' is probably a clue :slight_smile:

Perhaps your .bashrc is broken, or simply not being sourced. Try
comparing with the system you say is working properly.

···

On Wed, Jul 10, 2013 at 5:36 AM, Tom Cloyd <tomcloydmsma@gmail.com> wrote:

1. lines 1-3: rvm is clearly not installed.

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

twitter: @hassan

After you install rvm via the curl/bash combo, you have to get it into your environment. You have to source $HOME/.rvm/scripts/rvm in your current terminal, and make sure a line like that is added to your shell's init script (.bash_profile or .profile for bash, something else for .zsh which I don't use so I don't bother to remember). The script indicated there is a source line in your .bashrc, but you didn't bother to execute it. So:

$ source $HOME/.rvm/scripts/rvm

-or-

Log out of your terminal program (or maybe you need to log out of your system) and log back in.

After you've done either of those things, run:

$ rvm current
$ rvm use
$ rvm info

and see what you get.

···

On Jul 10, 2013, at 5:36 AM, Tom Cloyd <tomcloydmsma@gmail.com> wrote:

I've never had this problem before, and have no idea why I have it now.

Environment: I'm running Kubuntu Linux 13.04

Problem: I couple of days ago a previously-working installation of rvm simply disappeared. There have been a number of updates to my OS in the past week, and maybe that's related to this. I have NO idea. It simple is unknown to my OS. All attempts to re-install it have failed so far.

Terminal output: http://pastie.org/8127844

Synopsis of terminal output:

1. lines 1-3: rvm is clearly not installed. (But my /home/{account}/.rvm directory is where I'd expect it to be. Furthermove, deleting this before an re-install attempt has had no effect on the outcome.)

2. lines 5-40: rvm is installed using the command Wayne S. suggests at the rvm website. The output line "RVM sourcing line not found for Zsh, run the installer with '--auto-dotfiles' to fix it." puzzles me. I've no idea what "Zsh" is, nor is it clear what "installer" he's referring to. I guess he's referring to the command that supposedly install rvm. On an early attempt to install it, I did try this:

\curl -L https://get.rvm.io | bash --auto-dotfiles

but it appears to have no effect. rvm still appeared to be NOT installed and EOJ.

3. lines 41-43: rvm is still not installed.

4. lines 45-50: I try the apt-get install (with no expectation it will work). No go.

Any suggestions as to how to fix this will be much appreciated. I am running an identical OS on an HP netbook, and have rvm successfully installed and running just fine, there.

Tom

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA
Cedar City / St. George, Utah, U.S.A: (435) 272-3332
<<
tc@tomcloyd.com
>> (email) << TomCloyd.com >> (website)
<< Sleightmind.com >> (mental health issues weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hi Tom

The Z shell aka zsh is the "last shell you'll ever need"... It's a Bourne
compatible Korn shell clone with c shell emulation modes and very good tab
completion mechanisms which exceeds tcsh tab completion. If your unsure
what that is you can simply ignore it as rvm does not depend on it. If your
interested in what rvm needs to enable it to function properly they have it
well documented on it's main website. If you run into issues with rvm
consider for the moment that it's merely a convenience tool. You have the
freedom to grab the ruby sources and build your own binaries as well which
by understanding how PATH works you can fully grasp how the environment
functions as well as how to manipulate it towards your needs. None the less
I would highly recommend looking into rvmrc for your projects which is one
way that rvm helps with freezing ruby patch/versions for production.

~Stu

···

On Wed, Jul 10, 2013 at 7:36 AM, Tom Cloyd <tomcloydmsma@gmail.com> wrote:

2. lines 5-40: rvm is installed using the command Wayne S. suggests at the
rvm website. The output line "RVM sourcing line not found for Zsh, run the
installer with '--auto-dotfiles' to fix it." puzzles me. I've no idea what
"Zsh" is, nor is it clear what "installer" he's referring to. I guess he's
referring to the command that supposedly install rvm. On an early attempt
to install it, I did try this:
Tom

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA
Cedar City / St. George, Utah, U.S.A: (435) 272-3332
<< tc@tomcloyd.com >> (email) << TomCloyd.com >> (website)
<< Sleightmind.com >> (mental health issues weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

OK, Tamara, you're my new Ruby god. Er....goddess! That DID IT! Due to work pressures, I'm only now getting back to this problem, after more than a month - having rvm and its rubies working fine on my netbook - good enough for now. But with your help it appear that my desktop will be back in service, relative to rvm.

Thanks again for your help and to the point suggestions. Very much appreciated.

Tom

···

On 07/10/2013 06:40 PM, Tamara Temple wrote:

On Jul 10, 2013, at 5:36 AM, Tom Cloyd <tomcloydmsma@gmail.com> wrote:

I've never had this problem before, and have no idea why I have it now.

Environment: I'm running Kubuntu Linux 13.04

Problem: I couple of days ago a previously-working installation of rvm simply disappeared. There have been a number of updates to my OS in the past week, and maybe that's related to this. I have NO idea. It simple is unknown to my OS. All attempts to re-install it have failed so far.

Terminal output: http://pastie.org/8127844

Synopsis of terminal output:

1. lines 1-3: rvm is clearly not installed. (But my /home/{account}/.rvm directory is where I'd expect it to be. Furthermove, deleting this before an re-install attempt has had no effect on the outcome.)

2. lines 5-40: rvm is installed using the command Wayne S. suggests at the rvm website. The output line "RVM sourcing line not found for Zsh, run the installer with '--auto-dotfiles' to fix it." puzzles me. I've no idea what "Zsh" is, nor is it clear what "installer" he's referring to. I guess he's referring to the command that supposedly install rvm. On an early attempt to install it, I did try this:

\curl -L https://get.rvm.io | bash --auto-dotfiles

but it appears to have no effect. rvm still appeared to be NOT installed and EOJ.

3. lines 41-43: rvm is still not installed.

4. lines 45-50: I try the apt-get install (with no expectation it will work). No go.

Any suggestions as to how to fix this will be much appreciated. I am running an identical OS on an HP netbook, and have rvm successfully installed and running just fine, there.

Tom

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA
Cedar City / St. George, Utah, U.S.A: (435) 272-3332
<<
tc@tomcloyd.com
  >> (email) << TomCloyd.com >> (website)
<< Sleightmind.com >> (mental health issues weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

After you install rvm via the curl/bash combo, you have to get it into your environment. You have to source $HOME/.rvm/scripts/rvm in your current terminal, and make sure a line like that is added to your shell's init script (.bash_profile or .profile for bash, something else for .zsh which I don't use so I don't bother to remember). The script indicated there is a source line in your .bashrc, but you didn't bother to execute it. So:

$ source $HOME/.rvm/scripts/rvm

  -or-

Log out of your terminal program (or maybe you need to log out of your system) and log back in.

After you've done either of those things, run:

$ rvm current
$ rvm use
$ rvm info

and see what you get.

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA
Cedar City / St. George, Utah, U.S.A: (435) 272-3332
<< tc@tomcloyd.com >> (email) << TomCloyd.com >> (website)
<< Sleightmind.com >> (mental health issues weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hassan, you were exactly right. My .bashrc file had the critical script line that Tamara pointed out commented out. All fixed now.

Thanks! Sorry to be slow getting back to you. I always have trouble finding enough time for this sort of stuff.

t.

···

On 07/10/2013 09:37 AM, Hassan Schroeder wrote:

On Wed, Jul 10, 2013 at 5:36 AM, Tom Cloyd <tomcloydmsma@gmail.com> wrote:

1. lines 1-3: rvm is clearly not installed.

Untrue. All you can say from that is that the `rvm` command is either
not in your PATH or is not executable. The fact that the rvm install
says 'upgrading' is probably a clue :slight_smile:

Perhaps your .bashrc is broken, or simply not being sourced. Try
comparing with the system you say is working properly.

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA
Cedar City / St. George, Utah, U.S.A: (435) 272-3332
<< tc@tomcloyd.com >> (email) << TomCloyd.com >> (website)
<< Sleightmind.com >> (mental health issues weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks Stu. Now another spot in my vast sea of ignorance is flooded with light! Gotta love that...

Will definitely check out zsh, as well as rvmrc. I'm pretty sold on rvm, frankly. Looks like intelligence at work, which is what got me into ruby in the first place.

t.

···

On 08/15/2013 10:36 PM, Stu wrote:

Hi Tom

The Z shell aka zsh is the "last shell you'll ever need"... It's a Bourne compatible Korn shell clone with c shell emulation modes and very good tab completion mechanisms which exceeds tcsh tab completion. If your unsure what that is you can simply ignore it as rvm does not depend on it. If your interested in what rvm needs to enable it to function properly they have it well documented on it's main website. If you run into issues with rvm consider for the moment that it's merely a convenience tool. You have the freedom to grab the ruby sources and build your own binaries as well which by understanding how PATH works you can fully grasp how the environment functions as well as how to manipulate it towards your needs. None the less I would highly recommend looking into rvmrc for your projects which is one way that rvm helps with freezing ruby patch/versions for production.

~Stu

On Wed, Jul 10, 2013 at 7:36 AM, Tom Cloyd <tomcloydmsma@gmail.com > <mailto:tomcloydmsma@gmail.com>> wrote:

    2. lines 5-40: rvm is installed using the command Wayne S.
    suggests at the rvm website. The output line "RVM sourcing line
    not found for Zsh, run the installer with '--auto-dotfiles' to fix
    it." puzzles me. I've no idea what "Zsh" is, nor is it clear what
    "installer" he's referring to. I guess he's referring to the
    command that supposedly install rvm. On an early attempt to
    install it, I did try this:
    Tom

    --

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Tom Cloyd, MS MA
    Cedar City / St. George, Utah, U.S.A:(435) 272-3332 <tel:%28435%29%20272-3332>
    <<tc@tomcloyd.com <mailto:tc@tomcloyd.com> >> (email) << TomCloyd.com >> (website)
    << Sleightmind.com >> (mental health issues weblog)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA
Cedar City / St. George, Utah, U.S.A: (435) 272-3332
<< tc@tomcloyd.com >> (email) << TomCloyd.com >> (website)
<< Sleightmind.com >> (mental health issues weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Hi Tom

Gotta start somewhere. Ruby is a great general purpose language which
provides no limits to programming style which sets it apart from other
scripting languages, based on this fact, it empowers us. I was there at the
early and humble beginnings of rvm on irc. Wayne did a great job with it.

Have fun hacking ruby!

~Stu

···

On Thu, Aug 15, 2013 at 11:54 PM, Tom Cloyd <tomcloydmsma@gmail.com> wrote:

On 08/15/2013 10:36 PM, Stu wrote:

Hi Tom

The Z shell aka zsh is the "last shell you'll ever need"... It's a Bourne
compatible Korn shell clone with c shell emulation modes and very good tab
completion mechanisms which exceeds tcsh tab completion. If your unsure
what that is you can simply ignore it as rvm does not depend on it. If your
interested in what rvm needs to enable it to function properly they have it
well documented on it's main website. If you run into issues with rvm
consider for the moment that it's merely a convenience tool. You have the
freedom to grab the ruby sources and build your own binaries as well which
by understanding how PATH works you can fully grasp how the environment
functions as well as how to manipulate it towards your needs. None the less
I would highly recommend looking into rvmrc for your projects which is one
way that rvm helps with freezing ruby patch/versions for production.

~Stu

On Wed, Jul 10, 2013 at 7:36 AM, Tom Cloyd <tomcloydmsma@gmail.com> wrote:

2. lines 5-40: rvm is installed using the command Wayne S. suggests at
the rvm website. The output line "RVM sourcing line not found for Zsh, run
the installer with '--auto-dotfiles' to fix it." puzzles me. I've no idea
what "Zsh" is, nor is it clear what "installer" he's referring to. I guess
he's referring to the command that supposedly install rvm. On an early
attempt to install it, I did try this:
Tom

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA
Cedar City / St. George, Utah, U.S.A: (435) 272-3332
<< tc@tomcloyd.com >> (email) << TomCloyd.com >> (website)
<< Sleightmind.com >> (mental health issues weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Thanks Stu. Now another spot in my vast sea of ignorance is flooded
with light! Gotta love that...

Will definitely check out zsh, as well as rvmrc. I'm pretty sold on rvm,
frankly. Looks like intelligence at work, which is what got me into ruby in
the first place.

t.

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA
Cedar City / St. George, Utah, U.S.A: (435) 272-3332
<< tc@tomcloyd.com >> (email) << TomCloyd.com >> (website)
<< Sleightmind.com >> (mental health issues weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~