Skip to content

Commit

Permalink
fix JRuby constant in local environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jaggederest committed May 6, 2011
1 parent 8d938b3 commit b12e2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/new_relic/local_environment.rb
Expand Up @@ -183,7 +183,7 @@ def snapshot
end

def working_jruby?
!(defined?(::JRuby) && Jruby.respond_to?(:runtime) && !JRuby.runtime.is_object_space_enabled)
!(defined?(::JRuby) && JRuby.respond_to?(:runtime) && !JRuby.runtime.is_object_space_enabled)
end

def find_class_in_object_space(klass)
Expand Down

0 comments on commit b12e2e1

Please sign in to comment.