Skip to content

Commit e650ee8

Browse files
committed
Take in consideration that the target gem has a rakelibdir
1 parent 30ea3b9 commit e650ee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/easy_compile/cli.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def print_normalized_platform
129129

130130
def run_rake_tasks!(*tasks)
131131
all_tasks = tasks.join(" ")
132-
rakelibdir = File.expand_path("tasks", __dir__)
132+
rakelibdir = [File.expand_path("tasks", __dir__), "rakelib"].join(File::PATH_SEPARATOR)
133133
rake_compiler_path = Gem.loaded_specs["rake-compiler"].full_require_paths
134134
rake_specs = Gem.loaded_specs["rake"]
135135
rake_executable = rake_specs.bin_file("rake")

0 commit comments

Comments
 (0)