RVM fails install hook on first run 100% of the time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rails (Juju Charms Collection) |
Invalid
|
Critical
|
charmers |
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.
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://
unit-sample-app-0: 2014-03-14 19:22:08 ERROR juju.worker.uniter uniter.go:480 hook failed: exit status 1
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: d/rvm.sh` rvm.io/ help and https:/ /twitter. com/rvm_ io /bugs.launchpad .net/bugs/ 1292680
>
> 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.
> 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://
> 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:/
>
> 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 ...