diff --git a/lib/pronto/rubocop.rb b/lib/pronto/rubocop.rb
index <HASH>..<HASH> 100644
--- a/lib/pronto/rubocop.rb
+++ b/lib/pronto/rubocop.rb
@@ -53,7 +53,7 @@ module Pronto
 
     def processed_source_for(patch)
       path = patch.new_file_full_path.to_s
-      ::RuboCop::ProcessedSource.from_file(path)
+      ::RuboCop::ProcessedSource.from_file(path, RUBY_VERSION[0..2].to_f)
     end
 
     def level(severity)
Specify ruby version explicitly to RuboCop

Since rubocop <I> has changed method signature of
`RuboCop::ProcessedSource.from_file`, we need to give a ruby version as
an argument.

<URL>