设置网址后更改服务器地址

时间:2019-03-01 08:01:59

标签: jekyll github-pages

我运行了set-url,现在我不能再为我的页面提供服务了。 我仍然不确定这是否是原因

之前:服务器地址:http://127.0.0.1:4000 ->正常运行

现在:服务器地址:http://127.0.0.1:4000 /carlashub.github.io// ->已损坏

找不到

找不到错误'/'。

这是我要提供的命令:  捆绑执行官jekyll服务-观看--baseurl“”

我还试图从config.yml中删除基本URL并运行$ jekyll serve --baseurl'/'这是输出:

    HP@carlas MINGW64 /c/xampp/htdocs/carla201 (gh-pages)
WARN: Unresolved specs during Gem::Specification.reset:
      eventmachine (>= 0.12.9)
      listen (~> 3.0)
      rouge (< 4, >= 1.7)
      rb-fsevent (>= 0.9.4, ~> 0.9)
      rb-inotify (>= 0.9.7, ~> 0.9)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.16.2/lib/bundler/runtime.rb:313:in `check_for_activated_spec!': You have already activated public_suffix 3.0.3, but your Gemfile requires public_suffix 3.0.1. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
        from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.16.2/lib/bundler/runtime.rb:31:in `block in setup'
        from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.16.2/lib/bundler/runtime.rb:26:in `map'
        from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.16.2/lib/bundler/runtime.rb:26:in `setup'
        from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/bundler-1.16.2/lib/bundler.rb:107:in `setup'
        from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/jekyll-3.8.5/lib/jekyll/plugin_manager.rb:50:in `require_from_bundler'
        from C:/RailsInstaller/Ruby2.2.0/lib/ruby/gems/2.2.0/gems/jekyll-3.8.5/exe/jekyll:11:in `<top (required)>'
        from C:/RailsInstaller/Ruby2.2.0/bin/jekyll:23:in `load'
        from C:/RailsInstaller/Ruby2.2.0/bin/jekyll:23:in `<main>'

0 个答案:

没有答案