Re: Can I use my own SendGrid credentials?
Hi, The best way is to change the Heroku config settings. (heroku config -app your_app) Regards, On Nov 21, 4:25 am, Barry Hoggard ba...@tristanmedia.com wrote: Can I use my existing SendGrid account on Heroku? Would setting the environment variables in config/environment.rb override Heroku's version? -- 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: Database disaster risk and backups
Thanks for clarifying, Matthew. That's exactly the answer I was looking for. Paul On Nov 18, 3:31 am, Matthew Soldo m...@heroku.com wrote: Paul, Thanks for pointing that out. The marketing page is confusing and we will correct it. Our postgresql database is not replicated in the sense that you would expect (i.e. hot/cold standby for failover). It does however use a replicated EBS (http://aws.amazon.com/ebs/) RAID array, which provides significantly enhanced data-durability. Historically this has resulted in almost no incidents of data loss for Heroku app. If a replicated database is a requirement, you can still achieve this with Heroku by using Amazon's RDS database (http://aws.amazon.com/ rds/), and our free RDS add-on (http://addons.heroku.com/amazon_rds). Best, Matt Soldo On Nov 17, 10:03 am, Paul Dowman p...@pauldowman.com wrote: Thanks for the reply. So it's not actually possible to guarantee that there will be no data loss, the best we can do is an hourly backup (assuming the data set is small enough that a full dump each hour is feasible). So why does the marketing page (http://heroku.com/how/architecture) say that there's replication? Thanks, Paul On Nov 16, 5:02 pm, Peter van Hardenberg p...@heroku.com wrote: Hey Paul, sorry -- I'm super-busy right now but I'll at least tap out a bit of a reply. On Tue, Nov 16, 2010 at 1:34 PM, Paul Dowman p...@pauldowman.com wrote: Hey Heroku guys, just bumping this thread. To summarize: do we need to do automated regular backups to protect against Postgres or some other part of Heroku infrastructure going down, or is the database guaranteed to be reliable? We take automated backups as disaster insurance, but make no promises about their intervals. In the event of an outage, we handle recovery. If there is the potential for data loss, we reach out to any affected users. I'm guessing we do, and if so how do we do that since an hourly dump of postgres via cron isn't reliable enough or scalable? (i.e. you can lose up to an hour of data, and more as the dump starts to take longer with a large dataset.) Hourly dumps is probably your best solution at the moment, but we're aware that there are better solutions out there and would love to schedule those into our release schedule some time soon. Having said that, in the three years we've been running PostgreSQL, I believe the number of data-loss failures (and by that I mean restore-from-backup failures) could be counted on one hand. -pvh -- 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: Can I use my own SendGrid credentials?
If you have your own sendgrid account, there's no point in even using heroku's addon. Just throw something like this in your environment.rb: config.action_mailer.smtp_settings = { :enable_starttls_auto = true, :address= 'smtp.sendgrid.net', :port = '587', :authentication = :plain, :user_name = SENDGRID_USER, :password = SENDGRID_PW, :domain = 'yourdomain.com' } On Nov 20, 10:25 pm, Barry Hoggard ba...@tristanmedia.com wrote: Can I use my existing SendGrid account on Heroku? Would setting the environment variables in config/environment.rb override Heroku's version? -- 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: hostname: Unknown host
I agree their support is slow (make it better! http://jobs.heroku.com/ruby_cloud_platform_support_engineer ) but we run large (2+ million hits/month) sites on heroku with no stability problems at all. They do offer (expensive, I'm guessing) priority support packages. On Nov 16, 10:01 pm, Thawatchai Piyawat thawatc...@gmail.com wrote: My app is crashed since yesterday. The log show hostname: Unknown host. I believe this is Heroku's problem. However, it's more than a day, it's still not fixed now. It seems odd. I've submitted a support request. However, according to my experience, Heroku support is slow. Heroku seems like a good service. However, their stability and support staff need quality improvement. Anybody has the same problem as mine? Thawatchai -- 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.
Bundler / rails 2.3.5 - wrongly looking for dev gems in production
I'm trying to get a Rails 2.3.4 app running on Heroku. I'm using a Gemfile and bundler to manage the gems. I followed the instructions at http://gembundler.com/rails23.html My test group looks like this: group :test do gem 'factory_girl', '1.2.3' gem 'thoughtbot-shoulda', '2.10.2' # gem 'jtrupiano-timecop', '0.3.0' gem 'fakeweb', '1.2.6' gem 'nokogiri', '1.3.3' gem 'webrat', '0.5.3' # At the bottom due to a loading bug in Rails gem 'jferris-mocha', '0.9.7.20090911190113' end and I have set the config variable to ignore test and development gems: heroku config:add BUNDLE_WITHOUT=test development --app hwcollection However, when I try to run the app, it fails. I've updated config/ preinitializer.rb to tell me what the problem is and I'm getting: Bundler couldn't find some gems: #Bundler::GemNotFound: Could not find factory_girl-1.2.3 in any of the sources.Did you run `bundle install`? (RuntimeError) How do I get it to not load development / test gems? -- 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: Bundler / rails 2.3.5 - wrongly looking for dev gems in production
Hey Barry does bundle without development:test work for you? I had a similar issue and the heroku guys showed me this fix. This is the new bundler syntax anyway I just hadn't gotten around to changing it. Steve Steve On 22 Nov 2010, at 22:31, Barry Hoggard ba...@tristanmedia.com wrote: I'm trying to get a Rails 2.3.4 app running on Heroku. I'm using a Gemfile and bundler to manage the gems. I followed the instructions at http://gembundler.com/rails23.html My test group looks like this: group :test do gem 'factory_girl', '1.2.3' gem 'thoughtbot-shoulda', '2.10.2' # gem 'jtrupiano-timecop', '0.3.0' gem 'fakeweb', '1.2.6' gem 'nokogiri', '1.3.3' gem 'webrat', '0.5.3' # At the bottom due to a loading bug in Rails gem 'jferris-mocha', '0.9.7.20090911190113' end and I have set the config variable to ignore test and development gems: heroku config:add BUNDLE_WITHOUT=test development --app hwcollection However, when I try to run the app, it fails. I've updated config/ preinitializer.rb to tell me what the problem is and I'm getting: Bundler couldn't find some gems: #Bundler::GemNotFound: Could not find factory_girl-1.2.3 in any of the sources.Did you run `bundle install`? (RuntimeError) How do I get it to not load development / test gems? -- 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: Bundler / rails 2.3.5 - wrongly looking for dev gems in production
Barry, You have a space in your config var. You need to use a : $ heroku config:add BUNDLE_WITHOUT=development:test Oren On Mon, Nov 22, 2010 at 3:23 PM, Barry Hoggard ba...@tristanmedia.com wrote: I'm not sure what you're asking? I have this all working fine on a 3.0 Rails app, but for this 2.3.4 one, it's trying to load my dev gems when the app starts up on Heroku even thought the Rails environment is production. I would prefer not to go back to the manifest approach if I can help it. On Nov 22, 5:37 pm, Steve Smith st...@scsworld.co.uk wrote: Hey Barry does bundle without development:test work for you? I had a similar issue and the heroku guys showed me this fix. This is the new bundler syntax anyway I just hadn't gotten around to changing it. -- 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: Bundler / rails 2.3.5 - wrongly looking for dev gems in production
Ah, thank you so much! I had it right on other installs, but I must have followed out-of-date instructions for this one app. On Nov 22, 7:53 pm, Oren Teich o...@heroku.com wrote: Barry, You have a space in your config var. You need to use a : $ heroku config:add BUNDLE_WITHOUT=development:test Oren -- 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.