bundle install --standalone
seems like a great idea, but it's hard for me to envelop how to use it, which does not end there, requiring you to have rubigems or a picker.
It generates bundler / setup.rb, which adds the lib and ext directories of my gems, apparently in order. Presumably, all I need to do is add it to the download path, and all is well.
But bundler / setup.rb does not seem to require anything.
Now, this is fine, because the normal bundler / setup requires nothing and leaves it in the application to call Bundler.require
Rails by default require this little tune:
if defined?(Bundler) Bundler.require(*Rails.groups(:assets => %w(development test))) end
At the point at which it hits, the Bundler
not defined (bundler / setup.rb does not define it), so it skips the block.
So how exactly do I need a package. If the bundle install --standalone
really connected by a connected one, presumably, I could manually call require bundler
and then define the Bundler
, but it seems to exclude itself from the package.
Is there an application that actually uses bundle install --standalone
, and if so, how?
Steven xu
source share