Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running commandline script #3

Open
chtenb opened this issue Jan 7, 2022 · 1 comment
Open

Error when running commandline script #3

chtenb opened this issue Jan 7, 2022 · 1 comment

Comments

@chtenb
Copy link

chtenb commented Jan 7, 2022

Hello

I tried running this gem as stated in the readme, but got the following error.

../syntaxes$ sublime_syntax_convertor purescript.json 
Traceback (most recent call last):
        3: from /usr/local/bin/sublime_syntax_convertor:23:in `<main>'
        2: from /usr/local/bin/sublime_syntax_convertor:23:in `load'
        1: from /var/lib/gems/2.7.0/gems/sublime_syntax_convertor-0.1.0/bin/sublime_syntax_convertor:3:in `<top (required)>'
/var/lib/gems/2.7.0/gems/sublime_syntax_convertor-0.1.0/bin/sublime_syntax_convertor:3:in `require_relative': cannot load such file -- /var/lib/gems/2.7.0/gems/sublime_syntax_convertor-0.1.0/lib/sublime_syntax_convertor (LoadError)

The grammar I'm trying to convert is from https://github.com/nwolverson/vscode-language-purescript

@0x326
Copy link

0x326 commented Jun 21, 2022

I get that error too after installing it globally with gem install sublime_syntax_convertor. As a quick fix, this worked for me:

git clone https://github.com/aziz/SublimeSyntaxConvertor
cd SublimeSyntaxConvertor/
./bin/sublime_syntax_convertor purescript.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants