havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.1, 3.0.3, 2.7.5: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
thoraxe has joined #ruby
<thoraxe> so i am struggling to figure out how to do some basic gem development stuff. when I do a 'bundle install' I see that it's pulling in the local gem (Using tweetkit 0.3.0 (was 0.2.0) from source at `.`) but when I try to 'require tweetkit' after 'bundle exec pry' it can't find it
<thoraxe> it looks like it didn't actually install it
<thoraxe> bundle exec gem list shows tweetkit installed
<thoraxe> so why can't it be required/loaded?
<thoraxe> HA. somehow the lib folder contents got nuked so the gem was empty
crankharder has joined #ruby
ur5us_ has joined #ruby
crankharder has quit [Ping timeout: 268 seconds]
CrazyEddy has quit [Remote host closed the connection]
CrazyEddy has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
CrazyEddy has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 252 seconds]
mitt3ns has joined #ruby
Jonopoly has quit [Quit: WeeChat 3.0]
crankharder has joined #ruby
srinidhi has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
gcd_ has joined #ruby
H4Z3_ has joined #ruby
cxl_ has joined #ruby
newton_ has joined #ruby
RedNifre2 has joined #ruby
slothbee has joined #ruby
ivanf has quit [*.net *.split]
Inoperable has quit [*.net *.split]
cxl has quit [*.net *.split]
gcd has quit [*.net *.split]
RedNifre has quit [*.net *.split]
newton has quit [*.net *.split]
slothby has quit [*.net *.split]
H4Z3 has quit [*.net *.split]
In0perable has joined #ruby
o|||||o has quit [Ping timeout: 252 seconds]
crankharder has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
newton_ is now known as newton
gcd_ has quit [Ping timeout: 250 seconds]
gcd has joined #ruby
srinidhi has quit [Ping timeout: 240 seconds]
entropy has joined #ruby
entropie has quit [Ping timeout: 252 seconds]
entropy is now known as entropie
emcb57 has joined #ruby
emcb5 has quit [Ping timeout: 252 seconds]
emcb57 is now known as emcb5
srinidhi has joined #ruby
ur5us_ has quit [Ping timeout: 240 seconds]
donofrio has quit [Ping timeout: 256 seconds]
sagax has joined #ruby
ur5us_ has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 252 seconds]
aeris has quit [Ping timeout: 240 seconds]
aeris has joined #ruby
roadie has joined #ruby
teclator has joined #ruby
clemens3 has quit [Ping timeout: 240 seconds]
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
roadie has joined #ruby
clemens3 has joined #ruby
dionysus69 has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
_ht has joined #ruby
fef has joined #ruby
_ht has quit [Remote host closed the connection]
crankharder has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
Jonopoly has joined #ruby
ur5us_ has quit [Ping timeout: 252 seconds]
dionysus69 has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
dionysus69 has quit [Remote host closed the connection]
gr33n7007h has quit [Quit: WeeChat 3.4.1]
dionysus69 has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
ur5us_ has joined #ruby
Furai has quit [Quit: WeeChat 3.4.1]
Furai has joined #ruby
taupiqueur has joined #ruby
CrazyEddy has quit [Ping timeout: 240 seconds]
ur5us_ has quit [Ping timeout: 256 seconds]
d-s has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 256 seconds]
taupiqueur has quit [Read error: Connection reset by peer]
taupiqueur has joined #ruby
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby
taupiqueur_ has joined #ruby
taupiqueur has quit [Ping timeout: 256 seconds]
mitt3ns has quit [Remote host closed the connection]
p3lim has joined #ruby
<p3lim> hi, I have an erb template file and I need to put some code in it that seems to use control characters (syntax highlighting is going nuts), is there a way to wrap a section as "raw"?
p3lim has left #ruby [bye]
o|||||o has joined #ruby
TCZ has joined #ruby
<mooff> p3lim: you could try using a heredoc. i think ultimately it depends on the highlighter
<mooff> can you share the code?
<mooff> there's also this mechanism https://www.honeybadger.io/blog/data-and-end-in-ruby/
donofrio has joined #ruby
markong has joined #ruby
puts has joined #ruby
TCZ has quit [Read error: Connection reset by peer]
dviola has quit [Ping timeout: 250 seconds]
moldorcoder7 has quit [Ping timeout: 240 seconds]
puts has quit [Ping timeout: 240 seconds]
moldorcoder7 has joined #ruby
Thanzex has quit [Read error: Connection reset by peer]
Thanzex has joined #ruby
<mooff> the pattern of doing require "test_helper" in files loaded by Rake::TestTask - it's a little superfluous, isn't it?
<mooff> it only works because TestTask added test/ to $LOAD_PATH. and if it's gonna do that, why not require the helper file for us, to remove cruft?
hololeap has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
<jhass[m]> So you can decide to break the pattern, having no test helper at all, having additional or different ones per part of your testsuite/kind of your tests
crankharder has quit [Ping timeout: 252 seconds]
dionysus69 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
<dka> some reason, within the ssh session, this commands fail with `-bash: bundle: command not found`. My BUNDLE_PATH=vendor/bundle , how can I get bundle available in my terminal ssh session?
John_Ivan has quit [Read error: Connection reset by peer]
John_Ivan has joined #ruby
Jonopoly has quit [Quit: WeeChat 3.0]
<adam12> dka: Does bin/bundle exist?
<dka> -bash: bin/bundle: No such file or directory
<dka> echo $PATH: /home/circleci/.nvm/versions/node/v16.13.2/bin:/home/circleci/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
<adam12> dka: ruby -v
<dka> -bash: ruby: command not found
<dka> \
<adam12> dka: I'd probably start there.
<dka> I don't know what to do, I can see this https://github.com/pass-culture/pass-culture-app-native/blob/master/.circleci/config.yml#L76-L91 but I don't know what to do with it to initialize my session correctly
<adam12> 1000 line YML file for CI config. Wild stuff.
<adam12> dka: My guess is that the base image that this task uses, no longer contains Ruby.
<adam12> dka: It doesnt' contain nodejs either, which is why it's manually installed, but I bet at some point Ruby was removed. Maybe you can do something similar to that nvm step, but install rbenv or one of the other tools.
<dka> Yes it does contain nodejs , npm etc...
<dka> source $HOME/.rvm/scripts/rvm; rvm use; Now using system ruby them ruby; -bash: ruby: command not found
<adam12> dka: find / -name ruby
d-s has quit [Remote host closed the connection]
hololeap has joined #ruby
<adam12> dka: Maybe you can `rvm use 2.6.1`
<dka> Required ruby-2.6.1 is not installed.
<adam12> OK, maybe forget about rvm and just modify your path.
<dka> maybe it's because I did modify the runner by trying to install rvm
<adam12> PATH=/home/circleci/.rubies/ruby-2.6.1/bin:$PATH
<adam12> I see ruby-install there, which I think uses ~/.rubies
<dka> Thank you so much
<dka> it now runs
<adam12> dka: Cool!
crankharder has joined #ruby
TCZ has joined #ruby
FetidToot has quit [Quit: Ping timeout (120 seconds)]
taupiqueur_ has quit [Quit: taupiqueur_]
FetidToot has joined #ruby
_aeris_ has joined #ruby
aeris has quit [Ping timeout: 240 seconds]
_aeris_ is now known as aeris
havenwood has quit [Quit: The Lounge - https://thelounge.chat]
havenwood has joined #ruby
TCZ has quit [Ping timeout: 256 seconds]
TCZ has joined #ruby
crankharder has quit [Quit: Lost terminal]
TCZ is now known as TCZ12345
TCZ12345 is now known as ide_se_czesc
ide_se_czesc has quit [Quit: Leaving]
gr33n7007h has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #ruby
ivanf has joined #ruby
electronico112 has joined #ruby
electronico112 has quit [Client Quit]
oxfuxxx has joined #ruby
roadie has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
gproto23 has joined #ruby
ur5us_ has joined #ruby
slothbee is now known as slothby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
howdoi has joined #ruby
emcb5 has quit [Read error: Connection reset by peer]
emcb5 has joined #ruby
oxfuxxx has quit [Quit: Yankies Motherfh@ckers C0[k Astroboys]
oxfuxxx has joined #ruby
_ht has joined #ruby
emcb5 has quit [Ping timeout: 250 seconds]
oxfuxxx has quit [Quit: Yankies Motherfh@ckers C0[k Astroboys]
emcb5 has joined #ruby
oxfuxxx has joined #ruby
dviola has joined #ruby
oxfuxxx has quit [Client Quit]
oxfuxxx has joined #ruby
peder has quit [Ping timeout: 252 seconds]
oxfuxxx has quit [Quit: Yankies Motherfh@ckers C0[k Astroboys]
gr33n7007h has quit [Quit: WeeChat 3.4.1]
oxfuxxx has joined #ruby
mbrndtgn has quit [Quit: The Lounge - https://thelounge.chat]
mbrndtgn has joined #ruby
markong has quit [Ping timeout: 240 seconds]
ur5us_ has quit [Ping timeout: 250 seconds]
oxfuxxx has quit [Ping timeout: 252 seconds]
peder has joined #ruby
oxfuxxx has joined #ruby
fef has quit [Remote host closed the connection]
gproto23 has quit [Remote host closed the connection]
gproto23 has joined #ruby
oxfuxxx has quit [Read error: Connection reset by peer]
justOkay has quit [Read error: Connection reset by peer]
oxfuxxx has joined #ruby
justOkay has joined #ruby
oxfuxxx has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
oxfuxxx has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
ur5us_ has joined #ruby
oxfuxxx has quit [Ping timeout: 250 seconds]
oxfuxxx has joined #ruby
gproto23 has quit [Remote host closed the connection]
oxfuxxx has quit [Ping timeout: 256 seconds]
srinidhi has quit [Ping timeout: 268 seconds]
o|||||o has quit [Ping timeout: 256 seconds]
oxfuxxx has joined #ruby
oxfuxxx has quit [Client Quit]
oxfuxxx has joined #ruby
gr33n7007h has joined #ruby
_ht has quit [Remote host closed the connection]
o|||||o has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
nmollerup has quit [Quit: Leaving]
reset has quit [Quit: reset]