GithubHelp home page GithubHelp logo

Comments (11)

tnm avatar tnm commented on May 23, 2024

Hi — This test case is being run against Ruby 1.8.5?

from pygments.rb.

bootstraponline avatar bootstraponline commented on May 23, 2024

@riddley says a custom-compiled ruby 1.9.3p0

from pygments.rb.

tnm avatar tnm commented on May 23, 2024

I'll look into it. Thanks for the report.

from pygments.rb.

 avatar commented on May 23, 2024

Happy to help in any way I can.

from pygments.rb.

tnm avatar tnm commented on May 23, 2024

@riddley — Can you let me know what version of python you are running on that machine?

from pygments.rb.

 avatar commented on May 23, 2024

Stock Centos 5.8 python 2.4.3

from pygments.rb.

tnm avatar tnm commented on May 23, 2024

Ah! That is almost certainly the problem. We've never tested against python 2.4.x, and tbh we don't really support it, although patches are most certainly welcome. Even having support for 2.5 was a bit of a stretch :)

Is there anyway you can bump to 2.5?

from pygments.rb.

 avatar commented on May 23, 2024

We're due to migrate gollum to a newer Debian host soon. This will surely grease the skids.

Thanks for the help guys. Above and beyond!

from pygments.rb.

tnm avatar tnm commented on May 23, 2024

Definitely, happy to help :)

from pygments.rb.

bootstraponline avatar bootstraponline commented on May 23, 2024

Thanks for the quick response @tnm. I'm closing this as won't fix but patches welcome. I've sent a pull request to add system requirements to the readme.

from pygments.rb.

VoldemarLeGrand avatar VoldemarLeGrand commented on May 23, 2024

In my case the problem was due to broken installation of alternative Python 2.6 on RHEL 5: the installer created executables python and python2.6 but not python2. Latter still point to old system version 2.4. All 3 executables were declared in $PATH: 2.6 directory with python and python2.6 first and then system directory /usr/bin with python2. So python command launch Python 2.6 while python2 launch system Python 2.4.

But actually popen.rb search for executable named python2 to launch mentos process. So in my case the old version was used despite correct version of Python was in the $PATH.

Workaround is to create virtualenv directory with all 3 possible executables.

Hope this can help someone.

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.