lib/truck.rb in truck-0.8.0 vs lib/truck.rb in truck-0.8.1
- old
+ new
@@ -34,5 +34,9 @@
def each_booted_context(&block)
return to_enum(:each_booted_context) unless block_given?
contexts.each_value.select(&:booted?).each(&block)
end
end
+
+# Load this last so that when truck itself has unresolvable constants, we throw
+# up vanilla ruby NameErrors.
+require_relative "truck/core_ext"