Use require_relative
If there are many searches in the `$LOAD_PATH` in the user environment, require will perform unnecessary searches that are not needed. In contrast, `require_relative` is efficient because it uses a relative path.
This commit is contained in:
parent
87cd467c58
commit
e8620659a6
1 changed files with 19 additions and 19 deletions
|
|
@ -1,3 +1,3 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "model_context_protocol"
|
||||
require_relative "model_context_protocol"
|
||||
|
|
|
|||
Loading…
Reference in a new issue