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

rbeautify keep crashing #202

Closed
melalj opened this issue Feb 4, 2015 · 1 comment
Closed

rbeautify keep crashing #202

melalj opened this issue Feb 4, 2015 · 1 comment
Assignees
Milestone

Comments

@melalj
Copy link

melalj commented Feb 4, 2015

I have installed rube-beautify using sudo gem install ruby-beautify

Is ruby-beautify really buggy and unsupported project?
#25

Keep getting this error message:

Command failed: /bin/sh -c [ -f ~/.bash_profile ] && source ~/.bash_profile;[ -f ~/.bashrc ] && source ~/.bashrc;rbeautify "/var/folders/pl/1m6gyp_11hsc43hljhf0_hh00000gn/T/input11513-38729-xhr9t6" /Library/Ruby/Gems/2.0.0/gems/ruby-beautify-0.97.1/lib/ruby-beautify.rb:152:in indented_line': invalid byte sequence in US-ASCII (ArgumentError) from /Library/Ruby/Gems/2.0.0/gems/ruby-beautify-0.97.1/lib/ruby-beautify.rb:38:inblock in pretty_string' from /Library/Ruby/Gems/2.0.0/gems/ruby-beautify-0.97.1/lib/ruby-beautify.rb:27:in each' from /Library/Ruby/Gems/2.0.0/gems/ruby-beautify-0.97.1/lib/ruby-beautify.rb:27:inpretty_string' from /Library/Ruby/Gems/2.0.0/gems/ruby-beautify-0.97.1/bin/rbeautify:24:in print_or_die' from /Library/Ruby/Gems/2.0.0/gems/ruby-beautify-0.97.1/bin/rbeautify:57:inblock in <top (required)>' from /Library/Ruby/Gems/2.0.0/gems/ruby-beautify-0.97.1/bin/rbeautify:36:in each' from /Library/Ruby/Gems/2.0.0/gems/ruby-beautify-0.97.1/bin/rbeautify:36:in<top (required)>' from /usr/bin/rbeautify:23:in load' from /usr/bin/rbeautify:23:in

'

@Glavin001
Copy link
Owner

Switching over to Rubocop is the next release (v0.25.0). That should fix this up for you. See #275

@Glavin001 Glavin001 added this to the v1.0.0 milestone May 3, 2015
@Glavin001 Glavin001 self-assigned this May 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants