What is rails3_disable_x_sendfile?

2011-03-21 Thread Trevor Turk
I'm seeing the following when pushing to Heroku: Configure Rails 3 to disable x-sendfile Installing rails3_disable_x_sendfile... done What is this about? Is there a way I should configure my app to avoid seeing this message? -- You received this message because you are subscribed to the

Re: What is rails3_disable_x_sendfile?

2011-03-21 Thread Trevor Turk
I have: config.serve_static_assets = true ...but I don't have anything with: config.action_dispatch.x_sendfile_header ...at all. Perhaps you are doing something unnecessarily in my case? You can view my app teamlab yourself on Heroku if you like. I can file a support ticket if necessarily.

Re: What is rails3_disable_x_sendfile?

2011-03-21 Thread Trevor Turk
On Monday, March 21, 2011 12:06:35 PM UTC, Keenan wrote: So you need to tell rails to not use the handy X-sendfile header and stream the file through. How this affects Heroku? The web server is running on a different machine than the dynos. So X-sendfile doesn't work. So they modify

Re: How do I rewrite a url for requests from one domain to another?

2011-02-06 Thread Trevor Turk
On Friday, February 4, 2011 2:53:00 PM UTC+1, Scott Watermasysk wrote: You might also want to check out RackRewrite which has lots of great features. I'm just redirecting one heroku app to another like so: https://github.com/trevorturk/almosteffortless/blob/master/config.ru I think it's

Is there a preferred method of packaging assets in a Rails 3 app on Heroku?

2011-01-13 Thread Trevor Turk
Given the read-only filesystem: http://docs.heroku.com/constraints#read-only-filesystem ...and the fact that javascript_include_tag :some, :stuff, :cache = true doesn't seem to work reliably on Heroku with Rails 3... ...and the fact that I have lots of separate javascript and css files that

Re: Is there a preferred method of packaging assets in a Rails 3 app on Heroku?

2011-01-13 Thread Trevor Turk
On Thursday, January 13, 2011 1:35:27 PM UTC, John Beynon wrote: We use https://github.com/sbecker/asset_packager under Rails3 on Heroku - works great for us, Run a rake task locally to package after any changes to js/css, commit to git and then deploy Thanks for that. I've been playing

Re: Is there a preferred method of packaging assets in a Rails 3 app on Heroku?

2011-01-13 Thread Trevor Turk
On Thursday, January 13, 2011 5:51:42 PM UTC, David Dollar wrote: Another approach if you're packaging assets like this anyway would be to upload them to S3 instead of adding them to the app. You could then use S3 as an asset host, and even take advantage of CloudFront as a CDN. Yeah, I

Re: Feature request: an easier way to get to your addon urls

2011-01-12 Thread Trevor Turk
On Wednesday, January 12, 2011 12:14:56 AM UTC, Adam Wiggins wrote: Thanks for the suggestion Trevor, I agree that would be handy. Care to add it to the Heroku client and send us a patch? :) Sure thing - I'll see what I can do. -- You received this message because you are subscribed to the

Feature request: an easier way to get to your addon urls

2011-01-11 Thread Trevor Turk
Let's say I want to get to my app's New Relic page. Right now, I have to go to Heroku's website, log in, click My Apps, find my app, click the app's name, click Add-ons, click New Relic. Is there an easier way? Perhaps something on the command line, such as: heroku addons:open newrelic

Re: rails 3.0.3 bundle - tread carefully!

2010-12-01 Thread Trevor Turk
On Nov 25, 2:21 pm, Dennis dennismaj...@gmail.com wrote: I also had to revert back from 3.0.3 to 3.0.1 - the Paperclip gem gave a temp_file method not found error msg while attempting to upload an image. I believe Paperclip has since been fixed. There's a change sitting in master about this:

Re: Automating pgbackups

2010-11-18 Thread Trevor Turk
On Nov 18, 6:18 pm, David Dollar ddol...@gmail.com wrote: I threw this together to help out a bit automating your PGbackups. https://github.com/ddollar/heroku_backup_task Awesome! I'll give it a shot. Thank you! -- You received this message because you are subscribed to the Google Groups

