diff --git a/lib/tasks/avo_tasks.rake b/lib/tasks/avo_tasks.rake index c6faa49da3..ec95c247be 100644 --- a/lib/tasks/avo_tasks.rake +++ b/lib/tasks/avo_tasks.rake @@ -82,7 +82,7 @@ task "avo:sym_link" do gem_paths = `bundle list --paths 2>/dev/null`.split("\n") ["avo-advanced", "avo-pro", "avo-dynamic_filters", "avo-dashboards", "avo-menu", "avo-kanban"].each do |gem| - path = gem_paths.find { |gem_path| gem_path.include?(gem) } + path = gem_paths.find { |gem_path| gem_path.include?("/#{gem}-") } # If path is nil we check if package is defined outside of root (on release process it is) if path.nil?