heroku

how to clone a project on heroku

I have a project on heroku working fine. Now I want to create same project with different url (same code) as the one I have working now. So that I can give the new url to the customer as a 'test' site. I know in heroku i can just rename the url but I want to completely separate development from test (database wise). What is the be...

Using Google App Engine as a Content delivery network

Hi, I would like to know if Google App Engine can be used as a Content delivery network like aws S3. I'm running a RoR app on Heroku and I would like store my uploaded files on GAE instead of s3. If it's possible what would be the best way to do it? ...

Is it possible to refuse rack requests based on request method.

I am looking to refuse connections from inside a rack app. Now I currently do this in a middleware (lowest level) by simply checking: env['REQUEST_METHOD'] and if it one I don't desire I pass back either a 301 or a 404 etc... However I was wondering if there was a lower level mechanism for doing the same thing within rack itself? I kn...

How to host different applications without subdomains in Heroku?

I would like to have different applications under the same domain using Heroku. Because of the name of the domain, I would like to access the applications using folders (mydomain.com/app) instead of using subdomains (app.mydomain.com), is this possible? Thanks ...

How to use Sprockets Rails plugin on Heroku?

Hi, I just deployed my Rails app to Heroku, but the Javascripts that were using Sprockets plugin don't work. I understood that, because my Heroku app is read-only, Sprockets won't work. I've found this sprockets_on_heroku plugin that should do the work, but I don't really get how to use it : I added config.gem sprockets in config/env...

Download and Open Compressed SQLite3 Database on Heroku

I have a script file for parsing through a SQLite database. I now need to create a CRON job that will download and unzip said database from a third-party (already hosting as SQLITE). I understand this can be done using WGET and UNZIP, but given Heroku's read only file system, is this possible entirely in memory? Thanks. ...

redirecting domain to nameservers in heroku?

I have configured my domain to heroku IPs 75.101.163.44 75.101.145.87 174.129.212.2 But it's not redirecting my app to my domain. The error says There is no app configured at that hostname. Perhaps the app owner has renamed it, or you mistyped the URL. Does each Heroku app have its own IP address? If so how to get the unique IP and ho...

Typus not working in Heroku (error 500) what im doing wrong?

Have someone used Typus (admin plugin for rails) in Heroku? http://intraducibles.com/projects/typus/install I follow the instructions and in my local machine (Rails 2.3.5) is working fine, but when I deploy to Heroku it crashes. What Im doing wrong? the log: Logfile created on Mon Mar 29 18:14:06 -0700 2010 Processing TypusControl...

What is a good .gitignore to use with Rails on Heroku?

What is a good .gitignore to use with Rails on Heroku? *.log *.sqlite3 what else? ...

Git + GitHub + Heroku

Hi All, I am new to the world of Git, GitHub and Heroku. So far, I am enjoying this paradigm but coming from a background with SVN, things seems a bit complicated to me in the world of Git. I am facing a problem for which I am looking for a solution. Scenario: 1. I have setup a new private project on GitHub. I forked the private proje...

Are any large enterprises using Heroku?

I'm interested as sometimes I get friends who are developers telling me about their Ruby deployments, and most of them are in large enterprises which are using Java mainly, but have some small projects in Ruby on Rails. ...

Heroku Problem During Database Pull of Rails App: Mysql::Error MySQL server has gone away

Attempting to pull my database from Heroku gives an error partway through the process (below). Using: Snow Leopard; heroku-1.8.2; taps-0.2.26; rails-2.3.5; mysql-5.1.42. Database is smallish, as you can see from the error message. Heroku tech support says it's a problem on my system, but offers nothing in the way of how to solve it. I...

How to make images hosted on Amazon S3 less public but not completely private?

I fired up a sample application that uses Amazon S3 for image hosting. I managed to coax it into working. The application is hosted at github.com. The application lets you create users with a profile photo. When you upload the photo, the web application stores it on Amazon S3 instead of your local file system. (Very important if you host...

Hot deploy on Heroku with no downtime

A bad side of pushing to Heroku is that I must push the code (and the server restarts automatically) before running my db migrations. This can obviously cause some 500 errors on users navigating the website having the new code without the new tables/attributes: the solution proposed by Heroku is to use the maintenance mode, but I want a...

RMagick + Rails + Heroku?

I'm trying to figure out how to get rmagick on my app, and then make it work on Heroku? ...

What is the difference between searchlogic and other fulltext search plugins?

I am looking for an alternative to acts_as_solr or thinkingsphinx for fulltext search in my Rails app. Came across searchlogic. Does it support indexing? I am planning to host my app on heroku and I want an alternative because heroku charges for Websolr. I am aware of the alternative way of using texticle or acts_as_tsearch but i want t...

Any other ways to install heroku except gem install

Hi, Command gem install heroku failed with following messsage and I have tried the solution here , but failed also. So , is there any other way i can install heroku? WARNING: RubyGems 1.2+ index not found for: http://gems.rubyforge.org/ RubyGems will revert to legacy indexes degrading performance. ERROR: could not f...

Why are my basic Heroku Apps Taking 2 seconds to load?

I have created two very simple heroku apps to test out the service, but it's often taking several seconds to load the page when I first visit them: Cropify - Basic Sinatra App (on github) Textile2HTML - Even more basic Sinatra App (on github) All I did was create a simple sinatra app and deploy it. I haven't done anything to mess wi...

Running Cron Tasks on Heroku

I've seen that Heroku charges $15/mo to run Delayed Job, and $3/mo to run cron tasks daily. Is it possible to skip that entirely and run my own cron tasks manually? Or are they somehow figuring out that I'm running cron tasks? ...

Error running heroku console. can't update heroku

When I try to run heroku console I get the following error: user@omnipresent:~/rails/demo$ heroku console ! This version of the heroku gem has been deprecated. ! Please update it by running: gem update heroku When I do the update..it says there is nothing to update! user@omnipresent:~/rails/demo$ gem update heroku Updating inst...