cedar

Heroku Cedar pure rack static site

谁说胖子不能爱 提交于 2019-12-09 19:30:56
问题 I've been trying to consolidate two tutorials for hosting static sites: Deploying Rack-based Apps for the cedar stack Static Sites with Ruby on Heroku/Bamboo Basically I want to be able to do what you do in the old bamboo tutorial on the cedar stack. I can get the cedar tutorial to work, but when I try modify it to serve files I get an error. I have had a look at the following post, but the github repo doesn't seem to be up any longer and I can't quite figure out where I've gone wrong. When I

Heroku *.js isn't precompiled error

那年仲夏 提交于 2019-12-09 15:10:31
问题 I'm using Rails on Heroku Cedar stack and it's not throwing any issues while compiling the assets but then I get a 500 internal server error: 2012-06-25T23:22:59+00:00 app[web.1]: ActionView::Template::Error (bootstrap-datepicker.js isn't precompiled): Any idea what might be causing this? This is the javascript file I'm including (except I downloaded it locally) https://github.com/eternicode/bootstrap-datepicker/blob/master/js/bootstrap-datepicker.js I'm including it in my application.html

redmine deploy on heroku cedar

我怕爱的太早我们不能终老 提交于 2019-12-06 21:01:04
问题 I've been banging my head against the wall trying to deploy redmine 2.0.3 on heroku cedar. I had lots of problems with deploying with sqlite gem so I removed all sqlite references from my Gemefile, deleted Gemfile.lock, ran bundle install, and happily pushed to heroku. I ran heroku run rake db:migrate and I browsed to my app ( http://blooming-river-8784.herokuapp.com/ ) and I see the following: UPDATE!! -> when I run heroku run rake db:migrate I get the following warning messages: Running

Serve using your own binary on Cedar, Heroku

天涯浪子 提交于 2019-12-06 03:09:19
问题 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 detected Now I think, Cedar does not support rolling in your binaries. Is there any way to deploy it? I have seen https://github.com/mwotton/heroku_haskell_demo. This guy seems to have deployed to Heroku but, it no longer works. Heroku sees the Gemfile s and

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

限于喜欢 提交于 2019-12-06 00:44:00
问题 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 compiler does this as an early part of this build process: Remove unused files, including .git directories, .gitmodules files, anything in log and tmp, and anything specified in a top-level .slugignore file. ...so the Git information is no longer

Heroku compass buildpack compass fail

二次信任 提交于 2019-12-05 09:03:42
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 this error : bash: /app/.gem/ruby/1.9.1/bin/compass: /app/vendor/ruby-1.9.2/bin/ruby: bad interpreter: No such file or directory I am not sure what happened did they change the ruby version or something Does someone knows what can be the issue and the fix. I use Cedar stack, running node I'd like to add to the accepted answer with a bit more

redmine deploy on heroku cedar

冷暖自知 提交于 2019-12-05 01:05:09
I've been banging my head against the wall trying to deploy redmine 2.0.3 on heroku cedar. I had lots of problems with deploying with sqlite gem so I removed all sqlite references from my Gemefile, deleted Gemfile.lock, ran bundle install, and happily pushed to heroku. I ran heroku run rake db:migrate and I browsed to my app ( http://blooming-river-8784.herokuapp.com/ ) and I see the following: UPDATE!! -> when I run heroku run rake db:migrate I get the following warning messages: Running rake db:migrate attached to terminal... up, run.1 DEPRECATION WARNING: You have Rails 2.3-style plugins in

Heroku Cedar pure rack static site

百般思念 提交于 2019-12-04 17:42:52
I've been trying to consolidate two tutorials for hosting static sites: Deploying Rack-based Apps for the cedar stack Static Sites with Ruby on Heroku/Bamboo Basically I want to be able to do what you do in the old bamboo tutorial on the cedar stack. I can get the cedar tutorial to work, but when I try modify it to serve files I get an error. I have had a look at the following post , but the github repo doesn't seem to be up any longer and I can't quite figure out where I've gone wrong. When I try run the site locally as per the first tutorial, I get the following error: martin@crunchbang:~

Heroku domain registration configured to bamboo on a cedar stack

拈花ヽ惹草 提交于 2019-12-04 15:42:17
I have a DNS config issue with Heroku while running on the Cedar Stack. It keeps thinking I'm routing my Cedar stack to Bamboo when my custom domains have the correct pointing CNAME records and are properly configured to Heroku instruction. Here's what happened: I recently created a heroku app in the past week with a cedar stack. Region: United States Stack: Cedar Framework: Ruby/Rails And I used NameCheap to register my domain and pointed it to the CNAME record. Host Name | IP Address/URL | Record Type @ foo.herokuapp.com CNAME (Alias) www foo.herokuapp.com CNAME (Alias) I followed the Custom

Static website on Heroku Cedar

余生颓废 提交于 2019-12-04 12:14:09
问题 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$ git push heroku master Counting objects: 7, done. Delta compression using up to 4 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 1.29 KiB, done. Total 7 (delta 1), reused 0 (delta 0) -----> Heroku receiving push ---