Open ddnexus opened 8 years ago
Thanks. I'll take a look if it's possible. Could you please describe me your use case? Do you have Gemfile that's not in project root?
Also could you please run rake routes
task from IDE (in RubyMine it can be done by Ctrl + Alt + R, then type routes
) and let me know if RubyMine takes BUNDLE_GEMFILE into account when running rake tasks. Railways plugin uses standard RubyMine API to run rake tasks, so the solution might be not easy if the issue is in the API.
Thank you
I have multiple gemfiles in the project root but they have different names (there are a few compelling reasons to have that setup in our envs).
The routes from RubyMine can be pulled correctly by using the Arguments field (setting there the BUNDLE_GEMFILE=my_file_name) and the Environment picker provided.
Thanks
What is the status of this? Thanks.
you should probably see https://youtrack.jetbrains.com/issue/RUBY-16865
@hurricup Thanks. Commented and voted!
Railways ignores the BUNDLE_GEMFILE variable, and it tries to load the regular Gemfile, which in some project maybe wrong, hence stopping it to work with some error.
Is there any possibility to bypass that problem?