I'd like to try running Rails 6 with TruffleRuby, so I installed truffleruby-22.0.0.2 with rbenv, added in my Gemfile ruby 'truffleruby-22.0.0.2
and ran bundle install
, but that didn't work. I got an error with "... error parsing Gemfile: Illformed requirement..."
What's the right way to use Rails with TruffleRuby?
A long shot, but using another Ruby implementation with Rails raising this error is related to the way you declare your Ruby version in your Gemfile.
Traditional way:
Other Ruby implementation way example: