Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install-cpanm doesn't seem to install cpanm "binary"? #65

Closed
smithfarm opened this issue Jul 8, 2014 · 2 comments
Closed

install-cpanm doesn't seem to install cpanm "binary"? #65

smithfarm opened this issue Jul 8, 2014 · 2 comments

Comments

@smithfarm
Copy link

When I run 'plenv install-cpanm' it downloads something and then says: "App::cpanminus is up to date. (1.7004)"

However, when I attempt "cpanm Carton" it finds no 'cpanm' in my $PATH. Shouldn't "plenv install-cpanm" install the 'cpanm' "binary" in ~/.plenv/bin ??

@tokuhirom
Copy link
Owner

plenv install-cpanm installs cpanm into each perl binary directory like following:

/Users/tokuhirom/.plenv/versions/5.18.1/bin/cpanm
/Users/tokuhirom/.plenv/versions/5.19.11/bin/cpanm
/Users/tokuhirom/.plenv/versions/5.19.3/bin/cpanm

@miyagawa
Copy link
Collaborator

miyagawa commented Jul 9, 2014

cpanm executable should be in ~/.plenv/shims. You should probably run plenv rehash if that's not the case, and make sure you have ~/.plenv/shims in your $PATH.

@miyagawa miyagawa closed this as completed Jul 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants