Questions tagged [cedar]

**'Celadon Cedar'** is the newest runtime stack for apps hosted on heroku.com. It is a polyglot platform, supporting multiple languages including Ruby, Python, Java, and Clojure.

'Celadon Cedar' is the newest runtime stack for apps hosted on heroku.com. It is a polyglot platform, supporting multiple languages including Ruby, Python, Java, and Clojure.

Cedar has several improvements over Heroku's earlier stacks:

  • It uses the process model to declare, manage, and run processes across a distributed environment
  • Different types of processes can to scale at different rates to meet demand
  • Aggregate logs and process transparency give users improved process visibility into app behaviour
  • Increased user control over app releases
  • Language support is implemented through modular, customizable buildpacks, allowing developers to add support for any language or framework they need

More information:

For general questions about heroku itself, see the tag.

117 questions
8
votes
2 answers

Static website on Heroku Cedar

I tried following the instructions here in order to create a static website on Heroku's Cedar stack. I have put the site up here. When I try to push the app (using "git push heroku master"), I get the following error: Kushs-MacBook-Air:hgtr…
kushpatel
  • 199
  • 2
  • 6
8
votes
2 answers

Can the runtime of a Heroku app know it's commit id?

I'd like the runtime of my Heroku app (Play/Scala, running on Heroku Cedar) to be able to report to me which git commit it was built from. Heroku apps are generally built by the slug compiler on Heroku's infrastructure - unfortunately, the slug…
Roberto Tyley
  • 24,513
  • 11
  • 72
  • 101
7
votes
2 answers

Production Rake Tasks Don't Recognize My Models

When I was running Heroku Bamboo, this was never a problem. Now, on Cedar, I get errors whenever I try to access my models from within a rake task on the server. This happens with rake db:seed, a standard rake task, as well as my own custom built…
Trespassers W
  • 379
  • 1
  • 5
  • 14
7
votes
1 answer

Rails 3.1 and Http Page Caching

Given that Heroku Cedar doesn't have http caching provided by Varnish I would like to use Rack::Cache. I have been told that rails 3.1.1 have Rack::Cache active by default, I just need to make sure to have in the…
soulnafein
  • 1,058
  • 1
  • 10
  • 20
7
votes
0 answers

Cannot send emails using Sendgrid on Heroku Cedar stack

I receive the following error: 451 Authentication failed: Maximum credits exceeded. However when I check the sendgrid dashboard on heroku it says: Is the dashboard outdated? It says I still have remaining credits...
ertan
  • 289
  • 1
  • 3
  • 14
6
votes
1 answer

How to discover the *external* hostname from within a heroku cedar application

I am deploying a RubyOnRails 3.1 app to heroku cedar stack. From within the app I would like to auto discover the host name (i.e. appname.herokuapp.com). I have multiple deployments of the same app on heroku - some for development, some for staging…
bradgonesurfing
  • 30,949
  • 17
  • 114
  • 217
6
votes
3 answers

Heroku Bamboo to Cedar

I have an existing Rails 3.1rc4 app deployed to heroku on the Bamboo stack. I would like to upgrate to 3.1rc5 and use the new Cedar stack. Since I can't use heroku stack:migrate, I have to create a new stack and push to that. The problem is that my…
LanguagesNamedAfterCofee
  • 5,782
  • 7
  • 45
  • 72
6
votes
2 answers

Heroku error message no Cedar-supported app detected

So, I am running into more problems with heroku and this rails tutorial. The rails tutorial I am making had me develop a super basic app. They then had me create a bit bucket account. After this they had me create a Heroku account. Now they are…
Erik Aasland
  • 167
  • 1
  • 11
6
votes
2 answers

heroku: bash: bundle: command not found

I am porting a Heroku app from Aspen to Cedar stack at Heroku, following their instructions. I'm at the last deploy step. I get this error: 2012-10-22T11:23:53+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -p 40310…
GreenAsJade
  • 14,459
  • 11
  • 63
  • 98
5
votes
2 answers

Serve using your own binary on Cedar, Heroku

I am trying to run Haskell on Heroku. I have compiled a binary app and created a Procfile as follows: web: ./app +RTS -N4 When I push it to Heroku, it says: -----> Heroku receiving push ! Heroku push rejected, no Cedar-supported app…
Abdulsattar Mohammed
  • 10,154
  • 13
  • 52
  • 66
5
votes
5 answers

Heroku compass buildpack compass fail

I am trying to push a compass build-pack to heroku server, https://github.com/stephanmelzer/heroku-buildpack-nodejs-grunt-compass It use to work until recently and I am not sure what happened on heroku side, it doens't work anymore and giving me…
AlexC
  • 9,657
  • 17
  • 64
  • 98
5
votes
1 answer

Heroku not serving static/public folder with Unicorn and Rails 2.3 app

I have been able to get Unicorn to start up properly with my Rails 2.3 app on Heroku's Cedar Stack, however, it is not serving the static assets correctly from the public folder. I have tried placing this line in our…
Zach Zishy
  • 61
  • 4
4
votes
2 answers

How can I add ftp extension to Heroku php app?

I am developing a Facebook app using heroku. My app needs the ability to upload files (pictures) to a folder on a remote server, and I assume ftp is the best option. Unfortunately the ftp extension is not enabled out of the box. I spoke with support…
mjrobichaud
  • 115
  • 1
  • 2
  • 9
4
votes
1 answer

Heroku reading Strings instead of Integers in Rails?

In a Rails 3.2.2 app running on Heroku Cedar stack with Postgres version 9.1.9. While executing the following method: class Post < ActiveRecord::Base def shared_to_all privacy & 1 == 1 end end I run into this error: Completed 500 Internal…
Claudio Floreani
  • 2,441
  • 28
  • 34
4
votes
1 answer

How to enable gzip compression for static Rack sites on Heroku Cedar?

Following the Creating Static Sites in Ruby with Rack article, I get a static site on Heroku with a config.ru that looks like this: use Rack::Static, :urls => ["/images", "/js", "/css"], :root => "public" run lambda { |env| [ 200, { …
awendt
  • 13,195
  • 5
  • 48
  • 66