havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.2, 2.3.5 & 2.2.8: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
jrabe has quit []
astronavt has joined #ruby
jrabe has joined #ruby
jameser has joined #ruby
bkxd_ has quit [Read error: Connection reset by peer]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
astronavt has quit [Ping timeout: 258 seconds]
Technodrome has quit [Ping timeout: 248 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
houhoulis has quit [Remote host closed the connection]
voldemar has joined #ruby
workmad3 has joined #ruby
alveric4 has joined #ruby
csk157 has joined #ruby
voldemar has quit [Ping timeout: 276 seconds]
Rouge has quit [Ping timeout: 258 seconds]
guardianx has joined #ruby
alveric3 has quit [Ping timeout: 276 seconds]
Luyt has quit [Ping timeout: 240 seconds]
jxv has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
csk157 has quit [Ping timeout: 268 seconds]
eckhardt has joined #ruby
voldemar has joined #ruby
cognoscente has quit [Quit: Lost terminal]
skweek has quit [Ping timeout: 240 seconds]
voldemar has quit [Ping timeout: 248 seconds]
pastorin_ has left #ruby [#ruby]
orbyt_ has joined #ruby
skweek has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
Dimik has quit [Ping timeout: 248 seconds]
tvw has quit [Remote host closed the connection]
ledestin has joined #ruby
aintno_sunshine has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
bkxd_ has joined #ruby
voldemar has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
voldemar has quit [Ping timeout: 248 seconds]
allcentury has joined #ruby
voldemar has joined #ruby
allcentury has quit [Ping timeout: 248 seconds]
Puffball has joined #ruby
mfb2 has quit [Remote host closed the connection]
wilbert_ has quit [Ping timeout: 248 seconds]
bkxd_ has quit [Ping timeout: 260 seconds]
dviola has quit [Quit: WeeChat 1.9.1]
enterprisey has quit [Read error: Connection reset by peer]
dstrunk has quit [Quit: Textual IRC Client: www.textualapp.com]
guardianx has quit []
voldemar has quit [Ping timeout: 260 seconds]
marr has quit [Ping timeout: 240 seconds]
dviola has joined #ruby
mfb2_ has joined #ruby
dstrunk has joined #ruby
jxv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mfb2_ has quit [Ping timeout: 248 seconds]
voldemar has joined #ruby
bkxd has joined #ruby
guacamole has joined #ruby
astronavt has joined #ruby
mfb2 has joined #ruby
dstrunk has quit [Quit: Textual IRC Client: www.textualapp.com]
voldemar has quit [Ping timeout: 255 seconds]
mfb2 has quit [Read error: Connection reset by peer]
mfb2 has joined #ruby
allcentury has joined #ruby
sspreitz has quit [Ping timeout: 255 seconds]
astronavt has quit [Ping timeout: 240 seconds]
mfb2 has quit [Ping timeout: 268 seconds]
allcentury has quit [Ping timeout: 255 seconds]
voldemar has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: inabit. zz.]
sspreitz has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
voldemar has quit [Ping timeout: 255 seconds]
cschneid_ has quit [Remote host closed the connection]
cschneid has joined #ruby
csk157 has joined #ruby
voldemar has joined #ruby
troys is now known as troys_
cschneid has quit [Ping timeout: 248 seconds]
allcentury has joined #ruby
csk157 has quit [Ping timeout: 248 seconds]
voldemar has quit [Ping timeout: 248 seconds]
varesa is now known as varesa|
dstrunk has joined #ruby
herbmillerjr has joined #ruby
bkxd has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
astronavt has joined #ruby
voldemar has joined #ruby
ramfjord has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
bkxd has joined #ruby
<dminuoso> ,nesting
<dminuoso> ?nesting
<ruby[bot]> dminuoso: I don't know anything about nesting
<dminuoso> ?module_nesting
<ruby[bot]> dminuoso: I don't know anything about module_nesting
ramfjord has quit [Ping timeout: 260 seconds]
voldemar has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
voldemar has joined #ruby
ramfjord has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 255 seconds]
guacamole has quit [Quit: My face has gone to sleep. ZZZzzz…]
d10n-work has quit [Quit: Connection closed for inactivity]
GodFather has quit [Ping timeout: 240 seconds]
pilne has joined #ruby
skweek has joined #ruby
guacamole has joined #ruby
mjolnird has joined #ruby
voldemar has joined #ruby
ramfjord has joined #ruby
vee__ has quit [Ping timeout: 264 seconds]
voldemar has quit [Ping timeout: 260 seconds]
guacamole has quit [Quit: Textual IRC Client: www.textualapp.com]
John__ has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 260 seconds]
clemens3 has quit [Ping timeout: 268 seconds]
charliesome has joined #ruby
voldemar has joined #ruby
motstgo has left #ruby ["WeeChat 1.9"]
vee__ has joined #ruby
mim1k has joined #ruby
workmad3 has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
voldemar has joined #ruby
guacamole has joined #ruby
bkxd_ has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 260 seconds]
joxavi79 has joined #ruby
eckhardt has joined #ruby
voldemar has quit [Ping timeout: 260 seconds]
quobo has quit []
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cschneid has joined #ruby
joxavi79 has left #ruby [#ruby]
jackjackdripper1 has joined #ruby
voldemar has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
houhoulis has joined #ruby
jackjackdripper has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
kitsunenokenja has quit [Ping timeout: 258 seconds]
guacamole has quit [Quit: Textual IRC Client: www.textualapp.com]
gizmore has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
apparition has joined #ruby
Rouge has joined #ruby
elphe has joined #ruby
gizmore|2 has quit [Ping timeout: 260 seconds]
voldemar has joined #ruby
elphe has quit [Ping timeout: 248 seconds]
voldemar has quit [Ping timeout: 260 seconds]
voldemar has joined #ruby
d^sh has quit [Ping timeout: 250 seconds]
d^sh has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
zeroDivisible has quit [Quit: ZNC - http://znc.in]
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
sspreitz has quit [Ping timeout: 255 seconds]
voldemar has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
bkxd_ has quit [Ping timeout: 240 seconds]
sspreitz has joined #ruby
bkxd has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
nadir has quit [Quit: Connection closed for inactivity]
elphe has joined #ruby
jtdoncas_ has joined #ruby
cdg has joined #ruby
Rouge has quit [Ping timeout: 250 seconds]
cschneid has joined #ruby
dstrunk has quit [Quit: Textual IRC Client: www.textualapp.com]
cdg has quit [Ping timeout: 255 seconds]
voldemar has joined #ruby
csk157 has joined #ruby
rm8 has quit [Quit: i slep]
voldemar has quit [Ping timeout: 248 seconds]
csk157 has quit [Ping timeout: 248 seconds]
cadillac_ has quit [Ping timeout: 268 seconds]
plexigras has joined #ruby
houhoulis has quit [Remote host closed the connection]
fyrril has joined #ruby
astronavt has quit [Remote host closed the connection]
voldemar has joined #ruby
cadillac_ has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shinnya has joined #ruby
mfb2 has joined #ruby
jxv has joined #ruby
eckhardt has joined #ruby
mfb2 has quit [Ping timeout: 260 seconds]
voldemar has joined #ruby
kitsunenokenja has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
ResidentBiscuit has joined #ruby
cdg has joined #ruby
camonz has quit [Quit: Linkinus - http://linkinus.com]
voldemar has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
<tcopeland> maybe:
<tcopeland> ?constant_lookup
voldemar has joined #ruby
mfb2 has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
mfb2_ has joined #ruby
mfb2 has quit [Ping timeout: 248 seconds]
mfb2_ has quit [Ping timeout: 248 seconds]
mfb2 has joined #ruby
voldemar has joined #ruby
mfb2 has quit [Ping timeout: 248 seconds]
mfb2 has joined #ruby
mim1k has joined #ruby
meadmoon has joined #ruby
workmad3 has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
mfb2 has quit [Ping timeout: 240 seconds]
voldemar has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
uZiel has joined #ruby
voldemar has quit [Ping timeout: 276 seconds]
uZiel has quit [Ping timeout: 248 seconds]
elphe has quit [Ping timeout: 240 seconds]
jameser has joined #ruby
voldemar has joined #ruby
jameser has quit [Client Quit]
jameser has joined #ruby
mson has quit [Quit: Connection closed for inactivity]
voldemar has quit [Ping timeout: 260 seconds]
cschneid has quit [Remote host closed the connection]
cschneid has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
elphe has joined #ruby
ivanskie_ has joined #ruby
cschneid has quit [Remote host closed the connection]
voldemar has joined #ruby
cschneid has joined #ruby
cdg has quit [Remote host closed the connection]
mjolnird has quit [Remote host closed the connection]
cdg has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
cdg has quit [Ping timeout: 250 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
mson has joined #ruby
voldemar has joined #ruby
dviola has quit [Quit: WeeChat 1.9.1]
ResidentBiscuit has quit []
Guest1878 has quit [Ping timeout: 240 seconds]
cschneid has quit [Remote host closed the connection]
safetypin has joined #ruby
waveprop has joined #ruby
waveprop is now known as Guest29042
voldemar has quit [Ping timeout: 260 seconds]
uZiel has joined #ruby
voldemar has joined #ruby
traumschule has quit [Remote host closed the connection]
apparition has quit [Quit: Bye]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ivanskie_ has quit [Quit: Textual IRC Client: www.textualapp.com]
voldemar has quit [Ping timeout: 260 seconds]
ivanskie_ has joined #ruby
chocoelho has joined #ruby
voldemar has joined #ruby
chouhoulis has quit [Remote host closed the connection]
csk157 has joined #ruby
guardianx has joined #ruby
safetypin has quit [Quit: ZZZzzz…]
voldemar has quit [Ping timeout: 248 seconds]
meadmoon has quit [Quit: I am functioning within established parameters.]
guardianx has quit [Client Quit]
chocoelho has quit [Quit: chocoelho]
csk157 has quit [Ping timeout: 260 seconds]
cschneid has joined #ruby
pb122 has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
xlegoman has quit [Quit: Textual IRC Client: www.textualapp.com]
cschneid has quit [Ping timeout: 255 seconds]
voldemar has joined #ruby
ramfjord has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 268 seconds]
digitalowl has quit [Ping timeout: 248 seconds]
voldemar has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kapil___ has joined #ruby
voldemar has quit [Ping timeout: 268 seconds]
uZiel has joined #ruby
kitsunenokenja has quit [Ping timeout: 250 seconds]
exhiled has joined #ruby
voldemar has joined #ruby
voldemar has quit [Ping timeout: 268 seconds]
voldemar has joined #ruby
millerti has joined #ruby
[DO] has joined #ruby
David_H_Smith has quit [Read error: Connection reset by peer]
David_H_Smith has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
voldemar has joined #ruby
jtdoncas has quit [Ping timeout: 248 seconds]
voldemar has quit [Ping timeout: 260 seconds]
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
workmad3 has joined #ruby
voldemar has joined #ruby
kies has quit [Ping timeout: 255 seconds]
csk157 has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
voldemar has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
csk157 has quit [Ping timeout: 240 seconds]
voldemar has joined #ruby
voldemar has quit [Ping timeout: 258 seconds]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
exhiled has joined #ruby
aintno_sunshine has quit [Ping timeout: 248 seconds]
voldemar has joined #ruby
voldemar has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
millerti has quit [Ping timeout: 260 seconds]
voldemar has joined #ruby
voldemar has quit [Ping timeout: 260 seconds]
brodul has quit [Remote host closed the connection]
rippa has joined #ruby
voldemar has joined #ruby
jtdoncas_ has quit [Ping timeout: 240 seconds]
reber has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
harfangk has joined #ruby
harfangk has quit [Remote host closed the connection]
voldemar has joined #ruby
brodul has joined #ruby
exhiled has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
voldemar has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
Immune has quit [Ping timeout: 248 seconds]
ur5us has quit [Ping timeout: 248 seconds]
voldemar has joined #ruby
guardianx has joined #ruby
voldemar has quit [Ping timeout: 268 seconds]
guardianx has quit [Client Quit]
Dimik has joined #ruby
voldemar has joined #ruby
kculpis has quit [Ping timeout: 248 seconds]
Xiti has quit [Ping timeout: 240 seconds]
Xiti` has joined #ruby
mjolnird has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
Guest29042 has quit [Quit: leaving]
muelleme has joined #ruby
waveprop has joined #ruby
jamesaxl has joined #ruby
muelleme has quit [Ping timeout: 240 seconds]
voldemar has joined #ruby
n13z has quit [Quit: leaving]
iamarun has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
Immune has joined #ruby
voldemar has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
jameser has joined #ruby
enterprisey has joined #ruby
voldemar has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nadir has joined #ruby
jameser has joined #ruby
mim1k has joined #ruby
csk157 has joined #ruby
workmad3 has joined #ruby
ivanskie_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
voldemar has joined #ruby
mim1k has quit [Ping timeout: 248 seconds]
csk157 has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
voldemar has quit [Ping timeout: 248 seconds]
Xano__ has joined #ruby
jnyw has joined #ruby
voldemar has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
voldemar has quit [Ping timeout: 268 seconds]
aupadhye has joined #ruby
Dimik has quit [Ping timeout: 248 seconds]
aupadhye has quit [Client Quit]
b10s_ has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
voldemar has joined #ruby
lurkingninja has joined #ruby
mson has quit [Quit: Connection closed for inactivity]
voldemar has quit [Ping timeout: 258 seconds]
cschneid has joined #ruby
selim has quit [Ping timeout: 255 seconds]
iamarun has quit [Remote host closed the connection]
iamarun has joined #ruby
stealth[] has joined #ruby
selim has joined #ruby
cschneid has quit [Ping timeout: 255 seconds]
voldemar has joined #ruby
DoubleMalt has quit [Ping timeout: 248 seconds]
tomphp has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
voldemar has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
voldemar has quit [Ping timeout: 240 seconds]
troys_ is now known as troys
uZiel has joined #ruby
marr has joined #ruby
voldemar has joined #ruby
mim1k has joined #ruby
csk157 has joined #ruby
voldemar has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 248 seconds]
bkxd has quit []
pb122 has quit [Ping timeout: 268 seconds]
csk157 has quit [Ping timeout: 260 seconds]
cschneid has joined #ruby
voldemar has joined #ruby
workmad3 has joined #ruby
bkxd has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
voldemar has quit [Ping timeout: 240 seconds]
cschneid has quit [Ping timeout: 240 seconds]
csk157 has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
voldemar has joined #ruby
bkxd has joined #ruby
voldemar has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
bkxd has quit []
troys has quit [Quit: Bye]
tomphp has quit [Client Quit]
p0p0pr37_ has joined #ruby
p0p0pr37_ has quit [Changing host]
p0p0pr37_ has joined #ruby
voldemar has joined #ruby
p0p0pr37 has quit [Ping timeout: 240 seconds]
p0p0pr37_ is now known as p0p0pr37
mohabaks has joined #ruby
chridal has joined #ruby
cdg has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 250 seconds]
mohabaks has quit [Remote host closed the connection]
csk157 has quit [Ping timeout: 260 seconds]
mohabaks has joined #ruby
voldemar has joined #ruby
voldemar has quit [Ping timeout: 260 seconds]
silvermine has quit [Ping timeout: 240 seconds]
voldemar has joined #ruby
claudiuinberlin has joined #ruby
_sfiguser has joined #ruby
pdcawley has joined #ruby
pdcawley has left #ruby [#ruby]
clemens3 has joined #ruby
TagNotFound has quit [Quit: Connection closed for inactivity]
sameerynho has joined #ruby
marr has quit [Ping timeout: 255 seconds]
mfb2 has joined #ruby
p0p0pr37 has quit [Remote host closed the connection]
iamarun has quit [Ping timeout: 248 seconds]
mfb2 has quit [Ping timeout: 248 seconds]
p0p0pr37 has joined #ruby
n13z has joined #ruby
mohabaks has left #ruby ["WeeChat 1.9"]
kphuanghk has joined #ruby
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
biberu has joined #ruby
mikecmpbll has joined #ruby
enterprisey has quit [Remote host closed the connection]
apparition has joined #ruby
c_nick has joined #ruby
<c_nick> hi .. how to retrive only two columns of a specific table using Active Record- Active Relations (Ruby not rails) .. i can go Table.where(run_id: 1) but this will return me the whole row ..
<apeiros_> c_nick: even if you use AR outside of rails, it's still a part of rails and the people knowing about it are in #rubyonrails ;-)
<apeiros_> re two columns: you want pluck
* dminuoso pokes apeiros_ with an underscore
apeiros_ is now known as apeiros__
<apeiros__> thanks, now I've got two of those pesky underscores!!!
<dminuoso> It's stuck.
<dminuoso> Mmm.
<dminuoso> Did it hurt?
<apeiros__> it tickled
<c_nick> active record is a design pattern .. Arel is also not rails specific i suppose but I guess you are right most people are in rails on this
<dminuoso> AR is not a design pattern...
<dminuoso> Its a library.
<apeiros__> it's both
<apeiros__> rails' AR is an implementation of the AR pattern :)
<dminuoso> Oh well.
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros__> because it's so unconfusing to name your lib after a pattern :D
<dminuoso> In this context I meant.
<apeiros__> ok. point taken.
apeiros__ is now known as apeiros
alex`` has joined #ruby
<apeiros> shooo, yo silly underscores, shoo
<dminuoso> If only I could name myself R.dminuoso
<dminuoso> Just to be able to fight you adequately
<apeiros> D.min(uosos)
<apeiros> -s
marr has joined #ruby
<c_nick> apeiros, sorry one last question i know that we can do AR.pluck(:id) will give us [1,2,3] but what will AR.pluck(:id,:name) give us ?
<apeiros> ?try
<ruby[bot]> Why don't you try it and see for yourself?
<apeiros> you can use pry/irb to easily try stuff
<c_nick> i thought it required rails terminal
<c_nick> console*
<apeiros> no
<c_nick> i dont have the environment set up on this machine .. only ruby ..
<apeiros> rails console builds up on irb (or pry, of you use pry-rails)
<c_nick> so how will the database linking work
<apeiros> hence plain irb doesn't need rails. and irb comes with a standard install of ruby.
<apeiros> the same way you do it in your non-rails app
enterprisey has joined #ruby
<c_nick> hmm ok i will try thanks
<apeiros> if you haven't actually yet used it outside of rails, ActiveRecord::Base.establish_connection is the method you're looking for
<apeiros> with pry, you can put a .pryrc in your project which contains code pry should execute at startup. ideal for stuff like establishing a connection f.ex.
pdcawley has joined #ruby
c_nick has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
DoubleMalt has joined #ruby
GodFather has joined #ruby
bkxd has joined #ruby
bkxd has quit [Client Quit]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
bkxd has joined #ruby
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
bkxd has quit [Max SendQ exceeded]
jnyw has quit [Quit: WeeChat 1.9.1]
bkxd has joined #ruby
Xano__ has quit [Ping timeout: 248 seconds]
jtdoncas_ has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
p0p0pr37 has quit [Read error: Connection reset by peer]
uZiel has quit [Ping timeout: 248 seconds]
jxv has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtdoncas_ has quit [Ping timeout: 248 seconds]
Azure has quit [Read error: Connection reset by peer]
Azure|dc has joined #ruby
DoubleMalt has quit [Ping timeout: 240 seconds]
elphe has quit [Ping timeout: 255 seconds]
p0p0pr37 has joined #ruby
p0p0pr37 has quit [Changing host]
p0p0pr37 has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
DoubleMalt has joined #ruby
iamarun has joined #ruby
kitsunenokenja has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
d^sh has joined #ruby
s778 has joined #ruby
voldemar has joined #ruby
bkxd has joined #ruby
iamarun has quit [Ping timeout: 248 seconds]
mcr1 has quit [Ping timeout: 258 seconds]
iamarun has joined #ruby
voldemar has quit [Ping timeout: 260 seconds]
goyox86 has joined #ruby
voldemar has joined #ruby
elphe has joined #ruby
iamarun has quit [Remote host closed the connection]
iamarun has joined #ruby
goyox86 has quit [Ping timeout: 260 seconds]
iamarun has quit [Remote host closed the connection]
goyox86 has joined #ruby
iamarun has joined #ruby
charliesome has joined #ruby
mfb2 has joined #ruby
oetjenj has joined #ruby
TomyLobo has joined #ruby
muelleme has joined #ruby
oetjenj has quit [Ping timeout: 240 seconds]
mfb2 has quit [Ping timeout: 248 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
enterprisey has quit [Remote host closed the connection]
_aeris_ has quit [Remote host closed the connection]
oetjenj has joined #ruby
_aeris_ has joined #ruby
oetjenj has quit [Client Quit]
synthroid has joined #ruby
elphe has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 248 seconds]
lexruee has quit [Ping timeout: 246 seconds]
konsolebox has quit [Ping timeout: 248 seconds]
konsolebox has joined #ruby
elphe has joined #ruby
Rouge has joined #ruby
bkxd has joined #ruby
bkxd has quit [Max SendQ exceeded]
bkxd has joined #ruby
bkxd has quit [Max SendQ exceeded]
bkxd has joined #ruby
mson has joined #ruby
n13z has quit [Remote host closed the connection]
fabianfrz1 has joined #ruby
bkxd has quit []
cdg has joined #ruby
lexruee has joined #ruby
skweek has joined #ruby
fabianfrz1 has quit [Quit: Konversation terminated!]
iamarun has quit [Remote host closed the connection]
Rouge has quit [Ping timeout: 260 seconds]
jtdoncas_ has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
uZiel has joined #ruby
kphuanghk has quit [Remote host closed the connection]
growp has joined #ruby
goyox86 has quit [Ping timeout: 248 seconds]
muelleme has quit [Ping timeout: 240 seconds]
jtdoncas_ has quit [Ping timeout: 260 seconds]
raynold has quit [Quit: Connection closed for inactivity]
Xano__ has joined #ruby
lexruee has quit [Ping timeout: 240 seconds]
millerti has joined #ruby
kuchi has quit [Ping timeout: 258 seconds]
uZiel has quit [Ping timeout: 248 seconds]
cschneid has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
lexruee has joined #ruby
charliesome has joined #ruby
growp has quit [Quit: Mutter: www.mutterirc.com]
uZiel has joined #ruby
<TomyLobo> i have a ruby data structure consisting of a nested hierarchy of hashes, arrays, strings, and numbers
<TomyLobo> think of it as a parsed JSON#
<TomyLobo> -#
c_nick has joined #ruby
<TomyLobo> is there a way to operate on that using SQL or xpath or something like that?
c_nick has left #ruby [#ruby]
<TomyLobo> kind of like dpath, but for ruby
<al2o3-cr> TomyLobo: maybe jsonpath; https://github.com/joshbuddy/jsonpath
moei has quit [Quit: Leaving...]
<TomyLobo> just hit that as well. looks like it only works on json though ^^
muelleme has joined #ruby
nicesignal has quit [Remote host closed the connection]
<al2o3-cr> hmm, yeah it seems so
shinnya has quit [Ping timeout: 260 seconds]
nicesignal has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joast has quit [Ping timeout: 268 seconds]
sepp2k has joined #ruby
biberu has quit [Ping timeout: 260 seconds]
biberu has joined #ruby
millerti has quit [Ping timeout: 260 seconds]
Lyubo1 has quit [Ping timeout: 248 seconds]
Lyubo1 has joined #ruby
John__ has joined #ruby
Lyubo1 has quit [Ping timeout: 248 seconds]
Lyubo1 has joined #ruby
dviola has joined #ruby
apparition has quit [Quit: Bye]
cadillac_ has quit [Read error: Connection reset by peer]
jtdoncas_ has joined #ruby
jtdoncas_ has quit [Ping timeout: 260 seconds]
Rouge has joined #ruby
cadillac_ has joined #ruby
pifon has joined #ruby
alex`` has quit [Quit: WeeChat 1.9.1]
pifon has quit []
skweek has quit [Ping timeout: 248 seconds]
mson has quit [Quit: Connection closed for inactivity]
millerti has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
cschneid has joined #ruby
mtkd has joined #ruby
Xano__ has quit [Ping timeout: 248 seconds]
cschneid has quit [Remote host closed the connection]
tvw has joined #ruby
miskatonic has joined #ruby
moei has joined #ruby
Rouge has quit [Ping timeout: 268 seconds]
chocoelho has joined #ruby
KeyJoo has joined #ruby
xlegoman has joined #ruby
oetjenj has joined #ruby
cschneid has joined #ruby
<TomyLobo> ffff cygwin ruby cannot glob on windows paths
nadir is now known as Peptidoh
Peptidoh is now known as nadir
marr has quit [Remote host closed the connection]
sameerynho has quit [Ping timeout: 255 seconds]
jtdoncas_ has joined #ruby
jtdoncas_ has quit [Ping timeout: 260 seconds]
clemens3 has quit [Ping timeout: 248 seconds]
dinfuehr has quit [Ping timeout: 240 seconds]
jxv has joined #ruby
dinfuehr has joined #ruby
csk157 has joined #ruby
mfb2 has joined #ruby
millerti has quit [Ping timeout: 240 seconds]
mfb2 has quit [Remote host closed the connection]
kculpis has joined #ruby
<al2o3-cr> how to do you correctly deal with structs within struct using the ruby stdlib fiddle?
joast has joined #ruby
mfb2 has joined #ruby
KeyJoo has quit [Remote host closed the connection]
mfb2 has quit [Ping timeout: 248 seconds]
<al2o3-cr> this might give you a better idea of what i'm on about: https://gist.github.com/gr33n7007h/651ef33ff52b573612473a375cf49085
<al2o3-cr> is this the desired way or is there something i'm missing
houhoulis has joined #ruby
<al2o3-cr> anyone know?
<al2o3-cr> i mean it somehow works, not sure why though/
<al2o3-cr> it seems hacky
<al2o3-cr> any help will be appreiciated. thanks in advance
mcr1 has joined #ruby
goyox86 has joined #ruby
skweek has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
goyox86 has left #ruby [#ruby]
nowhere_man has quit [Ping timeout: 255 seconds]
elphe has quit [Ping timeout: 248 seconds]
jamesaxl has joined #ruby
goyox86 has joined #ruby
s778 has quit [Quit: leaving]
mfb2 has joined #ruby
clemens3 has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
ctrlaltdev has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
armando has quit [Ping timeout: 248 seconds]
marr has joined #ruby
jtdoncas_ has joined #ruby
nowhere_man has joined #ruby
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
Dimik has joined #ruby
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
skweek has quit [Ping timeout: 260 seconds]
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
jtdoncas_ has quit [Ping timeout: 240 seconds]
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
skweek has joined #ruby
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
Xiti` has quit [Quit: Xiti`]
armando has joined #ruby
silvermine has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
orbyt_ has joined #ruby
kculpis has quit [Ping timeout: 268 seconds]
JStoker has left #ruby ["Leaving"]
houhouli_ has joined #ruby
kinbiko has joined #ruby
goyox86 has quit [Quit: goyox86]
houhoulis has quit [Ping timeout: 268 seconds]
goyox86 has joined #ruby
goyox86 has quit [Client Quit]
miskatonic has quit [Remote host closed the connection]
Xiti has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
mfb2 has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 248 seconds]
mjolnird has quit [Remote host closed the connection]
biberu has quit []
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
biberu has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
odinsbane has joined #ruby
despai has joined #ruby
<odinsbane> I am trying to install mysql2 gem with bundle. I get an error, that has a workaround here, https://github.com/brianmario/mysql2/pull/857 but I don't know how to update the header file and have bundle use that file.
mfb2 has joined #ruby
mfb2 has quit [Ping timeout: 248 seconds]
chocoelho has quit [Quit: chocoelho]
mfb2 has joined #ruby
jtdoncas_ has joined #ruby
jtdoncas_ has quit [Ping timeout: 260 seconds]
kitsunenokenja has quit [Ping timeout: 264 seconds]
meadmoon has joined #ruby
cschneid has quit [Remote host closed the connection]
mfb2 has quit [Ping timeout: 260 seconds]
mfb2 has joined #ruby
wilbert_ has joined #ruby
mfb2 has quit [Ping timeout: 260 seconds]
<RickHull> odinsbane: at a glance, I'm guessing the gem needs to be built as such
<RickHull> and you can tell bundler to use the patched .gem
<odinsbane> That sounds like exactly what I need.
<RickHull> if there is a fork or PR that you can checkout locally, you should be able to build the .gem locally
<RickHull> though that might be tricky
<RickHull> but totally doable
konos5 has joined #ruby
<RickHull> and then you can host the .gem with e.g. geminabox, or just copy it to the target system
<odinsbane> It appears the fix is pretty trivial, just add an include into the header file.
<RickHull> and there is some way to tell bundler to use it, via `gem source` or whatever
mtkd has quit [Ping timeout: 250 seconds]
<RickHull> and maybe someone else has built the .gem this way and is hosting it already
lexruee has quit [Ping timeout: 240 seconds]
<RickHull> you'll have to dig into the specifics what the result of this ticket is to find the simplest path forward, but build-it-yourself is always a fallback
KeyJoo has joined #ruby
lexruee has joined #ruby
mtkd has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
cdg has joined #ruby
mfb2 has joined #ruby
cdg has quit [Remote host closed the connection]
despai has quit [Quit: ...]
cdg has joined #ruby
impermanence has joined #ruby
mfb2 has quit [Ping timeout: 248 seconds]
sameerynho has joined #ruby
cdg has quit [Ping timeout: 255 seconds]
sepp2k has quit [Read error: Connection reset by peer]
tomlukeywood has joined #ruby
ShekharReddy has joined #ruby
wilbert_ has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
voldemar has quit [Ping timeout: 255 seconds]
nofxx has joined #ruby
csk157 has quit [Ping timeout: 260 seconds]
leitao has quit [Ping timeout: 246 seconds]
kitsunenokenja has joined #ruby
xlegoman has quit [Quit: Textual IRC Client: www.textualapp.com]
xlegoman has joined #ruby
mohabaks has joined #ruby
impermanence has quit [Ping timeout: 260 seconds]
<odinsbane> If I want to update a gemfile to use rails 4.2.xx how would I do that? bundle update put it at 5.1.xx something.
csk157 has joined #ruby
<RickHull> paste the Gemfile -- it should be quite straightforward to specify a version for the rails gem
cschneid has joined #ruby
voldemar has joined #ruby
bkxd has joined #ruby
csk157 has quit [Ping timeout: 240 seconds]
csk157 has joined #ruby
jtdoncas_ has joined #ruby
voldemar has quit [Ping timeout: 248 seconds]
cschneid has quit [Ping timeout: 248 seconds]
n13z has joined #ruby
jtdoncas_ has quit [Ping timeout: 248 seconds]
bkxd has quit [Ping timeout: 240 seconds]
<RickHull> hmmm, I don't see why bundler would update rails gem to 5.1
<RickHull> is that your Gemfile.lock ?
<RickHull> no, it wouldn't be
voldemar has joined #ruby
<RickHull> I would expect this line to pin rails gem to 3.2.22.5: gem 'rails', '3.2.22.5'
<odinsbane> No that is the gem file, before changing anything.
<odinsbane> Now I want to move to 4.2.XXX and see if I can get that working.
jtdoncas_ has joined #ruby
<RickHull> running `bundle update` with that Gemfile should result in rails gem 3.2.22.5
<RickHull> what do you get in your Gemfile.lock?
uZiel has quit [Ping timeout: 248 seconds]
<RickHull> for the record, I haven't used bundler in depth in many years -- so anyone else may have better and more specific advice
guille-moe has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
mohabaks has quit [Quit: WeeChat 1.9]
csk157 has quit [Ping timeout: 240 seconds]
csk157 has joined #ruby
bkxd has joined #ruby
<odinsbane> I changed the rails version to be "~>4.2.0" and did a bundle update, so now it is installed as rails 4.2.10 and I think now I am just going through rails issues.
voldemar has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
voldemar has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
jnollette has quit [Ping timeout: 248 seconds]
voldemar has joined #ruby
jnollette has joined #ruby
gnufied has quit [Ping timeout: 252 seconds]
skweek has joined #ruby
voldemar has quit [Ping timeout: 260 seconds]
voldemar has joined #ruby
csk157_1 has joined #ruby
csk157 has quit [Ping timeout: 255 seconds]
voldemar has quit [Ping timeout: 248 seconds]
sammi` has joined #ruby
mson has joined #ruby
elphe has joined #ruby
TomyLobo2 has joined #ruby
tomlukeywood has left #ruby [#ruby]
voldemar has joined #ruby
dinfuehr has quit [Ping timeout: 260 seconds]
<odinsbane> It's brutal, I can't install ruby 2.3 or lower because of openssl 1.1 with fedora. Rails 4.0 doesn't work with ruby 2.4.
ShekharReddy has quit [Ping timeout: 260 seconds]
tvw has quit [Ping timeout: 260 seconds]
TomyLobo has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
dinfuehr has joined #ruby
bkxd has quit [Ping timeout: 268 seconds]
elphe has quit [Ping timeout: 260 seconds]
<RickHull> what's the openssl constraint?
<RickHull> there must be a workaround on fedora
voldemar has quit [Ping timeout: 248 seconds]
ShekharReddy has joined #ruby
sammi`_ has quit [Quit: Lost terminal]
<odinsbane> Yes, I am just fumbling along with all of these versions, trying to find the best way to get things resolved.
<RickHull> have you tried a ruby version manager?
<odinsbane> I built ruby with a local copy of openssl, but then when I built gems they used the system version. No I didn't try rvm yet.
<RickHull> rvm / rbenv / chruby
<RickHull> what is the story with openssl 1.1 and fedora and ruby?
bkxd has joined #ruby
<odinsbane> If you try to build ruby 2.3.5 with fedora and the openssl-devel package installed, it will fail.
wilbert_ has joined #ruby
|ifei5good has joined #ruby
csk157_2 has joined #ruby
voldemar has joined #ruby
|ifei5g00d has quit [Read error: Connection reset by peer]
guille-moe has quit [Ping timeout: 248 seconds]
csk157_1 has quit [Ping timeout: 255 seconds]
kies has joined #ruby
<darix> odinsbane: openssl 1.1 support hit 2.4 only
<darix> odinsbane: unless you have a really good reason to use 2.3
<darix> stick with 2.3
<darix> err
<darix> 2.4
<darix> also what is wrong with their distro package? why not use that?
voldemar has quit [Ping timeout: 248 seconds]
xcesariox has joined #ruby
voldemar has joined #ruby
wilbert_ has quit [Ping timeout: 260 seconds]
yqt has joined #ruby
mim1k has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
wilbert_ has joined #ruby
skweek has joined #ruby
odinsbane has quit [Ping timeout: 268 seconds]
sameerynho has quit [Ping timeout: 248 seconds]
voldemar has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
plexigras has quit [Ping timeout: 268 seconds]
<RickHull> the reason against 2.4 is apparently rails 4.0 support
skweek has quit [Ping timeout: 255 seconds]
voldemar has quit [Ping timeout: 268 seconds]
pdcawley has quit [Quit: pdcawley]
guille-moe has joined #ruby
voldemar has joined #ruby
guille-moe has quit [Ping timeout: 255 seconds]
voldemar has quit [Ping timeout: 255 seconds]
n13z has quit [Remote host closed the connection]
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
n13z has joined #ruby
bmurt has joined #ruby
tomphp has joined #ruby
meadmoon has quit [Quit: I am functioning within established parameters.]
sameerynho has joined #ruby
voldemar has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
voldemar has quit [Ping timeout: 248 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pdcawley has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
voldemar has joined #ruby
chocoelho has joined #ruby
s778 has joined #ruby
GodFather has quit [Ping timeout: 250 seconds]
Flashynuff has joined #ruby
voldemar has quit [Ping timeout: 240 seconds]
miskatonic has joined #ruby
voldemar has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
yabbes has joined #ruby
mtkd has joined #ruby
bkxd_ has joined #ruby
voldemar has quit [Ping timeout: 260 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
bkxd__ has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
Xano__ has joined #ruby
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
bkxd_ has quit [Ping timeout: 248 seconds]
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
bobo6565 has joined #ruby
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
Puffball has quit [Ping timeout: 248 seconds]
bozozo has joined #ruby
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
<bozozo> hi
<havenwood> bozozo: hi
quobo has joined #ruby
<bobo6565> hey boz
shoogz has joined #ruby
shoogz has quit [Max SendQ exceeded]
voldemar has joined #ruby
shoogz has joined #ruby
cschneid has joined #ruby
voldemar has quit [Ping timeout: 260 seconds]
cschneid has quit [Ping timeout: 255 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
<bobo6565> JOIN
bobo6565 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<bozozo> does anyone know what the underline character does in ruby?
houhouli_ has quit [Remote host closed the connection]
tomphp has joined #ruby
elphe has joined #ruby
<bozozo> quit
<havenwood> bozozo: do you mean in the context of irb, pry or another REPL?
tomphp has quit [Client Quit]
<havenwood> bozozo: In REPLs it means last return value.
<bozozo> i meant in the ruby code itself
<bozozo> i heard it acts like a wildcard
<havenwood> bozozo: Hmm. Underscore often means private but I don't know of a context where it's a wildcard.
<bozozo> ok thanks. maybe I got bad info. That explains why I couldn't find it anywhere else
<havenwood> Prefixing with underscore generally means private or in Ruby it means an unused local variable.
<bozozo> thanks havenwood
elphe has quit [Ping timeout: 260 seconds]
<havenwood> bozozo: no prob!
sameerynho has quit [Ping timeout: 248 seconds]
<darix> RickHull: you want to update rails 4.0 anyway ... you know security ;) ... I doubt many people go through backporting fixes ;)
bozozo has left #ruby [#ruby]
reber has quit [Remote host closed the connection]
<RickHull> yeah, probably means 4.x and maybe updating the project for 5 isn't an option
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
synthroid has quit []
ortuna has joined #ruby
<darix> hmm
<darix> RickHull: I am kinda sure 4.2 works on 2.4
<darix> i think had my discourse package on 2.4 before they switched to rails 5
<RickHull> odinsbane left -- maybe he figured that out if so :)
<darix> sure
<darix> just trying to understand it
<darix> and i mean
<darix> we are even on topic!
raynold has joined #ruby
ortuna has left #ruby ["WeeChat 1.9.1"]
lisita has joined #ruby
<lisita> Anyone here interested in helping a beginner rubyist with a problem?
<apeiros> lisita: just ask
bkxd has joined #ruby
bkxd__ has quit [Ping timeout: 255 seconds]
<lisita> apeiros: I'm trying to make a very simple program that's basically a REPL. You type 'up' and it runs system 'adb shell input keyevent somenumber'. Here's a simplified snip of what I'm doing https://paste.fedoraproject.org/paste/rtUwyB7mhlZ76ZlaAQHaDA . I'm wondering if I could use a function to do the same thing or something else that's less lines of the same code.
wilbert_ has quit [Ping timeout: 255 seconds]
<TomyLobo2> lisita, why not make a bunch of shell aliases?
<TomyLobo2> instead of the ruby script, i mean
joelwallis has joined #ruby
<lisita> TomyLobo2: That does make more sense but I'm really really trying to use ruby in any silly way possible. :)
<RickHull> lisita: that form looks good to me
<joelwallis> Hi. I'm working on a new Jekyll theme, which are defined as a gem. However, I couldn't figure how the development workflow works. There's no enough documentation about it, and the Jekyll website just suggests that 'you can add dummy content to your template files' (WTF?)
<joelwallis> So, I'm looking into a way to declare a dependency as a local gem.
<joelwallis> Something like: gem: "jekyll-theme-mytheme", local: "../jekyll-theme-mytheme"
<joelwallis> Is it possible?
<joelwallis> I'm a experienced programmer, but completely new to the Ruby world
<RickHull> does this theme already exist as a gem?
<RickHull> and is this typical for jekyll themes?
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull> lisita: you would probably want to make each command a function, with definitions above the loop. could be anonymous functions, a module, or a class
s778 has quit [Quit: leaving]
muelleme has quit [Ping timeout: 260 seconds]
<RickHull> e.g. def up(*some_args_maybe); # do the thing; # handle failure; end
<joelwallis> RickHull: nope. I'm creating it from scratch (jekyll new-theme jekyll-theme-mytheme)
<RickHull> lisita: when calling system, call it with several args rather than a string with embedded whitespace. e.g. system(command, arg1, arg2 ...)
<joelwallis> it will be a pretty basic theme. I just can't figure how to visualize my code while working on it
<RickHull> and is it typical that jekyll themes are organized as gems?
yabbes has quit [Ping timeout: 248 seconds]
<Flashynuff> hi there! i'm having some trouble running a ruby script as a rake task (context: the ruby koans). I'm really not sure what's going wrong since it was working perfectly fine on this computer a few months ago when I last worked on it. Right now it just gives me 'Command failed with status 127'.
<Flashynuff> Here's the Rakefile I'm trying to run https://hastebin.com/iverecijud.rb and the output of rake --trace https://hastebin.com/raw/bacujijexo. I haven't been able to find any solutions online, any ideas? I've already tried uninstalling/reinstalling rake
<RickHull> lisita: check the return value of system to know if the command failed. you might just print a helpful message and exit
<RickHull> this looks pretty weird to me: C:\Ruby23\bin;C:\Ruby23\DevKit\dk.rb path_to_enlightenment.rb
<RickHull> Flashynuff: ^
joelwallis has quit []
<RickHull> ok, looks like yes, jekyll themes are organized as gems https://jekyllrb.com/docs/themes/
<RickHull> or maybe that's just optional
<RickHull> oh, joelwallis left
<RickHull> anyways, I would suggest not getting into gem authorship for your first theme
<RickHull> if that's possible
<RickHull> Flashynuff: I would guess something is messed up in your PATH or whatever alias to the ruby.exe
|ifei5g00d has joined #ruby
<RickHull> instead of calling ruby.exe as expected, rake.exe wants to call C:\Ruby23\bin;C:\Ruby23\DevKit\dk.rb
|ifei5good has quit [Read error: Message too long]
|ifei5g00d has quit [Read error: Connection reset by peer]
|ifei5good has joined #ruby
<lisita> RickHull: You're very helpful, thanks for your suggestions. :)
<RickHull> Flashynuff: instead of `ruby arg1, arg2, ...` you can call `sh 'ruby', arg1, arg2 ...`
stealth[] has quit [Quit: Leaving]
<RickHull> though I don't know if rake.exe likes that on windows, not sure
<Flashynuff> RickHull: oh man i think that was it
mfb2 has joined #ruby
<Flashynuff> i had an environment variable called RUBY to store C:\Ruby23\bin;C:\Ruby23\DevKit\dk.rb so i could put in my PATH... I just renamed it to RUBY_PATH and it started working
|ifei5g00d has joined #ruby
despai has joined #ruby
<Flashynuff> thanks
|ifei5good has quit [Ping timeout: 248 seconds]
safetypin has joined #ruby
kitsunenokenja has quit [Ping timeout: 250 seconds]
jtdoncas_ has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
mfb2 has quit [Ping timeout: 268 seconds]
c0ncealed has quit [Remote host closed the connection]
bkxd_ has joined #ruby
c0ncealed has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
<lisita> What are good resources to learn the oop concepts of ruby? I saw this https://launchschool.com/books/oo_ruby, but I need something a bit more complete.
bkxd has joined #ruby
gnufied has joined #ruby
Xano__ has quit [Ping timeout: 248 seconds]
Xano__ has joined #ruby
bkxd_ has quit [Ping timeout: 260 seconds]
despai has quit [Quit: ...]
despai has joined #ruby
Xano__ has quit [Ping timeout: 248 seconds]
kitsunenokenja has joined #ruby
ShalokShalom has joined #ruby
Asher has joined #ruby
joelwallis has joined #ruby
ResidentBiscuit has joined #ruby
voldemar has joined #ruby
ctrlaltdev has quit [Quit: leaving]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
joelwallis has quit []
voldemar has quit [Ping timeout: 255 seconds]
silvermine has quit [Quit: WeeChat 2.0-dev]
biberu has quit []
mtkd has quit [Ping timeout: 248 seconds]
goepsilongo has joined #ruby
mtkd has joined #ruby
lisita has quit [Ping timeout: 260 seconds]
voldemar has joined #ruby
elphe has joined #ruby
miskatonic has quit [Remote host closed the connection]
voldemar has quit [Ping timeout: 248 seconds]
mson has quit [Quit: Connection closed for inactivity]
gnufied has quit [Ping timeout: 255 seconds]
voldemar has joined #ruby
n13z has quit [Remote host closed the connection]
voldemar has quit [Ping timeout: 248 seconds]
bkxd has quit [Read error: Connection reset by peer]
kinbiko has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
DoubleMalt has quit [Ping timeout: 260 seconds]
kinbiko has joined #ruby
mostlybadfly has joined #ruby
yqt has quit [Ping timeout: 255 seconds]
voldemar has joined #ruby
Puffball has joined #ruby
kinbiko has quit [Ping timeout: 255 seconds]
kitsunenokenja has quit [Ping timeout: 260 seconds]
clemens3 has quit [Ping timeout: 248 seconds]
voldemar has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
sepp2k has joined #ruby
voldemar has joined #ruby