Giter Club home page Giter Club logo

Comments (8)

mattmanning avatar mattmanning commented on June 22, 2024

Sorry about that. I merged in some changes from the upstream Ruby
buildpack. It must not be detecting your app as a Ruby app any more for
some reason. Would you mind sharing your Gemfile?

On Tue, Mar 19, 2013 at 9:38 PM, Alex Ghiculescu
[email protected]:

I'm seeing this output when I try to push to Heroku today. (I wasn't
getting this problem last time I pushed, about three days ago.)

[master 88b57ad] test
2 files changed, 2 insertions(+), 1 deletions(-)
Counting objects: 9, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 464 bytes, done.
Total 5 (delta 3), reused 0 (delta 0)

-----> Fetching custom git buildpack... done
! Heroku push rejected, no Cedar-supported app detected

My heroku:config includes this line:

BUILDPACK_URL: http://github.com/mattmanning/heroku-buildpack-ruby-jekyll.git

If I remove that (heroku config:remove BUILDPACK_URL), I can push with no
issues. So I suspect it's something to do with the changes made in the last
few days - though looking over them, I'm not sure what it could be. Any
ideas?


Reply to this email directly or view it on GitHubhttps://github.com//issues/6
.

from heroku-buildpack-ruby-jekyll.

ghiculescu avatar ghiculescu commented on June 22, 2024

Gemfile:

source 'https://rubygems.org'

gem 'rack-jekyll', :git => 'https://github.com/adaoraul/rack-jekyll.git'
gem 'unicorn'
gem 'kramdown'
gem 'yui-compressor'

Gemfile.lock:

GIT
  remote: https://github.com/adaoraul/rack-jekyll.git
  revision: 9ab9614be6a284dfd8e8c8e0c79011221c2ac8d9
  specs:
    rack-jekyll (0.4.0)
      jekyll (~> 0.11.0)
      rack (~> 1.4.1)

GEM
  remote: https://rubygems.org/
  specs:
    POpen4 (0.1.4)
      Platform (>= 0.4.0)
      open4
    Platform (0.4.0)
    albino (1.3.3)
      posix-spawn (>= 0.3.6)
    classifier (1.3.3)
      fast-stemmer (>= 1.0.0)
    directory_watcher (1.4.1)
    fast-stemmer (1.0.2)
    jekyll (0.11.0)
      albino (>= 1.3.2)
      classifier (>= 1.3.1)
      directory_watcher (>= 1.1.1)
      kramdown (>= 0.13.2)
      liquid (>= 1.9.0)
      maruku (>= 0.5.9)
    kgio (2.8.0)
    kramdown (0.14.2)
    liquid (2.4.1)
    maruku (0.6.1)
      syntax (>= 1.0.0)
    open4 (1.3.0)
    posix-spawn (0.3.6)
    rack (1.4.4)
    raindrops (0.10.0)
    syntax (1.0.0)
    unicorn (4.5.0)
      kgio (~> 2.6)
      rack
      raindrops (~> 0.7)
    yui-compressor (0.9.6)
      POpen4 (>= 0.1.4)

PLATFORMS
  ruby

DEPENDENCIES
  kramdown
  rack-jekyll!
  unicorn
  yui-compressor

from heroku-buildpack-ruby-jekyll.

mattmanning avatar mattmanning commented on June 22, 2024

I just undid the most recent changes on the buildpack. Can you try your deploy again?

Sorry for the problems. I'll do more testing next time.

from heroku-buildpack-ruby-jekyll.

ghiculescu avatar ghiculescu commented on June 22, 2024

No worries. Thanks for your prompt help, I really appreciate it :)

That seems to have fixed it. Do you think I should report it to the Heroku guys? I don't know very much about buildpacks so I'm not sure what went wrong :/

For the record, I'm trying to deploy this repo: https://github.com/ghiculescu/payaus-docs
So if you do want to test it yourself you're welcome to. I probably should have mentioned that from the start...

from heroku-buildpack-ruby-jekyll.

krstffr avatar krstffr commented on June 22, 2024

I get the same error. Did you guys find a solution?

Thanks.

from heroku-buildpack-ruby-jekyll.

ssaunier avatar ssaunier commented on June 22, 2024

I had the same error, then I added a Gemfile:

source 'https://rubygems.org'
ruby '2.1.2'

gem 'redcarpet'
gem 'jekyll'

Now when I git push heroku master I get:

-----> Fetching custom git buildpack... done
-----> Ruby app detected
 !
 !     Invalid RUBY_VERSION specified: ruby-2.1.2
 !     Valid versions: ruby-2.0.0, ruby-1.9.3, ruby-1.9.2, ruby-1.8.7, ruby-1.9.3-jruby-1.7.0, ruby-1.8.7-jruby-1.7.0, ruby-1.9.3-jruby-1.7.1, ruby-1.8.7-jruby-1.7.1, ruby-1.9.3-rbx-2.0.0dev, ruby-1.8.7-rbx-2.0.0dev
 !

 !     Push rejected, failed to compile Ruby app

I don't know where to look in the code, but I would be happy to help fix this issue.

from heroku-buildpack-ruby-jekyll.

mytharcher avatar mytharcher commented on June 22, 2024

Same with you @ssaunier . If any ruby version specified in Gemfile not match to Heroku provided ones, this would happen.

I got another error because the ruby version not specified:

remote:        Gem::InstallError: classifier-reborn requires Ruby version >= 1.9.3.
remote:        An error occurred while installing classifier-reborn (2.0.2), and Bundler cannot
remote:        continue.
remote:        Make sure that `gem install classifier-reborn -v '2.0.2'` succeeds before
remote:        bundling.
remote:  !
remote:  !     Failed to install gems via Bundler.
remote:  !
remote: 
remote:  !     Push rejected, failed to compile Ruby/Rack app
remote: 
remote: Verifying deploy...
remote: 
remote: !   Push rejected to xxx.
remote: 
To [email protected]:xxx.git
 ! [remote rejected] master -> master (pre-receive hook declined)

and another error after specified ruby as 2.0.0:

remote:        env: bundle: No such file or directory
remote:  !
remote:  !     Failed to generate site with jekyll.
remote:  !
remote: 
remote:  !     Push rejected, failed to compile Ruby/Rack app
remote: 
remote: Verifying deploy...
remote: 
remote: !   Push rejected to xxx.
remote: 
To [email protected]:xxx.git
 ! [remote rejected] master -> master (pre-receive hook declined)

No idea how to fix this. Please help.

from heroku-buildpack-ruby-jekyll.

mattmanning avatar mattmanning commented on June 22, 2024

Any repo with a Gemfile.lock should get detected as a ruby app by Heroku.

I have updated the buildpack with the latest upstream Heroku Ruby buildpack and the current jekyll subcommands. I'm closing this issue, but please feel free to open a new one if you have further problems.

from heroku-buildpack-ruby-jekyll.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.