Reputation: 1984
I have a system where I use the gem sinatra-activerecord
(required by sinatra/activerecord
in my Rakefile by requiring sinatra/activerecord/rake
. I've looked in rubygems and there is no gem called sinatra-activrecord-rake
, so what part of sinatra-activerecord
is it? Also, how could I make part of my gem require-able this way?
Upvotes: 0
Views: 32
Reputation: 176552
When you require sinatra/activerecord/rake
, you are actually requiring the rake
file within the gem.
Specifically, this is the file that the library is requiring. It's not from any sinatra-activerecord-rake
gem.
Upvotes: 1