Comments (18)
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.
Thanks for the pointer. I mentioned it on #360 and am testing your fork with gollum on travis now.
from pygments.rb.
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.
It looks like this is RubyPython related issue.
Will create prq there (To use ::FFI instead of simply FFI).
from pygments.rb.
Thanks for submitting the pull request.
from pygments.rb.
@bootstraponline New version of the rubypython has been released. Is it helps?
from pygments.rb.
Thanks for letting me know. I'll try it and see.
from pygments.rb.
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.
Strange.. I need to checkout gollum. Voodoo magic :)
from pygments.rb.
On my Debian bundle exec rake
runs (with some fails) on ruby 1.9.3.
Will test on 1.8.7.
from pygments.rb.
Two tests will fail if you don't have asciidoc installed. sudo apt-get install -y asciidoc
from pygments.rb.
@bootstraponline There is another trouble - I cannot reproduce Travis error. Now installing REE (1.8.7) to test it.
from pygments.rb.
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.
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.
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.
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.
Please close this issue :) Problem was solved, and was related to FFI/Travis.
from pygments.rb.
Fixed by uninstalling ffi.
from pygments.rb.
Related Issues (20)
- Broken symlink in gem (find_error.py) HOT 8
- github.py is included in pygments-main HOT 2
- Possibility to add a custom lexer HOT 8
- Liquid Exception in markdown format HOT 1
- Reanimate JRuby CI
- Raku support HOT 1
- support pygments >= 2.7.1 HOT 1
- Becoming a maintainer HOT 6
- Set up Rubocop lint checking in CI
- Race condition between watchdog/main thread leads to "Thread killed" on JRuby
- Old-fashioned questions
- Add an API to query underlying Pygments version
- undefined method 'create' HOT 4
- Tests break against python3-pygments (=2.10.0+dfsg-1) HOT 2
- env: python: No such file or directory HOT 2
- Broken pipe error in Mentos HOT 19
- Update pygments to 2.14.0
- Virtual environment Pythons are ignored on Windows
- `guess()` from Ruby HOT 1
- Update Pygments HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygments.rb.