Is it possible to open a directory that contains a Rails app in a sub directory?
I'm using git-svn to work with a rails app from an SVN repo. The SVN repo has it's standard setup containing trunk, tags and branches directories. So, the rails app is actually stored at projectdir/trunk/railsapp. I can't figure out how to open the project at projectdir and still use the Rails view. It also doesn't let you navigate from controller method to view file etc. I could open the rails app at the railsapp dir, but then Rubymine is unaware of the git repo it belongs to so I can't see changes and diffs etc.
Is it possible to open a project directory and set a subdirectory as the rails app?
Please sign in to leave a comment.
Hello John,
You should actually do the opposite: open the subdirectory containing the
Rails app and configure the version control directory mappings using Settings
| Version Control. There is no requirement that Open Directory can be used
on the root of a VCS repository.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks. This solution worked perfectly.
John