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

Cannot beautify Ruby because of Rubocop GLIBC not found? #2602

Open
ForkedInTime opened this issue Jan 5, 2022 · 1 comment
Open

Cannot beautify Ruby because of Rubocop GLIBC not found? #2602

ForkedInTime opened this issue Jan 5, 2022 · 1 comment

Comments

@ForkedInTime
Copy link

ForkedInTime commented Jan 5, 2022

Description

The results of beautification are not what I expect.

Input Before Beautification

Beautification works on any other language except Ruby 2.7.4. or Ruby 3.0.3

Expected Output

Should be able to beautify Ruby ok.

Actual Output

The beautified code actually looked like this:

/home/yeti/.rbenv/versions/3.0.3/bin/ruby: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/yeti/.rbenv/versions/3.0.3/bin/ruby)
/home/yeti/.rbenv/versions/3.0.3/bin/ruby: /usr/lib/x86_64-linux-gnu/libcrypt.so.1: version `XCRYPT_2.0' not found (required by /home/yeti/.rbenv/versions/3.0.3/lib/libruby.so.3.0)
/home/yeti/.rbenv/versions/3.0.3/bin/ruby: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/yeti/.rbenv/versions/3.0.3/lib/libruby.so.3.0)
/home/yeti/.rbenv/versions/3.0.3/bin/ruby: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/yeti/.rbenv/versions/3.0.3/lib/libruby.so.3.0)
/home/yeti/.rbenv/versions/3.0.3/bin/ruby: /usr/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/yeti/.rbenv/versions/3.0.3/lib/libruby.so.3.0)

Glibc-source installed ok:

➜ CodeSchool (master) sudo apt install glibc-source ✭ ✈ ✱[🐲 bloombino]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
glibc-source is already the newest version (2.34-0ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
➜ CodeSchool (master)

Steps to Reproduce

  1. Add code to Atom editor
  2. Run command Atom Beautify: Beautify Editor
  3. This beautified code does not look right!
  4. Tried different versions of Ruby: 2.7.4 && 3.0.3

Debug

Here is a link to the debug.md Gist: https://gist.github.com/Biledaemon/a067a06bfb75794da0f2451ca6330e36)

Checklist

I have:

  • [ x] Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
  • [ x] Reloaded (or restarted) Atom to ensure it is not a caching issue
  • [ x] Searched through existing Atom Beautify Issues at https://github.com/Glavin001/atom-beautify/issues
    so I know this is not a duplicate issue
  • [ x] Filled out the Input, Expected, and Actual sections above or have edited/removed them in a way that fully describes the issue.
  • [ x] Generated debugging information by executing Atom Beautify: Help Debug Editor command in Atom and added link for debug.md Gist to this issue
@SilentGlasses
Copy link

If you still need this and are looking for something to fill the spot that Atom left, I am using Pulsar the successor to Atom... This package is working except for one deprecated error listed in #2605

If you don't need this anymore, can you please close this out so it's not just sitting there? Thanks

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