Re: Custom error pages, we *really* need them
I've suggested in the past having a separate branch in your repo called errorpages or something, which has a few static HTML pages. Push that branch to Heroku, and it can use those files to serve errors. On Wed, Sep 15, 2010 at 7:58 AM, Daniel Spangenberg daniel.spangenb...@googlemail.com wrote: I like the idea too, but maybe I don't wan't to set up an extra heroku app or shared host for an static html page only, maybe it would be nice if you can choose to take the iframe and a textinput, where you can insert plain html. Daniel Am 15.09.2010 um 16:55 schrieb Adrian Cuadros: + 1 on this also. like the idea about the iframe On Wed, Sep 15, 2010 at 9:02 AM, Jeff Schmitz jeffrey.j.schm...@gmail.com wrote: +1 Maybe the generic page could be a fail Koi On Wed, Sep 15, 2010 at 7:31 AM, Daniele to...@vitamino.it wrote: Hi, as you can see from the status page in the past 2 days Heroku had a lot of problems that resulted in Timeout connection and Backlog Too Deep error pages. This two pages have a message specifically addressed to the administrator that is not acceptable in a production site. We need to have personalized pages. Same logic about the Heroku Ouchie Page of course! If this is not possible immediately a quick hack could be to have a really generic white-label page (multilingual would be appreciated) and put all the system message in an html comment. We are tech guys, right? Is not a problem to look at the source to find out what is happening. This seems clever that show a ugly error message to everyone. Finally as I already suggested in another discussion: A simple solution for more personalization without the need to access any preferences could be to have a full page iframe inside the heroku's error page pointing to http://error .heroku_app_domain.tld/http_error.html The admin has to create a third/fourth level domain, point it to a different server and create the personalized pages. So every application can have an error page/backup application to handle the down. A js can check for the domain existence and switch to a plain txt message if it is not set. I'd love to get feedback on these ideas by Heroku guys. Thank you. Daniele -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . 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 her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- Adrian Cuadros adr...@rutanet.com (+521) 8116848310 -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. 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 her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . 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 her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Heroku Console and Gems
Not necessarily. .gems is deprecated IIRC, and only tells Heroku what to install. Your Rails app has to define gems in config/environment.rb w/ config.gem directives. Alternatively, switch to Bundler + Gemfile, and manage gems in one place. On Fri, Aug 27, 2010 at 1:35 PM, Scott LaBounty slabou...@gmail.com wrote: Should the gems that are in my .gems file be available to me in the Heroku console? Are they available from my rakefile? Thanks, -- Scott http://steamcode.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . 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 her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Heroku Console and Gems
I believe so, as long as the Rakefile + your app loaded Bundler. On Fri, Aug 27, 2010 at 1:44 PM, Scott LaBounty slabou...@gmail.com wrote: Hmm... I'm not using Rails. If I do make the switch to Bundler/Gems would the gems be available via rake and the console? Scott On Fri, Aug 27, 2010 at 1:37 PM, David Balatero dbalat...@gmail.comwrote: Not necessarily. .gems is deprecated IIRC, and only tells Heroku what to install. Your Rails app has to define gems in config/environment.rb w/ config.gem directives. Alternatively, switch to Bundler + Gemfile, and manage gems in one place. On Fri, Aug 27, 2010 at 1:35 PM, Scott LaBounty slabou...@gmail.comwrote: Should the gems that are in my .gems file be available to me in the Heroku console? Are they available from my rakefile? Thanks, -- Scott http://steamcode.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . 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 her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- Scott http://steamcode.blogspot.com/ -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . 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 her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Subdomain set up?
You need to have the custom domain add-on with your desired domain. remix.tricil.net needs to be a CNAME pointing to proxy.heroku.com That's it! David On Aug 18, 2010, at 2:55 PM, tricil tri...@gmail.com wrote: Ok, so I have a site that's my main website: http://tricil.net this has to stay the same. my heroku app is currently http://cold-sunset-12.heroku.com and i want the URL for it to be http://remix.tricil.net I looked into wildcard domains, and pointed remix.tricil.net to heroku.com, filled in the command line and it just loads heroku.com. the homepage not my app. should i just try and use DNS with zerigo? it wants to change the nameservers, and that can't change for it would mess up my main site. so confused. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. 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 her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: how to use a command-line utility?
On Wed, Aug 11, 2010 at 3:43 PM, Richard Conroy richard.con...@gmail.comwrote: On Mon, Aug 9, 2010 at 6:41 PM, Jacob Hodes jho...@gmail.com wrote: Hi, I'm developing a Rails app that makes use of a command-line tool called Graphviz (http://www.graphviz.org). Changes get made in the Rails app, then a background job is fired which runs graphviz as a system command. graphviz generates a graph and saves it to a file. Then I upload the file back into my Rails app. I know Heroku's filesystem is read-only, no ssh access, etc. Given these limitations, what's the best approach to take? I see I can use S3 for file storage. But how about finding a way to use this command-line utility? I'm highly doubting Heroku would install such a thing, right? Any alternative ideas? One idea I can think of is to wrap GraphViz in a web service and install it in a seperate hosting service. To this end, you can always spin up an EC2 instance. Since Heroku dynos are hosted on EC2, you can talk to any other machines over private IP addresses. You just need to allow the Heroku security group. An alternative idea: Heroku lets you use sqlite/memory databases. Its not a supported option, but they do work, and I would say the limitations are severe (I doubt Delayed Jobs would see them). You could upload the information that GraphViz needs to process into the DB. I am uncertain how you could get the GraphViz CLI app to use it, but perhaps GraphViz has a library/gem which has less restrictive use? Thanks for your thoughts, Jacob -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- http://richardconroy.blogspot.com -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . 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 her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Workflow to allow heroku to install a 'private' (local) gem on deploy
If Bundler is running on Heroku, the Heroku UNIX user account needs to have its public key in your Github repo as an authorized key. Each Heroku machine will have a different SSH key generated, and you non-deterministically deploy to some machine in the Heroku cloud each time you deploy. Even if you had a consistent SSH key, it would be insecure for you to add that key to your public repo, as anyone else deploying to the same machine as you would be able to download your code repo. On Wed, Aug 11, 2010 at 5:34 PM, Bradley bradleyrobert...@gmail.com wrote: Right, so I added in: Host heroku.com ForwardAgent yes to my Tomcat user's ~/.ssh/config. This is the user that checks out from Github then pushes to heroku. I still get the same error, Permission denied (publickey). Can you explain how this is supposed to work? I'm confused as to how Heroku would know that it can forward this gem fetch request through my tomcat user on my server? (if that's what's supposed to happen, I'm still pretty confused as to what this should accomplish) Thanks, Brad On Aug 11, 1:03 am, Matthew Todd matthew.t...@gmail.com wrote: On Aug 10, 2010, at 8:28 AM, Matthew Todd wrote: Host heroku.com ForwardAgent yes On Aug 11, 2010, at 7:34 AM, Bradley wrote: this should be added to the github user's ssh config? No, to the ssh config of any *local* user (having access to your private GitHub repository) who needs to run git push heroku to deploy. Cheers, -- Matthew -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . 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 her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Workflow to allow heroku to install a 'private' (local) gem on deploy
If you could package a custom SSH pub/private keypair with your Gemfile, you could then: 1) Add that pub key to Github 2) Set the :git source in the Gemfile for your private gem to point at your private SSH Github URL. However, I don't believe Bundler supports having an embedded public/private keypair. It would be an interesting patch, though. Currently, I just script/plugin install --force my private plugin from Github every time I update it, which I hate. - David On Mon, Aug 9, 2010 at 11:55 AM, Andrew C. andrew.c...@gmail.com wrote: You can vendor the gem too. On Aug 9, 9:44 am, Bradley bradleyrobert...@gmail.com wrote: Ya I'm just wondering the best way to reference this gem. For instance, the gem location will be different on my local machine during dev as on my CI machine during build/deploy. I'm using github and I've noticed that Bundler can use :git as a source, I assuming Heroku's deploy does this the Gem bundling locally before pushing, so maybe my best bet is to use that repo as the source and as long as my CI server has access to that private github repo, all should be gravy? On Aug 8, 9:34 pm, Michishige Kaito chris.webs...@gmail.com wrote: El 08/08/10 22:23, Bradley escribi : I'm writing a new app that uses a custom gem not publicly available on gemcutter, or anywhere for that matter. I'm building both the app and gem with Hudson CI, then I'd like the app pushed to heroku by somehow installing this gem and pushing. I'm a bit confused as to how I might do this. Do I want to bundle package? Will heroku then install the gem from vendor automatically? How do I have environment specific dependencies that work with Heroku? For instance while in development, i want to use my local gem, but in Hudson I want to package the locally built gem from hudson, then push my app to heroku. I don't want these gems available publicly which is why I'm looking for a good way to package the gem for my Heroku app to be able to use it appropriately. Doe this make sense? Any suggestions/help is greatly appreciate. **setup** Hudson 1.368 Git 1.5.6.5 Bundler 1.0.0RC2 Heroku Stack bamboo-mri-1.9.1 Rails 2.3.8 If you're using bundler, you can just push the gem file along with the rest of your app. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . 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 her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
private git repos in bundler
If I have a private library on Github that I want to include in my Heroku app via Bundler, I know I can pass the Git-SSH URL to Bundler. However, the deploy machine would have to have the correct SSH keys to clone from github. Is it possible to get my app's SSH pub key, and add it to my project on Github to allow private cloning from Heroku? Thanks! David -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.