How to upgrade Mojolicious::Lite using cpanm

290 views
Skip to first unread message

Rob Willett

unread,
Apr 19, 2017, 4:29:20 PM4/19/17
to Mojolicious
Hi,

I'm sure this is easy but I can't find a way to upgrade my cpnam installation of Mojolicious::Lite from 

CORE
  Perl        (v5.18.2, linux)
  Mojolicious (7.01, Doughnut)

OPTIONAL
  EV 4.0+                 (n/a)
  IO::Socket::Socks 0.64+ (n/a)
  IO::Socket::SSL 1.94+   (n/a)
  Net::DNS::Native 0.15+  (n/a)

You might want to update your Mojolicious to 7.30!

to a later version.

We are running 7.2.4 on another machine and we want to get all the machines aligned on the same software level as we have found that 7.24 has a bug fix that 7.01 doesn't have. 

So far trying to reinstall using 

sudo cpanm Mojolicious::Lite
Mojolicious::Lite is up to date. (undef)

doesn't work. 

also 
sudo cpanm -i Mojolicious::Lite

doesn't work 

Do we have to uninstall and reinstall?  We are nervous as we will have to do this on a production machine so we want to test and retest.

We've spent a long time Googling and reading and apart from a comment about using githib we can't find a single document describing the upgrade process. 

Any pointers welcomed.

Thanks.
Rob

Stefan Adams

unread,
Apr 19, 2017, 4:30:33 PM4/19/17
to mojolicious

On Wed, Apr 19, 2017 at 3:29 PM, 'Rob Willett' via Mojolicious <mojol...@googlegroups.com> wrote:
sudo cpanm Mojolicious

Just do: sudo cpanm Mojolicious

Rob Willett

unread,
Apr 19, 2017, 4:33:17 PM4/19/17
to Mojolicious
Ah! 

We thought we had to do it on Mojolicious::Lite as thats what we installed. 

We even went back to our notes and checked our installation scripts and we do

cpanm Mojolicious::Lite

Thanks, just done it and it claims its now 7.30. We'll test this and see if it works.

Best wishes

Rob 

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+unsubscribe@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Stefan Adams

unread,
Apr 19, 2017, 4:37:05 PM4/19/17
to mojolicious

On Wed, Apr 19, 2017 at 3:33 PM, 'Rob Willett' via Mojolicious <mojol...@googlegroups.com> wrote:
Thanks, just done it and it claims its now 7.30. We'll test this and see if it works.

:D  Mojolicious is the distribution.  Everything core Mojo::* and Mojolicious::* is in there.  Mojolicious::Lite is just a wrapper that uses Mojolicious.

package Mojolicious::Lite;
use Mojo::Base 'Mojolicious';

Rob Willett

unread,
Apr 19, 2017, 4:39:54 PM4/19/17
to Mojolicious
We hadn't appreciated that Mojolicious::Lite is just a wrapper that uses Mojolicious. is just a wrapper. 

We've upgraded and will run some tests.

Thanks for the prompt help,

Rob

--
Reply all
Reply to author
Forward
0 new messages