ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
Starfoxxes has quit [Ping timeout: 240 seconds]
Starfoxxes has joined #crystal-lang
yxhuvud has quit [Ping timeout: 260 seconds]
yxhuvud has joined #crystal-lang
Welog has quit [Ping timeout: 248 seconds]
notzmv has quit [Ping timeout: 248 seconds]
notzmv has joined #crystal-lang
Sankalp has quit [Ping timeout: 248 seconds]
Sankalp has joined #crystal-lang
Sankalp has quit [Read error: Connection reset by peer]
Sankalp has joined #crystal-lang
ua_ has quit [Ping timeout: 256 seconds]
<FromGitter> <kzvonov> Hey guys! I've a problem installing Crystal on my M1 Pro Chip inside a docker container. To be precise (1) I have M1 Pro chip (2) I have a container with ruby powered by Debian 11 (3) I'm trying to run this script `RUN curl -fsSL https://crystal-lang.org/install.sh | bash -s -- --version=1.2 --channel=stable`
ur5us has joined #crystal-lang
<FromGitter> <kzvonov> I suppose I can compile it from the source code, but are there any guides about it?
<Sankalp> There's a guide on how to install it on a debian system https://crystal-lang.org/install/on_debian/
<FromGitter> <kzvonov> Yep, there's, but it doesn't work for Mac M1 Pro Chip when you are installing crystal in a Docker container
<FromGitter> <kzvonov> (1) `% docker run --rm -it debian bash`
<FromGitter> <kzvonov> (2) `apt update` && `apt install curl`
<FromGitter> <kzvonov> (3) `curl -fsSL https://crystal-lang.org/install.sh | bash `
<FromGitter> <kzvonov> (4) `crystal ` -> `bash: crystal: command not found`
<FromGitter> <kzvonov> It doesn't work
jmdaemon has quit [Ping timeout: 252 seconds]
<frojnd> @kzvonov what does the output say after you run `curl ...` command ?
<frojnd> @kzvanov also add dpkg -l |grep crystal to docker and see the output
<FromGitter> <kzvonov> ```code paste, see link``` ⏎ ⏎ @FromIRC frojnd thanks for helping [https://gitter.im/crystal-lang/crystal?at=62738ca7d30b6b44ebd348b0]
<frojnd> @kzvanov can you also paste the output of: `curl -fsSL https://crystal-lang.org/install.sh | bash`
Elouin has quit [Quit: Ping timeout (120 seconds)]
Elouin has joined #crystal-lang
brw0 has joined #crystal-lang
<FromGitter> <kzvonov> ```code paste, see link``` ⏎ ⏎ yep [https://gitter.im/crystal-lang/crystal?at=62738f9d949ae94006904d12]
brw has quit [Ping timeout: 256 seconds]
brw0 is now known as brw
Sankalp has quit [Ping timeout: 248 seconds]
Sankalp has joined #crystal-lang
<frojnd> Maybe because you are on arm?
<FromGitter> <kzvonov> any suggestions?
ua_ has joined #crystal-lang
Elouin has quit [Quit: So long and thanks for all the fish!]
Elouin has joined #crystal-lang
<frojnd> I know there were some experimenting with arm but more on https://forum.crystal-lang.org https://forum.crystal-lang.org/t/docker-images-for-arm-rpi/1105/6?
<FromGitter> <kzvonov> Thanks!
<FromGitter> <kzvonov> Thanks!
ur5us has quit [Ping timeout: 256 seconds]
<FromGitter> <Blacksmoke16> @kzvonov checkout https://packagecloud.io/84codes/crystal
jmdaemon has joined #crystal-lang
Sankalp has quit [Ping timeout: 260 seconds]
Sankalp has joined #crystal-lang
<FromGitter> <plambert> Dumb, quick question: anyone know of a relatively loose date/time string parser that allows a whole lot of common patterns? Like `2022-05-02 06:07:08` and `5/2/2022 6pm` and such?
<FromGitter> <plambert> Not looking for anything perfect, just to allow CLI users the chance to use whatever format they try first...
<FromGitter> <moe:busyloop.net> didn't find one when i last looked
<FromGitter> <moe:busyloop.net> shouldn't be too hard to port one of the ruby ones tho, if you're so inclined. e.g. https://github.com/mojombo/chronic
ur5us has joined #crystal-lang