Merge pull request #1662 from carols10cents/fix-import-error-message

Add `--pre` to the recommended command to install jekyll-import.
This commit is contained in:
Matt Rogers 2013-10-28 20:36:37 -07:00
commit 372e096e7b
1 changed files with 1 additions and 2 deletions

View File

@ -149,8 +149,7 @@ command :import do |c|
require 'jekyll-import' require 'jekyll-import'
rescue LoadError rescue LoadError
msg = "You must install the 'jekyll-import' gem before continuing.\n" msg = "You must install the 'jekyll-import' gem before continuing.\n"
msg += "* Do this by running `gem install jekyll-import`.\n" msg += "* Please see the documentation at http://jekyllrb.com/docs/migrations/ for instructions.\n"
msg += "* Or if you need root privileges, run `sudo gem install jekyll-import`."
abort msg abort msg
end end
Jekyll::Commands::Import.process(args.first, options) Jekyll::Commands::Import.process(args.first, options)