Re: china

2012-05-23 Thread Steve Smith
and this would at least make you less likely to be considered the same as all the other sites? but like I say I haven't tried it at all. Steve -- Steve Smith @cloudmailin cloudmailin.com Jürg Häcki wrote: hi there my homepage on heroku (www.praxiszugersee.ch) can not be opened in china. i

Re: Anyone using AWS ElastiCache?

2012-02-08 Thread Steve Smith
Are you using the private IP? I'm pretty sure that unless the private IP is being used you get charged the regional data transfer rate. This part of the pricing page seems to suggest this too: If you choose to communicate using your Public or Elastic IP address or Elastic Load Balancer inside of

Re: Custom-Domain SSL - SNI

2011-08-30 Thread Steve Smith
Hey Karl, I know this is a bit of a cop-out answer but the wikipedia page tells you quite a lot about SNI and where it is/isn't supported http://en.wikipedia.org/wiki/Server_Name_Indication. We use SNI at CloudMailin because most of our users are Devs so we very rarely are exposed to the

Re: Custom-Domain SSL - SNI

2011-08-30 Thread Steve Smith
It sounds like SNI just isn't the option for you. I know that browsers are catching up but when I last checked (about a month ago) Chrome and IE didn't support SNI because XP itself doesn't support SNI in it's TLS negotiation. I *think* firefox might work but you would have to try it. If your

Re: How to get New Relic 'Real User Monitoring' to work on Heroku?

2011-06-15 Thread Steve Smith
Hi John, We use the newrelic_rpm gem via bundler and also the rpm_contrib gem. In order to use them we didn't have to do anything special in development. Since we never run the app in production locally the code isn't loaded as far as I can tell. I did think that we had them in a production group

Bundle without on Cedar?

2011-06-14 Thread Steve Smith
Is anyone else having issues with bundle without on Cedar? I've added the config var using: $ heroku config:add BUNDLE_WITHOUT=development:test:cucumber However bundler still seems to be run without development:test Any ideas? Cheers, Steve -- You received this message because you are

Re: How to see queueing

