Comment 1 for bug 1292680

Revision history for this message
Dave Cheney (dave-cheney) wrote : Re: [Bug 1292680] [NEW] RVM fails install hook on first run 100% of the time

Oh the irony, rvm, the tool that helps you manage multiple versions of ruby
needs your assistance to manage itself.

On Sat, Mar 15, 2014 at 6:36 AM, Charles Butler <
<email address hidden>> wrote:

> Public bug reported:
>
> RVM is returning an exit code of 1, and this appears to be a recent'ish
> change to the RVM tree.
>
>
> sample snip from debug-log
>
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install Installation of RVM in
> /usr/local/rvm/ is almost complete:
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install * First you need to
> add all users that will be using rvm to 'rvm' group,
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install and logout - login
> again, anyone using rvm will be operating with `umask u=rwx,g=rwx,o=rx`.
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install * To start using RVM
> you need to run `source /etc/profile.d/rvm.sh`
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install in all your open
> shell windows, in rare cases you need to reopen all shell windows.
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install # Administrator,
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install #
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install # Thank you for
> using RVM!
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install # We sincerely hope
> that RVM helps to make your life easier and more enjoyable!!!
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install #
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install # ~Wayne, Michal &
> team.
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install
> unit-sample-app-0: 2014-03-14 19:22:07 INFO install In case of problems:
> http://rvm.io/help and https://twitter.com/rvm_io
> unit-sample-app-0: 2014-03-14 19:22:08 ERROR juju.worker.uniter
> uniter.go:480 hook failed: exit status 1
>
> ** Affects: rails (Juju Charms Collection)
> Importance: Critical
> Assignee: charmers (charmers)
> Status: New
>
>
> ** Tags: audit
>
> --
> You received this bug notification because you are a member of charmers,
> which is a bug assignee.
> https://bugs.launchpad.net/bugs/1292680
>
> Title:
> RVM fails install hook on first run 100% of the time
>
> Status in "rails" package in Juju Charms Collection:
> New
>
> Bug description:
> RVM is returning an exit code of 1, and this appears to be a
> recent'ish change to the RVM tree.
>
>
> sample snip from debug-log
>
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install Installation of RVM
> in /usr/local/rvm/ is almost complete:
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install * First you need
> to add all users that will be using rvm to 'rvm' group,
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install and logout -
> login again, anyone using rvm will be operating with `umask
> u=rwx,g=rwx,o=rx`.
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install * To start using
> RVM you need to run `source /etc/profile.d/rvm.sh`
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install in all your open
> shell windows, in rare cases you need to reopen all shell windows.
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install # Administrator,
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install #
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install # Thank you for
> using RVM!
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install # We sincerely
> hope that RVM helps to make your life easier and more enjoyable!!!
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install #
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install # ~Wayne, Michal &
> team.
> unit-sample-app-0: 2014-03-14 19:22:06 INFO install
> unit-sample-app-0: 2014-03-14 19:22:07 INFO install In case of problems:
> http://rvm.io/help and https://twitter.com/rvm_io
> unit-sample-app-0: 2014-03-14 19:22:08 ERROR juju.worker.uniter
> uniter.go:480 hook failed: exit status 1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/charms/+source/rails/+bug/1292680/+subscriptions
>