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
Removing grape_logging from the project fixes the issue. @dblock says:
If this fixes that feels like grape_logging should be doing a require 'grape'. Open an issue in that repo.
Seems like this repo needs to require 'grape' somewhere.
UPDATE: If I move require 'grape_logging' to spot in the load order after I am sure grape has been loaded, then this error goes away. This gem, as is, doesn't load grape properly on it's own, but allowing bundler to load grape works.
In other words, if I have a require 'grape_logging' early on, before bundler loads my environment, then I get this error with latest version of grape.
Ref: ruby-grape/grape#1939 (comment)
Here is the complete stack:
Removing
grape_logging
from the project fixes the issue. @dblock says:Seems like this repo needs to
require 'grape'
somewhere.UPDATE: If I move
require 'grape_logging'
to spot in the load order after I am suregrape
has been loaded, then this error goes away. This gem, as is, doesn't load grape properly on it's own, but allowing bundler to load grape works.In other words, if I have a
require 'grape_logging'
early on, before bundler loads my environment, then I get this error with latest version of grape.Hat tip to @robert-hromej who had the right idea.
The text was updated successfully, but these errors were encountered: