dgodd / concourse-summary

MIT License
62 stars 12 forks source link

Issues with Buildpack Compiling #13

Closed moskalyk closed 7 years ago

moskalyk commented 7 years ago

I'm having an issue with pushing my app from the manifest file. Also, it might be the case because my pipeline is private. Is there a way to authenticate?

manifest.yml

---
applications:
  - name: concourse-summary
    memory: 256M
    buildpack: https://github.com/crystal-lang/heroku-buildpack-crystal.git
    env:
      HOSTS: <ec2_hosted_url>

Error:

Outdated shard.lock (multipart requirements changed). Please run shards update instead.
-----> Compiling src/concourse-summary.cr (auto-detected from shard.yml)
Error in ./src/concourse-summary.cr:3: while requiring "kemal"
require "kemal"
^
in ./libs/kemal/kemal.cr:2: while requiring "multipart": can't find file 'multipart' relative to '/tmp/app/libs/kemal'
require "multipart"
^
Failed to compile droplet
Exit status 223
Staging failed: Exited with status 223
Destroying container
Successfully destroyed container

FAILED
Error restarting application: BuildpackCompileFailed
moskalyk commented 7 years ago

Solved this, I had to do a few things to get it running (looking back, seemed straight forward, I was new to crystal and shards):

  1. install crystal using brew (for mac) $ brew install crystal-lang
  2. run $ shards update
  3. then $ cf push