I ran into this same problem playing with Rack::Bug. I couldn't access
my site and determined it was because my client IP was not in the
whitelist I'd configured.
I read the Rails docs and even the source and it seemed like
request.remote_ip should just work... but it clearly did not. I logged
I wonder if the GFW blocks all Amazon EC2 IPs? It would make sense, to
reduce their workload playing whack-a-mole.
Everyone I know in China (3 people) use proxies to jump over the
firewall, and they make it sound like its a routine matter.
On Mar 10, 12:41 pm, mattsly matt...@gmail.com wrote:
I tried to push about 10 times over a period of about 2 hours this
morning. It keeps failing on the new relic step. Is this a temporary
heroku issue, or do I need to resolve some new relic issue?
- Heroku receiving push
- Rails app detected
- Gemfile detected, running Bundler version
I talked with Heroku staff, and its a known bug with the newrelic
plugin. They are working on a fix, but the immediate solution is to
just remove the addon.
On Nov 10, 11:46 am, marcel mpoi...@gmail.com wrote:
I tried to push about 10 times over a period of about 2 hours this
morning. It keeps
I've been bitten twice now by addons whose automatic plugin
installation broke my app. The ease of installation is compelling, but
it seems more appropriate to just install a gem via bundler. If
special Heroku magic is needed, then provide a special gem, such as
heroku_newrelic or
My slug used to be about 85 MB (!), but around the time that Heroku
started recognizing BUNDLE_WITHOUT, my slug size dropped to 35 MB.
I also noticed that Heroku's bundler reinstalls all the gems on EVERY
deploy, whereas is used to only run if my gemlock changed. Thats
~5mins instead of
BUNDLE_WITHOUT is currently working for me. It magically started being
recognized a few weeks ago. From my heroku config output:
BUNDLE_WITHOUT= test development
And when I deploy:
- Heroku receiving push
- Rails app detected
- Gemfile detected, running Bundler
I think you need to point :path one folder deeper, like:
gem 'devise', :path = 'vendor/gems/devise-1.0.8'
--
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,
I discovered something similar about a month ago. I dug around the
directory structure using heroku console, and noticed that the
deleted gems still existed in the slug's .bundle folder.
--
You received this message because you are subscribed to the Google Groups
Heroku group.
To post to this
I believe I have read several times that cron and rake both time out
eventually, and that very long running stuff should always get
processed by delayed job workers. This makes sense because you're
paying directly for your worker, as opposed to getting a free lunch
from Heroku for that 20 hour
Or just
request.env.ip
http://rack.rubyforge.org/doc/classes/Rack/Request.src/M000288.html
On Oct 2, 11:55 am, Peter van Hardenberg p...@heroku.com wrote:
I use this in my code -- I run my apps at foo.heroku.com with whatever
the ghetto SSL option is, so YMMV.
def remote_ip
if
I'm using PaperClip to crop and create thumbnails, with everything
stored in S3. I'm just curious if there's any kind of hard limit on
upload size to be aware of.
A Flash-based solution would be superior, but I'm sure there's some
pain getting everything working correctly and its not justified at
I'm curious if there is any kind of upload size (or time) limit? I saw
some old discussions about a 10MB limit, but those are so old I don't
trust them.
I only found one place in the Heroku docs that discourages
uploading files larger than 4 MB, but its not clear what the real
limit is.
+1 for iframe/javascript solution
I feel like the same system could be used to improve the custom
maintenance mode page as well.
I tested it out on my staging app the other day, and it took 15
minutes before the ugly default page was replaced by my custom page.
Thats just too long! My biggest
No. Fortunately this isn't an absolute requirement for me (yet), so I
decided to put it off in hopes that Heroku will update their bundler
system to respect the :production group.
On Sep 15, 10:02 am, Steve Odom steve.o...@gmail.com wrote:
Marcel,
Did you ever figure out a hack to haver
Varnish itself can handle gigabytes of cache, because it uses the hard
disk via virtual memory. But the varnish layer is shared by all heroku
apps, and who knows what exactly Heroku is doing to tweak how it
works.
--
You received this message because you are subscribed to the Google Groups
I tried Pasha's suggestion, but it looks like the environment variable
is ignored by bundler in heroku.
I added autotest-fsevent to the :development group in my gemfile, and
added BUNDLE_WITHOUT=test:development to the heroku app config. But
when I pushed, heroku still tried to build the native
I think the easiest and cheapest solution is to utilize Heroku's
caching layer, Varnish.
http://docs.heroku.com/http-caching
If you set the max-timeout to 1 week then your app only gets hit once
a week... assuming the sitemaps get hit often enough to keep them in
the cache.
--
You received
While your slug is compiling you can't push a new update. If you
disconnect after you push the code, but during slug compilation, the
slug will still get compiled and your app updated.
It should only take a few minutes. I've had it take several hours on a
few occasions, as discussed in this other
heroku config truncates the values by default. If you want to
quickly grab your S3 key or mongohq_url, use the secret --long
parameter. It should really be in the documentation.
heroku config --long
--
You received this message because you are subscribed to the Google Groups
Heroku group.
To
My slug is pretty big, about 50 MB, mostly due to gem dependencies. I
figure I could shave about 5 MB if I spent an entire day shaving off
unused bits. But I doubt this would make any perceivable difference.
I don't really mind the sluggish spin up time. What I do mind is
having slug compilation
Can you store the results in memcache or mongo? How much space do all
the sitemap files consume?
--
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
There is a warning on the mongodb site about using mongoexport/
mongoimport:
Neither JSON nor TSV/CSV can represent all data types. Please be
careful not to lose or change data (types) when using this. For full
fidelity please use mongodump.
Thanks for the helpful tips about keeping the app responsive.
Has anyone else encountered ridiculously long slug compilation
(several hours), or is it just me? Its happened on at least 4 days in
the past month. I checked the heroku status page each time, but only
one of the times coincided with
I ran into a similar need yesterday. I wanted to have a Heroku cron
task create a bundle of my app, to get a daily DB backup.
Here is my task:
task :cron = :environment do
require 'heroku'
heroku_username = ENV['HEROKU_USERNAME']
heroku_password = ENV['HEROKU_PASSWORD']
if
Hoptoad reported about 20 Read-only file system errors for my app
last night. It looks like its just the Rails logger trying to write
the standard logging info that triggered the crash. I guess its a just
a transient Heroku bug?
Resque
machines on EC2. Works like a charm, just requires your team to use cap
deploy instead of git push.
On Wed, Aug 4, 2010 at 3:18 PM, marcel mpoi...@gmail.com wrote:
I'd like to run a few things after I deploy, like clear out memcache
and send a deploy message to NewRelic. Is there a way
I'd like to run a few things after I deploy, like clear out memcache
and send a deploy message to NewRelic. Is there a way to have heroku
call a rake task or something after I push?
Sure I can call 'heroku rake XXX' after I deploy, but I'd rather not
have the possibility of anyone on the team
on the memcache (presumably using
the Heroku control panel?)
Cheers,
Marcel
On Apr 20, 2:48 am, Oren Teich o...@heroku.com wrote:
Hi all,
We're excited to announce that we'll be taking memcached out of beta this
week. We will have a few plans to meet different needs:
5MB - Free
100MB - $20/month
Thanks morgoth,
Will try this later.
I guess more people are interested in using haml/sass/compass within
their rails app on heroku.
Perhaps a FAQ can be written on heroku.com how to implement it.
I googled and found this http://blog.heroku.com/archives/2009/8/18/heroku_sass/
but I guess this
.
Cheers,
Marcel
On Mar 26, 6:40 pm, Oren Teich o...@heroku.com wrote:
hassle stores the stylesheets in varnish, cached for all dynos.
Oren
On Fri, Mar 26, 2010 at 6:30 AM, Marcel Overdijk
marceloverd...@gmail.comwrote:
As I understand sass_on_heroku or better hassle can be used to compile
for all dynos.
Oren
On Fri, Mar 26, 2010 at 6:30 AM, Marcel Overdijk
marceloverd...@gmail.comwrote:
As I understand sass_on_heroku or better hassle can be used to compile
sass stylesheets to the /tmp folder on Heroku. I'm wondering what the
findings are about using this approach.
I'm
appreciated.
Cheers,
Marcel
On Mar 26, 6:40 pm, Oren Teich o...@heroku.com wrote:
hassle stores the stylesheets in varnish, cached for all dynos.
Oren
On Fri, Mar 26, 2010 at 6:30 AM, Marcel Overdijk
marceloverd...@gmail.comwrote:
As I understand sass_on_heroku or better hassle
I guess I confused myself ;-)
For now I also decided to just use compass/sass without hassle and
commit the compiled css files to git.
On Mar 27, 5:34 pm, Oren Teich o...@heroku.com wrote:
Hi Marcel,
What's the confusion? As the github page says, sass_on_heroku is now
hassle. You should
it might be),
so this should not be used for any kind of permanent storage.
Cheers,
Marcel
--
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
+1
On Mar 23, 6:40 pm, Joost Saanen stalk...@gmail.com wrote:
I am Curious too.
regards Joost
On 22 March 2010 19:30, Josh Huckabee joshhucka...@gmail.com wrote:
Bump.
Any official word on this? This would definitely be nice to have.
On Mar 19, 8:14 pm, Arto Bendiken
Is it possible to change the apdex score for my heroku app?
I found only this, http://support.newrelic.com/faqs/general/how-do-i-set-apdex-t
.
--
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.
37 matches
Mail list logo