You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tapioca can sometimes crash, caused by an error raised by a DSL compiler from an old/inactive version of Tapioca. For example, I was using v0.14.3, but got an errr caused by a DSL compiler from an older copy of Tapioca.
Unfortunately, I didn't capture the full stack trace, but it started with:
Tapioca can sometimes crash, caused by an error raised by a DSL compiler from an old/inactive version of Tapioca. For example, I was using
v0.14.3
, but got an errr caused by a DSL compiler from an older copy of Tapioca.Unfortunately, I didn't capture the full stack trace, but it started with:
I have these versions installed (from
gem info tapioca
):The culprit is here:
tapioca/lib/tapioca/loaders/dsl.rb
Lines 66 to 68 in 126920b
Perhaps surprisingly,
Gem.find_files
is finding files from all versions of the Tapioca gem. For example:Output of
::Gem.find_files("tapioca/dsl/compilers/*.rb")
We would need to tweak this, to make it only search for DSL compilers from the currently active gem version (using the Bundler API, like this.
The text was updated successfully, but these errors were encountered: