Referencing the documentation for jekyll-import installation
Currently, there are only beta releases of the jekyll-import gem, so to install it, you have to do `gem install jekyll-import --pre`. Instead of giving instructions that don't work right now, reference the documentation. That way, this doesn't need to be updated again when jekyll-import has a non-beta version; just the documentation will need updating.
This commit is contained in:
parent
727a705d67
commit
f0d0cbf947
|
@ -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