`rake gitlab_status` should check pygments/rubypython
Created by: docwhat
rake gitlab_status
should do a check that pygments/rubypython works:
require 'pygments'
RubyPython.configure :python_exe => 'python'
Pygments::Lexer[:bash]
If that fails, then you have to add an initializer to point at the correct python. In my case I created config/initializers/rubypython.rb
:
# I have multiple pythons, this ensures the correct one is used for pygments.
RubyPython.configure :python_exe => '/usr/bin/python'
Ciao!