diff --git a/spaceship/lib/spaceship/module.rb b/spaceship/lib/spaceship/module.rb
index <HASH>..<HASH> 100644
--- a/spaceship/lib/spaceship/module.rb
+++ b/spaceship/lib/spaceship/module.rb
@@ -1,4 +1,8 @@
 module Spaceship
+  # Requiring pathname is required here if not using bundler and requiring spaceship directly
+  # https://github.com/fastlane/fastlane/issues/14661
+  require 'pathname'
+
   ROOT = Pathname.new(File.expand_path('../../..', __FILE__))
   DESCRIPTION = "Ruby library to access the Apple Dev Center and App Store Connect".freeze
 end
[spaceship] require pathname needed when not using bundler and requiring spaceship directly (#<I>)