4

私のブログは Jekyll Bootstrap に基づいており、最近 Windows 10 で新しいマシンをセットアップしました。

テストのためにローカル マシンでサーバーを起動すると、Gemfile に何かを追加する必要があると表示されます。

$ jekyll serve -w
Configuration file: C:/Users/mark/Documents/ploeh/Blog/_config.yml
            Source: C:/Users/mark/Documents/ploeh/Blog
       Destination: C:/Users/mark/Documents/ploeh/Blog/_site
      Generating...
                    done.
  Please add the following to your Gemfile to avoid polling for changes:
    gem 'wdm', '>= 0.1.0' if Gem.win_platform?
 Auto-regeneration: enabled for 'C:/Users/mark/Documents/ploeh/Blog'
Configuration file: C:/Users/mark/Documents/ploeh/Blog/_config.yml
    Server address: http://127.0.0.1:4000/
  Server running... press ctrl-c to stop.

ご覧のとおり、Gemfile に行を追加するように指示されています。残念ながら、私はすでにそれを試しましたが、違いはないようです:

$ cat Gemfile
gem 'wdm', '>= 0.1.0' if Gem.win_platform?
source 'https://rubygems.org'

ご覧のとおり、問題の行は既に Gemfile に含まれています。

Gemfile 内で移動しても違いはありません。

source 'https://rubygems.org'
gem 'wdm', '>= 0.1.0' if Gem.win_platform?

なぜこれを言っているのですか?気にする必要がありますか?気にする必要がある場合、どうすれば問題を解決できますか?

重要な場合は、これが私の Ruby バージョンです。

$ ruby --version
ruby 2.2.2p95 (2015-04-13 revision 50295) [x64-mingw32]

その他のバージョン情報:

$ gem list

*** LOCAL GEMS ***

bigdecimal (1.2.6)
blankslate (2.1.2.4)
celluloid (0.16.0)
classifier-reborn (2.0.3)
coffee-script (2.4.1)
coffee-script-source (1.9.1.1)
colorator (0.1)
execjs (2.6.0)
fast-stemmer (1.0.2)
ffi (1.9.10 x64-mingw32)
hitimes (1.2.2)
io-console (0.4.3)
jekyll (2.5.3)
jekyll-coffeescript (1.0.1)
jekyll-gist (1.3.4)
jekyll-paginate (1.1.0)
jekyll-sass-converter (1.3.0)
jekyll-watch (1.2.1)
json (1.8.1)
kramdown (1.8.0)
liquid (2.6.3)
listen (2.10.1)
mercenary (0.3.5)
minitest (5.4.3)
parslet (1.5.0)
posix-spawn (0.3.11)
power_assert (0.2.2)
psych (2.0.8)
pygments.rb (0.6.3)
rake (10.4.2)
rb-fsevent (0.9.6)
rb-inotify (0.9.5)
rdoc (4.2.0)
redcarpet (3.3.2)
safe_yaml (1.0.4)
sass (3.4.18)
test-unit (3.0.8)
timers (4.0.4)
toml (0.1.2)
yajl-ruby (1.2.1)
4

1 に答える 1