Comments (2)
Hi,
I think this is not due to relative path settings. I have only absolute path and I'm experiencing the same issue.
Here is my plugin config :
{
"rubocop_command": "bundle exec /usr/local/bin/rubocop --auto-correct --format simple -D"",
"check_for_rvm": false,
"rvm_auto_ruby_path": "",
"check_for_rbenv": false,
"rbenv_path": "",
"mark_issues_in_view": false,
"show_auto_correct_warning": true,
"rubocop_config_file": ""
}
Am I missing something in plugin config ?
traceback is the same :
Running / u s r / l o c a l / b i n / r u b o c o p / U s e r s / p g l / d e v e l o p p e m e n t / p u b l i p o s t a g e / l i b / p u b l i p o s t a g e . r b
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 533, in run_
return self.run(**args)
File "exec in /Applications/Sublime Text.app/Contents/MacOS/Packages/Default.sublime-package", line 200, in run
FileNotFoundError: [Errno 2] No such file or directory: 'foldername'
I noticed that the foldername
in trackback above had nothing to see with the folder I am working in.
So I clean up folder list, restarted SublimeText, and all is working fine now.
I had to add absloute path for rubucop
executable in config (rubocop_command
) to be sure that bundle
will find the exec.
HTH
from sublime_rubocop.
This bug is about relative paths in the .sublime-project
file, which you did not include in your comment.
Based off your description I suspect you did have a relative path in your sublime project, but when you cleaned up your folder list it may have been removed
from sublime_rubocop.
Related Issues (20)
- Add screenshot of plugin in action in readme HOT 1
- Rubocop >= 0.36 AttributeError: 'NoneType' object has no attribute 'rfind' HOT 9
- command not found for rubocop HOT 2
- rvm-auto-ruby: No such file or directory on Sublime Text 2 HOT 5
- ST3 menu options are greyed out
- ruby
- Wrong ruby executable taken, when using with rvm. HOT 1
- Key combination for autocomplete current file HOT 1
- Sublime rubocop with rbenv gemset ?
- Getting Naming/FileName has the wrong namespace error on autocorrect
- save_on_focus_lost not working when this package installed
- ImportError: No module named 'RuboCop' HOT 1
- Option to disable gutter marking
- I have items Tools->RuboCop-> but this items are not active
- invalid option: -R
- rubocop_auto_correct seems incompatible with require (in .rubocop.yml)
- auto check doesn't seem to do anything HOT 1
- "Auto correct current file" does nothing HOT 2
- Using a Docker container doesn't work HOT 4
- Searching for a new maintainer 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 sublime_rubocop.