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-rc1: 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!
perique has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN_ has quit [Quit: The system is going down for reboot NOW!]
serard_ has joined #ruby
nchambers has joined #ruby
smhuber has quit [Ping timeout: 268 seconds]
nakuku has quit [Remote host closed the connection]
serard_ has quit [Ping timeout: 252 seconds]
arescorpio has joined #ruby
_whitelogger has joined #ruby
RedNifre has quit [Ping timeout: 250 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
hutch has joined #ruby
Freshnuts has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
DTZUZU has quit [Quit: WeeChat 2.2]
arescorpio has quit [Remote host closed the connection]
serard_ has joined #ruby
bambanx has quit [Ping timeout: 245 seconds]
dbz has quit [Ping timeout: 250 seconds]
serard_ has quit [Ping timeout: 252 seconds]
serard_ has joined #ruby
Freshnuts has quit [Quit: Leaving]
bambanx has joined #ruby
MyMind has joined #ruby
tycoon177 has quit [Ping timeout: 252 seconds]
Sembei has quit [Ping timeout: 272 seconds]
tycoon177 has joined #ruby
gix has quit [Ping timeout: 268 seconds]
Azure has quit [Quit: Oops.]
serard_ has quit [Ping timeout: 252 seconds]
hutch has quit [Ping timeout: 250 seconds]
nchambers has quit [Quit: WeeChat 2.2]
code_zombie has joined #ruby
Azure has joined #ruby
arescorpio has joined #ruby
krawchyk has quit [Quit: krawchyk]
serard_ has joined #ruby
AJA4350 has quit [Remote host closed the connection]
serard_ has quit [Ping timeout: 252 seconds]
bambanx has quit [Ping timeout: 240 seconds]
tag has quit [Quit: Connection closed for inactivity]
alan_w has quit [Read error: Connection reset by peer]
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
RougeR has quit [Ping timeout: 250 seconds]
arescorpio has quit [Quit: Leaving.]
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
roshanavand1 has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
roshanavand1 is now known as roshanavand
kapil____ has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
hutch has joined #ruby
nchambers has joined #ruby
lose has joined #ruby
hutch has quit [Ping timeout: 268 seconds]
lose has quit [Ping timeout: 250 seconds]
graphene has quit [Remote host closed the connection]
lose has joined #ruby
graphene has joined #ruby
davidw has quit [Ping timeout: 250 seconds]
Dreamer3 has joined #ruby
nahra has quit [Remote host closed the connection]
spacesuitdiver has joined #ruby
spacesuitdiver has quit [Ping timeout: 240 seconds]
nchambers has quit [Quit: WeeChat 2.2]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cpruitt has joined #ruby
cpruitt has quit [Ping timeout: 240 seconds]
lose has quit [Ping timeout: 264 seconds]
crankharder has quit [Ping timeout: 250 seconds]
beef_erikson has joined #ruby
roshanavand has quit [Remote host closed the connection]
crankharder has joined #ruby
roshanavand has joined #ruby
dbz has joined #ruby
dbz has quit [Remote host closed the connection]
dbz has joined #ruby
DTZUZO has joined #ruby
dbz has quit [Remote host closed the connection]
_whitelogger has joined #ruby
eckhardt has joined #ruby
nahra has joined #ruby
n13z has quit [Remote host closed the connection]
dellavg_ has joined #ruby
dbz has joined #ruby
themsay has joined #ruby
dbz has quit [Remote host closed the connection]
gix has joined #ruby
beef_erikson has quit [Quit: WeeChat 1.9.1]
beef_erikson has joined #ruby
code_zombie has quit [Quit: Leaving]
cd has joined #ruby
reber has joined #ruby
reber has quit [Remote host closed the connection]
dbz has joined #ruby
englosh has joined #ruby
<englosh> Will Ruby 2.6.0 with the new JIT compiler make it possible to build a native executable?
dbz has quit [Ping timeout: 268 seconds]
wnd has quit [Read error: Connection reset by peer]
wnd-trans has joined #ruby
wnd-trans is now known as wnd
<Zarthus> englosh, that would be the ideal "time" to compile, huh ;P
phaul has joined #ruby
<englosh> yes that would be just-in-time!
roshanavand has quit [Quit: Gone planting!]
neuraload has joined #ruby
venmx has joined #ruby
roshanavand has joined #ruby
neuraload has quit [Client Quit]
Dbugger has joined #ruby
RedNifre has joined #ruby
Inside has quit [Read error: Connection reset by peer]
gnufied has quit [Ping timeout: 246 seconds]
venmx has quit [Ping timeout: 246 seconds]
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
za1b1tsu has joined #ruby
foxxx0 has quit [Quit: foxxx0]
foxxx0 has joined #ruby
conta has joined #ruby
roshanavand has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
brandonkal has quit [Quit: Textual IRC Client: www.textualapp.com]
_whitelogger has joined #ruby
JoshS has joined #ruby
cpruitt has joined #ruby
cpruitt has quit [Ping timeout: 240 seconds]
dbz has joined #ruby
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
dbz has quit [Ping timeout: 250 seconds]
englosh has quit [Quit: Page closed]
nopolitica has joined #ruby
n13z has joined #ruby
conta1 has joined #ruby
conta1 has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
lucasb has joined #ruby
themsay has quit [Ping timeout: 246 seconds]
themsay has joined #ruby
reber has joined #ruby
aesthe has joined #ruby
themsay has quit [Ping timeout: 268 seconds]
<aesthe> Helloguys, first time on ruby: in the following"match(//proc/(\d\+)/smaps:Swap:\s*(\d\+) kB/)" is the "Swap" a special ruby function?
<aesthe> or command?
jottr has joined #ruby
reber has quit [Remote host closed the connection]
<Zarthus> that sounds unlikely
<Zarthus> actually, i suppose it might be
<Zarthus> I'm used to it looking like [[:cmd:]], but maybe :Swap: is enough in ruby
<aesthe> so Swap is a ruby command?
<Zarthus> I'm not confirming or denying anything.
<aesthe> haha
<Zarthus> It's not a common pattern seen in other regex engines, so in my brain it still translates to matching the text literal ":swap"
<Zarthus> also can't find any documentation regarding it
themsay has joined #ruby
<phaul> &>> /:Swap:/.match? ':Swap:'
<rubydoc> # => true (https://carc.in/#/r/5sop)
<Zarthus> phage: You raise a fair point.
<Zarthus> well, technically you didn't raise anything.
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
fredmorcos has joined #ruby
RougeR has joined #ruby
<phaul> shouldn't the / chars be escaped though?
<phaul> &>> //p/.match? '/p'
<rubydoc> # => (https://carc.in/#/r/5soq)
<phaul> or use %r, which would read better
<aesthe> oh right
<aesthe> this is the full script: https://carc.in/#/r/5sor
AJA4350 has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
eb0t has quit [Ping timeout: 250 seconds]
<phaul> aesthe: there are a few improvements there could be made
<aesthe> would you be willing to share?
<phaul> change sort to sort_by
<phaul> &ri sort_by
<phaul> change slice to take
<phaul> &ri take
<rubydoc> I found 5 entries matching method take. Use &list take if you would like to see a list
<phaul> &list take
<rubydoc> Array#take, Enumerable#take, Enumerator::Lazy#take, Rinda::TupleSpace#take, Rinda::TupleSpaceProxy#take
<phaul> &ri Enumerable#take
themsay has quit [Ping timeout: 250 seconds]
Puffball has quit [Remote host closed the connection]
neuraload has joined #ruby
Puffball has joined #ruby
jottr has quit [Quit: WeeChat 2.2]
eb0t has joined #ruby
fredmorcos has quit [Remote host closed the connection]
neuraload has quit [Client Quit]
pete1 has joined #ruby
pete1 has quit [Client Quit]
cajone has joined #ruby
TheBloke has quit [Ping timeout: 246 seconds]
masterasia has joined #ruby
TheBloke has joined #ruby
venmx has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
beef_erikson has quit [Quit: WeeChat 1.9.1]
dinfuehr has joined #ruby
beef_erikson has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
lose has joined #ruby
aesthe_ has joined #ruby
aesthe has quit [Ping timeout: 245 seconds]
desperek has joined #ruby
venmx has quit [Ping timeout: 250 seconds]
beef_erikson has quit [Quit: WeeChat 1.9.1]
Dbugger has quit [Remote host closed the connection]
cpruitt has joined #ruby
masterasia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dinfuehr has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
venmx has joined #ruby
desperek has quit [Quit: xoxo]
cpruitt has quit [Ping timeout: 250 seconds]
venmx has quit [Ping timeout: 244 seconds]
dinfuehr has quit [Ping timeout: 244 seconds]
lose has quit [Ping timeout: 260 seconds]
dinfuehr has joined #ruby
Mike11 has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
dinfuehr has joined #ruby
lose has joined #ruby
reber has joined #ruby
reber has quit [Remote host closed the connection]
davidw has joined #ruby
cpruitt has joined #ruby
cpruitt has quit [Ping timeout: 240 seconds]
cpruitt has joined #ruby
dinfuehr has quit [Ping timeout: 250 seconds]
dinfuehr has joined #ruby
cpruitt has quit [Ping timeout: 272 seconds]
cpruitt has joined #ruby
Dbugger has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
dinfuehr has joined #ruby
AJA4350 has quit [Remote host closed the connection]
hiroaki has joined #ruby
akosednar has quit [Ping timeout: 245 seconds]
AJA4350 has joined #ruby
dinfuehr has quit [Ping timeout: 250 seconds]
Mike11 has quit [Quit: Leaving.]
dinfuehr has joined #ruby
akosednar has joined #ruby
reber has joined #ruby
venmx has joined #ruby
houhoulis has joined #ruby
hutch has joined #ruby
themsay has joined #ruby
themsay has quit [Ping timeout: 250 seconds]
hutch has quit [Ping timeout: 245 seconds]
dbz has joined #ruby
ellcs has quit [Remote host closed the connection]
cow[away] has quit [Ping timeout: 250 seconds]
lose has quit [Ping timeout: 250 seconds]
themsay has joined #ruby
serard_ has joined #ruby
dbz has quit [Remote host closed the connection]
lose has joined #ruby
chouhoulis has joined #ruby
serard_ has quit [Ping timeout: 252 seconds]
chouhoulis has quit [Remote host closed the connection]
orbyt_ has joined #ruby
conta has quit [Quit: conta]
conta has joined #ruby
bjpenn has joined #ruby
<bjpenn> i think xcode might have messed up my ruby environment
<bjpenn> not 100% sure though, but now its messed up
<bjpenn> running knife --version causes this: Ignoring ffi-1.9.15 because its extensions are not built. Try: gem pristine ffi --version 1.9.15
<bjpenn> running that pristine command doesn't make that message go away
<bjpenn> additionally... im getting this error failed to load the ffi-yajl c-extension, falling back to ffi interface
<bjpenn> anyone kind of enough to tackle this on with me :D
<bjpenn> i tried googling, and tried all kinds of stuff, but none seemed to work, and some "workarounds" or "solutions" i don't even quite understand
conta has quit [Quit: conta]
cpruitt has quit [Remote host closed the connection]
hutch has joined #ruby
serard_ has joined #ruby
conta has joined #ruby
conta has quit [Ping timeout: 250 seconds]
conta has joined #ruby
dbz has joined #ruby
conta has quit [Ping timeout: 250 seconds]
venmx has quit [Ping timeout: 250 seconds]
serard_ has quit [Ping timeout: 252 seconds]
zapata has joined #ruby
hutch has quit [Ping timeout: 240 seconds]
gnufied has joined #ruby
gnufied has quit [Remote host closed the connection]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
lose has quit [Ping timeout: 250 seconds]
hutch has joined #ruby
<ruby[bot]> bjpenn: 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
<bjpenn> heres a paste of my error
hutch has quit [Client Quit]
eckhardt has joined #ruby
hutch has joined #ruby
nfk has joined #ruby
<bjpenn> whats the best way to share code?
<bjpenn> gist is not 100% anonymous
<phaul> bjpenn: the topic recommends dpaste.de.
<bjpenn> nice
<phaul> the bot is a bit outdated now... especially telling ppl off
<bjpenn> heres the error i get when i try to: gem install ffi --version 1.9.25
<bjpenn> https://dpaste.de/6zjo <-- url to the error
graphene has quit [Remote host closed the connection]
<bjpenn> local environment errors are such a pain in the ass
<phaul> hopefully someone with xcode knowledge comes along, I know nothing about xcode, never had a mac..
<bjpenn> thanks
graphene has joined #ruby
<bjpenn> seems like xcode totally messed up my environment :(
<bjpenn> i think the system version of ruby changed as well
hutch has quit [Ping timeout: 250 seconds]
dbz has quit [Remote host closed the connection]
desperek has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
serard_ has joined #ruby
JoshS has quit [Quit: Leaving]
_whitelogger has joined #ruby
brandonkal has joined #ruby
dbz has joined #ruby
gigetoo has quit [Ping timeout: 250 seconds]
dbz has quit [Ping timeout: 240 seconds]
serard_ has quit [Ping timeout: 252 seconds]
<havenwood> bjpenn: update RVM, Xcode and preferably your version of Ruby
<havenwood> bjpenn: Ruby 2.1 is past EoL
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-rc2: 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!
cpruitt has joined #ruby
s3nd1v0g1us has joined #ruby
bjpenn has quit [Ping timeout: 246 seconds]
cpruitt has quit [Ping timeout: 250 seconds]
Dbugger has quit [Ping timeout: 250 seconds]
serard_ has joined #ruby
s3nd1v0g1us has quit [Read error: Connection reset by peer]
serard_ has quit [Ping timeout: 252 seconds]
serard_ has joined #ruby
smhuber has joined #ruby
hutch has joined #ruby
serard_ has quit [Ping timeout: 252 seconds]
hutch has quit [Ping timeout: 244 seconds]
clemens3 has joined #ruby
Renich has joined #ruby
houhoulis has quit [Remote host closed the connection]
conta has joined #ruby
conta has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
cpruitt has joined #ruby
ur5us has quit [Ping timeout: 246 seconds]
cpruitt has quit [Ping timeout: 240 seconds]
dellavg_ has quit [Ping timeout: 240 seconds]
darkhanb has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
masterasia has joined #ruby
cnsvc has joined #ruby
cpruitt has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
cpruitt has quit [Ping timeout: 250 seconds]
reber has quit [Remote host closed the connection]
cpruitt has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
dviola has joined #ruby
cpruitt has quit [Ping timeout: 244 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
cpruitt has joined #ruby
masterasia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cpruitt has quit [Ping timeout: 250 seconds]
masterasia has joined #ruby
desperek has quit [Quit: xoxo]
hiroaki has quit [Ping timeout: 252 seconds]
Tom-_ has quit [Ping timeout: 268 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
serard_ has joined #ruby
masterasia has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tom-_ has joined #ruby
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
nchambers has joined #ruby
themsay has quit [Ping timeout: 244 seconds]
serard_ has quit [Ping timeout: 252 seconds]
hutch has joined #ruby
JoshS has joined #ruby
nopolitica has quit [Quit: WeeChat 2.2]
masterasia has joined #ruby
dviola has quit [Read error: Connection reset by peer]
kapil____ has joined #ruby
dviola has joined #ruby
<nchambers> is there any good guides for creating a custom enumerator for a class?