Skip to content

Commit

Permalink
Add possible workaround for bunlder gems bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Feb 7, 2020
1 parent c7fecb3 commit 81d6112
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions source/loaders/rb_loader/source/rb_loader_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,21 @@ loader_impl_data rb_loader_impl_initialize(loader_impl impl, configuration confi
return NULL;
}

/* Gem add home folder if any */
/*
{
const char * gem_home_env = getenv("GEM_HOME");
if (gem_home_env != NULL)
{
if (rb_loader_impl_execution_path(impl, gem_home_env) != 0)
{
log_write("metacall", LOG_LEVEL_WARNING, "Ruby GEM_HOME could not be added to execution path list");
}
}
}
*/

log_write("metacall", LOG_LEVEL_DEBUG, "Ruby loader initialized correctly");
}

Expand Down

0 comments on commit 81d6112

Please sign in to comment.