tpope / vim-bundler

bundler.vim: Lightweight support for Ruby's Bundler
https://www.vim.org/scripts/script.php?script_id=4280
403 stars 29 forks source link

In order to browse Rails engines, app needs to be appended to the list of paths #33

Closed hovsater closed 10 years ago

hovsater commented 10 years ago

For engines, the app directory need to be added to the list of paths. Currently only lib is appended and thus making the gf experience incomplete for engines bundled in the Gemfile.

tpope commented 10 years ago

Rails.vim should take care of that for you Or are you somehow using engines outside of Rails?

hovsater commented 10 years ago

No, using the engine as a dependency inside of a Rails project. Could this be related to #32? The engine is specified with the path: option.

tpope commented 10 years ago

Yeah, please rule out that possibility by trying with an absolute path.

hovsater commented 10 years ago

You're correct. An absolute path correct both this and the issue described in #32. I guess the question is whether we want to expand the path or make sure users specify absolute path.

tpope commented 10 years ago

Oh if Bundler expands it we definitely should too. No guarantees on when I'll fix it though.