havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.3, 2.4.5, 2.3.8, 2.6.0-preview3: 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!
kapil____ has joined #ruby
Arkantos has joined #ruby
nchambers has quit [Quit: my mind is blown 5 ways til sunday right now]
nchambers has joined #ruby
venmx has quit [Ping timeout: 250 seconds]
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
jottr_ has joined #ruby
brandonkal has quit [Quit: Textual IRC Client: www.textualapp.com]
jottr_ has quit [Ping timeout: 268 seconds]
dbz has quit [Remote host closed the connection]
phaul has quit [Ping timeout: 250 seconds]
dbz has joined #ruby
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbz has quit [Ping timeout: 250 seconds]
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has joined #ruby
jaddison has quit [Quit: jaddison]
Exuma has joined #ruby
code_zombie has joined #ruby
elphe has quit [Ping timeout: 245 seconds]
orbyt_ has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
code_zombie_ has joined #ruby
arescorpio has joined #ruby
bmurt has joined #ruby
code_zombie has quit [Ping timeout: 264 seconds]
orbyt_ has joined #ruby
cthu| has quit [Ping timeout: 250 seconds]
jottr_ has joined #ruby
jottr_ has quit [Ping timeout: 246 seconds]
AJA4350 has quit [Quit: AJA4350]
armyriad has joined #ruby
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdy has quit [Ping timeout: 245 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arkantos has quit [Read error: Connection reset by peer]
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 250 seconds]
ss_much has quit [Quit: Connection closed for inactivity]
dbz has joined #ruby
tdy has joined #ruby
dbz has quit [Ping timeout: 240 seconds]
cd has quit [Quit: cd]
Arkantos has joined #ruby
jaddison has joined #ruby
orbyt_ has joined #ruby
peirama has quit [Ping timeout: 268 seconds]
code_zombie_ has quit [Quit: Leaving]
peirama has joined #ruby
jaddison has quit [Quit: jaddison]
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peirama has quit [Ping timeout: 240 seconds]
elphe has joined #ruby
peirama has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
peirama has quit [Ping timeout: 252 seconds]
peirama has joined #ruby
hutch has joined #ruby
peirama has quit [Ping timeout: 246 seconds]
peirama has joined #ruby
arescorpio has quit [Read error: No route to host]
Arkantos has joined #ruby
peirama has quit [Ping timeout: 250 seconds]
Arkantos has quit [Client Quit]
peirama has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
armyriad has quit [Ping timeout: 250 seconds]
armyriad has joined #ruby
jottr has joined #ruby
peirama has quit [Ping timeout: 252 seconds]
peirama has joined #ruby
jottr has quit [Ping timeout: 268 seconds]
\void has quit [Quit: So long, and thanks for all the fish.]
peirama has quit [Ping timeout: 244 seconds]
jottr has joined #ruby
peirama has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 252 seconds]
peirama has quit [Ping timeout: 245 seconds]
braincrash has quit [Quit: bye bye]
Exuma has joined #ruby
Exuma has quit [Client Quit]
braincrash has joined #ruby
peirama has joined #ruby
peirama has quit [Ping timeout: 250 seconds]
kapil____ has joined #ruby
peirama has joined #ruby
peirama has quit [Ping timeout: 240 seconds]
peirama has joined #ruby
luminous has joined #ruby
peirama has quit [Ping timeout: 246 seconds]
jaddison has joined #ruby
peirama has joined #ruby
peirama has quit [Ping timeout: 268 seconds]
peirama has joined #ruby
peirama has quit [Ping timeout: 252 seconds]
jaddison has quit [Quit: jaddison]
peirama has joined #ruby
peirama has quit [Ping timeout: 245 seconds]
peirama has joined #ruby
peirama has quit [Ping timeout: 252 seconds]
peirama has joined #ruby
peirama has quit [Remote host closed the connection]
peirama has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brandonkal has joined #ruby
hutch has quit [Ping timeout: 246 seconds]
hutch has joined #ruby
sp3ncer has joined #ruby
sp3ncer has quit [Read error: Connection reset by peer]
sp3ncer has joined #ruby
sp3ncer has quit [Read error: Connection reset by peer]
dbz has joined #ruby
sp3ncer has joined #ruby
jottr has joined #ruby
dbz has quit [Ping timeout: 245 seconds]
peirama has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 268 seconds]
hutch has quit [Ping timeout: 245 seconds]
dbz has joined #ruby
asphyxia has joined #ruby
agent_white has quit [Quit: leaving]
Nilium has quit [Quit: <kristin> Cower is like... I dunno. sometimes he seems senile and other times he seems like a middle schooler.]
Nilium has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
perique has joined #ruby
reber has joined #ruby
Tom-_ has quit [Ping timeout: 268 seconds]
sp3ncer has quit [Quit: Textual IRC Client: www.textualapp.com]
rippa has joined #ruby
cnsvc has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
lomex has joined #ruby
DTZUZO has quit [Ping timeout: 268 seconds]
jottr has joined #ruby
dellavg_ has joined #ruby
reber has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 268 seconds]
jottr has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
gix has joined #ruby
Exuma has joined #ruby
OrangeManBad has quit [Ping timeout: 260 seconds]
cnsvc has quit [Quit: WeeChat 2.3]
Fusl has quit [Ping timeout: 256 seconds]
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
OrangeManBad has joined #ruby
Fusl has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
Exuma has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
cnsvc has joined #ruby
_whitelogger has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
BH23 has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clemens3 has joined #ruby
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
cnsvc has quit [Quit: WeeChat 2.3]
cnsvc has joined #ruby
RougeR has joined #ruby
cnsvc has quit [Quit: WeeChat 2.3]
cnsvc has joined #ruby
BH23 has quit [Ping timeout: 245 seconds]
brandonkal has quit [Ping timeout: 244 seconds]
Fr4n has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
cnsvc has quit [Ping timeout: 256 seconds]
asphyxia has quit [Ping timeout: 250 seconds]
phaul has joined #ruby
dhollin3 has joined #ruby
Fr4n has quit [Ping timeout: 245 seconds]
LinuxKnight has quit [Remote host closed the connection]
LinuxKnight has joined #ruby
dhollinger has quit [Ping timeout: 272 seconds]
conta has joined #ruby
kapil____ has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
lxsameer has joined #ruby
Fr4n has joined #ruby
mikecmpbll has joined #ruby
cnsvc has joined #ruby
Fr4n has quit [Quit: Fr4n]
hiroaki has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
dbz has quit [Remote host closed the connection]
funnel has quit [Ping timeout: 272 seconds]
jottr has joined #ruby
funnel has joined #ruby
hiroaki has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
smutnysy1 has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 272 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
dbz has joined #ruby
dbz has quit [Ping timeout: 250 seconds]
jottr has joined #ruby
phaul has quit [Ping timeout: 268 seconds]
cnsvc has quit [Ping timeout: 256 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
sylario has joined #ruby
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
desperek has joined #ruby
vondruch has quit [Read error: Connection reset by peer]
vondruch has joined #ruby
irdr has quit [Remote host closed the connection]
cnsvc has joined #ruby
irdr has joined #ruby
AJA4350 has joined #ruby
cajone has joined #ruby
cajone has left #ruby [#ruby]
conta has quit [Remote host closed the connection]
conta has joined #ruby
eb0t has quit [Quit: WeeChat 2.0.1]
elphe has joined #ruby
ule has quit [Ping timeout: 250 seconds]
roshanavand has joined #ruby
Burgestrand has joined #ruby
Yxhuvud has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ropeney_ has quit [Ping timeout: 260 seconds]
ropeney has joined #ruby
smutnysy1 has joined #ruby
Burgestrand has quit [Quit: Closing time!]
doubledup has joined #ruby
foxxx0 has quit [Quit: foxxx0]
Yxhuvud has joined #ruby
foxxx0 has joined #ruby
Inline has quit [Quit: Leaving]
Inline has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
lomex has joined #ruby
TheBloke has joined #ruby
cnsvc has joined #ruby
cajone has joined #ruby
cajone has left #ruby [#ruby]
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tom-_ has joined #ruby
eb0t has joined #ruby
desperek has quit [Quit: xoxo]
cnsvc has quit [Ping timeout: 256 seconds]
Dbugger has joined #ruby
luminous has quit [Quit: Connection closed for inactivity]
darix has quit [Quit: brb]
luminous has joined #ruby
dhollin3 is now known as dhollinger
reber has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darix has joined #ruby
cow[moo] has joined #ruby
cenysor has joined #ruby
eb0t has quit [Quit: WeeChat 2.2]
hiroaki has joined #ruby
hiroaki has quit [Remote host closed the connection]
cnsvc has joined #ruby
hiroaki has joined #ruby
<cenysor> Hi! I am trying to install the neocities cli (https://neocities.org/cli). When I run 'sudo gem install neocities' I get the following error: https://pastebin.com/rYC32Zrj. How can I solve this?
<ruby[bot]> cenysor: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
darix has quit [Ping timeout: 264 seconds]
darix has joined #ruby
hutch has joined #ruby
Sembei has quit [Ping timeout: 250 seconds]
smutnysy1 has quit [Ping timeout: 245 seconds]
mikecmpbll has joined #ruby
eb0t has joined #ruby
smutnysy1 has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
darthfork has joined #ruby
darthfork has quit [Remote host closed the connection]
hutch has quit [Ping timeout: 240 seconds]
pavelz has quit [Quit: poof]
elphe has quit [Ping timeout: 252 seconds]
hutch has joined #ruby
cnsvc has joined #ruby
keden has joined #ruby
RougeR has quit [Ping timeout: 246 seconds]
hutch has quit [Ping timeout: 268 seconds]
pavelz has joined #ruby
chussenot has joined #ruby
doubledup has quit [Quit: Leaving]
pavelz has quit [Quit: leaving]
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 250 seconds]
zapata has quit [Quit: WeeChat 2.3]
cnsvc has quit [Ping timeout: 256 seconds]
RougeR has joined #ruby
chussenot has quit [Quit: chussenot]
zapata has joined #ruby
reber has quit [Remote host closed the connection]
venmx has joined #ruby
hiroaki has quit [Ping timeout: 250 seconds]
phaul has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
akem__ has quit [Max SendQ exceeded]
shadeslayer has joined #ruby
orbyt_ has joined #ruby
jordila has quit [Ping timeout: 244 seconds]
hutch has joined #ruby
elphe has joined #ruby
cnsvc has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
eb0t has quit [Read error: Connection reset by peer]
eb0t has joined #ruby
def_jam has joined #ruby
eblip has quit [Ping timeout: 268 seconds]
GodFather has quit [Ping timeout: 244 seconds]
def_jam is now known as eblip
clemens3 has quit [Ping timeout: 250 seconds]
venmx has quit [Ping timeout: 244 seconds]
clemens3 has joined #ruby
brkkyk has joined #ruby
Arkaniad has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
GodFather has joined #ruby
Arkaniad has joined #ruby
jordila has joined #ruby
<nchambers> is rake installed?
<cenysor> yeah. I solved it by running gem install rake :)
<nchambers> nice
lomex has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
tdy has quit [Ping timeout: 268 seconds]
hutch has quit [Ping timeout: 240 seconds]
za1b1tsu has joined #ruby
dbz has joined #ruby
jordila has quit [Ping timeout: 268 seconds]
chussenot has joined #ruby
brkkyk has quit []
nchambers has quit [Quit: WeeChat 2.2]
chussenot has quit [Quit: chussenot]
luminous has quit [Quit: Connection closed for inactivity]
brkkyk has joined #ruby
cnsvc has joined #ruby
chussenot has joined #ruby
hiroaki has joined #ruby
conta has quit [Quit: conta]
hiroaki has quit [Remote host closed the connection]
hiroaki has joined #ruby
chussenot has quit [Quit: chussenot]
dbz has quit [Remote host closed the connection]
jordila has joined #ruby
chussenot has joined #ruby
chussenot has left #ruby [#ruby]
im0nde has quit [Ping timeout: 252 seconds]
Deesl has joined #ruby
hutch has joined #ruby
elphe has joined #ruby
johnny56 has quit [Quit: johnny56]
NpcOrangeManBad has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
OrangeManBad has quit [Ping timeout: 250 seconds]
za1b1tsu has quit [Quit: WeeChat 2.2]
LiftLeft has joined #ruby
LiftLeft is now known as OrangeManBad
NpcOrangeManBad has quit [Disconnected by services]
johnsillings has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
im0nde has joined #ruby
dbz has joined #ruby
theRealMattM has joined #ruby
chussenot has joined #ruby
dbz has quit [Read error: Connection reset by peer]
dbz has joined #ruby
johnsillings has quit [Remote host closed the connection]
dbz has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
brkkyk has quit []
tdy has joined #ruby
nchambers has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 252 seconds]
dbz has joined #ruby
dbz has quit [Remote host closed the connection]
dviola has joined #ruby
Exuma has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
dbz has joined #ruby
Deesl has quit [Quit: Textual IRC Client: www.textualapp.com]
elphe has joined #ruby
jordila has quit [Ping timeout: 244 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
cd has joined #ruby
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
cnsvc has joined #ruby
hiroaki has quit [Ping timeout: 250 seconds]
\void has joined #ruby
venmx has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chussenot has joined #ruby
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
roshanavand has quit [Ping timeout: 268 seconds]
armyriad has quit [Quit: Leaving]
venmx has quit [Ping timeout: 245 seconds]
<pskosinski> Hello. I have a hash like: foo = { "bar" => {:A => 2, :B => 7}, "baz" => {:A => 1, :B => 3}} How can I sort it by the value of :B?
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
dellavg_ has quit [Ping timeout: 246 seconds]
<pskosinski> To be clear: I want to switch "baz" with "bar".
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
<wnd> sorting a hash doesn't quite sound right to me, but Hash[foo.sort_by { |_, v| v[:B] }] might do inefficiently what you wanted.
hutch has quit [Ping timeout: 250 seconds]
<pskosinski> I will care about efficiency when I'll have working code. :p Thanks for help, I think it will work
nowhere_man has quit [Ping timeout: 252 seconds]
nowhereman has joined #ruby
nowhereman is now known as Guest47970
armyriad has joined #ruby
<phaul> let's ask the bot
<nchambers> why do you want to sort a hash?
<phaul> &>> foo = { "bar" => {:A => 2, :B => 7}, "baz" => {:A => 1, :B => 3}}; Hash[foo.sort_by { |_, v| v[:B] }]
<rubydoc> # => {"baz"=>{:A=>1, :B=>3}, "bar"=>{:A=>2, :B=>7}} (https://carc.in/#/r/5mdf)
Arkantos has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
<pskosinski> Thanks guys, I know that may be a bad solution, I'm just learning Ruby, doing some simple exercises on Exercism and doing it like that was the first thing that came to my head. When I'll have working code and will try to make it more efficient I'll surely ask a few more questions! ;) For now, thanks for help. :)
<pskosinski> It's not going to be any production code. ;)
<phaul> pskosinski: don't feel bad, I think Ruby is to be blamed here. It's a bit philosophical, but why is Hash sortable in the first place..
<phaul> if it's sortable it's natural someone wants to sort it :)
keden has quit [Ping timeout: 268 seconds]
desperek has joined #ruby
cenysor has quit [Remote host closed the connection]
keden has joined #ruby
desperek has quit [Quit: xoxo]
cnsvc has joined #ruby
Dbugger has quit [Quit: Leaving]
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arkantos has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
RougeR has quit [Ping timeout: 244 seconds]
Nicmavr has joined #ruby
jasmith has quit [Quit: Leaving]
RougeR has joined #ruby
chussenot has quit [Quit: chussenot]
Arkantos has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Arkantos has joined #ruby
Exuma has joined #ruby
druonysus has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
phaul has quit [Ping timeout: 246 seconds]
y0u has joined #ruby
Arkantos has quit [Read error: Connection reset by peer]
hutch has joined #ruby
pskosinski has quit [Remote host closed the connection]
pskosinski has joined #ruby
pskosinski has quit [Remote host closed the connection]
pskosinski has joined #ruby
pskosinski has quit [Read error: Connection reset by peer]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
devyn has quit [Ping timeout: 244 seconds]
jaddison has joined #ruby
clemens3 has quit [Ping timeout: 250 seconds]