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

Failed to load routes #41

Closed dsabira closed 3 years ago

dsabira commented 4 years ago

invalid option: --trace

Rubymine 2019.1 ruby - 2.3 rails -5

rails routes is working fine in terminal but not in your plugin

basgren commented 4 years ago

Could you please provide more information about your environment? What OS do you use? How is your ruby installed? Is it a system install or using some ruby version manager?

Also please try to run rake routes task from RubyMine (menu Tools > Run Rake Task... ) and let me know if it works.

dsabira commented 4 years ago

mac os mojave i use rvm, and my system ruby is 2.6.5 rake routes is working fine(both from tasks and cli) without any flags, but the plugin seems to insert --trace flag which fails.

As the plugin picks up the project's rakefile, I got it working by modifying it, where i am manually executing the script - puts rake routes by ignoring your plugins command and it's set flags

basgren commented 3 years ago

Closing this issue due to inactivity.