baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
mynameisdebian has quit [Ping timeout: 252 seconds]
jinie has quit [Ping timeout: 245 seconds]
akem has quit [Remote host closed the connection]
akem has joined #ruby
akem has quit [Read error: Connection reset by peer]
akem has joined #ruby
beeman has quit []
dbz has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beeman has joined #ruby
Technodrome has joined #ruby
<baweaver_away> Just a reminder that puts can do this with implied hashes - https://twitter.com/keystonelemur/status/1044021179055366144
baweaver_away is now known as baweaver
RedNifre has quit [Ping timeout: 252 seconds]
akem has quit [Remote host closed the connection]
akem has joined #ruby
xfbs has quit [Quit: byebye]
KeyJoo has quit [Ping timeout: 252 seconds]
Puffball has quit [Remote host closed the connection]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
ZzZombo has quit [Quit: Going offline, see ya! (www.adiirc.com)]
za1b1tsu has joined #ruby
za1b1tsu has quit [Ping timeout: 252 seconds]
dbz has quit [Remote host closed the connection]
elphe has quit [Ping timeout: 260 seconds]
apeiros has quit [Ping timeout: 272 seconds]
nertzy has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akem has quit [Remote host closed the connection]
akem__ has joined #ruby
apparition has joined #ruby
elphe has joined #ruby
apeiros has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
RougeR has quit [Ping timeout: 245 seconds]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
ZzZombo has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
nertzy has joined #ruby
Technodrome has joined #ruby
elphe has quit [Quit: leaving]
dbz has joined #ruby
AJA4350 has quit [Quit: AJA4350]
nertzy has quit [Quit: This computer has gone to sleep]
dbz has quit [Ping timeout: 252 seconds]
dbz has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
s2013 has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 272 seconds]
braincrash has quit [Quit: bye bye]
<Radar> baweaver: reminding us that puts can output hashes?
braincrash has joined #ruby
<Radar> seems like same behaviour as `p` but without the associated return value
<Radar> baweaver: Here's the code for `puts`: https://github.com/ruby/ruby/blob/trunk/io.c#L7664-L7694
<Radar> I think rb_obj_as_string is equiv. to calling `to_s` on the output, and using Array#to_s and Hash#to_s matches up with the `puts` output, so I think I'm irght there.
<Radar> I don't know what "string:" does on 7863 there though
<Radar> 7683*
gix has joined #ruby
asphyxia has joined #ruby
<asphyxia> if Ruby constants are not like traditional languages in that they CAN be changed, can I set an array as a constant?
<Radar> asphyxia: You can change them but the Ruby interpreter will warn you when you do so.
<Radar> >> A = 1; A = 2;
<ruby[bot]> Radar: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<Radar> ruby[bot]: dead to me
<Radar> (irb):1: warning: already initialized constant A
<Radar> (irb):1: warning: previous definition of A was here
<asphyxia> Radar: haha thanks
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu has joined #ruby
Technodrome has joined #ruby
s2013 has quit [Ping timeout: 244 seconds]
za1b1tsu has quit [Ping timeout: 252 seconds]
dbz has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
Nicmavr has quit [Quit: ZNC 1.7.0 - https://znc.in]
Nicmavr has joined #ruby
dbz has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
asphyxia has quit [Ping timeout: 260 seconds]
donofrio__ has quit [Remote host closed the connection]
c0ncealed2 has quit [Remote host closed the connection]
c0ncealed2 has joined #ruby
za1b1tsu has joined #ruby
dellavg_ has joined #ruby
duderonomy has joined #ruby
armyriad has quit [Ping timeout: 240 seconds]
armyriad has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
Tuor has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tuor has quit [Quit: Konversation terminated!]
Tuor has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
ciscam has quit [Ping timeout: 252 seconds]
ciscam has joined #ruby
reber has joined #ruby
reber__ has joined #ruby
apparition has quit [Quit: Bye]
dbz has quit [Remote host closed the connection]
Technodrome has joined #ruby
graphene has quit [Remote host closed the connection]
doubledup has joined #ruby
graphene has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver> Radar: implied hashes without brackets. I use it for cheap debugging on the run
dbz has joined #ruby
<livcd> Anyone read the new Well Grounded Rubyist ?
<Radar> livcd: I have access to it but I haven't read it because I think I know Ruby already. What made you ask the question?
<baweaver> Wasn't a fan of the first edition.
leeijaw has joined #ruby
<livcd> Radar: I like reading tech books. But some are shit
<baweaver> Tended to veer into the obscure too often that doesn't find common use
<Radar> baweaver: Was that when it was still called Ruby for Rails or the actual 1st ed of Well Grounded?
<baweaver> Had a few pre-juniors learning from the first edition asking a lot of questions, many of them making me wtf a few times.
Inline has quit [Quit: Leaving]
<Radar> And yeah it covers a lot of obscure stuff iirc
<baweaver> Need to double check
<baweaver> esoterica is nice, but not for a first book
<Radar> livcd: if you want a less obscurity-filled one: learnrubythehardway.org
leeijaw has quit [Client Quit]
<baweaver> If you already know programming, Eloquent Ruby is my go-to.
<livcd> Radar: I dont remember if I read this one uh
<baweaver> Though it's also old, so keep that in mind. Working through it right now and posting considerations: https://medium.com/@baweaver/lets-read-eloquent-ruby-ch-1-b2115d1416a6
<baweaver> Ch 2 is about done, just working on writing a class outline first.
<Radar> baweaver: 1st chapter uses attr_accessor instead of attr_reader?!!!11 on1e
<Radar> whyyyy
<baweaver> because there's no point in being pedantic this early.
<Radar> but it's plain _wrong_ and ... oh my god I've become one of those FP mutability pedants haven't I?
<baweaver> Most of the people that I'm teaching are coming from Java or PHP. Baby steps. That, and I'm trying to translate 1-1 for the most part.
<baweaver> Seems to be the State of affairs
hanetzer has joined #ruby
leeijaw has joined #ruby
leeijaw has quit [Client Quit]
MoritaShinobu has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Radar> TIL Hash#store
<Radar> although I don't know why you wouldn't use Hash#[] instead
<hanetzer> Radar: anyday TIL is a good day :)
<Radar> true story
idiocrash has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
snickers has joined #ruby
Liothen has quit [Quit: The Dogmatic Law of Shadowsong]
Technodrome has joined #ruby
ciscam has quit [Ping timeout: 240 seconds]
Liothen has joined #ruby
ciscam has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
universa1 has joined #ruby
gothicsouth has joined #ruby
idiocrash has joined #ruby
universa1 has quit [Quit: ZNC 1.6.1+deb1~ubuntu14.04.0 - http://znc.in]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
universa1 has joined #ruby
Tuor has quit [Ping timeout: 240 seconds]
doubledup has quit [Read error: Connection reset by peer]
doubledup has joined #ruby
akem__ has quit [Remote host closed the connection]
nickjj has quit [Read error: Connection reset by peer]
akem__ has joined #ruby
nickjj has joined #ruby
clemens3 has joined #ruby
duderonomy has joined #ruby
aufi has joined #ruby
Technodrome has joined #ruby
ule has quit [Ping timeout: 252 seconds]
ule has joined #ruby
clemens3 has quit [Remote host closed the connection]
typikal has joined #ruby
vondruch has quit [Ping timeout: 246 seconds]
ua has quit [Ping timeout: 260 seconds]
typikal is now known as jp
wojnar has joined #ruby
clemens3 has joined #ruby
ams__ has joined #ruby
kapil___ has joined #ruby
jokester has quit [Ping timeout: 250 seconds]
jokester has joined #ruby
ule has quit [Ping timeout: 260 seconds]
Tuor has joined #ruby
ule has joined #ruby
yohji has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ua has joined #ruby
ciscam has quit [Ping timeout: 244 seconds]
ciscam has joined #ruby
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
discopatrick has joined #ruby
akem__ has quit [Remote host closed the connection]
akem has joined #ruby
dbz has quit [Ping timeout: 252 seconds]
moei has quit [Quit: Leaving...]
Emmanuel_Chanel has joined #ruby
vondruch has joined #ruby
<baweaver> Chapter 2 of the Eloquent Ruby read is up! - https://medium.com/@baweaver/lets-read-eloquent-ruby-ch-2-6e17a84bd8c2
jp has joined #ruby
venmx has joined #ruby
dbz has joined #ruby
dbz has quit [Remote host closed the connection]
akosednar has quit [Ping timeout: 272 seconds]
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
duderonomy has quit [Client Quit]
lxsameer has joined #ruby
akosednar has joined #ruby
KeyJoo has joined #ruby
leeijaw has joined #ruby
leeijaw has left #ruby [#ruby]
Tuor has quit [Ping timeout: 252 seconds]
Technodrome has joined #ruby
jokester has quit [Ping timeout: 250 seconds]
Beams has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
jokester has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
armyriad has quit [Ping timeout: 244 seconds]
akem has quit [Remote host closed the connection]
akem__ has joined #ruby
wojnar has quit [Remote host closed the connection]
venmx has quit [Ping timeout: 245 seconds]
clemens3 has quit [Remote host closed the connection]
ua has quit [Ping timeout: 264 seconds]
al2o3-cr has quit [Ping timeout: 246 seconds]
venmx has joined #ruby
RedNifre has joined #ruby
clemens3 has joined #ruby
al2o3-cr has joined #ruby
za1b1tsu has quit [Quit: WeeChat 2.1]
venmx has quit [Remote host closed the connection]
Guest18202 has quit [Ping timeout: 260 seconds]
mike11 has joined #ruby
RedNifre_ has joined #ruby
ua has joined #ruby
za1b1tsu has joined #ruby
RedNifre has quit [Ping timeout: 252 seconds]
moei has joined #ruby
ua has quit [Ping timeout: 245 seconds]
venmx has joined #ruby
Francisco has joined #ruby
Fr4n has quit [Ping timeout: 272 seconds]
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
za1b1tsu has quit [Quit: WeeChat 2.1]
armyriad has joined #ruby
Emmanuel_Chanel has joined #ruby
<Bish> is calling super multiple times bad?
ua has joined #ruby
arekushi has joined #ruby
gregf_ has joined #ruby
Tuor has joined #ruby
arekushi is now known as Guest18202
Guest18202 is now known as arekushi
GodFather has joined #ruby
<TvL2386> Bish: the super method will just be called multiple times
arekushi is now known as Guest18202
Guest18202 is now known as arekushi
ciscam has quit [Ping timeout: 245 seconds]
<TvL2386> Bish: see an example here: https://dpaste.de/agMf
idiocrash has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
akem__ has quit [Remote host closed the connection]
arekushi is now known as Guest18202
Guest18202 is now known as arekushi
ciscam has joined #ruby
akem__ has joined #ruby
ZzZombo has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 246 seconds]
gregf_ has quit [Ping timeout: 256 seconds]
venmx has quit [Remote host closed the connection]
wojnar has joined #ruby
venmx has joined #ruby
KeyJoo has quit [Ping timeout: 246 seconds]
stan has joined #ruby
stan has quit [Quit: stan]
Francisco has quit [Ping timeout: 272 seconds]
Fr4n has joined #ruby
ciscam has quit [Ping timeout: 272 seconds]
ciscam has joined #ruby
tristanp has joined #ruby
tdy has quit [Ping timeout: 272 seconds]
Fr4n has quit [Ping timeout: 246 seconds]
ZzZombo has joined #ruby
apparition has joined #ruby
mike11 has quit [Quit: Leaving.]
beefjoe has joined #ruby
rkoller has joined #ruby
akem__ has quit [Ping timeout: 272 seconds]
AJA4350 has joined #ruby
venmx has quit [Ping timeout: 260 seconds]
venmx has joined #ruby
bak1an has joined #ruby
ciscam has quit [Ping timeout: 252 seconds]
ciscam has joined #ruby
beefjoe has quit [Quit: <3]
tristanp has quit [Ping timeout: 252 seconds]
Fr4n has joined #ruby
beefjoe has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
marz_d`ghostman has joined #ruby
<marz_d`ghostman> I'm trying out rspec, how do I test something like this? http://termbin.com/3lcuh I want to test that the run_pre_cmd and run_post_cmd are invoked.
<Bish> how do i get the class name without modules in front of it?
<Bish> A::B::C.name
<Bish> gives me "A::B::C.name"
<Bish> sure i could split, but still
aufi has quit [Ping timeout: 252 seconds]
vondruch_ has joined #ruby
mikecmpbll has joined #ruby
vondruch has quit [Ping timeout: 252 seconds]
vondruch_ is now known as vondruch
beefjoe has quit [Quit: <3]
<ChrisBr> Bish: A::B::C.name.demodulize
<bougyman> #demodulize?
<al2o3-cr> bougyman: it's a rails thing.
KeyJoo has joined #ruby
<Bish> well weird.. i got it
<Bish> but i don't use rails
beefjoe has joined #ruby
<Bish> what stupid library requires activesupport
<Bish> havinga string method like that is stupid
RedNifre_ has quit [Ping timeout: 246 seconds]
RedNifre_ has joined #ruby
aufi has joined #ruby
fluxAeon has quit [Quit: Textual IRC Client: www.textualapp.com]
venmx has quit [Ping timeout: 252 seconds]
venmx has joined #ruby
RedNifre_ has quit [Ping timeout: 240 seconds]
donofrio has joined #ruby
mikecmpb_ has joined #ruby
RedNifre_ has joined #ruby
mikecmpbll has quit [Ping timeout: 260 seconds]
jcalla has joined #ruby
RedNifre_ has quit [Ping timeout: 252 seconds]
InfinityFye has joined #ruby
cek has joined #ruby
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
flatPATTY has joined #ruby
mike11 has joined #ruby
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bak1an has joined #ruby
hanetzer has quit [Ping timeout: 240 seconds]
bmurt has joined #ruby
m27frogy has quit [Ping timeout: 252 seconds]
cek has left #ruby [#ruby]
Rapture has joined #ruby
apparition has quit [Quit: Bye]
fluxAeon has joined #ruby
m27frogy has joined #ruby
marz_d`ghostman has quit [Quit: Page closed]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
alem0lars has joined #ruby
akem has joined #ruby
samort7 has joined #ruby
NL3limin4t0r has joined #ruby
beefjoe has quit [Quit: <3]
mzo has joined #ruby
ciscam has quit [Ping timeout: 252 seconds]
ciscam has joined #ruby
Scient has joined #ruby
RedNifre_ has joined #ruby
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
Dbugger has joined #ruby
gnufied has joined #ruby
clemens3 has quit [Remote host closed the connection]
clemens3 has joined #ruby
mzo has quit [Ping timeout: 246 seconds]
spiette has quit [Quit: ZNC 1.7.1 - https://znc.in]
<apeiros> Bish: `Your::Module.name[/[^:]*\z/]`, remember though that A::B::C does not necessarily return "A::B::C" for .name, and that there are even anonymous modules/classes
spiette has joined #ruby
herbmillerjr has quit [Quit: Konversation terminated!]
arekushi has quit [Ping timeout: 240 seconds]
patr0clus has joined #ruby
clemens3 has quit [Ping timeout: 252 seconds]
patr0clus has quit [Quit: WeeChat 2.1]
venmx has quit [Ping timeout: 244 seconds]
patr0clus has joined #ruby
cabotto has joined #ruby
kpoman has quit [Ping timeout: 246 seconds]
venmx has joined #ruby
RedNifre has joined #ruby
kpoman2 has joined #ruby
kpoman2 is now known as kpoman1
RedNifre_ has quit [Ping timeout: 244 seconds]
prestorium has joined #ruby
cabotto has quit []
jordanm has quit [Quit: Konversation terminated!]
conta1 has joined #ruby
jordanm has joined #ruby
ua has quit [Ping timeout: 240 seconds]
ivanskie has joined #ruby
cd has quit [Quit: cd]
ua has joined #ruby
schneider1 has joined #ruby
Inline has joined #ruby
schneider1 has quit [Client Quit]
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
esrse has joined #ruby
tdy has joined #ruby
conta1 has quit [Quit: conta1]
<dostoyevsky> Can I somehow convince ruby when installing from source to install itself in a way that's compatible with existing ruby installations, like calling the ruby binaries like ruby25 or so
beefjoe has joined #ruby
alem0lars has quit [Ping timeout: 252 seconds]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
yohji has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
cthu| has joined #ruby
MoritaShinobu has quit [Ping timeout: 260 seconds]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
<havenwood> dostoyevsky: Yes, you can do whatever you want!
conta1 has joined #ruby
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
<havenwood> dostoyevsky: With gem names as well if you'd like - they make it easy.
<dostoyevsky> havenwood: yeah, I know... I just thought maybe there is a ./configure switch I could use... that would make it automatic
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
<havenwood> dostoyevsky: There's a --format-executable flag for RubyGems that will append the version to executables. Let me check on the Ruby build flag.
prestorium has quit [Quit: prestorium]
<havenwood> dostoyevsky: --[no-]format-executable Make installed executable names match Ruby. If Ruby is ruby18, foo_exec will be foo_exec18
<dostoyevsky> havenwood: I don't see that option in the output of "./configure --help" though
<dostoyevsky> Well, I guess it's just the ruby and the irb executable I have to rename
<havenwood> dostoyevsky: With ruby-install we manually change Ruby executable names. I'm looking to see if I can find a flag for the version on executable path.
<dostoyevsky> havenwood: thanks"
<dostoyevsky> !
patr0clus has quit [Quit: WeeChat 2.1]
Xiti has quit [Quit: Xiti]
patr0clus has joined #ruby
Xiti has joined #ruby
Technodrome has joined #ruby
<havenwood> dostoyevsky: --program-suffix="25"
<havenwood> dostoyevsky: --program-suffix=SUFFIX append SUFFIX to installed program names
aufi has quit [Ping timeout: 245 seconds]
soniya29 has joined #ruby
<havenwood> dostoyevsky: So looks like --program-suffix="25" along with --format-executable would get you ruby25, gem25, rails25, etc.
soniya29_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MoritaShinobu has joined #ruby
Eiam has joined #ruby
<dostoyevsky> havenwood: great! thank you so much!
postmodern has joined #ruby
<havenwood> dostoyevsky: you're welcome
lxsameer has quit [Ping timeout: 244 seconds]
desperek has joined #ruby
DTZUZO_ has quit [Ping timeout: 252 seconds]
lytol_ has joined #ruby
patr0clus is now known as s3nd1v0g1us
Beams has quit [Quit: .]
mikecmpb_ has quit [Quit: inabit. zz.]
ciscam has quit [Ping timeout: 260 seconds]
ciscam has joined #ruby
teej has quit [Quit: Connection closed for inactivity]
beefjoe has quit [Quit: <3]
idiocrash has joined #ruby
helloworld1101 has joined #ruby
<helloworld1101> help
Beams has joined #ruby
Pisuke has quit [Ping timeout: 246 seconds]
MyMind has joined #ruby
ineb has quit [Quit: WeeChat 2.2]
nowhereman_ has quit [Ping timeout: 252 seconds]
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sanscoeur has joined #ruby
Beams has quit [Quit: .]
Beams has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
<havenwood> helloworld1101: Enter the method name you want to look up. >>
<havenwood> Enter a blank line to exit.
<helloworld1101>
<havenwood> I guess this isn't irb.
<havenwood> helloworld1101: What can we help with?
<helloworld1101> how can i make a blank line? do i just need to hit Enter
Beams has quit [Ping timeout: 260 seconds]
<havenwood> helloworld1101: I was just joking, as that's the message when you type `help` from IRB.
<havenwood> helloworld1101: Have a Ruby problem?
marmotini has joined #ruby
chouhoulis has joined #ruby
Beams has joined #ruby
<helloworld1101> I am trying to contribute to Ruby but get confused with right step to do it
<helloworld1101> I am trying to contribute to Ruby but get confused with right step to do it
<helloworld1101> suppose i edit a file and run test to make sure i didn't screw up anything, does it sound right?
chouhoulis has quit [Ping timeout: 240 seconds]
marmotini has quit [Quit: Leaving]
<havenwood> helloworld1101: If Ruby compiles after your patch, that's a good start.
orbyt_ has joined #ruby
MoritaShinobu has quit [Ping timeout: 240 seconds]
esrse has quit [Ping timeout: 252 seconds]
<havenwood> helloworld1101: Then check `make test`, `make test-all` and `make test-rubyspec`.
Beams has quit [Quit: .]
<havenwood> helloworld1101: Some more tips here: https://www.ruby-lang.org/en/community/ruby-core/#patching-ruby
<havenwood> helloworld1101: Though these are a bit dated, as you can just do a GitHub PR these days.
venmx has quit [Ping timeout: 252 seconds]
Fr1eza has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
<helloworld1101> havenwood: Thanks a lot. By the way, is it right that we can't see chat history in here
<havenwood> helloworld1101: I have a ZNC bouncer setup that replays chat history. You can also use the logs: https://irclog.whitequark.org/ruby
dbz has joined #ruby
bmurt has joined #ruby
<helloworld1101> havenwood: that's exactly what i need now, thanks again
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
helloworld1101 has quit [Quit: Page closed]
helloworld1101 has joined #ruby
MoritaShinobu has joined #ruby
helloworld1101 has left #ruby [#ruby]
helloworld1101 has joined #ruby
helloworld1101 has left #ruby [#ruby]
dinfuehr has joined #ruby
conta1 has quit [Quit: conta1]
za1b1tsu has joined #ruby
mikecmpbll has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snickers has joined #ruby
gothicsouth has quit [Quit: Textual IRC Client: www.textualapp.com]
Beams has joined #ruby
yaiyaichu has joined #ruby
duderonomy has joined #ruby
kpoman1 has quit [Ping timeout: 252 seconds]
dbz has quit [Remote host closed the connection]
Francisco has joined #ruby
LiftLeft3 has joined #ruby
Fr4n has quit [Ping timeout: 240 seconds]
LiftLeft has quit [Ping timeout: 260 seconds]
MoritaShinobu has quit [Ping timeout: 252 seconds]
LiftLeft3 is now known as LiftLeft
idiocrash has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bak1an has joined #ruby
raulp has quit [Ping timeout: 240 seconds]
yaiyaichu has quit [Ping timeout: 252 seconds]
Beams has quit [Quit: .]
lomex has joined #ruby
marmotini has joined #ruby
soniya29_ has quit [Quit: Leaving]
soniya29 has quit [Quit: Leaving]
tag has joined #ruby
matti has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
flatPATTY has quit [Read error: Connection reset by peer]
runjutsu has joined #ruby
<runjutsu> ruby is a shit language.
<runjutsu> made for dogs, by scarabs.
<runjutsu> and used by cockroaches
<runjutsu> predominant in the human waste (toilet) industry
<runjutsu> and that's why everything is failing.
Beams has joined #ruby
InfinityFye has quit [Quit: Leaving]
<surrounder> useful
Sauvin has quit [Read error: Connection reset by peer]
allan has joined #ruby
<havenwood> !troll runjutsu
runjutsu was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
kpoman has joined #ruby
<allan> I have a program with a Gemfile but I may need to dynamically require a gem which is *not* in this file
<allan> I tried to require 'bundler/inline' and then do: gemfile { …; gem «name» }
<allan> this works except that it eclipses my actual Gemfile, e.g. $LOAD_PATH gets reset but other globals are also changed
<allan> so question is: is there a (clean) way to dynamically require a gem that is not in the Gemfile?
im0nde has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
<havenwood> allan: Why is there a gem not in your Gemfile? There might be a better way.
<havenwood> allan: That said, you can point the `BUNDLE_GEMFILE` to an alternative AllanGemfile then have it: eval_gemfile 'Gemfile'
<havenwood> allan: BUNDLE_GEMFILE="AllanGemfile" bundle
<havenwood> allan: BUNDLE_GEMFILE="AllanGemfile" bundle exec ...
<havenwood> You can do it the other way around, with eval_gemfile in your Gemfile, but that means changing your Gemfile - which seems to be something you're avoiding?
idiocrash has joined #ruby
conta1 has joined #ruby
conta1 has quit [Quit: conta1]
s3nd1v0g1us has quit [Ping timeout: 272 seconds]
Rapture has quit [Ping timeout: 260 seconds]
<allan> havenwood: the reason I need this:
<allan> I made a replacement for Jekyll (the static site generator)
<allan> Jekyll allow plugins which are specified in the Gemfile
<allan> since I offer compatibility with Jekyll (90%), I also load these plugins
<allan> unfortunately some plugins are really bad (i.e. messing around with internal stuff)
<allan> so I have a mapping that maps bad plugins to good (different and new) ones
<allan> I could of course let my program require all the replacement plugins in its gemspec
<allan> but the idea is that the list of mappings is dynamic
<allan> and also, users who do not use bad plugins should not pay for these compatibility kludges
<allan> havenwood: what you answered above, that seems to be about making my script run with a different Gemfile, but that is not really what I want
<dostoyevsky> hmmm.. I did an install from source and now I want to install gems but I get this error: /usr/local/lib64/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- auto_gem (LoadError)
agent_white has quit [Quit: brb]
discopatrick has quit [Quit: Connection closed for inactivity]
<dostoyevsky> when calling ``gem25 list''
ciscam has quit [Ping timeout: 260 seconds]
ciscam has joined #ruby
<dostoyevsky> Found the error in google, seems to be an issue with gentoo
<dostoyevsky> This fixed the error message: % unset RUBYOPT; sudo env-update
k0mpa has joined #ruby
agent_white has joined #ruby
idiocrash has quit [Quit: Textual IRC Client: www.textualapp.com]
DTZUZO_ has joined #ruby
<dostoyevsky> > As the main gem you're trying to use has that outdated dependency, the simplest option is probably to avoid the built-in too-new json gem by installing and using Ruby 2.3 instead.
<dostoyevsky> Oh man
<dostoyevsky> So I have to downgrade to ruby23
<dostoyevsky> Because of: Unable to activate twitter-5.17.0, because json-2.1.0 conflicts with json (~> 1.8) (Gem::ConflictError)
snickers has quit [Quit: Textual IRC Client: www.textualapp.com]
beefjoe has joined #ruby
Beams has quit [Quit: .]
wojnar has quit [Remote host closed the connection]
fluxAeon has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fluxAeon has joined #ruby
<havenwood> allan: Well, it makes your script run with *both* the additional Gemfile and the original.
<havenwood> allan: You could just add a single gem to the additional Gemfile.
<havenwood> allan: It kinda defies the purpose of Bundler to have the dependencies not be in the Gemfile.
<havenwood> allan: Hence they've not been eager to accept PRs that enable that sort of thing. What you can do is combine multiple Gemfiles, one or more of which you add.
<havenwood> dostoyevsky: The latest version of JSON 1.8 actually does work on Ruby 2.4 and 2.5, afaik.
yaiyaich1 has joined #ruby
<havenwood> dostoyevsky: That should be resolvable.
yaiyaich1 has quit [Client Quit]
za1b1tsu has quit [Ping timeout: 272 seconds]
ramfjord has joined #ruby
yaiyaichu has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
yaiyaichu has quit [Quit: leaving]
akem has quit [Read error: Connection reset by peer]
akem has joined #ruby
akem has quit [Remote host closed the connection]
BTRE has quit [Read error: Connection reset by peer]
dellavg_ has quit [Ping timeout: 252 seconds]
doubledup has quit [Quit: Leaving]
DLSteve has joined #ruby
im0nde has quit [Quit: im0nde]
sanscoeu_ has joined #ruby
jinie_ has joined #ruby
sanscoeu_ has quit [Client Quit]
im0nde has joined #ruby
wolfshappen has quit [Ping timeout: 252 seconds]
sanscoeur has quit [Ping timeout: 260 seconds]
wolfshappen has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
alem0lars has joined #ruby
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
nemesit|znc has quit [Ping timeout: 240 seconds]
wolfshappen has quit [Ping timeout: 252 seconds]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
wolfshappen has joined #ruby
mike11 has quit [Quit: Leaving.]
im0nde has quit [Ping timeout: 260 seconds]
dinfuehr has quit [Ping timeout: 252 seconds]
ramfjord has quit [Ping timeout: 252 seconds]
dinfuehr has joined #ruby
ciscam has quit [Ping timeout: 240 seconds]
d^sh has quit [Ping timeout: 244 seconds]
ciscam has joined #ruby
BTRE has joined #ruby
Fr1eza has quit [Quit: Leaving]
kapil___ has quit [Quit: Connection closed for inactivity]
akem has joined #ruby
d^sh has joined #ruby
im0nde has joined #ruby
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 260 seconds]
vondruch_ is now known as vondruch
sgen has joined #ruby
mochiyoda has joined #ruby
mattp_ has joined #ruby
DTZUZO_ has quit [Ping timeout: 252 seconds]
Cork has quit [Remote host closed the connection]
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
mattwc has quit [Ping timeout: 252 seconds]
desperek has quit [Quit: xoxo]
Krzysiek1 has quit [Remote host closed the connection]
fowlduck has quit [Ping timeout: 252 seconds]
Krzysiek1 has joined #ruby
mattwc has joined #ruby
fowlduck has joined #ruby
reber__ has quit [Remote host closed the connection]
reber has quit [Remote host closed the connection]
ramfjord has joined #ruby
alem0lars has quit [Ping timeout: 252 seconds]
Cork has joined #ruby
KeyJoo has quit [Ping timeout: 252 seconds]
bmurt has joined #ruby
impermanence has joined #ruby
ciscam has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ciscam has joined #ruby
RougeR has joined #ruby
donofrio has quit [Remote host closed the connection]
<dostoyevsky> havenwood: Yeah, but json 2.1 cannot be removed as it ships with ruby... so 1.8 can never be loaded... but I just edited some gemspec files in the ruby installation and that made it stop complaining
<dostoyevsky> imho ~> is overused in ruby gems
sgen has quit [Ping timeout: 246 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
bak1an has quit [Quit: Textual IRC Client: www.textualapp.com]
mikecmpbll has joined #ruby
emerson has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
venmx has joined #ruby
emerson has quit [Ping timeout: 630 seconds]
sgen has joined #ruby
sgen has quit [Client Quit]
RougeR has quit [Ping timeout: 252 seconds]
arekushi has joined #ruby
beefjoe has quit [Quit: <3]
Technodrome has joined #ruby
paraxial has quit [Ping timeout: 252 seconds]
Dbugger has quit [Ping timeout: 240 seconds]
vondruch_ has joined #ruby
pskosinski_ has joined #ruby
DANtheBEASTman has joined #ruby
fluxAeon has quit [Quit: Textual IRC Client: www.textualapp.com]
justinmcp_ has joined #ruby
kentnl has joined #ruby
shadeslayer_ has joined #ruby
spiette_ has joined #ruby
RedNifre_ has joined #ruby
Raboo_ has joined #ruby
dostoyev1ky has joined #ruby
crankhar1er has joined #ruby
yokel_ has joined #ruby
ptx0_ has joined #ruby
c0ncealed3 has joined #ruby
segy_ has joined #ruby
|337 has joined #ruby
ropeney_ has joined #ruby
tomaw- has joined #ruby
spiette has quit [*.net *.split]
vondruch has quit [*.net *.split]
armyriad has quit [*.net *.split]
RedNifre has quit [*.net *.split]
c0ncealed2 has quit [*.net *.split]
braincrash has quit [*.net *.split]
segy has quit [*.net *.split]
dysfigured has quit [*.net *.split]
BloopMonsterOMG has quit [*.net *.split]
pskosinski has quit [*.net *.split]
yokel has quit [*.net *.split]
Tharbakim has quit [*.net *.split]
croberts has quit [*.net *.split]
RiPuk has quit [*.net *.split]
justinmcp has quit [*.net *.split]
alicef has quit [*.net *.split]
cliluw has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
Raboo has quit [*.net *.split]
lyr has quit [*.net *.split]
kent\n has quit [*.net *.split]
ventures has quit [*.net *.split]
dostoyevsky has quit [*.net *.split]
crankharder has quit [*.net *.split]
ropeney has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
shenghi has quit [*.net *.split]
S007 has quit [*.net *.split]
dhollinger has quit [*.net *.split]
ptx0 has quit [*.net *.split]
tomaw has quit [*.net *.split]
ujjain has quit [*.net *.split]
Raboo_ is now known as Raboo
yokel_ is now known as yokel
DANtheBEASTman is now known as dysfigured
segy_ is now known as segy
|337 is now known as S007
vondruch_ is now known as vondruch
lyr has joined #ruby
cliluw has joined #ruby
Tharbakim has joined #ruby
Fire-Dragon-DoL has joined #ruby
emerson has joined #ruby
dhollinger has joined #ruby
venmx has quit [Ping timeout: 245 seconds]
shenghi has joined #ruby
marmotini has quit [Remote host closed the connection]
dostoyev1ky is now known as dostoyevsky
ptx0_ is now known as ptx0
fluxAeon has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
apparition has joined #ruby
arekushi has quit [Ping timeout: 272 seconds]
cd has joined #ruby
Azure has quit [Quit: Oops.]
planigan has quit [Ping timeout: 240 seconds]
planigan has joined #ruby
ciscam has quit [Ping timeout: 246 seconds]
ciscam has joined #ruby
d^sh has quit [Ping timeout: 260 seconds]
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]