Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Aug 19, 2018
1 parent 7e67590 commit e572cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/autoprefixer-rails/processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def find_config(file)
def runtime
@runtime ||= begin
if ExecJS.eval('typeof Uint8Array') != 'function'
if ExecJS.runtime == ExecJS::Runtimes::MiniRacer
if ExecJS.runtime == ExecJS::Runtimes::RubyRacerRuntime
raise "ExecJS::RubyRacerRuntime is not supported. " +
"Please replace therubyracer with mini_racer " +
"in your Gemfile or use Node.js as ExecJS runtime."
Expand Down

0 comments on commit e572cb7

Please sign in to comment.