This may be a silly question, but seeing as transfers between EC2 and S3 are free as long as within the same region, why isn't it possible to stream all transfers to and from S3 through EC2 and make the transfers completely free?
Specifically, I'm looking at Heroku, which is a Ruby on Rails hosting service run on EC2, where bandwidth is...
I am using Flex/Flash to build a UI which front-ends my Rails server application. I am using WebORB as the communication mechanism. My question should apply beyond just WebORB, however. (I think).
Specifically, it has to do with the services-config.xml file. I have a local (laptop) dev environment, a remote dev and a remote production e...
I am about to launch a beta site, and heroku looks like a great option. The only think that is getting me down is that the only search option is $20/mth for the Websolr add-on.
I am sure that Websolr is great, but at this very early point in this project, I rather not light up that expense.
Are there any free search options to couple ...
I had asked an earlier question which did not get any replies.
Basically I get an error invalid database url when I try to do heroku db:push
So I figured I can try explicitly providing the database url.
so I tried
heroku db:push postgres://postgres@localhost/myrailsdb
but that gave error:
Failed to connect to database:
Sequel::...
I recently ported my gem management to bundler, to get my app to play nice with heroku. Upon doing so I started to see the following errors (though my app is running fine):
config.gem: Unpacked gem environment.rb in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked gem environment.r...
My team is currently using Authlogic for user authentication, which disables a user's account after 6 failed_login_attempts. I want to re-enable such a user's account after a 15-minute time period. The problem is that we are deploying to the Rails cloud host, Heroku, which offers only a one-hour cron job and a daily cron job. I seem to n...
I looked this up on Google, but wanted more opinions before I committed to either service. Has anyone had experience with either (or maybe both) services? Are there any advantages or disadvantages that stood out about either one? Particular areas of interest are:
Security
Stability
Scalability.
Price
...
Hello,
I have the following statement -
Mail.defaults do
pop3 'mail.server.com', 110 do
user 'user'
pass 'pass'
end
end
How can the default variables be assigned manually?
I have the above running fine on localhost - but it breaks and give a NoMethodError pop3 when I push it up to Heroku.
...
How to deploy rails 3 beta project on heroku?
When I try to do it I get this error:
-----> Heroku receiving push
-----> Gemfile detected, running gem bundle
! Heroku push rejected, "gem bundle" failed, please check your Gemfile for errors.
...
Hi,
I'm building a shopping site which uses a service which allows credit card payments (tranzilla), the service is requiring an IP or IP mask from which it will allow requests (by sockets). The problem is that I'm using heroku as hosting, which is decentralized...
Is there any way to do this? (except buying the custom ssl add-on, which ...
I'm using page caching within my application. Everything works fine locally. But after I push changes to heroku server. Caching expiration won't work. I use sweepers to track and expire cached pages.
Here's config for caching in the production.rb
config.cache_store = :memory_store
#config.cache_store = :file_store, 'tmp/cache/'
I trie...
I just can't find how many apps you can host on heroku with one dyno?
I plan to host a lot of small apps with little traffic.
Thanks for your answers
...
I have a project which I have used Active Record and which I'd like to add some new features using MongoDB. Rather than re-invent the wheel and re-write my entire site, how can I integrate 2 models together, one which use MongoMapper and the other ActiveRecord (postgres).
I've found that others have done it successfully, but no example...
I appologise in advance for the length of this post....
I'm developing a rais app that uses paperclip to store stuff on Amazon S3.
The app is hosted on Heroku.
I'm developing on Ubuntu Karmic.
The problem that I am about to describe occurs in development (on my localhost) and production (on Heroku).
The standard way of passing S3 cr...
I have a ruby on rails app that uses Heroku. I have the need to run things like import/export tasks on our db that lock up the whole system since they are so heavy on the DB. Is there a way to tell the system to only run these tasks when the database is not being used at that second?
...
I am deploying an app on Heroku. Though the experience of deploying is good but I am having pain in fixing stuff.
Very first thing is that autoincrement IDs are all messed up between heroku db and my db. So before deploy I have to delete all data from my local app and then push my DB to heroku. If I don't do that then while trying to a...
How do I use migrations to create a postgres sequence?
I have created a migrations file with the following executes:
execute 'CREATE SEQUENCE "ServiceAvailability_ID_seq";'
execute <<-SQL
ALTER TABLE "ServiceAvailability"
ALTER COLUMN "ID" set DEFAULT NEXTVAL("ServiceAvailability_ID_seq")
SQL
However, when running rake db:migr...
For deploying to Heroku, I use git push heroku master. But how do I see which revision I pushed up to heroku? (I'm often in doubt if I pushed the recent version up)
For those not familiar with it, Heroku's create script generates a remote git repository that you push to. Upon push, the code is deployed magically.
Heroku adds a remote r...
Hi guys,
Heroku made all its apps upgrade to the latest version of bundler (0.9.4).
I followed all the instructions found on the README (including the upgrading instructions). But once I upgrade my application no longer runs. For example i get
NoMethodError (undefined method `acts_as_taggable_on' for #<Class:0x1b7f614>):
My Gemfi...
I'm looking for recommendations for a Wiki that can be deployed on Heroku.
...