We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ab296b commit c80a277Copy full SHA for c80a277
lib/raven/context.rb
@@ -34,7 +34,7 @@ def os_context
34
def runtime_context
35
@runtime_context ||= {
36
"name" => RbConfig::CONFIG["ruby_install_name"],
37
- "version" => RbConfig::CONFIG["ruby_version"]
+ "version" => Raven.sys_command("ruby -v")
38
}
39
end
40
spec/raven/event_spec.rb
@@ -67,7 +67,7 @@
67
68
69
it 'has runtime' do
70
- expect(hash[:contexts][:runtime]["version"]).to eq(RbConfig::CONFIG["ruby_version"])
+ expect(hash[:contexts][:runtime]["version"]).to eq(`ruby -v`)
71
72
73
0 commit comments