Skip bundler spec using irb with simulated JRuby environment.

This commit is contained in:
nagachika 2020-09-17 21:23:39 +09:00
parent 0ebf6ea9a0
commit eb8270d675
2 changed files with 3 additions and 2 deletions

View file

@ -954,6 +954,7 @@ G
end end
it "starts IRB with the default group loaded when ruby version matches any engine" do it "starts IRB with the default group loaded when ruby version matches any engine" do
skip "irb depend on JRuby.compile_ir and don't work in simulated environment." unless RUBY_ENGINE == "jruby"
simulate_ruby_engine "jruby" do simulate_ruby_engine "jruby" do
gemfile <<-G gemfile <<-G
source "#{file_uri_for(gem_repo1)}" source "#{file_uri_for(gem_repo1)}"

View file

@ -2,11 +2,11 @@
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 1 #define RUBY_VERSION_TEENY 1
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
#define RUBY_PATCHLEVEL 126 #define RUBY_PATCHLEVEL 127
#define RUBY_RELEASE_YEAR 2020 #define RUBY_RELEASE_YEAR 2020
#define RUBY_RELEASE_MONTH 9 #define RUBY_RELEASE_MONTH 9
#define RUBY_RELEASE_DAY 16 #define RUBY_RELEASE_DAY 17
#include "ruby/version.h" #include "ruby/version.h"