Skip to content

Commit

Permalink
Fix missing constants from SharedConstants namespace. Fixes issue 899
Browse files Browse the repository at this point in the history
  • Loading branch information
Luuk Hendriks (Phusion) committed May 28, 2013
1 parent d1e4c8f commit 4ad928d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/phusion_passenger/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,7 @@ module SharedConstants
FEEDBACK_FD = 3
end

include SharedConstants
SharedConstants.constants.each do |name|
const_set(name, SharedConstants.const_get(name)) unless const_defined? name
end
end

0 comments on commit 4ad928d

Please sign in to comment.