GithubHelp home page GithubHelp logo

Comments (18)

akzhan avatar akzhan commented on May 26, 2024

Try to use https://github.com/akzhan/pygments.rb to check is rubypython 0.6.1 helps to restore gollum on Travis.

This feature is in PR #26.

from pygments.rb.

bootstraponline avatar bootstraponline commented on May 26, 2024

Thanks for the pointer. I mentioned it on #360 and am testing your fork with gollum on travis now.

from pygments.rb.

bootstraponline avatar bootstraponline commented on May 26, 2024

Looks like it doesn't solve the problem. Pygments.rb should update to use the new rubypython anyway though.
http://travis-ci.org/#!/bootstraponline/gollum/jobs/1424169

I opened an issue on rubypython.
https://bitbucket.org/raineszm/rubypython/issue/14/rubypython-pyobject-ffi-nameerror

from pygments.rb.

akzhan avatar akzhan commented on May 26, 2024

It looks like this is RubyPython related issue.

Will create prq there (To use ::FFI instead of simply FFI).

from pygments.rb.

bootstraponline avatar bootstraponline commented on May 26, 2024

Thanks for submitting the pull request.

from pygments.rb.

akzhan avatar akzhan commented on May 26, 2024

@bootstraponline New version of the rubypython has been released. Is it helps?

from pygments.rb.

bootstraponline avatar bootstraponline commented on May 26, 2024

Thanks for letting me know. I'll try it and see.

from pygments.rb.

bootstraponline avatar bootstraponline commented on May 26, 2024

Doesn't seem to fix the bug. I tested using a forked version of your pygments.rb updated to use the new rubypython.

https://github.com/bootstraponline/pygments.rb

http://travis-ci.org/#!/bootstraponline/gollum/builds/1424930

from pygments.rb.

akzhan avatar akzhan commented on May 26, 2024

Strange.. I need to checkout gollum. Voodoo magic :)

from pygments.rb.

akzhan avatar akzhan commented on May 26, 2024

On my Debian bundle exec rake runs (with some fails) on ruby 1.9.3.

Will test on 1.8.7.

from pygments.rb.

bootstraponline avatar bootstraponline commented on May 26, 2024

Two tests will fail if you don't have asciidoc installed. sudo apt-get install -y asciidoc

from pygments.rb.

akzhan avatar akzhan commented on May 26, 2024

@bootstraponline There is another trouble - I cannot reproduce Travis error. Now installing REE (1.8.7) to test it.

from pygments.rb.

bootstraponline avatar bootstraponline commented on May 26, 2024

I have never been able to reproduce the travis error and I'm running the same environment (exact ruby version + Ubuntu 11.10).

from pygments.rb.

akzhan avatar akzhan commented on May 26, 2024

I should note that another project that uses Pygments of my fork and rubypython 0.6.1 successfully pass Travis.

https://secure.travis-ci.org/#!/gitlabhq/gitlabhq

from pygments.rb.

akzhan avatar akzhan commented on May 26, 2024

This is not trouble of Pygments.rb nor rubypython.

Try to look is anywhere 'ffi' ruby file redefined so 'ffi' gem simply not loaded?

Another solution - require 'ffi' in preinitializer and check for FFI module existence immediately.

And last - try to emulate Travis vagrant worker using their boxes and cookbooks.

from pygments.rb.

bootstraponline avatar bootstraponline commented on May 26, 2024

As far as I can tell ffi is not redefined and the ffi gem is loaded. Gollum worked perfectly on travis-ci until travis-ci updated their image. I tried require 'ffi' and that doesn't seem to have worked.

I downloaded the Travis ruby box and will try to reproduce the issue using that. Thanks for your help.

from pygments.rb.

akzhan avatar akzhan commented on May 26, 2024

Please close this issue :) Problem was solved, and was related to FFI/Travis.

from pygments.rb.

bootstraponline avatar bootstraponline commented on May 26, 2024

Fixed by uninstalling ffi.

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.