Re: Automating pgbackups

2010-11-17 Thread Trevor Turk
On Nov 16, 6:44 pm, Andrew C. andrew.c...@gmail.com wrote: I spin up an EC2 instance from my cron job.  The EC2 instance captures and downloads the backup to S3, then shuts itself down.  Works well so far.  Obviously, it's not free, but it's freaking cheap. Any chance of open-sourcing some of

Automating pgbackups

2010-11-16 Thread Trevor Turk
I love the new pgbackups service: http://docs.heroku.com/pgbackups ...but there's one thing lacking: an easy way to automate the backups. I've used Heroku's cron addon to automate pg_dump backups in the past: https://github.com/edavis10/heroku_s3_backup/network ...but I'd like to use pgbackups

Re: new Bundler version?

2010-07-27 Thread Trevor Turk
On Jul 26, 7:57 am, Dan Croak dcr...@thoughtbot.com wrote: Will Heroku be upgrading to that version of Bundler? I'm not sure how to test our Rails 3 on Heroku otherwise. I know all of this cutting edge stuff is a pain for Heroku to support, but it sure is frustrating to not be able to use the

Re: Bundler 0.9.26

2010-06-15 Thread Trevor Turk
On Jun 14, 4:37 pm, Pedro Belo pe...@heroku.com wrote: We will be upgrading Bundler to 0.9.26 tomorrow. Awesome. On a side note, we've been studying alternatives to this process so you're not blocked on us whenever Rails bumps the Bundler version dependency. We are well aware of this issue

Re: rails-3.0.0.beta4 on bamboo-ree-1.8.7?

2010-06-13 Thread Trevor Turk
On Jun 13, 5:49 am, Ariejan de Vroom arie...@gmail.com wrote: Is there any way I can tell heroku to use the 'customly installed' 0.9.26 version instead? That would be a 'fix' for future bundler updates as well. I tried to do this as well, and found it didn't work for whatever reason. It would

Re: rails-3.0.0.beta4 on bamboo-ree-1.8.7?

2010-06-12 Thread Trevor Turk
On Jun 10, 9:43 pm, Pedro Belo pe...@heroku.com wrote: Thanks for reporting. We're aware we need to update Bundler - we'll roll that out asap! Any chance of an ETA on this Bundler update? -- You received this message because you are subscribed to the Google Groups Heroku group. To post to

Re: Howto: automate DB backups

2010-04-20 Thread Trevor Turk
On Apr 20, 9:55 am, Andy Shipman a...@cllearview.com wrote: That is very cool. I adapted it slightly to download to Dropbox instead - using the dropbox gem - and now I get a backup locally as well as in the cloud. Awesome! Thanks for posting that. On Apr 20, 10:33 am, Mooktakim Ahmed

Re: Howto: automate DB backups

2010-04-15 Thread Trevor Turk
On Apr 15, 3:26 am, johnb john.bey...@gmail.com wrote: I usewww.backupmyapp.com- pretty neat service, files + database. Looks pretty cool, thanks for the link. On Apr 15, 9:04 am, Neil Middleton neil.middle...@gmail.com wrote: Side note - do people generally worry about backing up S3? They're

Howto: automate DB backups

2010-04-14 Thread Trevor Turk
I'm not too thrilled with the current backup options Heroku is offering, but I had to do something. So, I wrote up an article that shows how I'm enabling automatic nightly PostgreSQL database backups from Heroku to Amazon S3. http://almosteffortless.com/2010/04/14/automated-heroku-backups/

Bundle upgrade

2010-02-25 Thread Trevor Turk
I'd like to request (another) bundler upgrade. They keep making fixes to the gem, and I think Heroku is using an older one, if I'm not mistaken. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to

Re: Gem Bundler 0.9 now live

