_whitelogger has joined #amber
feepbot has quit [Ping timeout: 276 seconds]
feepbot has joined #amber
howaboutyes has joined #amber
howaboutyes1 has joined #amber
howaboutyes1 has quit [Client Quit]
howaboutyes has quit [Remote host closed the connection]
howaboutyes has joined #amber
_whitelogger has joined #amber
howaboutyes has quit [Quit: Leaving]
<
FromGitter>
<nsuchy> It's telling me that it can't find the shards despite it building without an issue.
<
FromGitter>
<nsuchy> from shard.yml
<
FromGitter>
<nsuchy> amber runs fine but it can't find mosquito for some reason
<
FromGitter>
<nsuchy> I did a complete clear of the container cache
<
FromGitter>
<nsuchy> and am still having the issue
<
FromGitter>
<Blacksmoke16> what if you did `require "../mosquito"`
<
FromGitter>
<nsuchy> it's a shard though
<
FromGitter>
<nsuchy> do I need to do like that?
<
FromGitter>
<nsuchy> I can try
<
FromGitter>
<Blacksmoke16> 👍
<
FromGitter>
<nsuchy> still not working
<
FromGitter>
<nsuchy> I've tried ../
<
FromGitter>
<nsuchy> ../../
<
FromGitter>
<nsuchy> and ../../../
<
FromGitter>
<nsuchy> it's not finding mosquito
<
FromGitter>
<nsuchy> @robacarp I'm trying to use your tool, finally found the time :| - It's not detecting it after the install
<
FromGitter>
<Blacksmoke16> im assuming its installed?
<
FromGitter>
<Blacksmoke16> and is in the lib folder?
<
FromGitter>
<Blacksmoke16> should just work like any other shard you're ussing
<
FromGitter>
<nsuchy> part of the build process is installing shards
<
FromGitter>
<nsuchy> I even purged docker cache
<
FromGitter>
<nsuchy> tried on two computers
<
FromGitter>
<nsuchy> no luck so far :(
<
FromGitter>
<Blacksmoke16> check if its in the resulting image, otherwise its a problem with your build processs
<
FromGitter>
<nsuchy> okay looks like it is not being added
<
FromGitter>
<Blacksmoke16> mhm
<
FromGitter>
<nsuchy> its weird because shards show it is pulled from github
<
FromGitter>
<Blacksmoke16> on a related note, did you get my message about the crylog update?
<
FromGitter>
<nsuchy> yeah
<
FromGitter>
<Blacksmoke16> 👍
<
FromGitter>
<nsuchy> ill look into that soon
<
FromGitter>
<Blacksmoke16> maybe try a shards update?
<
FromGitter>
<nsuchy> thing is it happens inside a docker container
<
FromGitter>
<nsuchy> so any changes are temporary
<
FromGitter>
<nsuchy> they need to be reproduceable in the build process
<
FromGitter>
<Blacksmoke16> right
<
FromGitter>
<nsuchy> it's being included in container b8d47427c82f
<
FromGitter>
<nsuchy> but somehow lost after
<
FromGitter>
<Blacksmoke16> what happens if you install it locally then build the container
<
FromGitter>
<nsuchy> I can't run crystal on windows
<
FromGitter>
<nsuchy> so that's not an option
<
FromGitter>
<nsuchy> Everything needs to be build inside docker anyways
<
FromGitter>
<Blacksmoke16> like are you sure its actually working and not just taking whats in lib already?
<
FromGitter>
<Blacksmoke16> when it does `COPY . /app`
<
FromGitter>
<Blacksmoke16> might be worth trying a `shards update` and make sure its in the .lock file
<
FromGitter>
<nsuchy> everything is commit locked because crystal and amber updates kept breaking everything
<
FromGitter>
<nsuchy> complaining isn't productive, commit locking is
<
FromGitter>
<nsuchy> This is a modified version of the docker file
<
FromGitter>
<nsuchy> copy just the shard.yml and lock file over
<
FromGitter>
<nsuchy> then install
<
FromGitter>
<nsuchy> then copy the rest
<
FromGitter>
<Blacksmoke16> right, but is mosquito
*IN* `shard.lock`?
<
FromGitter>
<nsuchy> yes
<
FromGitter>
<Blacksmoke16> whats in your lib folder locally?
<
FromGitter>
<Blacksmoke16> i.e. where `.` is in `COPY . /app`
<
FromGitter>
<nsuchy> empty
<
FromGitter>
<Blacksmoke16> ok
<
FromGitter>
<nsuchy> is there a way with the copy command to exclude it anyways
<
FromGitter>
<Blacksmoke16> add it to your `.dockerignore` yea
<
FromGitter>
<nsuchy> hmm
<
FromGitter>
<nsuchy> somehow changing it back to the dockerfile I showed you
<
FromGitter>
<nsuchy> along with the docker ignore looks like it fixes the mosquito error
<
FromGitter>
<nsuchy> this is really weird behavior
<
FromGitter>
<Blacksmoke16> it probably installs them in the container then the copy after overrides it
<
FromGitter>
<Blacksmoke16> is what i would vote?
<
FromGitter>
<nsuchy> got everything working now
<
FromGitter>
<nsuchy> :D
<
FromGitter>
<Blacksmoke16> 👍
<
FromGitter>
<nsuchy> My app has several Redis containers for different systems and this would simplify setting a Redis container for Mosquito