Hey, There is no support on our side to load gem dependencies from plugins, at least at this moment.
A minimal approach would be to just rely on the gem being on PATH, rescuing errors and asking the user to install it. Example: http://github.com/pedro/heroku-mongo-sync/blob/master/lib/heroku/command/mongo.rb#L6-8 On Mon, Oct 11, 2010 at 12:31 PM, opsb <[email protected]> wrote: > Scratch that, submodules don't get pulled automatically when you > clone... Looks like I'll have to vendor them all in the plugin git > repo. > > On Oct 11, 2:34 pm, opsb <[email protected]> wrote: >> Going to go with git submodules, not perfect but will work for now. >> >> On Oct 11, 1:43 pm, opsb <[email protected]> wrote: >> >> >> >> > I'm writing a heroku plugin that needs some gem dependencies. How do I >> > go about making sure the gems are available when a plugin is >> > installed? >> >> > If there isn't any mechanism to do this yet could I suggest the >> > following: >> >> > Use bundler to declare the dependencies in the plugin. >> > When plugin is installed call 'bundle install' to grab any >> > dependencies. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
