代码之家  ›  专栏  ›  技术社区  ›  Carla Goncalves

设置URL后服务器地址已更改

  •  0
  • Carla Goncalves  · 技术社区  · 6 年前

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

    之前: 服务器地址: http://127.0.0.1:4000 -它正在工作

    现在: 服务器地址: http://127.0.0.1:4000 /卡拉舒布.github.io// -断裂

    找不到错误“/”。

    这是我要执行的命令: bundle exec jekyll serve--watch--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 回复  |  直到 6 年前