We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f51c64 + 17aa29a commit b107e22Copy full SHA for b107e22
spec/tapioca/cli/gem_spec.rb
@@ -767,11 +767,15 @@ class Secret; end
767
768
it "must not generate RBIs for missing gem specs" do
769
@project.write_gemfile!(<<~GEMFILE, append: true)
770
- platform :rbx do
+ platform :jruby do
771
gem "sidekiq", "=7.1.2"
772
end
773
GEMFILE
774
775
+ # We need to add the platform to the lock file so that bundler includes the gem
776
+ # but it won't be materializable on the current platform (since we are not on JRuby)
777
+ @project.exec("bundle lock --add-platform jruby")
778
+
779
@project.bundle_install!
780
781
result = @project.tapioca("gem --all")
0 commit comments