Gueils / whales

:whale: Tool to automatically dockerize your application.
http://www.whales.mx
MIT License
383 stars 20 forks source link

Could not find Rails with version X & db/web images NOT_FOUND #22

Open JorgeATR opened 7 years ago

JorgeATR commented 7 years ago

I followed the usage guide provided in the README to the letter, running the last command block throws off:

Digest: sha256:69e938110f8b915b98e8503d0fae755788d4ab6f37858191ef91f7fb203b1363
Status: Downloaded newer image for icalialabs/belugas:latest
FROM ruby:2.4.0

### ###
### Could not find rails with version 5.1.1
### ###
--------------------------------------------------
version: "2"
---
volumes:
  postgresql-data:
    driver: local
  rails-data:
    driver: local
---
services:
  db:
    image: NOT_FOUND
  web:
    image: NOT_FOUND

I have Rails explicitly stated in my Gemfile as: gem 'rails', '~> 5.1.1'

The weird thing is that running the Ruby Beluga does in fact recognize Rails and it's version:

docker run \
  --interactive --tty --rm \
  --volume "$PWD":/code \
  whalesil/belugas-ruby

Returns:

{
"type":"feature","name":"Ruby","version":"2.4.0","description":"The application uses Ruby code","categories":["Language"],"engines":["belugas","belugas-ruby"]}
{"type":"feature",**"name":"rails","version":"5.1.1"**,"description":"The application uses rails","content":"","categories":["Framework"],"cue_locations":[""],"engines":["belugas","belugas-ruby"]}
{"type":"feature","name":"postgresql","version":"0.18","description":"The application uses postgresql","content":"","categories":["Database"],"cue_locations":[""],"engines":["belugas","belugas-ruby"]
}
mayra-cabrera commented 7 years ago

Thanks @JorgeATR! I believe this have something to do with our API, maybe Rails 5.1.1 is not correctly registered or something. I'll take a look this week 👍

mayra-cabrera commented 7 years ago

hey @JorgeATR could please you point me github url of your project?

JorgeATR commented 7 years ago

Sure, I sent you an invitation as a collaborator since it's a private repo, I hope that's okay. Invite link