Comments (11)
Does this happen in every file? Can you post a small file that creates this behavior? I'll have to track down a version of Windows to test this.
from beautifyruby.
I have the same problem. I'm on Windows 7. It happens in every file. Here's a very simple example:
class ApplicationController < ActionController::Base
protect_from_forgery
end
from beautifyruby.
This issue is also happening on Linux (Ubuntu).
File content is getting deleted for every file.
from beautifyruby.
Happens for me too. ST2 v2181, installed BeautifyRuby a couple of minutes ago via PackageControl.
from beautifyruby.
Same with me. On Vista.
from beautifyruby.
Me too, Ubuntu :)
from beautifyruby.
Same, XP. Still no word on this?
from beautifyruby.
Sorry this is taking so long. I have been moving to a new home but will get back on it this weekend.
from beautifyruby.
+1, windows 7.
from beautifyruby.
This appears to be an issue of the path to Ruby being incorrect for the OS. On OS X and Linux, '/usr/bin/env ruby' appears to work fine and should fix this issue on Linux. #6f8f13155435f7.
I haven't used Windows for over 15 years so if someone has a good way of targeting Ruby on Windows please let me know.
from beautifyruby.
Thanks to @eka (Esteban Feldman), this issue is now resolved. See #6b9b563b3eff8c567ae651036be049e17106da49
You can now set the interpreter through settings.
from beautifyruby.
Related Issues (20)
- Error: invalid output. Check your ruby interpreter setting (only with ERB files) HOT 8
- Align parameters according to the standard and/or Rubocop HOT 2
- Incorrect Indentation of Comments HOT 2
- multiline method chaining with leading dots HOT 1
- Heredoc EOF Indented HOT 1
- Is it possible to set tab size for different type of file?
- How to add space at both sides of “+” etc
- Empty lines
- Can you run beautifyRuby on project.
- ERROR: This is not a ruby file
- Ruby 3.0 single line methods support
- After %x command rest of file is super indented HOT 3
- BeautifyRuby changes tab_size to 4 HOT 2
- Case Statements Not Indenting HOT 1
- Parameters not aligned for multiline method calls with no parenthesis
- `class` hash key break alignment when starting a line
- Indents incorrectly for odd tab_size HOT 1
- Turn off beautify for regions? HOT 1
- Unexpected Indentation
- case without matcher HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beautifyruby.