xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
splud_wurk has quit [Quit: splud_wurk]
coffeex3 has joined #ruby
galaxie has joined #ruby
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
pama has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
ttoocs has joined #ruby
postmodern has joined #ruby
titanbiscuit has quit [Ping timeout: 260 seconds]
titanbiscuit has joined #ruby
gix has quit [Ping timeout: 268 seconds]
citizentwo has joined #ruby
citizentwo has quit [Remote host closed the connection]
donofrio has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
buckworst has quit [Quit: WeeChat 2.7]
ogres has quit [Quit: Connection closed for inactivity]
buckworst has joined #ruby
ooheitooh has quit [Ping timeout: 260 seconds]
ooheitooh has joined #ruby
darkstardevx has joined #ruby
sergioro has quit [Quit: leaving]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
sergioro has joined #ruby
sauvin has joined #ruby
s3nd1v0g1us has quit [Quit: WeeChat 2.6]
<jeromelanteri>
ratah, it was your nice helpfull comment yestarday on RubyOnRails channel: "I don't think you're gonna get help that way. It's much easier if you provide all the relevant code necessary in a stripped down version, preferably presented in a short and concise sentence with a corresponding Gist or even GitHub repo." But i can see here that it is a favour (i don't know why...) and not currently usual. Thank you for
<jeromelanteri>
make me laught.
fmccann has joined #ruby
<ratah>
jeromelanteri: you sure they made you laugh?
<ratah>
jeromelanteri: i didnt mean to hurt your feelings. i was just telling the truth though, it's the best way to get help. who taught me how to get help that way? the people who helped me
<ratah>
jeromelanteri: also please stop PMing me with your passive-aggressive insults
<jeromelanteri>
ratah, yes, i told you allready. I didn't understand, but i choose the way to laugth and not thinking the bad way. It is a choice everybody can do.
<jeromelanteri>
God also tell the true by the time...
<jeromelanteri>
i don't insult you and i'm not passive when i do something.
<jeromelanteri>
please ratah choose to become positive and friendly.
<jeromelanteri>
consider myself as other user, and if one day you really want to help me,you will be very welcome.
<ratah>
like its positive and friendly attacking me publically in front of everybody here. you obviously have an agenda to smear me. and doing so in a very passive-aggressive childish way
<jeromelanteri>
ratah, again, i don't consider or never want to "attack you". You feel yourself attacked and i'm very sorry.
<ratah>
all because i asked you to please provide context, and provided you with tips on how to better get help
<ratah>
look just leave me alone
<jeromelanteri>
not because of your ask who was perfect my friend, but because quickly you said "you don't trust me..."
<ratah>
stop talking to me
<ratah>
crazy person
<jeromelanteri>
i trust everybody and i did it also... can you please read it again ?
<jeromelanteri>
you feel very negative about me. i don't know why.
<jeromelanteri>
i also don't know why you insuilt me. I'm not agressive, i'm not crazy, etc...
<jeromelanteri>
and i never insult you.
<jeromelanteri>
ratah, please rata, become friendly with me and consider i want to be friendly with you to. I sorry for you feel so nervous and for you insulted me, i pardon you my friend.
coffeex3 has quit [Ping timeout: 272 seconds]
bvdw has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
bvdw has joined #ruby
ldepandis has joined #ruby
johnny56_ has quit [Ping timeout: 240 seconds]
johnny56 has joined #ruby
turbo_choo has quit [Ping timeout: 268 seconds]
turbo_choo has joined #ruby
<baweaver>
👀
<baweaver>
jeromelanteri: That was valid advice they gave you yesterday
<baweaver>
jeromelanteri: Also enough with ratah. Leave them alone.
<baweaver>
It's in the channel rules that you need to provide reproducible examples
<jeromelanteri>
baweaver, sure it was, and i did it also (the proof i trust him, everythink is writing, it is impossible to miss understand or to deny facts). The next step was not. Yes, enough, i do ignore himm because i don't want to be insulted or target of bad thinking.
<jeromelanteri>
baweaver, i did share a repoductible examplke code to...
<jeromelanteri>
i also resolve my problem and explain why it did happen.
<baweaver>
Then why are they saying you're DMing them?
<jeromelanteri>
it was a ruby-2.7 way to treat regexp
<jeromelanteri>
i tryed yesterday to know if he was a robot (i thank he was) and to get an explain of his reaction. i send only one PM without any insult. I never had response.
<jeromelanteri>
nothing bad.
<jeromelanteri>
i think, it is a communication problem because i'm not english and maybe because of humility problem. But i don't understand the reaction of yesterday and this day to...
<jeromelanteri>
baweaver, thank you for try to understand the problem. have a good day.
<jeromelanteri>
ho... i do understand also than no one is perfect and that some people absolutly doesn't support any critic (they feel injured and speak abnout insult... where there is no insult) but in the same time, they provide critical sentences on first place and insult next. All is writing there, it is a facvt and wow... it is out of the rule to. I choose to speak because i see this channel doesn't have a lot of
<jeromelanteri>
frequentation (maybe because of that ?). Hope ity can help to "slow down babies" and be more tolerent has we like the other are with us. Peace.
jeromelanteri has quit [Quit: Leaving]
Intelo has joined #ruby
fercell has joined #ruby
Azure has quit [Ping timeout: 272 seconds]
Azure has joined #ruby
fanta1 has joined #ruby
chalkmonster has joined #ruby
akemrir has joined #ruby
Ven`` has joined #ruby
conta has joined #ruby
clemens3 has joined #ruby
impermanence has quit [Remote host closed the connection]
fphilipe_ has quit [Ping timeout: 246 seconds]
schne1der has joined #ruby
Guest99060 has quit [Quit: All for nothing]
olspookishmagus has joined #ruby
olspookishmagus is now known as Guest91950
Guest91950 has quit [Client Quit]
Intelo has quit [Ping timeout: 265 seconds]
olspookishmagus has joined #ruby
royal_screwup21 has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
cd has quit [Quit: cd]
mikecmpbll has joined #ruby
alfiemax has quit [Remote host closed the connection]
fanta1 has quit [Quit: fanta1]
sergioro has quit [Read error: Connection reset by peer]
sergioro has joined #ruby
fphilipe_ has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]
grr12314 has joined #ruby
alfiemax has joined #ruby
conta has quit [Quit: conta]
conta has joined #ruby
cisco has joined #ruby
zlogan has quit [Read error: Connection reset by peer]
TomyWork has joined #ruby
skryking_ has quit [Remote host closed the connection]
skryking_ has joined #ruby
alexherbo2 has joined #ruby
alfiemax has quit [Remote host closed the connection]
sergioro has quit [Quit: leaving]
alfiemax has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
fanta1 has joined #ruby
xco has joined #ruby
pwnd_nsfw has joined #ruby
Jonopoly has joined #ruby
mikecmpbll has quit [Remote host closed the connection]
Fernando-Basso has joined #ruby
fanta1 has quit [Quit: fanta1]
turbo_choo has quit [Ping timeout: 268 seconds]
alfiemax has quit [Remote host closed the connection]
<ytti>
if it's not arbitrary, just set the range you need?
<al2o3-cr>
leitz: just do your comparison in the else block
<al2o3-cr>
&>> case soc; when 5..10; "Citizen"; else; if soc < 5 then "Other" else "Noble" end end
<rubydoc>
stderr: -e:4:in `<main>': undefined local variable or method `soc' for main:Object (NameError)... check link for more (https://carc.in/#/r/8jfk)
<al2o3-cr>
&>> soc = 4; case soc; when 5..10; "Citizen"; else; if soc < 5 then "Other" else "Noble" end end
citizentwo has quit [Remote host closed the connection]
fanta1 has quit [Quit: fanta1]
cthulchu_ has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.5]
TomyWork has quit [Ping timeout: 256 seconds]
chalkmonster has joined #ruby
Intelo has quit [Ping timeout: 260 seconds]
splud_wurk has joined #ruby
cow[moo] has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
john2496 has joined #ruby
gix has joined #ruby
fercell has quit [Quit: WeeChat 2.7]
citizentwo has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.7]
schne1der has quit [Ping timeout: 272 seconds]
chalkmonster has joined #ruby
woodruffw has quit [Ping timeout: 265 seconds]
woodruffw has joined #ruby
woodruffw has quit [Changing host]
woodruffw has joined #ruby
citizentwo has quit [Remote host closed the connection]
drincruz_ has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
fphilipe_ has quit [Ping timeout: 240 seconds]
tpanarch1st has joined #ruby
citizentwo has joined #ruby
royal_screwup21 has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
conta1 has quit [Quit: conta1]
clemens3 has quit [Quit: WeeChat 2.1]
drincruz has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
wildtrees has joined #ruby
_phaul has quit [Ping timeout: 268 seconds]
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #ruby
_phaul has joined #ruby
Guest55554 has quit [Ping timeout: 260 seconds]
happyhans has quit [Ping timeout: 260 seconds]
donofrio has quit [Remote host closed the connection]
darkf has joined #ruby
jmcgnh has quit [Read error: Connection reset by peer]
donofrio has joined #ruby
siery has quit [Quit: WeeChat 2.7]
coffeex3 has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]
johnny56 has joined #ruby
jmcgnh has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 265 seconds]
chalkmonster has quit [Quit: WeeChat 2.7]
Intelo has joined #ruby
nst^ has quit []
pwnd_nsfw has joined #ruby
dviola has quit [Quit: WeeChat 2.7]
<dreamreal>
gah. I'm trying to get a toolset for ruby working well, and I have IDEA Ultimate so I'm using the Ruby plugin - which I understand is basically RubyMine. Yet require and require_relative don't resolve at all.
<dreamreal>
ah ha!
fphilipe_ has joined #ruby
<dreamreal>
Still a few oddities: It's set to use Ruby 2.6.5 (from brew) but still complains about safe navigation operator requiring at least ruby 2.3
<havenwood>
dreamreal: Sanity check which Ruby you're using?
<havenwood>
dreamreal: ruby -v
<havenwood>
dreamreal: Is your Homebrew Ruby gem dir in path?
<dreamreal>
ruby -v says "ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-darwin19]", which ruby shows `/usr/local/opt/ruby/bin/ruby`, which is the ruby set for the project
<dreamreal>
and as to your last question, that's a fine question, it sure is, sir! It's a great question.
<dreamreal>
.... how do I tell?
<havenwood>
dreamreal: Check if PATH contains: `gem env gemdir`/bin
<havenwood>
dreamreal: printenv PATH
<havenwood>
dreamreal: gem env gemdir
<dreamreal>
it does not!
<dreamreal>
straight up PATH modification?
<havenwood>
We should change brew instructions to suggest prepending it to PATH.
<havenwood>
dreamreal: Another option would be to install chruby and us it to set PATH, etc.
<dreamreal>
I wonder if I'm simply not knowing enough of what I'm looking at in IDEA, though - it has a gems bin directory (set to /usr/local/lib/ruby/gems/2.6.0/bin), and a *classpath* set to /usr/local/lib/ruby/2.6.5/lib/ruby/2.6.0/ among others
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
<havenwood>
dreamreal: Looks like /usr/local/lib/ruby/gems/2.6.0/bin is the gem bin dir that you'd want in PATH. I'd suggest just setting up chruby but prepending that dir to your PATH in a dotfile should work too.
bvdw has joined #ruby
<dreamreal>
but why would that make it so IDEA didn't understand the safe navigation operator?
<dreamreal>
I mean, everything else seems to be okay
<havenwood>
dreamreal: Does it need to be pointed at the correct Ruby? Did you launch it from the command line after setting PATH?
<havenwood>
dreamreal: I don't use IDEA so someone else might have better suggestions.
<havenwood>
dreamreal: Many editors detect and respect chruby, RVM and/or rbenv.
<havenwood>
dreamreal: I'm curious if it works if you set up chruby, restart and try again.
<dreamreal>
havenwood: It's set to use the "correct ruby" in the project
ur5us has joined #ruby
<dreamreal>
*nod* will try
happyhans has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Mia has quit [Ping timeout: 240 seconds]
ratah has quit [Quit: Connection closed for inactivity]
happyhans has quit [Ping timeout: 240 seconds]
sauvin has quit [Read error: Connection reset by peer]
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
fphilipe_ has joined #ruby
dasher00 has joined #ruby
happyhans has joined #ruby
impermanence has joined #ruby
TCZ has joined #ruby
coffeex3 has quit [Changing host]
coffeex3 has joined #ruby
Nahra has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
Nahra has quit [Quit: leaving]
Nahra has joined #ruby
Nahra has quit [Quit: leaving]
royal_screwup21 has joined #ruby
Nahra has joined #ruby
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
_whitelogger has joined #ruby
citizentwo has quit [Remote host closed the connection]
citizentwo has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
burningserenity has quit [Quit: Leaving.]
burningserenity has joined #ruby
happyhans has quit [Remote host closed the connection]
alexherbo22 has joined #ruby
impermanence has quit [Remote host closed the connection]
Nahra has quit [Quit: leaving]
alexherbo2 has quit [Ping timeout: 246 seconds]
alexherbo2 has joined #ruby
impermanence has joined #ruby
alexherbo22 has quit [Ping timeout: 265 seconds]
Exuma has joined #ruby
burningserenity has quit [Remote host closed the connection]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coffeex3 has quit [Ping timeout: 272 seconds]
VeryBewitching has joined #ruby
stryek has joined #ruby
poontangmessiah has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
hiroaki has joined #ruby
ccooke has joined #ruby
royal_screwup21 has quit [Remote host closed the connection]
Guest9046 has quit [Quit: leaving]
VeryBewitching has quit [Quit: Konversation terminated!]
rprimus has joined #ruby
brool has quit [Quit: yeet]
poontangmessiah has quit [Ping timeout: 240 seconds]
Guest67251 has quit [Ping timeout: 272 seconds]
dviola has joined #ruby
buckworst has quit [Quit: WeeChat 2.7]
cisco has joined #ruby
cisco is now known as Guest5216
john2496 has quit [Remote host closed the connection]
hiroaki has quit [Ping timeout: 272 seconds]
hutch has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
impermanence has quit [Ping timeout: 272 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
citizentwo has quit [Remote host closed the connection]
romanlevin2 has quit [Quit: Ping timeout (120 seconds)]
romanlevin has joined #ruby
poontangmessiah has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Axy has quit [Ping timeout: 240 seconds]
citizentwo has joined #ruby
leitz has quit [Quit: Leaving]
cc_ has joined #ruby
markopasha has quit [Ping timeout: 272 seconds]
cc__ has joined #ruby
poontangmessiah has quit [Ping timeout: 240 seconds]
cc_ has quit [Ping timeout: 272 seconds]
apotheon has joined #ruby
<apotheon>
What's a good place to find some very simple, illustrative examples of using C libraries in Ruby gems? The documentation is a bit hard to translate into action, in some respects, and I'd like to see examples of it done well that are pretty basic-level for ease of reading.
TCZ has quit [Quit: Bye Bye]
<_phaul>
while I am completely unable to answer your question, if no better answer comes, I know that the widely used nokogiri gem uses C libs to achieve what it does
<havenwood>
apotheon: Trying to bind to an existing C library or writing some C?
<havenwood>
apotheon: You might look at Typhoeus for FFI bindings done nicely.
<havenwood>
apotheon: Or look at Oga to see an alternative style to Nokogiri.
<havenwood>
Or say more.
<apotheon>
I'm planning to rewrite a Ruby library as a C library, for use by C programs, but also provide a gem.
<apotheon>
(my own Ruby library)
<apotheon>
I'll look at those. Thanks.
DaRock has joined #ruby
<apotheon>
It looks like the actual C-consuming code is in the ethon library, re: Typhoeus.
hutch has quit [Ping timeout: 240 seconds]
<adam12>
apotheon: The bcrypt-ruby gem might be worth a look too.