Marko Anastasov wrote this on June 17, 2011

Two things about deploying a Rails 3.1.rc4 app to Heroku

Ran into two small issues while deploying a Rails 3.1.rc4 app to Heroku, which have been asked about already elsewhere.

  • Getting an error about uninitialized constant Rake::DSL while running a rake task remotely (using rake 0.9.2). Seems like we need to include 'rake/dsl_definition in the Rakefile.
  • An error in production ActionView::Template::Error (undefined method 'compress' for :scss:Symbol. The temporary solution is to “comment out the CSS compressor”:

Deploying from a client account

We have not been sure what’s the right approach to working with an app which is on a client’s Heroku account. There are heroku-accounts and heroku_plus which help you manage multiple SSH credentials, but that didn’t feel right to me.

Heroku’s documentation about sharing didn’t convince me that it was all I need, so I sent a support ticket and turns out that, yes, it is. The only thing app collaborators cannot do is affect the billing by adding commercial add-ons, which is perfectly reasonable and something that suits us.

comments powered by Disqus

About Marko Anastasov

Marko co-founded Rendered Text. He’s a programmer with a passion of creating something for other people, coupled with interests in how things work in the society and nature. He is having a great time working across many areas in the company, including product design, helping the engineering teams, empowering users and marketing. He likes to counterbalance it all with running, cycling or a day in the woods.

Suggested Reads

Inject is a fundamental building block

Inject is one of the fundamental, and most versatile constructs available in functional languages. It can be used to implement map, select, max, all? and a bunch of other iteration related methods. Unfortunately, many programmers are not aware of its awesome powers. This article is here to improve this fact.


Rendered Text is a software company. For questions regarding Semaphore, please visit Otherwise, feel free to get in touch any time by sending us an email.

Rendered Text
Svetozara Miletica 10
21000 Novi Sad