diff --git a/Gemfile b/Gemfile index 5d426bc53..480664ab8 100644 --- a/Gemfile +++ b/Gemfile @@ -26,7 +26,11 @@ gem 'nokogiri', '>= 1.7' gem 'rake' if RUBY_PLATFORM.downcase.include?('linux') - gem 'therubyracer', '~> 0.12.2', '<= 0.12.2' + if File.readlines('/etc/os-release').grep(/^ID=(kali|parrot)/).any? + gem 'therubyracer', '0.12.2' + else + gem 'therubyracer', '0.12.3' + end end # SQLite support