Closed lloeki closed 5 years ago
@colby-swandale I am a first-time contributor. Can I start working on this?
Sure! let us know if you have any questions.
Any updates on this? :slightly_smiling_face:
@pvsukale have you started to work on this proposal?
Sorry. Was busy with college work. Will start working on this tonight. Is this okay?
@pvsukale sure. Take your time!
I just wanted to be sure you're in business. :slightly_smiling_face:
@colby-swandale if this issue is still open, can I work on this? I'm a first-time contributor. :smile:
Hey @ankitkataria . I am not working on this due to some problems. I should have mentioned this earlier :smile: .
@ankitkataria Sure! let us know if you run into any issues
Is this still open? Looking for an issue to work on, but it looks like there's a merged PR.
@alex0112 Yeah, I've already solved this one.
Seems like this feature is not documented...
Documentation PR appreciated.
I was trying to fix this in a way that doesn't involve gruesome hacks and matryoshka wrappers by going something along this route (4.9). Here's what I found:
BUNDLE_GEMFILE=where/is/Gemfool
and runningbundle exec rubocop -c where/is/.rubocop.yml where/is/my/file.rb
works but requires setting an env var which is impractical and cannot be done without side effects in some cases (e.g multiple projects open in a single vim instance)cd
'ing intowhere/is/my
and runningbundle exec rubocop file.rb
works but requires changing the pwd which cannot be done without side effects in some cases (vim plugins don't like things likeautochdir
)bundle install --gemfile=Gemfool
is a thing when it can useBUNDLE_GEMFILE
already, so “there's BUNDLE_GEMFILE, use that” doesn't seem to carry much weightenv BUNDLE_GEMFILE=where/is/Gemfool bundle exec rubocop -c where/is/.rubocop.yml where/is/my/file.rb
works but may be hard to set as a command without side effects (vim-syntastic) so why is there--gemfile=
forinstall
? Also, maybe unix/shell dependent?bundle exec
can already take an optional argument ([--keep-file-descriptors]
) so it's not like it can't take more, so not accepting one more doesn't seem to carry much weight eitherSo what do you think about adding
--gemfile=
tobundle exec
, and possibly the other commands too for consistency?