<mikecmpbll>
i'm having a mare getting bundler + mini_racer + libv8-node to work on alpine. with the addition of `bundle lock --add-platform x86_64-linux-musl` i can bundle, but when the rails app tries to load i get "Could not find libv8-node-16.10.0.0-x86_64-linux in locally installed gems"..
jpn has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
dionysus70 has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus70 is now known as dionysus69
<mikecmpbll>
presumably it should be looking for libv8-node-16.10.0.0-x86_64-linux-musl or something
kaivai has joined #ruby
<adam12>
mikecmpbll: Maybe bundler bug?
royo25 has quit [Quit: Bye]
<mikecmpbll>
seems like it .. very frustrating. can't figure it out. trying to make a minimal repro now..
crux73 has joined #ruby
crux73 has quit [Remote host closed the connection]
<adam12>
mikecmpbll: I'd double check that you're on the latest bundler.
crux73 has joined #ruby
cartdrige has quit [Ping timeout: 255 seconds]
<mikecmpbll>
adam12: thanks, i am. dockerfile has `gem update --system` and `gem install bundler`
<adam12>
mikecmpbll: Which version of bundler did you get? and which one is mentioned in the Gemfile.lock?
Vaevictu1 is now known as Vaevictus
<adam12>
bundler can auto-switch versions, so it's worth looking at.
eddof13 has joined #ruby
cocalero has joined #ruby
<mikecmpbll>
adam12: it's 2.3.24, and same in lockfile
<adam12>
Hmm.
<mikecmpbll>
if i do a reproduction with `rails new ...` && `bundle add mini_racer`, it works. so now to try and figure out what the heck the difference is :/
John_Schuuman has quit [Read error: Connection reset by peer]
John_Schuuman has joined #ruby
toshiba__ has joined #ruby
crux73 has quit [Ping timeout: 246 seconds]
grokify has joined #ruby
nirvdrum has joined #ruby
jpn has quit [Ping timeout: 246 seconds]
grokify has quit [Ping timeout: 272 seconds]
jpn has joined #ruby
Laplace has joined #ruby
grokify has joined #ruby
toshiba__ has quit [Quit: Leaving]
grokify has quit [Ping timeout: 255 seconds]
Fleeno has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
croot has joined #ruby
Tempesta has quit [Quit: See ya!]
grokify has joined #ruby
Tempesta has joined #ruby
cartdrige has joined #ruby
grokify has quit [Remote host closed the connection]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hightower2 has joined #ruby
dviola has joined #ruby
eddof13 has joined #ruby
_ht has joined #ruby
crux73 has joined #ruby
cartdrige has quit [Ping timeout: 252 seconds]
grokify has joined #ruby
toshiba__ has joined #ruby
grokify has quit [Remote host closed the connection]
<mikecmpbll>
looks indeed like a bundler bug with gemfile from mac not working on alpine. my lockfile includes other libv8s for other platforms, and i guess that confuses it. when i create the gemfile on alpine it only includes the musl version and works. if i `bundle remove mini_racer && bundle add mini_racer` in my dockerfile it also works :/.
<mikecmpbll>
i'll just use node instead..
crux73 has quit [Ping timeout: 272 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 272 seconds]
Goodbye_Vincent has quit [Quit: Ping timeout (120 seconds)]
Fleeno has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Goodbye_Vincent has joined #ruby
nirvdrum has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
markong has quit [Ping timeout: 272 seconds]
cocalero has quit [Quit: Going offline, see ya! (www.adiirc.com)]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
howdoi has joined #ruby
sixecho has joined #ruby
heartburn has joined #ruby
toshiba__ has joined #ruby
crux73 has quit [Ping timeout: 255 seconds]
cartdrige has joined #ruby
toshiba__ has quit [Ping timeout: 260 seconds]
eddof13 has joined #ruby
croberts has joined #ruby
markong has quit [Ping timeout: 272 seconds]
TomyWork has quit [Remote host closed the connection]
jpn has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
cartdrige has quit [Quit: Leaving]
cartdrige has joined #ruby
jpn has quit [Ping timeout: 272 seconds]
grokify has quit [Ping timeout: 272 seconds]
crux73 has joined #ruby
jpn has joined #ruby
cartdrige has quit [Ping timeout: 246 seconds]
toshiba__ has joined #ruby
crux73 has quit [Ping timeout: 260 seconds]
jpn has quit [Ping timeout: 246 seconds]
weaksauc_ is now known as weaksauce
crux73 has joined #ruby
crux73 has quit [Remote host closed the connection]
toshiba__ has quit [Ping timeout: 260 seconds]
grokify has joined #ruby
Pixi has quit [Ping timeout: 246 seconds]
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
jpn has joined #ruby
cartdrige has joined #ruby
grokify has quit [Ping timeout: 272 seconds]
jpn has quit [Ping timeout: 258 seconds]
Pixi has joined #ruby
crux73 has joined #ruby
cartdrige has quit [Ping timeout: 255 seconds]
crux73 has quit [Ping timeout: 258 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 252 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
<adam12>
Must be my day for bundler errors too.
<D_A_N>
so I ended up fixing that thing i mentioned yesterday, adam12
<D_A_N>
i did = content_for :custom_meta do
<D_A_N>
followed by all of the meta tags
keb has joined #ruby
<D_A_N>
and then in the layout erb i just did = content_for?(:custom_meta) ? yield(:custom_meta) : yield
<adam12>
D_A_N: Yeah, perfect :)
<D_A_N>
it was kind of confusing because there's about 300+ dev's that have worked on this thing and no one's bothered to adjust the way they render these meta tags
<D_A_N>
and me being new to ruby and all i took it as the way it was supposed to be but then i remembered that apparently i'm like a genius or something that does everything the best way possible
<D_A_N>
they have - if content_for?(:og_image)
<D_A_N>
meta property="og:image" content=image_url(content_for(:og_image))
<D_A_N>
in the layout erb, followed by a helper method in override_helper.rib and then specifying the text for the meta tag in the child template individually
<D_A_N>
all of that for one meta tag and it's not even readable
<D_A_N>
- if content_for?(:og_image)
<D_A_N>
meta property="og:image" content=image_url(content_for(:og_image))