2010-02-17 Thread Trevor Turk
On Feb 17, 12:38 pm, Oren Teich o...@heroku.com wrote: Thanks, I've updated the docs to reflect this. Oren Hi Oren, Thanks for continuing with this. I'm not 100% sure that the steps in your docs are working just yet. I've commented on this bundler ticket with more details:

Re: Gmail SMTP Plugin and different Ruby versions

2010-02-16 Thread Trevor Turk
On Feb 13, 7:41 am, brentlintner brent.lint...@gmail.com wrote: I have been attempting to get Gmail SMTP mail working on both Heroku (1.8.6) and my local dev (1.8.7). I've been using this for the same reason: http://github.com/ambethia/smtp-tls Seems to work fine. - Trevor -- You received

Re: Gem Bundler 0.9 now live

2010-02-16 Thread Trevor Turk
On Feb 16, 7:04 pm, Oren Teich o...@heroku.com wrote: Gem bundler 0.9 is now live on Heroku. Using the instructions here: http://docs.heroku.com/gems#gem-bundler ...with the latest hoptoad_notifier gem and a rails 2.3.5 app, I still need to have the config.gem call in my config/environment.rb

Re: Gem Bundler 0.9 now live

2010-02-16 Thread Trevor Turk
On Feb 16, 9:55 pm, Trevor Turk trevort...@gmail.com wrote: ...and the workaround in the subsequent commit here: http://github.com/trevorturk/kzak/commit/56226739d Sorry, that second link should have been: http://github.com/trevorturk/kzak/commit/6cd75f050 - Trevor -- You received

Re: Gem Bundler 0.9 now live

2010-02-16 Thread Trevor Turk
On Feb 16, 10:02 pm, Oren Teich o...@heroku.com wrote: Sorry if it wasn't clear, my understanding is that rails 2.X will always require that you have BOTH them gemfile and the config.gem syntax. Hmm - I'm not clear on how this is all going to play out, but I had to use this gist mentioned in

Re: Gem Bundler 0.9 now live

2010-02-16 Thread Trevor Turk
On Feb 16, 10:37 pm, Oren Teich o...@heroku.com wrote: Interesting - you're saying that using those instructions meant you didn't need to do any of the annoying config.gem stuff in your environment file? Yes. If you follow the last few commits in my github project, you can see everything I

Re: A key is required to write a cookie containing the session data.

