Closed kapoorlakshya closed 3 years ago
Hey,
I'm sorry for having caused this! 😪
The best fix, in my opinion, is to use Dir
over Rake::FileList
. The should omit the need of using our installing Rake in the first place.
What do you think?
Giving more thoughts into this, there are a few options here:
gem install rake
thingy so the CI works fine (though I am not sure why it doesn't in the first place!).Dir
over Rake::FileList
is the simplest thing in my opinion. But that's your call.Manifest.txt
file, explicitly listing the files that you want to ship and that file will be read by s.files
. That's a bit of an overkill but for some, it works best.From the Debian side, all we care about is to not use git
in the gemspec file. You may circumvent that by using Dir
or Dir.glob
(purely Ruby alternatives) or Rake::FileList
(since rake
is almost always available to use!) or any other way that doesn't use git
! :smile:
@utkarsh2102 Thanks for the prompt response! I personally like option 2 - using Dir
to keep things simple. Would you have time to put in a PR for this? If not then I'll try to make time this week or the next.
Hi @kapoorlakshya,
Thanks for the prompt response! I personally like option 2 - using Dir to keep things simple. Would you have time to put in a PR for this? If not then I'll try to make time this week or the next.
Opened PR #185 for this^
Thank you! Closed by #185.
Summary
179 added use of
rake/file_list
which breaks theGemfile
via the use ofbundle install/update
ifrake
is not already installed. This is especially problematic on CI systems where we always start from a clean state.@utkarsh2102 Could you please take a look at this when you have time? I could attempt to fix this, but don't want to inadvertently break your Debian specific pipeline. Thank you!
CI Failure
https://travis-ci.org/github/titusfortner/webdrivers/builds/727632931
No errors on Appveyor (example) because it has
rake
v12.0 pre-installed as part of the CI image.Workaround
Install rake 12.x prior to bundle install/update -
gem install rake -v 12.3.3