From 2d39c5b1854aaff4c72e83a2c90cdb329e2192b6 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Wed, 17 Jan 2024 01:52:56 +0900 Subject: [PATCH] Adjust path --- lib/lrama/command.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/lrama/command.rb b/lib/lrama/command.rb index 9c364075..a08040ba 100644 --- a/lib/lrama/command.rb +++ b/lib/lrama/command.rb @@ -1,6 +1,7 @@ module Lrama class Command - STDLILB_FILE_PATH = "lib/lrama/grammar/stdlib.y" + LRAMA_LIB = File.realpath(File.join(File.dirname(__FILE__))) + STDLILB_FILE_PATH = File.join(LRAMA_LIB, 'grammar', 'stdlib.y') def run(argv) begin