This changes the working directory when executing srb from project. basePath to gemfile.parent. This should be a bit more precise and better support both ruby projects in subdirectories and intellij/rubymine projects containing multiple ruby modules.
It was manually tested against a mocked up project with a nested ruby project, and worked for this case. Also manually regression tested against a plain old flat ruby project.
This changes the working directory when executing
srb
fromproject. basePath
togemfile.parent
. This should be a bit more precise and better support both ruby projects in subdirectories and intellij/rubymine projects containing multiple ruby modules.It was manually tested against a mocked up project with a nested ruby project, and worked for this case. Also manually regression tested against a plain old flat ruby project.