brentd / xray-rails

☠️ A development tool that reveals your UI's bones
MIT License
1.22k stars 79 forks source link

Open in rubymine #93

Closed alexey closed 5 years ago

alexey commented 6 years ago

Hi,

just followed with .xrayconfig:

:editor: 'mine $file'

but it just open the rubymine without file .. Anyone had similar issue ?

dvanoni commented 5 years ago

This is what my .xrayconfig file looks like, and it seems to be working for me:

---
:editor: mine

Note that there is an issue with the command line launchers if you use the JetBrains Toolbox to install/update RubyMine (or any other JetBrains IDE). If you've used the Toolbox to update RubyMine, you might need to reinstall the command line launcher from the menu: Tools > Create Command-line Launcher...

To test if the command line launcher is working, try running it from a terminal to see if it works there, e.g.

mine app/views/layouts/application.html.erb
alexey commented 5 years ago

thanks @dvanoni, this did the trick ! Tools > Create Command-line Launcher > Confirm