Hard code gem 'therubyracer', '0.12.3' for Linux systems
Parrot and Kali now support therubyracer version 0.12.3
This commit is contained in:
6
Gemfile
6
Gemfile
@@ -26,11 +26,7 @@ gem 'nokogiri', '>= 1.7'
|
||||
gem 'rake'
|
||||
|
||||
if RUBY_PLATFORM.downcase.include?('linux')
|
||||
if File.readlines('/etc/os-release').grep(/^ID=(kali|parrot)/).any?
|
||||
gem 'therubyracer', '0.12.2'
|
||||
else
|
||||
gem 'therubyracer', '0.12.3'
|
||||
end
|
||||
gem 'therubyracer', '0.12.3'
|
||||
end
|
||||
|
||||
# SQLite support
|
||||
|
||||
Reference in New Issue
Block a user