Downgrade therubyracer for Kali and Parrot OS
This commit is contained in:
6
Gemfile
6
Gemfile
@@ -26,7 +26,11 @@ gem 'nokogiri', '>= 1.7'
|
|||||||
gem 'rake'
|
gem 'rake'
|
||||||
|
|
||||||
if RUBY_PLATFORM.downcase.include?('linux')
|
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
|
end
|
||||||
|
|
||||||
# SQLite support
|
# SQLite support
|
||||||
|
|||||||
Reference in New Issue
Block a user