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
I happened to be using a pretty vanilla rbenv version and did this:
gem install katip
rbenv rehash
katip
which resulted in this explosion:
/Users/d.buch/.rbenv/versions/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- rails (LoadError)
from /Users/d.buch/.rbenv/versions/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/d.buch/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/katip-1.4.0/lib/katip/railtie.rb:2:in `<top (required)>'
from /Users/d.buch/.rbenv/versions/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/d.buch/.rbenv/versions/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/d.buch/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/katip-1.4.0/lib/katip.rb:3:in `<top (required)>'
from /Users/d.buch/.rbenv/versions/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/d.buch/.rbenv/versions/2.1.1/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/d.buch/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/katip-1.4.0/bin/katip:5:in `<top (required)>'
from /Users/d.buch/.rbenv/versions/2.1.1/bin/katip:23:in `load'
from /Users/d.buch/.rbenv/versions/2.1.1/bin/katip:23:in `<main>'
I suspect the fix is simply to lazy load the railtie, or to require rails integrations to have their own require 'katip/railtie'.
The text was updated successfully, but these errors were encountered:
I happened to be using a pretty vanilla rbenv version and did this:
which resulted in this explosion:
I suspect the fix is simply to lazy load the railtie, or to require rails integrations to have their own
require 'katip/railtie'
.The text was updated successfully, but these errors were encountered: