On heroku you need to set BUILDPACK_URL to https://github.com/ddollar/heroku-buildpack-multi.git, and in your .buildpacks file in the root of your project add https://github.com/heroku/heroku-buildpack-ruby.git, if that deploy works, then you can add other buildpacks to .buildpacks.
On Tue, Apr 1, 2014 at 4:36 PM, Nícolas Iensen <[email protected]> wrote: > For the last hour I'm trying to push heroku-buildpack-multi but I'm > getting the following error: > > Push rejected, error fetching custom buildpack > > I also tried to push heroku-buildpack-ruby alone but I got the same error. > > Do you know whats happening? > > Here is the following repo urls I'm using: > > https://github.com/ddollar/heroku-buildpack-multi.git > https://github.com/heroku/heroku-buildpack-ruby.git > > > > > > > On Tue, Apr 1, 2014 at 7:25 PM, Robert Fletcher <[email protected]>wrote: > >> I've been using heroku-buildpack-multi and it works without any problems. >> >> >> On Tue, Apr 1, 2014 at 3:23 PM, John McCaffrey >> <[email protected]>wrote: >> >>> I've never combined multiple buildpacks, but it is possible >>> >>> https://github.com/ddollar/heroku-buildpack-multi >>> >>> let us know how it works out! >>> I think there are others that want to use a scraper like phantomjs, and >>> a website in the same app. >>> >>> >>> On Tue, Apr 1, 2014 at 5:11 PM, Nícolas Iensen <[email protected]>wrote: >>> >>>> Thanks John, I was reading about phantomjs and it looks awesome! >>>> >>>> I have a Rails application, and I want to use phantomjs in a rake task. >>>> But when I use the buildpack you mentioned the Rails app goes down. >>>> >>>> Do you know how can I use phantomjs only on the rake tasks, and keep >>>> using Rails environment for the web server? >>>> >>>> >>>> On Tue, Apr 1, 2014 at 6:46 PM, John McCaffrey < >>>> [email protected]> wrote: >>>> >>>>> I like using phantomjs for scraping, though I haven't used it on >>>>> heroku yet. >>>>> >>>>> I see there is a buildpack >>>>> https://github.com/stomita/heroku-buildpack-phantomjs >>>>> >>>>> this example might be helpful >>>>> http://benjaminbenben.com/2013/07/28/phantomjs-webserver/ >>>>> >>>>> >>>>> On Mon, Dec 20, 2010 at 4:11 AM, Josal <[email protected]> wrote: >>>>> >>>>>> Hi, guys. >>>>>> >>>>>> I want to scrap an HTML site which is using javascript to generate the >>>>>> contents. So, I can't use mechanize gem or similar ones. I've tried >>>>>> rdom and taka with johnson, but still some problems (I could give you >>>>>> more details). The best and easiest option I have at the moment is to >>>>>> use watir (or selenium or celerity for jruby). I've selected watir, >>>>>> it's simple, the watir gem or even the watir-webdriver gem. I like >>>>>> them. But I have two problems: >>>>>> >>>>>> - I want to deploy the app in heroku but I get the error: "Could not >>>>>> find Firefox binary (os=linux)". >>>>>> - I don't know if it's possible to access to the watir logic without >>>>>> the need of the browser binary (and without open it in background). >>>>>> >>>>>> I currently have an answer here: >>>>>> >>>>>> http://stackoverflow.com/questions/3597118/can-you-deploy-watir-on-heroku-to-generate-html-snapshots-if-so-how >>>>>> , >>>>>> but I just wanted to confirm the options I have. >>>>>> >>>>>> I write a watir-webdriver example, working well in local, to ilustrate >>>>>> the simple process (in this case html is not dynamically generated, of >>>>>> course, it's only an example): >>>>>> >>>>>> require "rubygems" >>>>>> require "watir-webdriver" >>>>>> require "watir-webdriver/extensions/wait" >>>>>> >>>>>> browser = Watir::Browser.new :firefox >>>>>> browser.goto "http://google.com" >>>>>> browser.text_field(:name, 'q').set "watir-webdriver" >>>>>> browser.button(:name, 'btnG').click >>>>>> >>>>>> Maybe the only option I have is to use EC2, but it's a pitty because I >>>>>> only need to scrap javascript-generated HTML and I want to keep on >>>>>> using heroku, I love it!!! >>>>>> >>>>>> What do you think is the best gem for me to do it on heroku? Or >>>>>> there's no option and I have to use EC2 just to open a browser, losing >>>>>> the heroku goodness? >>>>>> >>>>>> Thanks in advance >>>>>> >>>>>> -- >>>>>> >>>>>> 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. >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Thanks, >>>>> -John >>>>> >>>>> -- >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Heroku" group. >>>>> >>>>> 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_US?hl=en >>>>> >>>>> --- >>>>> You received this message because you are subscribed to a topic in the >>>>> Google Groups "Heroku Community" group. >>>>> To unsubscribe from this topic, visit >>>>> https://groups.google.com/d/topic/heroku/ePZ-Ws263Ug/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> [email protected]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>>> >>>> -- >>>> Nícolas Iensen >>>> >>>> -- >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Heroku" group. >>>> >>>> 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_US?hl=en >>>> >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "Heroku Community" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Thanks, >>> -John >>> >>> -- >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Heroku" group. >>> >>> 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_US?hl=en >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Heroku Community" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Heroku" group. >> >> 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_US?hl=en >> >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "Heroku Community" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/heroku/ePZ-Ws263Ug/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Nícolas Iensen > > -- > -- > You received this message because you are subscribed to the Google > Groups "Heroku" group. > > 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_US?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Heroku Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the Google Groups "Heroku" group. 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_US?hl=en --- You received this message because you are subscribed to the Google Groups "Heroku Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
