SeepingN has quit [Quit: The system is going down for reboot NOW!]
tdy has joined #ruby
sauvin_ has joined #ruby
sauvin has quit [Ping timeout: 246 seconds]
orbyt_ has joined #ruby
millerti has quit [Read error: Connection reset by peer]
krawchyk has joined #ruby
alfiemax has quit [Ping timeout: 250 seconds]
alfiemax has joined #ruby
rkazak has joined #ruby
\void has joined #ruby
alfiemax has quit [Ping timeout: 245 seconds]
code_zombie has quit [Quit: Leaving]
esrse has joined #ruby
jesfre has joined #ruby
azizLIGHT has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
mat_bug has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
gnufied has quit [Ping timeout: 240 seconds]
\void has joined #ruby
jesfre has quit [Remote host closed the connection]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
mat_bug has quit [Ping timeout: 252 seconds]
uplime- has joined #ruby
noobineer has joined #ruby
noobineer has quit [Remote host closed the connection]
renich_ has joined #ruby
uplime- is now known as uplime
renich has quit [Ping timeout: 240 seconds]
sauvin_ is now known as Sauvin
mat_bug has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
blackmesa1 has quit [Ping timeout: 252 seconds]
dinfuehr has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dinfuehr has joined #ruby
braincrash has quit [Quit: bye bye]
ams__ has joined #ruby
braincrash has joined #ruby
<Arahael>
I'm attempting to use bundler, however I have a problem where `require 'xmlrpc/client'` causes a LoadError - cannot load such file, on windows. HOw can I resolve this?
<Arahael>
(I'm testing using `bundler exec irb`)
arescorpio has joined #ruby
<Arahael>
I'm confused because isn't this part of ruby?
DTZUZO has joined #ruby
<Arahael>
D'oh. It's a gem.
alfiemax has joined #ruby
nchambers has quit [Remote host closed the connection]
renich_ has quit [Remote host closed the connection]
jesfre has joined #ruby
arescorpio has quit [Quit: Leaving.]
krawchyk has quit [Quit: krawchyk]
* Arahael
steps on out.
alfiemax_ has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.3]
alfiemax has quit [Ping timeout: 244 seconds]
al2o3-cr has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
evdubs_ has joined #ruby
evdubs has quit [Ping timeout: 240 seconds]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
jesfre has quit [Remote host closed the connection]
jesfre has joined #ruby
jesfre has quit [Ping timeout: 244 seconds]
conta has joined #ruby
za1b1tsu has joined #ruby
jesfre has joined #ruby
mat_bug has joined #ruby
dellavg_ has joined #ruby
davidw has quit [Ping timeout: 250 seconds]
themsay has joined #ruby
jesfre has quit []
conta has quit [Quit: conta]
\void has quit [Quit: So long, and thanks for all the fish.]
<danst>
how often do you use timeout in ruby
DTZUZO has quit [Ping timeout: 250 seconds]
Furai has quit [Quit: WeeChat 2.3]
Furai has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
themsay has quit [Ping timeout: 246 seconds]
themsay has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
DTZUZO has joined #ruby
DTZUZO has quit [Ping timeout: 240 seconds]
dellavg_ has quit [Ping timeout: 240 seconds]
asphyxia has joined #ruby
mat_bug has joined #ruby
mat_bug has quit [Ping timeout: 252 seconds]
dellavg_ has joined #ruby
marmotini_ has joined #ruby
houhoulis has quit [Remote host closed the connection]
r29v has quit [Quit: r29v]
alfiema__ has joined #ruby
Inline has quit [Quit: Leaving]
rkazak has joined #ruby
asphyxia has quit [Quit: Lost terminal]
alfiema__ has quit [Ping timeout: 244 seconds]
aufi has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
rkazak has quit [Quit: Sleep.....ing....]
clemens3 has quit [Ping timeout: 250 seconds]
conta has joined #ruby
alfiemax has joined #ruby
aupadhye has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
clemens3 has joined #ruby
tdy has joined #ruby
raulp has quit [Read error: Connection reset by peer]
raulp has joined #ruby
RiPuk has quit [Ping timeout: 245 seconds]
mat_bug has joined #ruby
bjpenn_ has joined #ruby
mat_bug has quit [Ping timeout: 240 seconds]
clemens3 has quit [Ping timeout: 246 seconds]
BH23 has joined #ruby
Leifr has joined #ruby
tpanarch1st has joined #ruby
ravenousmoose has joined #ruby
reber has joined #ruby
RiPuk has joined #ruby
kapil____ has joined #ruby
Jonathan2254 has joined #ruby
Jonathan2254 has left #ruby ["Leaving"]
cnsvc has quit [Ping timeout: 256 seconds]
jamied has joined #ruby
vonfry has joined #ruby
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]
nowhereman has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
mat_bug has joined #ruby
ta_ has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
leni1 has joined #ruby
ravenous_ has joined #ruby
mikecmpbll has joined #ruby
vonfry has quit [Quit: WeeChat 2.3]
szulak_ has joined #ruby
szulak_ has quit [Client Quit]
szulak_ has joined #ruby
conta has quit [Quit: conta]
<leni1>
Hi all. How do I modify my PATH settings so that `gem env home` gives me `/home/user/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0` instead of `/home/user/gems`. This is what the settings look like now: https://dpaste.de/ANOv
ravenous_ has quit [Quit: Taking a quick nap...ZZzzz]
ravenousmoose has joined #ruby
szulak_ has quit [Client Quit]
szulak_ has joined #ruby
duderonomy has joined #ruby
reber has quit [Remote host closed the connection]
blackmesa1 has joined #ruby
<danst>
leni1: i always used rvm but I bet you're trying to fix a project that already has passed setup?
<danst>
also unable to open your url sorry
leni1 has quit [Ping timeout: 268 seconds]
ellcs has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
szulak_ has quit [Read error: Connection reset by peer]
szulak_ has joined #ruby
za1b1tsu has joined #ruby
ravenousmoose has joined #ruby
roshanavand_ has joined #ruby
roshanavand has quit [Remote host closed the connection]
ravenous_ has joined #ruby
themsay has quit [Ping timeout: 245 seconds]
themsay has joined #ruby
bruce_lee has joined #ruby
govg has quit [Ping timeout: 240 seconds]
ravenousmoose has quit [Ping timeout: 250 seconds]
za1b1tsu has quit [Read error: Connection reset by peer]
roshanavand_ has quit [Remote host closed the connection]
roshanavand_ has joined #ruby
ravenousmoose has joined #ruby
ravenous_ has quit [Ping timeout: 250 seconds]
roshanavand has joined #ruby
roshanavand_ has quit [Read error: Connection reset by peer]
ravenous_ has joined #ruby
ravenous_ has quit [Client Quit]
ravenousmoose has quit [Ping timeout: 252 seconds]
leni1 has joined #ruby
roshanavand has quit [Ping timeout: 240 seconds]
<leni1>
Hi guys. I installed the newest version of `bundler` using `gem install bundler` successfully. But it seems to have installed in my former GEM_PATH (/home/gems/gems) rather than in the gems directory in ~/.rbenv. Is there a way I can change this behaviour?
ravenousmoose has joined #ruby
za1b1tsu has joined #ruby
<kke>
["abc.def", "ghi.jkl"].map(&:split['.']) i wonder why this returns an enumerator? (i know it doesn't work, i just got curious if the proc[] thing could be used to pass an argument for symbol to proc)
<kke>
(would be handy.)
kapil____ has quit [Quit: Connection closed for inactivity]
roshanavand has joined #ruby
za1b1tsu has quit [Read error: Connection reset by peer]
roshanavand has quit [Remote host closed the connection]
isxek has joined #ruby
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]
ravenousmoose has joined #ruby
ravenousmoose is now known as ravenousmoose[aw
<kke>
why does symbol even have []
ravenousmoose[aw has quit [Client Quit]
<tbuehlmann>
iirc, it returns the symbol's characters as String#[] does
<kke>
yeah it does, sym also has .downcase, .match and whatever
<kke>
so i suppose &:split['.'] did some sort of &nil
Nicmavr has quit [Read error: Connection reset by peer]
dellavg_ has quit [Ping timeout: 244 seconds]
Nicmavr has joined #ruby
nowhereman has quit [Ping timeout: 244 seconds]
aupadhye has quit [Remote host closed the connection]
dellavg_ has joined #ruby
nowhereman has joined #ruby
aupadhye has joined #ruby
alfiemax has joined #ruby
<leni1>
So I removed everything and re-installed rbenv afresh
<leni1>
When I ran gem install bundler, it says it's successfully installed bundler-2.0.1
<leni1>
But the version in rbenv is 1.17.2
<leni1>
Running `~/.rbenv/versions/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-2.0.1/exe/bundle -v ` gives me 1.17.2 even though it is clearly in the 2.0.1 folder
<leni1>
Is there a compatibility issue between 2.0.1 and rbenv that I am unaware of?
dionysus69 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
jcalla has joined #ruby
za1b1tsu has joined #ruby
AJA4350 has joined #ruby
kapil____ has joined #ruby
Xiti has quit [Quit: Xiti]
gnufied has joined #ruby
conta has joined #ruby
roshanavand has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
alfiemax has quit [Remote host closed the connection]
clemens3 has joined #ruby
lukelukeluke has joined #ruby
blackmesa1 has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 244 seconds]
roshanavand has joined #ruby
Bish has joined #ruby
<Bish>
yo rubyist
<Bish>
sup
AJA4350 has quit [Remote host closed the connection]
AJA4350 has joined #ruby
<szulak_>
Bish not much, studying Udemy course about Ruby
<Bish>
szulak_: that's an okay choice, ruby is great!
lukelukeluke has quit [Ping timeout: 246 seconds]
<szulak_>
Bish planning to switch from long time c++ dev into ruby in the nearest future
<szulak_>
yeah, enjoying it so far :)
<Bish>
ruby will fuck you over with 2-3 things
<szulak_>
which ones?
<Bish>
speed, threads mostly
<szulak_>
so far had brain fuck with '&' (blocks vs procs)
<Bish>
it sucks at those 2
<szulak_>
oh
<Bish>
there will be people telling you otherwise, but that's straight up a lie!
<szulak_>
this's not a problem - I can always write C extenesion and load it to ruby to make a really cpu intensive things
<Bish>
that is correct, but you will need to know about ruby internals then, quite well
<szulak_>
I'll give myself few months still till I try any Ruby job
<szulak_>
or well.. rails
<Bish>
szulak_: don't do rails, rails also sucks ballz
<szulak_>
I do have like 7 years of c and c++ experience (mainly embedded / automotive area)
<Bish>
szulak_: when i started ruby.. i started using it for tooling.. and i thought it's fucking great(because it is)
<szulak_>
but there are (I think) not many "pure Ruby" jobs"
<szulak_>
yeah
<Bish>
and everyone was doing rails.. and i could never get my head around it
<Bish>
so i tried and tried, and still thought it sucks
<Bish>
(still do)
<szulak_>
:D
<Bish>
when i noticed there is a small minority of people using ruby as a webserver without rails
<Bish>
i recommend looking into roda(my favourite) / sinatra
<Bish>
but as you can see i have a strong opinions
<szulak_>
yeah, I did already simple sinatra app
<Bish>
roda is sinatra on crack
<tbuehlmann>
"rails also sucks ballz" is a pretty harsh statement, it works for quite some people and companies
<Bish>
so does php
<szulak_>
it's a personal opinion I guess
<Bish>
szulak_: i would disagree, as i have tried real hard to do things with it..
<tbuehlmann>
so does php, right. I also don't think php sucks ballz
<Bish>
when i created my startup, i even started with php, because i didn't feel ready with ruby, that was until i noticed it's IMPOSSIBLE to write a good ORM with php
rippa has joined #ruby
<Bish>
tbuehlmann: yeah well, maybe your requirements of what a language/toolkit should do a lower than mine..
<Bish>
but as i remember your name i know what you're talking about, sure you can do great things with php
<Bish>
but as i said.. i tried really hard to write a ORM that fits my needs, literally impossible
<Bish>
if you don't want to rewrite some things in C, that is
<phaul>
does yri (yard ri) work for you ppl for local gems? I spend a lot of time looking at Generating yri index stuff on gem install but never sucessfully find anyting with it
<phaul>
gem install rails && yri form_for -> No documentation for 'form_for'
<phaul>
is it supposed to work, and if so what do I check?
<phaul>
or changing the question. what's the best way to get documentation for form_for after rails is installed whithout knowing more than the method name? can pry for instance do that?
beefjoe has joined #ruby
spiette has joined #ruby
gnufied has quit [Ping timeout: 268 seconds]
leni1 has quit [Quit: Konversation terminated!]
roshanavand_ has quit [Remote host closed the connection]
beefjoe has quit [Quit: <3]
roshanavand_ has joined #ruby
<phaul>
ok. pry sort of does it. find-method with a combination of show-doc
marmotini_ has joined #ruby
Biganon has joined #ruby
<Biganon>
Hi ; I'm trying to run 'gem install asciidoctor-pdf --pre', but the command hangs and produces absolutely no output, even with the -V flag
<Biganon>
I can access the internet normally, otherwise
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
SeepingN has joined #ruby
nowhereman has joined #ruby
\void has joined #ruby
tdy has joined #ruby
mikecmpbll has quit [Ping timeout: 244 seconds]
alfiemax has quit [Remote host closed the connection]
ua has quit [Ping timeout: 250 seconds]
ravenousmoose has joined #ruby
ua has joined #ruby
<uplime>
I have an array of hashes, and I'd like to test if any of the members of the array have a specific key/value pair, and if they do, return true (this is a condition for a select block on a different array). Is there an easy way to do this?
davidw has quit [Read error: Connection reset by peer]
<phaul>
yes but in your case you would only match if the array contains single key value pair hashes, as === on hashes doesn't seem to match unless equal
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]