2011-05-24 Thread Steve Smith
Why not add the free version of new relic and then you can see they wait queue as part of the output. Steve On 24 May 2011, at 18:38, iamtheschmitzer jeffrey.j.schm...@gmail.com wrote: I just increased my customers significantly (yay), but saw for the first time Error H11 (Backlog too

Re: Download CSV from AWS as file, not text

2011-05-05 Thread Steve Smith
When you inspect the headers of the file are you seeing a content type? It sounds like you need to tell amazon the content-type and set a content-disposition/filename. I would guess that there is no content type being set and therefore amazon doesn't know to set the headers that force the browser

Re: No way to access any part of Heroku

2011-04-21 Thread Steve Smith
...@gmail.com wrote: I wonder if it has anything to do with this: http://status.aws.amazon.com/?a -- Pito On Thu, Apr 21, 2011 at 11:08 AM, Steve Smith st...@scsworld.co.uk wrote: Rohit, These issues are affecting pretty much everyone on the EC2 US-East region. It's actually something out

Re: Spanish Accents in ActiveRecord

2011-01-11 Thread Steve Smith
What version of Ruby are you using Sergio? The issue is probably that the string is being interpreted as latin rather than UTF-8 but is then being saved as UTF-8. In 1.8.x you can use Iconv In 1.9.2 the strings have the encoding baked in. Take a look at force_encoding, and encoding and also

Re: 1 hour inactivity idling and http caching

2011-01-07 Thread Steve Smith
I'm not an expert on this so I would double check, however I think this is all the case, If you only have one dyno then the app will shutdown when there are no requests for a certain time period. I believe this isn't the case once you have more than one dyno but in my experience at that point

Re: 1 hour inactivity idling and http caching

2011-01-07 Thread Steve Smith
requesting a cached page starts the app if the request is never handled by the app? On Jan 7, 11:18 am, Steve Smith st...@scsworld.co.uk wrote: I'm not an expert on this so I would double check, however I think this is all the case, If you only have one dyno then the app will shutdown when

Re: Some Heroku questions

2010-12-30 Thread Steve Smith
I'm not sure I quite understand your question but if you are saying for example you have two heroku sites setup but they share the same repository (like staging and live) then you can specify --app as part of the heroku command line tool. Such as: $ heroku info --app cloudmailin On 30 Dec

Re: Some Heroku questions

2010-12-30 Thread Steve Smith
: To piggyback on this question - how do people handle staging vs. live? Do you point at the same repo. but use different branches to deploy, or something else? Wes On 12/30/10 7:35 AM, femto Zheng wrote: Yes, that's it, thanks for the info. On Thu, Dec 30, 2010 at 8:17 PM, Steve Smith st

Re: memcached servers

2010-12-27 Thread Steve Smith
Have you tried either Rails.cache.stats or new relic? I personally prefer new relic as I can see where the cache is actually making a difference. Steve On 27 Dec 2010, at 21:48, Carson Gross wrote: To the top: is there a way to find out how well our dalli-based memcache is working?

Re: Bogus bundle not complete messages

2010-11-29 Thread Steve Smith
Wes, do you have bundle without set? I had this error and the Heroku guys determined I should have used development:test and not development test could be the same issue? Steve On 29 Nov 2010, at 17:43, Wes Gamble we...@att.net wrote: Occasionally in the last week, I keep getting messages

Re: db:push failure

2010-11-24 Thread Steve Smith
Hi Josh, It looks like one of your string fields is too long for the 255 character limit imposed by postgres. You could maybe try migrating to text rather than string or truncate the value locally? Steve On 24 Nov 2010, at 17:05, Josh Coffman wrote: Howdy! I'm trying to push data from

Re: Bundler / rails 2.3.5 - wrongly looking for dev gems in production

2010-11-22 Thread Steve Smith
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:

Re: Which availability zone for my RDS instance to minimize Data Transfer costs

2010-11-09 Thread Steve Smith
I'm almost certain its us-east Steve -- http://cloudmailin.com @cloudmailin Incoming email for your web app On 9 Nov 2010, at 15:38, Marshall Yount wrote: In which availability zone should I spin up my RDS instances in order to minimize Regional Data Transfer costs? If I read Amazon's

Re: odd issue with bundler, rails3, on bamboo 1.9.2

2010-11-05 Thread Steve Smith
I have a feeling daemons 1.1.0 is included as a requirement of something else, are you also committing the lock file? The lock file should also show you what is requiring what. Steve -- http://cloudmailin.com @cloudmailin Incoming email for your web app On 5 Nov 2010, at 16:45, Kyle Bragger

Re: odd issue with bundler, rails3, on bamboo 1.9.2

2010-11-05 Thread Steve Smith
? I actually thought this was what the lock file is supposed to be solving though. Does anyone else know why it may not be being used? Steve On 5 Nov 2010, at 16:56, Kyle Bragger wrote: Yes lockfile is Commited. Read that was good practice. Not so? On 5 Nov., 12:52, Steve Smith st

Re: Multiple domains per app

2010-10-15 Thread Steve Smith
If this is the Zerigo add-on then I believe that you can only have one domain with the first package. You need to add a higher package to be able to add more custom domains. Once you have aded the package you can just do $heroku domains:add example.com? Don't know if that helps, Steve On 15

Re: Help! App crashed after heroku push and unable to restart

2010-09-25 Thread Steve Smith
It sounds like paperclip is requiring a recent version of activesupport which doesn't like the aspen stack (ruby 1.8.6). You might try to fix the versions in the gem file to ones you have locally that might relax the dependancies. If you can't get it working because of the dependencies this is

Re: EROFS... read-only filesystem

2010-09-25 Thread Steve Smith
Hey Dean, Absolutely, you shouldn't really be using the heroku environment to store data like this. If you stored data within the heroku app there would be no way to know which dyno it was stored on in future and when you call that image from the public directly it might only show up

Re: Caching of /public files

2010-09-22 Thread Steve Smith
Does Heroku not apply these headers for you? Looking at my site I see Cache-Control:public, max-age=43200 added to any images served from public? I was surprised to learn that ActionDispatch::Static/Rails doesn't cache the static files in production but I guess it does make sense. You could

Re: mongo mapper or mongoid on heroku with rails 3

2010-09-21 Thread Steve Smith
We've personally had no issues with Mongoid, not sure tried MongoMapper though. We use the following config/initializer/mongoid.rb: settings = URI.parse(ENV['MONGOHQ_URL'] || 'mongodb://localhost/dbname') database_name = settings.path.gsub(/^\//, '') Mongoid.configure do |config|

Alpha testers wanted - incoming email on Heroku

2010-09-14 Thread Steve Smith
Hey guys, We have been working on a system to allow Heroku apps to receive email. We have now got Heroku integration working and we're looking for some people to test out the system. If anyone is interested please drop me a line. Steve Smith -- http://cloudmailin.com @cloudmailin Incoming

Re: Alpha testers wanted - incoming email on Heroku

2010-09-14 Thread Steve Smith
wrote: Hey. I'm interested in this feature for my todo app. My email is daniel.spangenb...@parcydo.com Mit freundlichen Grüßen Daniel Spangenberg Am 14.09.2010 um 17:24 schrieb Steve Smith st...@scsworld.co.uk: Hey guys, We have been working on a system to allow Heroku apps

Re: memcached-northscale gem on windows

2010-08-31 Thread Steve Smith
I know this is a bit cutting edge but the memcached gem was actually deprecated today and replaced with http://github.com/mperham/dalli. Most intersting is the fact that dalli is pure ruby and aims to be a drop in replacement for memcached-client with performance increases and SASL (Mike

Re: Heroku and Sequel Migrations

2010-08-25 Thread Steve Smith
I'm afraid I only have one idea then I'm out as I've not used sequel. Does system 'bundle exec sequel -v' make any difference if you are using bundler? Steve -- http://cloudmailin.com @cloudmailin Incoming email for your web app On Aug 25, 2:14 pm, Scott LaBounty slabou...@gmail.com wrote:

Re: EU bucket cost implications

2010-08-19 Thread Steve Smith
I'm pretty sure that I've heard previous discussions stating that Heroku runs on the standard US region. This http://groups.google.com/group/heroku/browse_thread/thread/d0bb482f957be125/fd013885f7f4398f?lnk=gstq=region#fd013885f7f4398f would suggest thats correct too. Steve --

Re: push succeeds but app fails to start, what am i doing wrong?

2010-08-12 Thread Steve Smith
It's a known problem with Bundler and git paths. Have a look here http://docs.heroku.com/bundler100rc2-git and http://groups.google.com/group/heroku/browse_thread/thread/f33a79310c0fef4d Steve -- http://cloudmailin.com @cloudmailin Incoming email for your web app On Aug 12, 6:05 pm, problemblog

Re: FAILED: Have you updated to use a 0.9 Gemfile?

2010-07-22 Thread Steve Smith
Hey, As far as I know Heroku haven't upgraded to bundler 0.10x and since 0.9 and 0.10 are not compatible you will have to use bundler 0.9.x locally to create the lock file (alternatively you might be able to remove the lockfile if you are happy with the latest releases etc). Steve On Jul 22,

Re: delayed_job for logging

2010-07-13 Thread Steve Smith
Hey, Andrew I am sure there are people far more qualified than me on here that can help however I think it really depends on how much info you are logging. If you are only logging the standard rails requests then I don't see any issues using MongoDB DB without delayed job. Remember as you say

Re: DNS: 1 and 1

2010-06-28 Thread Steve Smith
Hi Jeff. You don't want to set the nameservers to heroku but rather tell one and ones name servers that your domain can be found by going to heroku. To do this you can use a cname (so stick with one and ones nameservers) in the dns settings. The cname is proxy.heroku.com. The only issue comes

Re: Project.where(:status = true)

2010-06-16 Thread Steve Smith
Looks like Arel might not be escaping the true correctly which is strange. How about p = Project.where([status = ?, true]) Does that do the same thing? Steve On 16 Jun 2010, at 14:46, webdevotion wrote: Hey We have a problem with our Projects controller. Where we want to select all

Re: 2 heroku sites for 1 app.. test production

2010-06-16 Thread Steve Smith
We quite often use this for staging etc. Bundles will also help you achieve a clone of your existing site. Steve On 16 Jun 2010, at 16:17, hemal.kuntawala wrote: Has anyone tried adding another heroku site to their app? Thinking it through I think it's possible, e.g. just adding another

Re: How can I clean out or reinitialize an app's git repository?

2010-06-11 Thread Steve Smith
Hey, If you really need to clean out the repo and start from a clean init (I personally think that its worth keeping just for the history) then you can do something along these lines (I haven't tried it so backup and double check before you do it). # find all the git files and remove them cd

Re: EXIF support on Heroku?

2010-06-10 Thread Steve Smith
Does the identify command of ImageMagick help at all? I'm pretty sure that its installed or if not it is required as part of the paperclip gem. The command is something like identify -format %[exif:*] image.jpg Steve On Jun 8, 5:51 pm, Patrick Crowley patr...@mokolabs.com wrote: I'm really

Re: EXIF support on Heroku?

2010-06-10 Thread Steve Smith
Does the identify command of ImageMagick help at all? I'm pretty sure that its installed or if not it is required as part of the paperclip gem. The command is something like identify -format %[exif:*] image.jpg Steve On 8 Jun 2010, at 15:54, Keenan Brock wrote: Kinda a hack but If you

Re: Reliability

2010-06-10 Thread Steve Smith
For me I think one of the key differences between heroku and other systems is that it isn't me doing the admin when things do go wrong. Sure things will go down from time to time but even if I used a managed server that I had root access to the chances are that I would have to get involved, or