forked from newrelic/newrelic-ruby-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the constant IN_PHUSION_PASSENGER is deprecated in 3.9.0
Per Phusion (Hongli Lai): "The IN_PHUSION_PASSENGER constant is a private implementation detail and was never meant to be part of the public API." 3.9.0 (4.0.0 Beta 1) has removed defining the constant IN_PHUSION_PASSENGER. This commit looks for the proper ::PhusionPassenger, which is also compatible with older versions. As a workaround before implementing this, I have been doing: "IN_PHUSION_PASSENGER = true if defined?(::PhusionPassenger)"
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters