Skip to content

Commit

Permalink
Merge pull request #428 from yui-knk/tests
Browse files Browse the repository at this point in the history
Avoid "cannot load such file -- test/unit (LoadError)"
  • Loading branch information
ohler55 committed Aug 18, 2017
2 parents 168c667 + bca2d15 commit 6728946
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -33,7 +33,7 @@ task :test_all => [:clean, :compile] do
# tests.
if RUBY_VERSION >= '2.4'
Dir.glob('test/json_gem/*_test.rb').each do |file|
cmd = "REAL_JSON_GEM=1 ruby -Itest #{file}"
cmd = "REAL_JSON_GEM=1 bundle exec ruby -Itest #{file}"
puts "\n" + "#"*90
puts cmd
Bundler.with_clean_env do
Expand Down
1 change: 1 addition & 0 deletions oj.gemspec
Expand Up @@ -26,5 +26,6 @@ Gem::Specification.new do |s|

s.add_development_dependency 'rake-compiler', '>= 0.9', '< 2.0'
s.add_development_dependency 'minitest', '~> 5'
s.add_development_dependency 'test-unit', '~> 3.0'
s.add_development_dependency 'wwtd', '~> 0'
end

0 comments on commit 6728946

Please sign in to comment.