-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
macOS 10.15.3 - failing with "syntax error, unexpected $end, expecting ')'" #47
Comments
What Ruby version are you running? The default 2.6 that comes with macOS
10.15?
…-Brett
On 8 Feb 2020, at 9:51, Kevin Horton wrote:
Fresh install on macOS 10.15.3. Any attempt to run, including mdless
-h fails with:
`%mdless -h
/opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/lib/mdless/converter.rb:254:
warning: don't put space before argument parentheses
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require':
/opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/lib/mdless/converter.rb:254:
unknown type of %string (SyntaxError)
...h ('%3d: %s' % [idx + 1, c(%i[x black])+"."*level+c(%i[x yel...
^
/opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/lib/mdless/converter.rb:254:
syntax error, unexpected $end, expecting ')'
...h ('%3d: %s' % [idx + 1, c(%i[x black])+"."*level+c(%i[x yel...
^
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/lib/mdless.rb:11
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
from
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/bin/mdless:3
from /opt/local/bin/mdless:19:in `load'
from /opt/local/bin/mdless:19`
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#47
|
Thanks for the hint. It turned out that I had a forgotten gem in my path that called ruby1.8. I renamed that one to gem1.8, installed mdless again, and now it seems to work as expected.
Sorry for the noise.
… On Feb 8, 2020, at 2:46 PM, Brett Terpstra ***@***.***> wrote:
What Ruby version are you running? The default 2.6 that comes with macOS
10.15?
-Brett
On 8 Feb 2020, at 9:51, Kevin Horton wrote:
> Fresh install on macOS 10.15.3. Any attempt to run, including mdless
> -h fails with:
>
> `%mdless -h
>
> /opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/lib/mdless/converter.rb:254:
> warning: don't put space before argument parentheses
> /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require':
> /opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/lib/mdless/converter.rb:254:
> unknown type of %string (SyntaxError)
> ...h ('%3d: %s' % [idx + 1, c(%i[x black])+"."*level+c(%i[x yel...
> ^
> /opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/lib/mdless/converter.rb:254:
> syntax error, unexpected $end, expecting ')'
> ...h ('%3d: %s' % [idx + 1, c(%i[x black])+"."*level+c(%i[x yel...
> ^
> from
> /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
> from /opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/lib/mdless.rb:11
> from
> /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
> from
> /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
> from /opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/bin/mdless:3
> from /opt/local/bin/mdless:19:in `load'
> from /opt/local/bin/mdless:19`
>
> --
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly or view it on GitHub:
> #47
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#47?email_source=notifications&email_token=AAAS6ZG53M5Y55IRIHQJPVLRB4Y47A5CNFSM4KR3IG7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELF5PHI#issuecomment-583784349>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAS6ZADQZJN5ZEKFDURCA3RB4Y47ANCNFSM4KR3IG7A>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fresh install on macOS 10.15.3. Any attempt to run, including mdless -h fails with:
`%mdless -h
/opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/lib/mdless/converter.rb:254: warning: don't put space before argument parentheses
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require': /opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/lib/mdless/converter.rb:254: unknown type of %string (SyntaxError) ...h ('%3d: %s' % [idx + 1, c(%i[x black])+"."*level+c(%i[x yel... ^ /opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/lib/mdless/converter.rb:254: syntax error, unexpected $end, expecting ')' ...h ('%3d: %s' % [idx + 1, c(%i[x black])+"."*level+c(%i[x yel... ^ from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
require'from /opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/lib/mdless.rb:11
from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:31:in
require'from /opt/local/lib/ruby/gems/1.8/gems/mdless-1.0.10/bin/mdless:3
from /opt/local/bin/mdless:19:in
load' from /opt/local/bin/mdless:19
The text was updated successfully, but these errors were encountered: