railways
railways copied to clipboard
No routes are loaded
Hello!
I'm on RubyMine 2021.EAP RM-211-5538.3, Rails 4.1
Opening Routes panel, I could see the 'Running 'rake routes'text displayed, and in RubyMines status there is also aUpdating route list for module..., but it ends with a blank list and 'Nothing to show text.
The only log item found is:
2021-02-04 13:42:56,269 [72718478] WARN - com.intellij.util.xmlb.Binding - no accessors for net.bitpot.railways.routesView.RoutesView$State
Yes, It runs and displays 'Nothing to Show'..!!
RubyMine Details: RubyMine 2020.3.2 Build #RM-203.7148.67, built on January 26, 2021 Runtime version: 11.0.9.1+11-b1145.77 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 10.16 GC: ParNew, ConcurrentMarkSweep Memory: 725M Cores: 12 Registry: terminal.buffer.max.lines.count=15000 Non-Bundled Plugins: Gitflow, Railways
Can we have solution for the problem..?
Hi.
I tried to use the plugin with the most recent RubyMine (even rebuilt it with the latest IntelliJ planform SDK) and I couldn't reproduce the issue.
Possibly there are some issues with routes parsing. Could you please send me your rails routes output to my email for investigation?
Hi. I tried to use the plugin with the most recent RubyMine (even rebuilt it with the latest IntelliJ planform SDK) and I couldn't reproduce the issue. Possibly there are some issues with routes parsing. Could you please send me your
rails routesoutput to my email for investigation?
Hi, @basgren !
Output sent by email.
Hi. I tried to use the plugin with the most recent RubyMine (even rebuilt it with the latest IntelliJ planform SDK) and I couldn't reproduce the issue. Possibly there are some issues with routes parsing. Could you please send me your
rails routesoutput to my email for investigation?
Hi @basgren,
Console logs PDF sent by email.
However, when checked with other project, It worked. But unfortunately it fails for some projects. Logs for one of them sent by email.
Bumping this thread, as I am also seeings no routes load. RubyMine 2020.3.3, Rails 4.2
I am not seeing any errors in the log, and running the routes task via the RubyMine actions menu correctly outputs a Routes list. I will email you what I am seeing.
On RubyMine 2021.1 now and still having this problem.
For Rubymine 2021.1, I can confirm the following:
Rails 6.1 - It's working Rails 4.2 - Not working
I think that the problem appeared after this update #48 (#49 PR)
because the rake routes changed to rails routes that does not exist in rails < 5.
So, a possible solution is to check the current rails version or add a select option in the plugin configurations.
Forked and reverted the change @falegk mentioned to use the rake command instead of rails. Seems to be working for an old rails 4.2 app. https://github.com/xzile/railways/releases/tag/0.8.17-rake
Hi! Any idea when the change is going to be applied. Running a project in rails 4.2 and it seems to be using the rails command instead of rake.
log from railways.cache
Error: Command 'routes' not recognized
Did you mean: `$ rake routes` ?
Usage: rails COMMAND [ARGS]