Take a look how you can hook File calls.
https://github.com/pirj/distributed-shelf
If you figure out the file is read orr written, you can fetch/update
your DB, or redis as suggested.
On Jan 24, 11:37 pm, bluewave shai.sayfanalt...@googlemail.com
wrote:
I have an application I want to use
hi, guys. please let me know how to upload my app to heroku..
I'm tring to upload my rails app but I'm facing an error saying Could
not find gem_file in any of the resources. In fact, I use a gem file
not listed on http://rubygems.org/.
Does Heroku only allow us to upload gem files ( Gemfile )
I've been told by Heroku Support that we need to migrate to the Bamboo
stack, upgrade our heroku and rest-client gems to the latest, and this
should work. Thanks to this community's help, I should be able to add
or subtract workers with just a few lines of code!
add_heroku_worker
heroku =
Dammit! I pressed the space bar and inadvertently posted before I was
done typing the message! :/
That code block obviously should have and 'end,' so here it is:
end
There, I feel better now.
On Jan 25, 8:06 am, rubynoob mysmilecent...@gmail.com wrote:
I've been told by Heroku Support that
I have a rails app installed on Heroku. It uses the 1 dyno free plan.
I have measured the download rate with the download of a static file
(200KB) from the rails public folder. The result is 260 KB/s. Are
there better higher download rates in the paid plans?
Best regards
Oliver
--
You received
Hi -
I'm rigging up my own auto-scaling solution for workers. My plan to
shut a worker down when it's not needed is to set $exit = true when
there are no jobs left for it to do. As you can see (https://
github.com/collectiveidea/delayed_job/blob/v2.1.3/lib/delayed/
worker.rb#L74-92) this will
I believe the charges for an additional dyno(s) are usage based so it
would be a relatively cheap experiment to add a dyno and do a test. I
could be wrong in that there may be some flat charge in going from a
free plan to a paid but I don't remember that being the case - it
would be documented
Hi Oliver,
For many static files, we are using amazon s3 / cdn
That may work for you as well.
--Keenan
On Jan 25, 2011, at 2:30 PM, Dennis wrote:
I believe the charges for an additional dyno(s) are usage based so it
would be a relatively cheap experiment to add a dyno and do a test. I
could
Alright, that makes sense. Thanks, Adam.
On Jan 25, 11:12 am, Adam Wiggins a...@heroku.com wrote:
I understand what you're trying to do, but this won't work. Heroku
will try to keep your workers alive no matter what; when it exits it
will change state to crashed and try to restart once,
I'm getting a rather unhelpful error message when I try resetting my shared
database. I'm using v1.17.10 of the gem.
heroku pg:reset --db SHARED_DATABASE_URL --app (my app name)
... ! Internal server error
I know that the post to /apps/#{app_name}/database_reset in
the SHARED_DATABASE_URL is set because all apps on Heroku come with a share
database. It is not used by itself. The DATABASE_URL is the URL used by
all tools.
You can ignore the SHARED_DATABASE_URL in this case.
ORen
On Tue, Jan 25, 2011 at 3:54 PM, Wes Gamble we...@att.net wrote:
I have a
Today, I ran my standard task to push changes to two different Heroku apps.
As part of this task, I issue a:
heroku rake db:migrate
In both cases, the database started migrating from the very first
migration. This, of course, doesn't make sense unless the
schema_migrations table were
I'm already familiar with another solution for automatically backing
up your Heroku database to S3 using the fog gem called bakkuappu.
However, I'm stuck with AWS-S3 because I use Paperclip, and so whipped
up a quick cron job that can be hooked into Heroku to automatically
create a daily pg_dump
This happened again to me. I verified that:
- the schema_migrations table was full of data
- that a Gemfile change didn't prompt this.
For whatever it's worth, here is the relevant portion of my Ruby script
for pushing my app to heroku:
#Push to Heroku
system 'git push heroku'
#Migrate the
14 matches
Mail list logo