2010-02-11 Thread Trevor Turk
On Feb 8, 11:23 pm, Charles M Magid cmma...@gmail.com wrote:     cookie_store.rb:163:in `ensure_session_key':   A key is required to write a cookie containing the session data.   Use config.action_controller.session =   { :key = _myapp_session, :secret = some secret phrase }   in config/

Re: gem bundler support

2010-02-04 Thread Trevor Turk
On Feb 3, 8:47 pm, Glenn Rempe gl...@rempe.us wrote: Can you comment on which version of bundler you are using within heroku?  I see that bundler v. 0.9.0 was just officially released and I noticed that there are some significant changes to the user experience, but I don't know if that changes

Re: gem bundler support

2010-01-22 Thread Trevor Turk
On Jan 19, 6:52 pm, Adam Wiggins a...@heroku.com wrote: Heroku now has native support for gem bundler. If you push up a repo that has a Gemfile it its root, the slug compiler will bundle your gems automatically. I've been using this very happily for a few weeks now, since I saw a tweet about

Re: How to investigate Backlog too deep? (follow-up)

2009-12-29 Thread Trevor Turk
On Dec 29, 9:48 am, Casper Fabricius casper.fabric...@gmail.com wrote: I am in the same boat as Tim. Despite very low traffic and two active dynos, my site tends to go down with a permanent Backlog too deep and no other resolution than rebooting the app. It is very frustrating to have the app

Alternative Ruby version

2009-11-25 Thread Trevor Turk
Are there plans to allow choosing a different version of Ruby? I'd like to be able to use Ruby 1.8.7 at least, and 1.9.x to play with... Thanks, - Trevor -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to

Re: Beta test: Full text search

2009-09-09 Thread Trevor Turk
On Aug 21, 11:34 am, Oren Teich o...@heroku.com wrote: Hi all,we have a new full text search offering in the works.  This will be an additional paid add-on, starting at $20/month to begin with.   Oren, can you provide any details about what this will be? I'm just wondering if it's using Ferret

Static: a super simple Rails CMS for Heroku

2009-09-03 Thread Trevor Turk
I thought some of you might be interested in a little project I put together a few weekends ago. It's called Static, and it's a really small CMS app made for Heroku. It supports file uploads to S3, makes image thumbnails, lets you make pages, has an optional admin password, and a customizable

Backups...?

2009-07-31 Thread Trevor Turk
Are there any docs about the backups? I don't see anything about what a single bundle backup is or how to use it. Thanks, - Trevor --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group,

Re: Backups...?

2009-07-31 Thread Trevor Turk
On Jul 31, 12:43 pm, Oren Teich o...@heroku.com wrote: we're working on updating the docs, in the meantime a bundle is a collection of your data and app.  Capturing a bundle stores it on our site (s3), you can also download, upload and restore bundles with the heroku command - Cool - thanks

Re: s3-paperclip uploads hanging indefinitely

2009-07-30 Thread Trevor Turk
On Jul 30, 11:11 pm, Nick Quaranto n...@quaran.to wrote: Alright, I think I've tracked down in my codebase where the problem is. Sorry for the red herring here, folks. Still though, it would be nice to see the logs. Please do let us know if/when you figure it out! - Trevor

Re: s3-paperclip uploads hanging indefinitely

2009-07-29 Thread Trevor Turk
On Jul 29, 4:02 pm, Pius Uzamere pius.uzam...@gmail.com wrote: One of the frustrating aspects to this (at least in my case) is that it seems to be failing silently; there's nothing in the logs, the app just churns.  If it helps, I am using this base

Easy install on Heroku for El Dorado, my open source app

2009-07-08 Thread Trevor Turk
I just finished getting my open source forum/blog/chat app working on Heroku last night. I included deployment instructions in the README: http://github.com/trevorturk/eldorado/tree/master I'm really impressed with Heroku so far. There's a _huge_ difference between a Heroku deployment and

Re: Config vars and local setup

2009-06-25 Thread Trevor Turk
On Jun 24, 3:10 pm, Adam Wiggins a...@heroku.com wrote: Very nice, Trevor.  I wonder if you could write this up into a blog post somewhere that summarizes the technique?  That way we can provide the link to others that prefer not to use environment variables in their local setup. Sure thing.

Re: Spam

2009-06-25 Thread Trevor Turk
On Jun 25, 12:45 pm, Carl Anderson nexus...@gmail.com wrote: I agree with Alex. The spam was annoying (until gmail started filtering it completely for me) but having it all in my email is a better option for me. I like the Google Group, but I think it's important to have occasional posts/help

Re: Config vars and local setup

2009-06-23 Thread Trevor Turk
On Jun 23, 11:47 pm, Trevor Turk trevort...@gmail.com wrote: You can see the relevant files here: Apologies, but I (just) changed the repo name on github, so here are the new URLs: http://github.com/trevorturk/eldorado/blob/8af62d1875ec1091ef1202c3f8c6c58c932076d7/config/config.example.yml

Re: to www or to not www

2009-06-04 Thread Trevor Turk
It would be nice to have an automatic redirect that didn't require application code, but you can also do something like the before_filter :ensure_domain bit of documentation here: http://docs.heroku.com/custom-domains#heroku-setup - Trevor On Jun 1, 11:45 pm, foi foi.fi...@gmail.com wrote: I

Re: Support response time

2009-06-04 Thread Trevor Turk
On Jun 4, 3:04 am, Thomas Balthazar gro...@suitmymind.com wrote: What is your experience with the support? I've had reasonably good experience with the support at Heroku, but I wouldn't give it an A+. To wait 4 days for any kind of a response for a support ticket seems unacceptable to me. Maybe