rejahrehim / gulp-hologram

Generate Hologram style guides with Gulp
MIT License
16 stars 5 forks source link

An error occurs in the "rouge 1.9.1" #5

Open usagi-f opened 9 years ago

usagi-f commented 9 years ago

when i used the "rouge 1.9.1", an error occured.

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error in plugin 'gulp-hologram'
/Library/Ruby/Gems/2.0.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: already initialized constant Rouge::Lexers::Shell::KEYWORDS
/Library/Ruby/Gems/2.0.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:20: warning: previous definition of KEYWORDS was here
/Library/Ruby/Gems/2.0.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: already initialized constant Rouge::Lexers::Shell::BUILTINS
/Library/Ruby/Gems/2.0.0/gems/rouge-1.9.1/lib/rouge/lexers/shell.rb:25: warning: previous definition of BUILTINS was here

    at Socket.<anonymous> (/Users/....../....../node_modules/gulp-hologram/index.js:96:30)
    at Socket.emit (events.js:117:20)
    at _stream_readable.js:943:16
    at process._tickCallback (node.js:419:13)
MaikelGG commented 9 years ago

@usagi-f I had the same problem:

Then I changed the gemfile.lock to use this version. Worked for me.

Novak99 commented 8 years ago

Worked for me too. Thanks.