Giter VIP home page Giter VIP logo

Comments (5)

rschuetzler avatar rschuetzler commented on June 30, 2024 1

Similarly, I receive the following error when trying to install on Windows.

Errno::EACCES: Permission denied @ rb_file_s_symlink -
(vendor/pygments-main/scripts/debug_lexer.py,
C:/Ruby23/lib/ruby/gems/2.3.0/gems/pygments.rb-1.1.1/vendor/pygments-main/scripts/find_error.py)
An error occurred while installing pygments.rb (1.1.1), and Bundler cannot
continue.
Make sure that `gem install pygments.rb -v '1.1.1'` succeeds before bundling.

from pygments.rb.

miltador avatar miltador commented on June 30, 2024

Same with 1.1.2. find_error.py was supposed to be excluded as it is a symlink and @mojavelinux (#177) fixed it. I tested his fix manually under Linux and it worked. Maybe author used another OS (MacOS e.g.) where that find ... command doesn't work? Anyway vendor/pygments-main/scripts/find_error.py wasn't supposed to be in resulting gem.

cc @tmm1, @gfx

from pygments.rb.

gfx avatar gfx commented on June 30, 2024

Can you try v1.2.0? It excludes symlinks without using find(1).

from pygments.rb.

miltador avatar miltador commented on June 30, 2024

1.2.0 installed successfully on Windows. Thanks for the fix!

from pygments.rb.

slonopotamus avatar slonopotamus commented on June 30, 2024

I believe, this issue should be closed as fixed.

from pygments.rb.

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.