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

Syntax Error when loading gem on Ruby 2.4.x #32

Open
vovimayhem opened this issue Dec 13, 2022 · 0 comments
Open

Syntax Error when loading gem on Ruby 2.4.x #32

vovimayhem opened this issue Dec 13, 2022 · 0 comments

Comments

@vovimayhem
Copy link
Contributor

When starting the app, the following error happens: on Ruby 2.4.5:

/usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:65:in `require': /usr/local/bundle/gems/on_container-0.0.17/lib/on_container/ops/service_connection_checks.rb:15: syntax error, unexpected keyword_rescue, expecting keyword_end (SyntaxError)
        rescue Errno::ECONNREFUSED
              ^
/usr/local/bundle/gems/on_container-0.0.17/lib/on_container/ops/service_connection_checks.rb:41: syntax error, unexpected keyword_end, expecting end-of-input
        from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:65:in `require'
        from /usr/local/bundle/gems/on_container-0.0.17/lib/on_container/dev/rails.rb:17:in `<top (required)>'
        from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:130:in `require'
        from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:130:in `rescue in require'
        from /usr/local/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:34:in `require'
        from bin/dev-entrypoint:5:in `<main>'
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

1 participant