perl - Why is morbo not found after installing mojolicious? -


i have installed mojolicious following commands

$ sudo su # curl get.mojolici.us | sh 

unfortunately, when run morbo test app, given error stating command not found. ran

cpan install mojolicious 

and gives me following output

reading '/home/lucas/.cpan/metadata'   database generated on sun, 06 oct 2013 19:07:27 gmt mojolicious date (4.45). 

why morbo not work? have tried using hypnotoad well, not work either.

cpan-installed binaries end in different location, subject distribution , install method. example, on machine location is:

/usr/bin/site_perl/morbo 

in .bashrc have:

export path="/usr/bin/site_perl:$path" 

if add , log out , in (or type . .bashrc) you'll find command morbo works fine.

if it's in different location, run updatedb (as root, if needed) , locate morbo find out is, , add appropriate path bash/shell config.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -