basgren / railways

A plugin for RubyMine and IntelliJ IDEA Ultimate that adds a panel with routes of Ruby on Rails application.
MIT License
46 stars 18 forks source link

Railways not supported in RM 2018.3 EAP #34

Closed thestelz closed 5 years ago

thestelz commented 6 years ago

Railways is not supported in the latest EAP

RubyMine 2018.3 EAP
Build #RM-183.2407.12, built on September 13, 2018
JRE: 1.8.0_152-release-1293-b10 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.3

railways_rm_incompatible

basgren commented 6 years ago

Thank you! Already working on it. Unfortunately, found one issue with routes parsing, so it might take some time.

basgren commented 6 years ago

I fixed the issue, but I couldn't test it well due to issue in EAP version of RubyMine: https://youtrack.jetbrains.com/issue/RUBY-22463 - I get the same thing when I try to update my routes, i.e. when I run rake routes using ruby mine sdk. But running the same command from plain shell outputs routes as usually. So I'd prefer to wait a couple days until they fix this issue.

thestelz commented 6 years ago

Thanks for the update! I have voted for that issue and hopefully they get it fixed soon!

ddnexus commented 5 years ago

Any news?

basgren commented 5 years ago

Not much, actually. While RubyMune issue is fixed (https://youtrack.jetbrains.com/issue/RUBY-22463), it's planned for RM 2018.3.1 EAP. I still cannot run rake tasks from the most recent RubyMine 2018.3 RC (Build #RM-183.4284.98, built on November 14, 2018). I even cannot get the list of all rake tasks in "Run Rake task" popup (Ctrl + Alt + R). @ddnexus , could you please check this "run rake" popup at your side? Do you get the list of Rake tasks from RM?

ddnexus commented 5 years ago

Indeed I am using the RM 2018.3 RC and it would be great to have the railways too. I noticed that other plugins where not compatible with this RC. For example Git Flow and Material Theme, however I just had to uninstall and install them again, and RM picked the right version of both plugins. I did the same with railways, but now RM doesn't even list the railways plugin so I cannot install it. :/

RubyMine 2018.3 Build #RM-183.4284.98, built on November 14, 2018 JRE: 1.8.0_152-release-1343-b15 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Linux 4.18.0-11-generic

basgren commented 5 years ago

Just tested the plugin once again for stable build of RubyMine 2018.3 (Build #RM-183.4284.145, built on November 21, 2018). No luck. I even cannot get list of rake tasks using build-in RubyMine feature. So it looks like we have to wait until this fix gets into new build of RM. Without that fix Railways just won't work and I'm not sure I can fix it at my side, sorry.

ddnexus commented 5 years ago

@basgren Thanks BTW, RM doesn't even list the railways plugin. How should I install it?

basgren commented 5 years ago

Currently you cannot install it, sorry. Current version of the plugin is configured to be listed only for 2018.2 version of RubyMine. This is common practice to restrict installation only to IDE versions that are guaranteed to be compatible.

LuisGV212 commented 5 years ago

Being able to use Railways is more important to me than most changes in the Rubymine update, so until this is fixed, I'll just revert to 2018.2

thestelz commented 5 years ago

RubyMine 2018.3.1 RC (build 183.4588.71) was just released, but doesn't appear to have your issue listed in the release notes.

It looks like they might have a lot of issues with spring right now.

basgren commented 5 years ago

Good news, everyone! (C)

I've tested the plugin against new IDE versions and it seems everything is much better now: I managed to refresh rake task list and Railways also updates route list successfully. Unfortunately, I had to set minimal supported versions for the plugin:

New version 0.8.12 of Railways plugin is released, so please check it out and let me know if you have any problems with it.

And thank you guys for being so patient!

thestelz commented 5 years ago

It works like a charm! I so missed this plugin! Thanks for staying on top of it and waiting on JetBrains to get RM fixed!