PhotoSwipeにチャレンジ http://photoswipe.com/
PhotoSwipeがgitリポジトリであることを確認
$ ls -a PhotoSwipe
git pull
でアップデート
$ cd PhotoSwipe
$ git pull
本家のHPを見て自分でBuildしようと思い、grunt
ではまる
$ npm install
$ grunt
Running "sass:dist" (sass) task
Running "autoprefixer:no_dest" (autoprefixer) task
>> 1 autoprefixed stylesheet created.
Running "pswpbuild:all" (pswpbuild) task
Your build is made of:framework-bridge,core,gestures,show-hide-transition,items-controller,tap,desktop-zoom,history
Running "uglify:my_target" (uglify) task
>> 2 files created.
Running "copy:dev" (copy) task
Created 2 directories, copied 12 files
Running "copy:main" (copy) task
Created 2 directories, copied 9 files
Running "jekyll:dev" (jekyll) task
`jekyll build --source website --destination _site --config /var/folders/rs/d1zv9_814rg5sq8r5ks07ss00000gn/T/_config.4473A656nrnGufeU.yml false local` was initiated.
Configuration file: /var/folders/rs/d1zv9_814rg5sq8r5ks07ss00000gn/T/_config.4473A656nrnGufeU.yml
Deprecation: Auto-regeneration can no longer be set from your configuration file(s). Use the --[no-]watch/-w command-line option instead.
Source: website
Destination: _site
Incremental build: disabled. Enable with --incremental
Generating...
Dependency Error: Yikes! It looks like you don't have redcarpet or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- redcarpet' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/!
Conversion error: Jekyll::Converters::Markdown encountered an error while converting '/documentation/api.md':
redcarpet
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
redcarpet
Warning: Deprecation: Auto-regeneration can no longer be set from your configuration file(s). Use the --[no-]watch/-w command-line option instead.
Dependency Error: Yikes! It looks like you don't have redcarpet or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- redcarpet' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/!
Conversion error: Jekyll::Converters::Markdown encountered an error while converting '/documentation/api.md':
redcarpet
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
redcarpet Used --force, continuing.
Warning: Task "jekyll:dev" failed. Used --force, continuing.
Done, but with warnings.
関連するモジュール類をとりあえず全部update
$ gem install rubygems-update
$ update_rubygems
$ gem install jekyll
$ sudo npm update -g
$ npm uninstall grunt -g
$ npm install grunt-cli -g
でもダメ。。。