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:
commit
372e096e7b
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue