I've been struggling with setting the proper version of Ruby interpreter onto Intellij.
我一直在努力将Ruby解释器的正确版本设置为Intellij。
Error says :: Safe navigation operator requires at least Ruby 2.3
错误提示::安全导航操作符至少需要Ruby 2.3
I understand what the error means here. It means "This feature is not available in your current Ruby version."
我理解这里的误差是什么意思。这意味着“这个特性在您当前的Ruby版本中不可用”。
However I don't know how I can fix this in Intellij Build: 163.10154.41, event I set up correctly Ruby SDK.
但是我不知道如何在Intellij Build: 163.10154.41中解决这个问题,我正确地设置了Ruby SDK。
The Ruby version used in this project is 2.3.1 with rbenv.
在这个项目中使用的Ruby版本是2.3.1和rbenv。
How could I fix this?
我怎么解决这个问题?
1 个解决方案
#1
3
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.
删除{ document_root } /。idea目录并将项目再次导入IntelliJ,然后,当我遇到同样的问题时,它又恢复了。
#1
3
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.
删除{ document_root } /。idea目录并将项目再次导入IntelliJ,然后,当我遇到同样的问题时,它又恢复了。