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

vendor/bin/carton bundle will overwrite itself with a non-functional fatpack (was: vendor/bin/carton does not have App::FatPacker) #152

Open
soh335 opened this issue Nov 12, 2013 · 3 comments

Comments

@soh335
Copy link

soh335 commented Nov 12, 2013

I use carton v1.0.12.

vendor/bin/carton generated by carton bundle command has App::Fatpacker

$ grep "App/FatPacker.pm" vendor/bin/carton #=> $fatpacked{"App/FatPacker.pm"} = <<'APP_FATPACKER';

but, re generated vendor/bin/carton by vendor/bin/carton bundle command does not have App::Fatpacker

$ grep "App/FatPacker.pm" vendor/bin/carton #=> empty
@miyagawa
Copy link
Contributor

Fatpack can't generate a fatpack. Use fully installed local carton to generate a fatpack.

a) bundle should only be used in development environment when you have a fully installed carton. If you run it on elsewhere you're doing it wrong.

b) If you ever want to run carton bundle with a fatpacked carton, and don't want it to overwrite itself, use --no-fatpack option.

@soh335
Copy link
Author

soh335 commented Nov 12, 2013

ok. thanks

@miyagawa
Copy link
Contributor

I will reopen the case to prevent it from overwriting the file by itself, if that's what you like to see.

@miyagawa miyagawa reopened this Nov 12, 2013
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

2 participants