際際滷

際際滷Share a Scribd company logo
Carton
                について採かす
              2013/02/27 CartonConference
                       @ikasam_a




13定2埖27晩邦袗晩
Recent Status

              ? cpanm 1.6000 released
              ? carton v0.9.10 released
              ? miyagawa++


13定2埖27晩邦袗晩
Carton は
              Bundler を Perl に卞峅したもの




13定2埖27晩邦袗晩
書晩のネタ


              ? http://gembundler.com/v1.2/commands.html
              ? http://gembundler.com/v1.2/gem?le.html


13定2埖27晩邦袗晩
PRIMARY COMMANDS
    bundle install(1) bundle-install.1.html
        Install the gems speci?ed by the Gem?le or Gem?le.lock

       bundle update(1) bundle-update.1.html
           Update dependencies to their latest versions

       bundle package(1) bundle-package.1.html
           Package the .gem ?les required by your application into the
           vendor/cache directory

       bundle exec(1) bundle-exec.1.html
           Execute a script in the context of the current bundle

       bundle con?g(1) bundle-con?g.1.html
           Specify and read con?guration options for bundler

13定2埖27晩邦袗晩
bundle install
              ? carton install
              ? --deployment
              ? --path=<path>
              ? create Gem?le.lock (carton.lock)
              ? --local (--cache)
               ? <system>/gems/ (./local/)
13定2埖27晩邦袗晩
bundle update


              ? carton update
              ? bundle update <gems>


13定2埖27晩邦袗晩
bundle package

              ? carton bundle
              ? install (lock) and copy
              ? save to vendor/cache (local/cache)


13定2埖27晩邦袗晩
bundle exec

              ? carton exec
              ? run <command>
              ? -I<lib>
              ? -- <command>

13定2埖27晩邦袗晩
bundle con?g

              ? 聞ったことoいから岑らない
               ? build option とか峺協できるらしい
                by あんちぽさん

              ? 勣るの

13定2埖27晩邦袗晩
Gem?le

              ? source <repository>
              ? gem <name>, <version>
              ? gem <name>,
                  :git => <url>, :branch => <branch>
              ? gem <name>, :path => <path>

13定2埖27晩邦袗晩
cpan?le

              ? use CPAN mirror ???
              ? requires ^name ̄, ^version ̄;
              ? requires ^name ̄,
                   via => ^git-url ̄, branch => ^branch ̄;
              ? requires ^name ̄, via => ^path ̄;

13定2埖27晩邦袗晩
Carton に謹蛍oいもの

              ? carton update
              ? install from git, or local
               ? cpanm is ready (1.6000)
              ? do not override ^local/cache ̄
               ? Bundler: vendor/cache, vendor/bundle
              ? correct mirror cache w/ local modules
13定2埖27晩邦袗晩
おわりに


              ? ちなみにWの噸粁旋喘バ`ジョン
               ? cpanm (App::cpanminus) version 1.5019
               ? carton v0.9.4
              ? bundle g廾して聞い竃してそのまま

13定2埖27晩邦袗晩

More Related Content

Carton について採かす

  • 1. Carton について採かす 2013/02/27 CartonConference @ikasam_a 13定2埖27晩邦袗晩
  • 2. Recent Status ? cpanm 1.6000 released ? carton v0.9.10 released ? miyagawa++ 13定2埖27晩邦袗晩
  • 3. Carton は Bundler を Perl に卞峅したもの 13定2埖27晩邦袗晩
  • 4. 書晩のネタ ? http://gembundler.com/v1.2/commands.html ? http://gembundler.com/v1.2/gem?le.html 13定2埖27晩邦袗晩
  • 5. PRIMARY COMMANDS bundle install(1) bundle-install.1.html Install the gems speci?ed by the Gem?le or Gem?le.lock bundle update(1) bundle-update.1.html Update dependencies to their latest versions bundle package(1) bundle-package.1.html Package the .gem ?les required by your application into the vendor/cache directory bundle exec(1) bundle-exec.1.html Execute a script in the context of the current bundle bundle con?g(1) bundle-con?g.1.html Specify and read con?guration options for bundler 13定2埖27晩邦袗晩
  • 6. bundle install ? carton install ? --deployment ? --path=<path> ? create Gem?le.lock (carton.lock) ? --local (--cache) ? <system>/gems/ (./local/) 13定2埖27晩邦袗晩
  • 7. bundle update ? carton update ? bundle update <gems> 13定2埖27晩邦袗晩
  • 8. bundle package ? carton bundle ? install (lock) and copy ? save to vendor/cache (local/cache) 13定2埖27晩邦袗晩
  • 9. bundle exec ? carton exec ? run <command> ? -I<lib> ? -- <command> 13定2埖27晩邦袗晩
  • 10. bundle con?g ? 聞ったことoいから岑らない ? build option とか峺協できるらしい by あんちぽさん ? 勣るの 13定2埖27晩邦袗晩
  • 11. Gem?le ? source <repository> ? gem <name>, <version> ? gem <name>, :git => <url>, :branch => <branch> ? gem <name>, :path => <path> 13定2埖27晩邦袗晩
  • 12. cpan?le ? use CPAN mirror ??? ? requires ^name ̄, ^version ̄; ? requires ^name ̄, via => ^git-url ̄, branch => ^branch ̄; ? requires ^name ̄, via => ^path ̄; 13定2埖27晩邦袗晩
  • 13. Carton に謹蛍oいもの ? carton update ? install from git, or local ? cpanm is ready (1.6000) ? do not override ^local/cache ̄ ? Bundler: vendor/cache, vendor/bundle ? correct mirror cache w/ local modules 13定2埖27晩邦袗晩
  • 14. おわりに ? ちなみにWの噸粁旋喘バ`ジョン ? cpanm (App::cpanminus) version 1.5019 ? carton v0.9.4 ? bundle g廾して聞い竃してそのまま 13定2埖27晩邦袗晩