Re: rake db:migrate

2011-06-07 Thread Raving Genius
You need to migrate to the Cedar stack. More at their Dev Center: http://devcenter.heroku.com/articles?utf8=%E2%9C%93&q=cedar On Jun 1, 4:21 pm, Todd wrote: > When I run the command, "heroku run rake db:migrate" I get the > message, > > "That feature is not available on this app's stack"  How do

Re: Failed to authenticate user 'heroku' on db... (Mongo::AuthenticationError)

2011-02-25 Thread Raving Genius
I seem to have spoken too soon. The problem has popped back up. I'll be contacting Heroku support; hopefully I can report back with a permanent solution. On Feb 22, 12:38 am, Raving Genius wrote: > Somehow by removing the mongohq:free addon and readding it fixed the > issue. -- Y

Re: Failed to authenticate user 'heroku' on db... (Mongo::AuthenticationError)

2011-02-21 Thread Raving Genius
Somehow by removing the mongohq:free addon and readding it fixed the issue. On Feb 18, 6:46 pm, Raving Genius wrote: > Just to clarify: only one site is broken; the other one is running > just fine. Also the broken site doesn't let me log connect with > `heroku console` (somet

Re: Failed to authenticate user 'heroku' on db... (Mongo::AuthenticationError)

2011-02-18 Thread Raving Genius
b 18, 6:37 pm, Raving Genius wrote: > I have two websites running the same version of a CMS I'm working on, > and each site has a small number of minor customizations. The CMS is > built on top of Rails 3 and MongoMapper. I am getting an error every > time I run a (any?) ra

Failed to authenticate user 'heroku' on db... (Mongo::AuthenticationError)

2011-02-18 Thread Raving Genius
I have two websites running the same version of a CMS I'm working on, and each site has a small number of minor customizations. The CMS is built on top of Rails 3 and MongoMapper. I am getting an error every time I run a (any?) rake command which depends on :environment. The stack trace (and `herok

Re: send_file

2011-01-13 Thread Raving Genius
I asked a friend at work about this, and he suggested commenting out `config.action_dispatch.x_sendfile_header = 'X-Sendfile'` in config/ environments/production.rb. Commenting that line and change my code to use send_file again works as well. On Jan 12, 7:17 pm, Oren Teich wrote: > send_file has

Re: send_file

2011-01-12 Thread Raving Genius
I made that one change and it works! Thank you so much! On Jan 12, 7:17 pm, Oren Teich wrote: > send_file has a bug where it sets the headers incorrectly. >  send_data(readfile) will work better. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To po

send_file

2011-01-12 Thread Raving Genius
Does Heroku support the send_file method? I have an application that works locally, but not on Heroku. When send_file is invoked on Heroku, I always get an empty response. According to `heroku logs`, the files are being sent correctly. -- You received this message because you are subscribed to th

Re: heroku rake db:migrate fails with "no such file to load -- sqlite3" on bamboo-mri-1.9.2

2010-11-28 Thread Raving Genius
You seem to have a couple issues. Number one, Heroku is a read-only file system. Sqlite3 stores the datbase in a single file in your app, so unless you place the sqlite3 database in $APP_ROOT/tmp, it won't work. Therefore just use the Heroku-provided Postgresql database. They will ensure that your

Re: Contact Form Using Sendgrid & Pony

2010-08-23 Thread Raving Genius
SENDGRID_USERNAME and SENDGRID_PASSWORD are setup automatically by Heroku (http://docs.heroku.com/sendgrid). They will not be available when running locally, so I would do something like this: # ... :user_name => ENV['SENDGRID_USERNAME'] || 'local username', :password => ENV['SENDGRID_PASSWORD'] |

Re: Simple staging process -- please check

2010-04-17 Thread Raving Genius
You know, step 1A could be just `heroku create drominay-staging`. Then you wouldn't have to rename the app in step 1B. On Apr 15, 6:42 am, steven_noble wrote: > Hi all, > > Thanks for your input. As a result, I've revised the steps, listed > below. Note: there are no assumptions here -- I have wr