Code Monkey home page Code Monkey logo

Comments (4)

mattr- avatar mattr- commented on September 2, 2024

Did you add the gem to the gems array in your _config.yml according to http://jekyllrb.com/docs/plugins/ ?

from jekyll-redirect-from.

akoeplinger avatar akoeplinger commented on September 2, 2024

Yes.
I'm using the gem through the github-pages gem if that makes any difference.

from jekyll-redirect-from.

akoeplinger avatar akoeplinger commented on September 2, 2024

The gem does run on GH pages however with safe:true, so there seems to be something different locally. Here's my Gemfile.lock:

  remote: https://rubygems.org/
  specs:
    RedCloth (4.2.9)
    activesupport (4.0.4)
      i18n (~> 0.6, >= 0.6.9)
      minitest (~> 4.2)
      multi_json (~> 1.3)
      thread_safe (~> 0.1)
      tzinfo (~> 0.3.37)
    atomic (1.1.15)
    blankslate (2.1.2.4)
    classifier (1.3.4)
      fast-stemmer (>= 1.0.0)
    colorator (0.1)
    commander (4.1.6)
      highline (~> 1.6.11)
    fast-stemmer (1.0.2)
    ffi (1.9.3)
    gemoji (1.5.0)
    github-pages (16)
      RedCloth (= 4.2.9)
      jekyll (= 1.4.3)
      jekyll-mentions (= 0.0.5)
      jekyll-redirect-from (= 0.3.1)
      jemoji (= 0.0.10)
      kramdown (= 1.3.1)
      liquid (= 2.5.5)
      maruku (= 0.7.0)
      rdiscount (= 2.1.7)
      redcarpet (= 2.3.0)
    highline (1.6.21)
    html-pipeline (1.5.0)
      activesupport (>= 2)
      nokogiri (~> 1.4)
    i18n (0.6.9)
    jekyll (1.4.3)
      classifier (~> 1.3)
      colorator (~> 0.1)
      commander (~> 4.1.3)
      liquid (~> 2.5.5)
      listen (~> 1.3)
      maruku (~> 0.7.0)
      pygments.rb (~> 0.5.0)
      redcarpet (~> 2.3.0)
      safe_yaml (~> 0.9.7)
      toml (~> 0.1.0)
    jekyll-mentions (0.0.5)
      html-pipeline (~> 1.5.0)
      jekyll (~> 1.4.3)
    jekyll-redirect-from (0.3.1)
      jekyll (~> 1.4)
    jemoji (0.0.10)
      gemoji (~> 1.5.0)
      html-pipeline (~> 1.5.0)
      jekyll (~> 1.4.3)
    kramdown (1.3.1)
    liquid (2.5.5)
    listen (1.3.1)
      rb-fsevent (>= 0.9.3)
      rb-inotify (>= 0.9)
      rb-kqueue (>= 0.2)
    maruku (0.7.0)
    mini_portile (0.5.2)
    minitest (4.7.5)
    multi_json (1.9.0)
    nokogiri (1.6.1)
      mini_portile (~> 0.5.0)
    parslet (1.5.0)
      blankslate (~> 2.0)
    posix-spawn (0.3.8)
    pygments.rb (0.5.4)
      posix-spawn (~> 0.3.6)
      yajl-ruby (~> 1.1.0)
    rb-fsevent (0.9.4)
    rb-inotify (0.9.3)
      ffi (>= 0.5.0)
    rb-kqueue (0.2.2)
      ffi (>= 0.5.0)
    rdiscount (2.1.7)
    redcarpet (2.3.0)
    safe_yaml (0.9.7)
    thread_safe (0.2.0)
      atomic (>= 1.1.7, < 2)
    toml (0.1.1)
      parslet (~> 1.5.0)
    tzinfo (0.3.39)
    yajl-ruby (1.1.0)

PLATFORMS
  ruby

DEPENDENCIES
  github-pages

from jekyll-redirect-from.

mattr- avatar mattr- commented on September 2, 2024

My guess is that they backported the gem whitelist feature from the upcoming 2.0.0 or did something otherwise different within the Pages infrastructure to make this work. For now, just run without safe: true in your _config.yml as a workaround until Jekyll 2.0.0 is released.

from jekyll-redirect-from.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.