As part of a performance analysis, I'd like to run my rails app with several different rubies. All of them have the gem passenger
(v5) installed and are able to run passenger start
.
The question: How can I pass a flag (like --1.8
) to my ruby interpreter? I'm using the version manager rbenv
, but when I'm running
ruby --1.8 -S passenger start
using the interpreter jruby-1.7.27
, the flag is non-persistant i.e. jruby does not run in the 1.8 compatibility mode.