Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij doesn't recognise the Ruby interpreter properly

I've been struggling with setting the proper version of Ruby interpreter onto Intellij.

Error says :: Safe navigation operator requires at least Ruby 2.3

I understand what the error means here. It means "This feature is not available in your current Ruby version."

However I don't know how I can fix this in Intellij Build: 163.10154.41, event I set up correctly Ruby SDK.

The Ruby version used in this project is 2.3.1 with rbenv.

How could I fix this?

enter image description here

enter image description here

like image 827
Toshi Avatar asked Jan 07 '17 03:01

Toshi


1 Answers

Removing {document_root}/.idea directory and import the project to IntelliJ again and then, it worked back when I met the same kind of issue before.

like image 95
shimma Avatar answered Oct 04 '22 08:10

shimma