```ruby
unless defined?(RSpec)
  puts ENV["RUBY_EXE"]
  puts ruby_cmd("nil").split.first
end
```

Use ruby_cmd(nil) to get the interpreter + flags
user
```ruby
unless defined?(RSpec)
  puts ENV["RUBY_EXE"]
  puts ruby_cmd(nil).split.first
end
```
assistant