Open Thrashmandicoot opened 9 years ago
not working :(
@Thrashmandicoot @yusufkaratoprak Thanks for the report and sorry for the insane delay, I didn't use Atom anymore but will give it a shot again with 1.0.0.
I updated the package to the latest Atom API, can you confirm that this is fixed now?
I just ran into the issue today. and I'm running 1.0.3 of Atom.
Still running into this issue.
My first attempt to use this plugin, on Atom 1.3.2 and I get this error. This plugin does not seem really useful in this state. Is there any support for this? Or should this plugin be marked end-of-life?
It's just getting the path wrong for this package. If I open 'execute-as-ruby.coffee' and hard code packagePath = 'C:/Users/MyUser/.atom/packages/execute-as-ruby' instead of throwing the exception it works fine.
The solution is to replace "/execute-as-ruby"
with "\execute-as-ruby"
at execute-as-ruby.coffee:26 for windows machines. So the simpliest solution is to change this to regex test:
if /[/\\]execute-as-ruby/.test(p)
packagePath = p
More correct solution is to add check for windows machines.
I have a problem that it says that is the same problem but I have a problem solving it on my own.
Would/Could someone help?
Thanks.
[Enter steps to reproduce below:]
insight - looks like you just need to replace the tags of 'editor' with ~ atom-text-editor (new patch)
Atom Version: 0.192.0 System: Microsoft Windows 7 Professional Thrown From: execute-as-ruby package, v0.1.1
Stack Trace
Uncaught Could not locate package path
Commands
Config
Installed Packages