havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: 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 []
nOwz has joined #ruby
jrabe has joined #ruby
rikai has joined #ruby
aspiers has quit [Quit: ZNC - http://znc.sourceforge.net]
username_ has quit [Ping timeout: 246 seconds]
funkytwig has joined #ruby
rahult has joined #ruby
jackjackdripper has quit [Ping timeout: 260 seconds]
nick__ has quit [Quit: Leaving]
jackjackdripper has joined #ruby
<funkytwig> He. is there something wrong with the list server for ruby-talk mailing list. I signed up hours ago and have not had an email (I checked spam)
<konsolebox> funkytwig: it takes too long sometimes
rahult_ has quit [Ping timeout: 260 seconds]
raul782 has joined #ruby
NightMonkey has quit [Ping timeout: 255 seconds]
Mia has quit [Ping timeout: 246 seconds]
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
milardovich has quit [Remote host closed the connection]
NightMonkey has joined #ruby
jphase_ has joined #ruby
raul782 has quit [Ping timeout: 260 seconds]
weems|laptop has quit [Ping timeout: 260 seconds]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jphase has quit [Ping timeout: 246 seconds]
__Yiota has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz_ has quit [Ping timeout: 240 seconds]
jackjackdripper1 has joined #ruby
<funkytwig> I just signed up under a different email and it was immediate, was using a gmail account.
jackjackdripper has quit [Ping timeout: 260 seconds]
rahult has joined #ruby
thinkpad has joined #ruby
WeiJunLi has joined #ruby
funkytwig has quit [Read error: Connection reset by peer]
raul782 has joined #ruby
runescape07rsps has joined #ruby
sylario has quit [Quit: Connection closed for inactivity]
NightMonkey has quit [Ping timeout: 255 seconds]
NightMonkey has joined #ruby
weems|laptop has joined #ruby
<weems|laptop> konsolebox, gem install box worked as sudo
<weems|laptop> install pry**
boombox_ has joined #ruby
raul782 has quit [Remote host closed the connection]
VladGh has quit [Ping timeout: 255 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eightlimbed has joined #ruby
MarkBilk_ has joined #ruby
Rodya_ has joined #ruby
jackjackdripper has joined #ruby
boombox_ has quit [Remote host closed the connection]
MarkBilk has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
dcunit3d has joined #ruby
jackjackdripper1 has quit [Ping timeout: 248 seconds]
phinxy has joined #ruby
ocpysh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 240 seconds]
kn-928 has joined #ruby
kn-928 is now known as Guest14419
<weems|laptop> Having a error using irb: bash: /usr/local/bin/irb: /usr/local/bin/ruby: bad interpreter: No such file or directory
Guest14419 has quit [Client Quit]
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
dc1 has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<konsolebox> weems|laptop: after installing pry, run 'pry'
xnxq has joined #ruby
swills_ has joined #ruby
swills__ has joined #ruby
swills__ has quit [Remote host closed the connection]
dcunit3d has quit [Ping timeout: 248 seconds]
swills_ has quit [Remote host closed the connection]
xnxq has quit [Client Quit]
dc1 has quit [Ping timeout: 248 seconds]
runescape07rsps has quit [Quit: Leaving]
Moosashi has quit [Quit: Moosashi]
ocpysh has joined #ruby
kn-928_ has joined #ruby
cam27 has joined #ruby
gizmore|2 has joined #ruby
kn-928_ is now known as xnxq
xnxq is now known as kn-928
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kn-928 has quit [Client Quit]
kn-928 has joined #ruby
kn-928 has quit [Client Quit]
kn-928 has joined #ruby
kn-928 has quit [Client Quit]
gizmore has quit [Ping timeout: 240 seconds]
guardianx has joined #ruby
dc1 has joined #ruby
iomotoko has joined #ruby
kn-928 has joined #ruby
VladGh has joined #ruby
Oct2pus has quit [Quit: Konversation terminated!]
lexruee has quit [Quit: Leaving]
GodFather has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
phinxy has quit [Read error: Connection reset by peer]
kn-928 has quit [Ping timeout: 240 seconds]
dc1 has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
careta has quit [Ping timeout: 276 seconds]
znz_jp has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 246 seconds]
znz_jp has joined #ruby
chouhoulis has joined #ruby
__Yiota has joined #ruby
jphase_ has quit [Remote host closed the connection]
jphase has joined #ruby
lexruee has joined #ruby
raul782 has joined #ruby
jphase has quit [Ping timeout: 255 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ocpysh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
ocpysh has joined #ruby
raul782 has quit [Ping timeout: 258 seconds]
milardovich has joined #ruby
kculpis has quit [Quit: Leaving]
jackjackdripper1 has quit [Quit: Leaving.]
milardovich has quit [Ping timeout: 246 seconds]
ocpysh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
ocpysh has joined #ruby
hightower2 has joined #ruby
rahult has joined #ruby
rahult is now known as rahult_
rahult_ is now known as rahult
hightower3 has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
bambanx has joined #ruby
cdg has joined #ruby
t-recx has quit [Quit: t-recx]
guardianx has left #ruby [#ruby]
WeiJunLi has quit [Remote host closed the connection]
swills_ has joined #ruby
swills_ has quit [Remote host closed the connection]
swills has quit [Remote host closed the connection]
sneakerhax has joined #ruby
swills has joined #ruby
swills has quit [Changing host]
swills has joined #ruby
ResidentBiscuit has joined #ruby
weems|laptop has quit [Ping timeout: 248 seconds]
ocpysh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
apparition47 has joined #ruby
kn-928 has joined #ruby
ocpysh has joined #ruby
kn-928 has quit [Ping timeout: 248 seconds]
goyox86_ has joined #ruby
eightlimbed has quit [Ping timeout: 258 seconds]
runescape07rsps has joined #ruby
brent__ has joined #ruby
milardovich has joined #ruby
SuperLag has quit [Quit: reboot]
em_ has joined #ruby
tomdickharry has quit [Ping timeout: 255 seconds]
em_ is now known as tomdickharry
milardovich has quit [Ping timeout: 240 seconds]
sp4rrow has joined #ruby
brent__ has quit [Remote host closed the connection]
frozengeek_ has quit [Quit: frozengeek_]
brent__ has joined #ruby
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
rideh has quit [Remote host closed the connection]
uZiel has quit [Ping timeout: 248 seconds]
SuperLag has joined #ruby
jphase has joined #ruby
digitalnomad has joined #ruby
mim1k has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
zacts has quit [Quit: WeeChat 1.9]
rideh has joined #ruby
zacts has joined #ruby
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sp4rrow_ has joined #ruby
mim1k has quit [Ping timeout: 246 seconds]
sp4rrow has quit [Ping timeout: 258 seconds]
pabs has quit [Ping timeout: 246 seconds]
hightower2 has quit [Ping timeout: 246 seconds]
theunraveler has joined #ruby
nostalgiccloud has joined #ruby
theunraveler has quit [Client Quit]
ocpysh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
ResidentBiscuit has quit []
ocpysh has joined #ruby
Silthias1 has joined #ruby
jphase has quit [Ping timeout: 246 seconds]
Silthias has quit [Ping timeout: 246 seconds]
karthick has joined #ruby
milardovich has joined #ruby
pabs has joined #ruby
Stickwalker has joined #ruby
uZiel has joined #ruby
brw_ has joined #ruby
goyox86_ has quit [Quit: goyox86_]
brw has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
chouhoulis has quit [Remote host closed the connection]
kies has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
nofxxx has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 246 seconds]
gix has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 255 seconds]
uZiel has quit [Ping timeout: 248 seconds]
SegFaultAX has quit [Quit: ZNC - http://znc.in]
gix has joined #ruby
cout has quit [Remote host closed the connection]
sp4rrow_ has quit [Quit: The Internet needs a break and I need a cookie]
TvL2386_ has joined #ruby
QualityAddict has joined #ruby
cam27 has quit [Quit: cam27]
TvL2386 has quit [Ping timeout: 255 seconds]
chouhoulis has joined #ruby
ramfjord has joined #ruby
chouhoulis has quit [Remote host closed the connection]
cdg has quit [Remote host closed the connection]
uZiel has joined #ruby
weaksauce has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 255 seconds]
chouhoulis has joined #ruby
Inside has joined #ruby
ocpysh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
_whitelogger has joined #ruby
bambanx has quit [Read error: Connection reset by peer]
smulverine has joined #ruby
daivyk has quit [Ping timeout: 276 seconds]
kn-928 has joined #ruby
karthick has quit [Ping timeout: 246 seconds]
eightlimbed has joined #ruby
kn-928 has quit [Ping timeout: 240 seconds]
cam27 has joined #ruby
ShekharReddy has joined #ruby
runescape07rsps has quit [Quit: Leaving]
digitalnomad has joined #ruby
dymaxion has joined #ruby
kies has joined #ruby
kculpis has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
ramfjord has joined #ruby
ocpysh has joined #ruby
pb122 has joined #ruby
eightlimbed has quit [Ping timeout: 258 seconds]
Dimik has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
gusrub has quit []
BSaboia has joined #ruby
ramfjord has joined #ruby
raul782 has joined #ruby
weems|laptop has joined #ruby
postmodern has quit [Quit: Leaving]
ramfjord has quit [Ping timeout: 246 seconds]
raul782 has quit [Ping timeout: 240 seconds]
apparition47 has quit [Quit: Bye]
cjk101010 has joined #ruby
chouhoulis has quit [Remote host closed the connection]
patrontechnosoft has joined #ruby
cjk101010 has left #ruby ["Konversation terminated!"]
dymaxion has quit [Ping timeout: 240 seconds]
jinie_ has quit [Ping timeout: 246 seconds]
ocpysh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Bock has joined #ruby
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jinie_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
harfangk has joined #ruby
howdoi has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
<weems|laptop> konsolebox, done (runs successfully)
ramfjord has joined #ruby
djbkd has joined #ruby
dymaxion has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
dymaxion has quit [Disconnected by services]
dymaxion_ has joined #ruby
Moosashi has joined #ruby
Moosashi has quit [Client Quit]
Mia has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
sp4rrow has joined #ruby
QuerkyBren has joined #ruby
mercerist has joined #ruby
tastygradient has joined #ruby
tastygradient has quit [Client Quit]
jenrzzz has quit [Ping timeout: 240 seconds]
KeyJoo has joined #ruby
pb122-two has joined #ruby
pb122-two has quit [Client Quit]
csaunders_ has quit [Quit: later tater]
beilabs has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
beilabs has quit [Remote host closed the connection]
pb122 has quit [Ping timeout: 248 seconds]
dviola has quit [Quit: WeeChat 1.9]
radial has left #ruby [#ruby]
digitalnomad has joined #ruby
harfangk has quit [Remote host closed the connection]
oleo has joined #ruby
volix has quit [Ping timeout: 240 seconds]
dymaxion_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hanmac has quit [Ping timeout: 240 seconds]
dymaxion has joined #ruby
dymaxion is now known as Guest15390
shiranuidong has quit [Ping timeout: 246 seconds]
volix has joined #ruby
shiranuidong has joined #ruby
Guest15390 has quit [Client Quit]
QuerkyBren has quit [Ping timeout: 240 seconds]
shiranuidong has quit [Max SendQ exceeded]
shiranuidong has joined #ruby
beilabs has joined #ruby
beilabs_ has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
weems|laptop has quit [Ping timeout: 255 seconds]
csaunders has joined #ruby
alfiemax has joined #ruby
hanmac has joined #ruby
QuerkyBren has joined #ruby
kn-928 has joined #ruby
uZiel has joined #ruby
kn-928 has quit [Ping timeout: 276 seconds]
Guest31091 has joined #ruby
alex`` has joined #ruby
beilabs_ has quit [Remote host closed the connection]
tirej has joined #ruby
djbkd has quit []
npgm has quit [Quit: Connection closed for inactivity]
ShekharReddy has quit [Quit: Connection closed for inactivity]
conta has joined #ruby
Stickwalker has quit [Read error: Connection reset by peer]
smulverine1 has joined #ruby
smulverine has quit [Ping timeout: 246 seconds]
Guest31091 is now known as alex```
ramfjord has joined #ruby
cam27 has quit [Quit: cam27]
ramfjord has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
zapata has quit [Quit: WeeChat 1.9]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
QuerkyBren has quit [Ping timeout: 246 seconds]
sp4rrow has joined #ruby
sp4rrow has quit [Client Quit]
zapata has joined #ruby
sp4rrow has joined #ruby
sp4rrow has quit [Client Quit]
sp4rrow has joined #ruby
sp4rrow has quit [Client Quit]
sneakerhax has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
eroux has quit [Read error: Connection reset by peer]
QuerkyBren has joined #ruby
QuerkyBren has quit [Max SendQ exceeded]
QuerkyBren has joined #ruby
Guest69369 has joined #ruby
digitalnomad has quit [Quit: Textual IRC Client: www.textualapp.com]
milardovich has quit [Remote host closed the connection]
ramfjord has joined #ruby
charliesome has joined #ruby
Inside has quit [Read error: Connection reset by peer]
kahra has quit [Ping timeout: 248 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
moei has quit [Quit: Leaving...]
Silthias has joined #ruby
xuanrui has joined #ruby
Silthias1 has quit [Ping timeout: 246 seconds]
kahra has joined #ruby
QuerkyBren has quit [Remote host closed the connection]
mercerist has left #ruby ["Leaving..."]
marr has joined #ruby
apparition47 has joined #ruby
raul782 has joined #ruby
nofxx has joined #ruby
shwouchk has joined #ruby
raul782 has quit [Ping timeout: 240 seconds]
cadillac__ has joined #ruby
cadillac_ has quit [Ping timeout: 248 seconds]
cadillac__ is now known as cadillac_
mim1k has joined #ruby
mim1k has quit [Ping timeout: 246 seconds]
Mia has quit [Ping timeout: 246 seconds]
InfinityFye has joined #ruby
alfiemax has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
alfiemax has joined #ruby
tirej has quit [Changing host]
tirej has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dmtd has quit [Quit: Connection closed for inactivity]
MrLunaticFox has joined #ruby
auxbuss has joined #ruby
auxbuss has quit [Client Quit]
moei has joined #ruby
dymaxion has joined #ruby
dymaxion is now known as Guest29118
marr has quit [Ping timeout: 240 seconds]
Guest29118 has quit [Client Quit]
korvak has left #ruby ["Bye!"]
vuoto has joined #ruby
pandaant has joined #ruby
NeverTired has joined #ruby
dymaxion_ has joined #ruby
dymaxion_ has quit [Client Quit]
alex``` has quit [Quit: WeeChat 1.9]
alex`` has quit [Quit: WeeChat 1.9]
howdoi has quit [Quit: Connection closed for inactivity]
Dimik has quit [Ping timeout: 248 seconds]
alex` has joined #ruby
alex` is now known as Guest27960
funkytwig has joined #ruby
pandaant has quit [Quit: Lost terminal]
alfiemax has quit [Remote host closed the connection]
<funkytwig> Hi, where is the best place to get help from ruby community. I noticed the ruby-yalk list is very quiet with just a few messages a day.
apparition47 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
vuoto has quit [Remote host closed the connection]
Guest56fsfdsdsaf has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
hanmac has quit [Quit: Leaving.]
Guest56fsfdsdsaf has quit [Client Quit]
charliesome has joined #ruby
A124 has quit [Remote host closed the connection]
marr has joined #ruby
A124 has joined #ruby
brent__ has joined #ruby
smulverine1 has quit [Remote host closed the connection]
sourcx has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
apparition47 has joined #ruby
vuoto has joined #ruby
mim1k has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 255 seconds]
gr33n7007h has joined #ruby
ocpysh has joined #ruby
conta has quit [Quit: conta]
jphase has joined #ruby
sourcx has quit [Ping timeout: 246 seconds]
gr33n7007h has quit [Quit: WeeChat 1.9]
jphase has quit [Ping timeout: 240 seconds]
phatypus has joined #ruby
gr33n7007h has joined #ruby
milardovich has joined #ruby
sylario has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
opencw has quit [Ping timeout: 255 seconds]
ocpysh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
dymaxion has joined #ruby
dymaxion is now known as Guest35073
apparition47 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nowhere_man has joined #ruby
<konsolebox> funkytwig: here
TvL2386 has joined #ruby
TvL2386_ has quit [Ping timeout: 258 seconds]
apparition47 has joined #ruby
opencw has joined #ruby
jamesaxl has joined #ruby
phatypus has quit [Ping timeout: 276 seconds]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
work has joined #ruby
work has left #ruby [#ruby]
vuoto has quit [Client Quit]
vuoto has joined #ruby
conta has joined #ruby
phatypus has joined #ruby
conta has quit [Client Quit]
Guest35073 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhere_man has quit [Ping timeout: 240 seconds]
<funkytwig> konsolebox, OK, ime having a problem creating a class to access mysql. I wrone a simple text script and posted the code and error at https://pastebin.com/vVryQvi4
<ruby[bot]> funkytwig: 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
conta has joined #ruby
dymaxion_ has joined #ruby
VladGh has quit [Remote host closed the connection]
dymaxion_ has quit [Client Quit]
VladGh has joined #ruby
phatypus has quit [Quit: phatypus]
MagePsycho_ has joined #ruby
<MagePsycho_> Whats the best way to install Ruby on Ubuntu 16.04?
<konsolebox> MagePsycho_: try to ask #ubuntu
NeverTired has quit [Quit: Connection closed for inactivity]
sourcx has joined #ruby
<konsolebox> funkytwig: you have unusual characters in your code
kkiero has joined #ruby
klaas has joined #ruby
<funkytwig> konsolebox, just worked that out. How did you tell? was it the fact the error message did not give the method name
<konsolebox> funkytwig: i tried to remove the indents with shift-tab in Geany. some of them were not removed.
MagePsycho_ has quit [Quit: MagePsycho_]
<konsolebox> funkytwig: i probably would have seen it as well if i enabled showing white spaces, but i forgot to.
<funkytwig> konsolebox, anyway thanks, ime loving geting back to ruby
<funkytwig> konsolebox, I probably should remove the @dbase setter as it encorages mysql specific calles to the Database method?
vuoto has quit [Remote host closed the connection]
marr has quit [Ping timeout: 240 seconds]
<funkytwig> wondering what the best way of instantiating class variables, I tend to put var="" in the initialize method but if feels messy. example at https://gist.github.com/funkytwig/7b2ee3b05d66c39d6794f6d02c388f16
<funkytwig> konsolebox, thanks, ive been having real problem finding help
<konsolebox> funkytwig: i don't see a setter
<konsolebox> funkytwig: i also can't give much comments on programming theories. at least not yet with Ruby. try https://softwareengineering.stackexchange.com/.
<konsolebox> i mean i do have my own, but i find myself to have the authority to suggest anything yet.
dymaxion has joined #ruby
<funkytwig> konsolebox, I must of posted the version without the setter. anyway thanks again.
dymaxion is now known as Guest26409
<konsolebox> funkytwig: you might find the double-splat operator useful.
Guest26409 has quit [Client Quit]
<matthewd> If you're uncomfortable with the size of your initialize, I'd suggest that may be a clue you have too many instance variables
<konsolebox> funkytwig: just google the term or use duckduckgo
<konsolebox> funkytwig: i also forgot to tell you that there are shortcuts to creating getters and setters. those are attr_reader; attr_writer and attr_accessor
frozengeek_ has joined #ruby
MagePsycho_ has joined #ruby
<MagePsycho_> best way to install #ruby?
<funkytwig> MagePsycho_, which platform
<MagePsycho_> linux
<konsolebox> MagePsycho_: every distro has different ways in installing Ruby
<funkytwig> MagePsycho_, ditribution?
<MagePsycho_> I meanusing rbenv or rvm or standalone
<voker57> probably rvm
<MagePsycho_> rbenv vs rvm vs chruby vs
<konsolebox> I don't use rbenv or rvm unfortunately, as I don't need it in Gentoo.
<matthewd> ?ubuntu MagePsycho_
<ruby[bot]> MagePsycho_: Ubuntu installation guide for Ruby + Rails: http://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you/
<funkytwig> MagePsycho_, have you looked at https://www.ruby-lang.org/en/documentation/installation/
<voker57> you can install arbitrary number of rubies simultaneously in gentoo?
<konsolebox> yes
<matthewd> "Best" is in rather the eye of the beholder; different options have different advantages and disadvantages
<konsolebox> and it's beautiful how it's handled :)
mim1k has joined #ruby
<funkytwig> MagePsycho_, how nutch linux experience have you got?
<MagePsycho_> ubuntu 16.04
dymaxion_ has joined #ruby
mim1k has quit [Ping timeout: 246 seconds]
<konsolebox> (got dc'd)
c__ has quit [Remote host closed the connection]
<MagePsycho_> so installing ruby as root or non-root user is recommended?
<funkytwig> konsolebox, OK, did a little digging. So I use attr_accessor to effectively create a simple getter and setter, attr_reader for just a setter and attr_ancester to create both?
sepp2k has joined #ruby
<konsolebox> attr_writer for just a setter, attr_reader for just a getter
<funkytwig> konsolebox, but if I want to put code in the setter (whitch I sometimes to, to for example format data, I would do it the long way
tocky has joined #ruby
<konsolebox> funkytwig: yes
harfangk has joined #ruby
<konsolebox> funkytwig: `attr_reader :a` produces `def a; @a; end`, while `attr_writer :a` produces `def a=(value); @a = value; end`. attr_accessor produces both
<konsolebox> (or something like those)
tocky has left #ruby ["Textual IRC Client: www.textualapp.com"]
dymaxion_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ledestin has quit [Ping timeout: 260 seconds]
<funkytwig> konsolebox, so the attr_reader/writer are from the classes perspective, not the outside world, that makes sence
<konsolebox> MagePsycho_: how i see it: if you want to install a single version of Ruby, installing it using the distro's package installer might suffice. but if you need to install multiple versions or if you need to use a newer version that's not provided by the system installer, using another tool like rvm, rbenv, etc. would be needed. and if these tools install Ruby as non-root, Ruby would likely be installed in the home directory, and the PATH to the ruby
<konsolebox> binary would need to be included through .profile, or whatever startup script of the shell is appropriate.
<MagePsycho_> konsolebox: better to have multiple version i think
<MagePsycho_> I am going with rvm for now
milardovich has joined #ruby
Bhootrk_ has joined #ruby
Guest27960 is now known as alex``
<funkytwig> konsolebox, @attr_accessor :bar, :baz' so you use : not @?
<funkytwig> konsolebox, 'attr_accessor :bar, :baz' so you use : not @?
milardovich has quit [Ping timeout: 248 seconds]
<MagePsycho_> gem is already available when you install ruby?
<konsolebox> funkytwig: you pass symbols
<konsolebox> funkytwig: attr_reader, attr_writer, and attr_accessor are methods, not keywords
<konsolebox> >> class X; puts method(:attr_accessor).owner; end
<ruby[bot]> konsolebox: # => Module ...check link for more (https://eval.in/844717)
<konsolebox> MagePsycho_: `gem` is part of RubyGems
<konsolebox> but your installer might install it along with Ruby
<funkytwig> konsolebox, sorry, don't quite follow
<funkytwig> konsolebox, can I replace my @code setter with attr_writer :code
<konsolebox> funkytwig: they are methods therefore you call them as methods
<konsolebox> funkytwig: defining a class with `class X; def code=(value); @code = value; end; end` is the same as `class X; attr_writer :code; end
<funkytwig> KnownSyntax, so if I have a :code vriter I do obj.code( var ), not obj.code=var
<konsolebox> funkytwig: after defining a writer for @code, you can just call `obj.code = var`
<funkytwig> konsolebox, I think I am getting lost in the finer points, I think I get it.
<funkytwig> if I want to have a array as a instance var how best to do that. currently I am doing '@title_array=[]' in the initilize method
<konsolebox> class X; attr_reader :title_array; def initialize; @title_array = []; end; end
<konsolebox> with `attr_reader :title_array` only neceessary if you want to access the value of @title_array outside. and it can be attr_writer or attr_accessor instead.
t-recx has joined #ruby
jamesaxl has quit [Ping timeout: 248 seconds]
HTTP_____GK1wmSU has joined #ruby
hkdsun has quit [Quit: ZNC 1.6.5 - http://znc.in]
halt has joined #ruby
HTTP_____GK1wmSU has left #ruby [#ruby]
mbreit has left #ruby ["User left"]
<konsolebox> funkytwig: attr_reader, attr_writer and attr_accessor are only used to create the reader/writer (getter/setter) methods. they are not used to define initial values of instance variables. they are also run inside the context of the class (because they create instance methods), and not in the context of an instance, that's why you don't call them inside the initialize method. The initialize method is an instance method, and it runs in the context of an
<konsolebox> instance, not a class.
chouhoulis has joined #ruby
patrontechnosoft has quit [Remote host closed the connection]
<funkytwig> konsolebox, but you don't have to instansiate variables in ruby so they act (at least in a documentation context) to list variables.
<funkytwig> konsolebox, Personally, even though it is possible (I believe) to just start using a @var in any method and it effecticly get created I would rather have a way of listing instance varables at to begining
<konsolebox> funkytwig: an uninstantiated instance variable in ruby defaults to nil.
davic has quit [Quit: Connection closed for inactivity]
<konsolebox> funkytwig: it's possible to create a getter method that returns a default value like `def array; @array ||= []; end
bane_ has joined #ruby
<konsolebox> funkytwig: i hope you consider that concept to help your understanding
<funkytwig> konsolebox, that was how I was setting the arrays, in the initialize, so I guess I was doing it a proper way
goyox86_ has joined #ruby
<kitallis> if I have 2 subclasses, which need to call the same method, and so the method exists in the parent class, but the values required to compute it are only computed in the child class
goyox86_ has quit [Client Quit]
<konsolebox> funkytwig: getter/setter methods can be created regardless of whether an instance variable is instantiated or not. same goes to other methods. you can program to work with instance variables even though variables weren't initialized by initialize().
<kitallis> how do I cleanly handle that inheritance
goyox86_ has joined #ruby
<funkytwig> konsolebox, ime still doing @var = '' in the initialize as I like to show what varables are used in the medods, rather than just use them willy nilly.
<funkytwig> konsolebox, thinks it makes more maintainable code
<konsolebox> kitallis: so it's class group of A < B < C? or just A < B?
<kitallis> it's Sub < Parent | Sub2 < Parent
jphase has joined #ruby
nostalgiccloud has quit [Ping timeout: 240 seconds]
<kitallis> konsolebox, ^
<konsolebox> kitallis: if the parent or base class is meant to be an abstract class, you can simply create the methods in the derived classes and not call super. in the abstract method of the parent class, you can also make it throw an unimplemented exception if it's called.
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<konsolebox> *raise
<kitallis> konsolebox, which means, I can't share functionality between the two subclasses
<kitallis> they'll be the same methods
<kitallis> hrm
<konsolebox> kitallis: and you don't want to implement this functionality in the base class? you can create a module and have them (the two subclasses) include that module if you want.
bruno- has joined #ruby
<kitallis> ah
<kitallis> that's better
<konsolebox> so class Sub < Parent; include Common; end
<kitallis> right
<kitallis> thanks konsolebox
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
cout has joined #ruby
jamesaxl has joined #ruby
oleo has quit [Remote host closed the connection]
jphase has quit [Ping timeout: 258 seconds]
kkiero has quit [Quit: leaving]
m27frogy has quit [Ping timeout: 240 seconds]
BSaboia has quit [Quit: Leaving]
oleo has joined #ruby
m27frogy has joined #ruby
rahult has joined #ruby
ocpysh has joined #ruby
MagePsycho_ has quit [Quit: MagePsycho_]
conta has quit [Quit: conta]
conta has joined #ruby
oleo has quit [Quit: irc client terminated!]
troulouliou_div2 has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
goyox86_ has quit [Quit: goyox86_]
goyox86_ has joined #ruby
tomphp has joined #ruby
beilabs has joined #ruby
dymaxion has joined #ruby
dymaxion is now known as Guest12432
beilabs has quit [Remote host closed the connection]
tomphp has quit [Remote host closed the connection]
MagePsycho_ has joined #ruby
beilabs has joined #ruby
brent__ has joined #ruby
MagePsycho_ has quit [Client Quit]
bruno- has quit [Ping timeout: 246 seconds]
brent__ has quit [Ping timeout: 240 seconds]
__Yiota has joined #ruby
roboncloud has joined #ruby
<roboncloud> is there a global that provides the path to the current ruby binary?
bensarz has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
<Papierkorb> roboncloud: do you mean the ruby binary, or the script being run?
<roboncloud> ruby binary
<Papierkorb> What do you intend to do?
<roboncloud> use it with Kernel.spawn().
beilabs has quit [Remote host closed the connection]
davic has joined #ruby
<Papierkorb> From the Kernel.spawn docs: `pid = spawn(RbConfig.ruby, "-eputs'Hello, world!'")`
<roboncloud> g'damnit ruby: http://www.rubydoc.info/stdlib/rbconfig
mim1k has joined #ruby
<roboncloud> but yeah, it may work, RbConfig is usually for compile time options though.
<Papierkorb> my `pry` installation knows of RbConfig
<roboncloud> yea. sure. that's still no excuse for 0 docs tho.
phinxy has joined #ruby
oleo has joined #ruby
<roboncloud> it looks like a join of a path known at compile time with filenames known at compile time. i guess moving the ruby binary somewhere else after compile isn't a thing. so this will probably do, cheers!
ocpysh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<Papierkorb> roboncloud: There's always `/proc/self/exe` .. on Linux, no idea about UNIXes
mim1k has quit [Ping timeout: 240 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<roboncloud> for now i think RbConfig should be okay but yeah, to be more robust i should probably use that and whatever the equivalents are on OSX/Win.
tomphp has joined #ruby
tomphp has quit [Remote host closed the connection]
milardovich has joined #ruby
eightlimbed has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
beilabs has joined #ruby
Guest12432 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bensarz has quit [Quit: Textual IRC Client: www.textualapp.com]
eightlimbed has quit [Ping timeout: 258 seconds]
goyox86_ has quit [Quit: goyox86_]
digitalnomad has joined #ruby
<konsolebox> roboncloud: even a basic C-based process can't reliably tell what binary it has been called with, i believe.
dymaxion_ has joined #ruby
<roboncloud> `/proc/self/exe`is reliable afaik..
rahult has joined #ruby
<konsolebox> for Linux, yes
<konsolebox> or maybe, i haven't really tested that
funburn has joined #ruby
harfangk has quit [Ping timeout: 246 seconds]
<roboncloud> it's managed by the kernel, so i would think so.
gr33n7007h has quit [Ping timeout: 246 seconds]
dymaxion_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<konsolebox> roboncloud: what if the binary is hard-linked?
<roboncloud> what do you mean by 'hard-linked' ?
cam27 has joined #ruby
<konsolebox> ln binary binary.other_self
<konsolebox> nah i'm just being extreme
<roboncloud> i don't know. but honestly, it wouldn't matter for my use case.
<konsolebox> yes
<konsolebox> my point is, the Ruby devs wouldn't really formulate a general solution for identifying the "current ruby binary", because of such reasons
apparition47 has quit [Quit: Bye]
redondos has joined #ruby
<roboncloud> i don't think what you said hard or symlinks would matter. the only challenge would be being cross-platform, but there's already APIs only available on some platforms.
ltem has joined #ruby
jinie_ has quit [Ping timeout: 246 seconds]
bruno- has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
jinie_ has joined #ruby
<roboncloud> i think another reason it hasn't been implemented is that it's not commonly requested. and `RbConfig.ruby` is probably enough for most people.
<konsolebox> probably
eightlimbed has joined #ruby
skweek has joined #ruby
bruno- has joined #ruby
goyox86_ has joined #ruby
HarimaKenji has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
<roboncloud> very quiet here these days?
<roboncloud> i hope Ruby isn't gaining Perl status
bruno- has joined #ruby
<roboncloud> 799 users is pretty high tho i guess.
bruno- has quit [Read error: Connection reset by peer]
<konsolebox> a lot of those passionate people probably are using other languages. python has also gained more audience in the commercial areas.
<roboncloud> yeah. i've moved into the JS space a lot myself, but still use Ruby everyday too.
HarimaKenji has left #ruby [#ruby]
<konsolebox> there's also Rust, but i didn't like Rust since i can't stand how it interpreted a "Range". maybe i'll just endure it someday and use it once i see true benefit using it.
cdg has joined #ruby
<roboncloud> yea... not really into Rust.
<roboncloud> i still like C
bruno- has joined #ruby
Bhootrk_ has quit [Ping timeout: 240 seconds]
bruno- has quit [Read error: Connection reset by peer]
<baweaver> roboncloud: It's a Saturday morning
<baweaver> most people are likely either asleep or just getting up in the states
<roboncloud> 4pm where i am
jphase has joined #ruby
<baweaver> Somewhere around Germany?
<roboncloud> yea
<baweaver> jhass and apeiros are over there. I think dminuoso was too.
<baweaver> though they're not always active on weekends
<roboncloud> cool
mim1k has joined #ruby
bruno- has joined #ruby
<baweaver> and then you have people like me that tend to duck out on mention of C :D
<baweaver> I use Ruby, JS, and Go at work in that order
mim1k has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
thoraxe has quit [Ping timeout: 255 seconds]
<thinkpad> is ruby better than perl? i dont want people at work to think i'm a wanker because i use something inferior to perl
milardovich has quit [Remote host closed the connection]
<Nilium> How are you going to measure better?
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
aglorei1 has quit [Remote host closed the connection]
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
chouhoulis has quit [Remote host closed the connection]
aglorei1 has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<konsolebox> i used perl before, and I honestly think ruby is much easier to use. can't say about perl6.
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
<Nilium> If you're doing sysadmin stuff, perl's usually present on more systems by default. Python as well. Assuming you don't have too much red tape about what's available on systems, though, that's not too hard to remedy.
aglorei1 has quit [Remote host closed the connection]
aglorei1 has joined #ruby
scottschecter has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
Mia has quit [Ping timeout: 240 seconds]
scottschecter has joined #ruby
bruno- has joined #ruby
<tomdickharry> i've limited knowledge of programming but am starting to learn with metasploit for penetration testing....can somebody please describe what this code is doing? https://pastebin.com/8h9Kgcbx
<ruby[bot]> tomdickharry: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/a454a3bbe5225480837813b003f75c56
<ruby[bot]> tomdickharry: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<voker57> puts some formatted text into socket (?), prints stderr and stdout
mim1k has joined #ruby
<tomdickharry> is there a header i can view that tells me where all these functions it appears to be using are coming from?
<roboncloud> @tomdickharry hard to know because there's a lot of method calls there that aren't familiar unless you know metasploit(i guess? but "sock", "dist_cmd", "connect", "disconnect", "handler" and "read_output" aren't part of standard Ruby. at a guess it's spawning a shell over a socket, and reading the response.
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
<roboncloud> did you try the #metasploit channel?
bruno- has quit [Read error: Connection reset by peer]
<roboncloud> you may have better luck there.
bruno- has joined #ruby
<konsolebox> tomdickharry: download the metasploit source code and grep stuff out. study Msf::Exploit::Remote and Msf::Exploit::Remote::Tcp.
<tomdickharry> konsolebox is git clone the best way to do that?
<konsolebox> you can.. or you can simply download a snapshot.. or you can download a release
<tomdickharry> is there a way to search git archives with an index or do i have to get a link with the browser?
<konsolebox> git clone might take long, and the .git dir /could/ get in the way when grepping recursively
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<roboncloud> i recommend trying: `gem install pry pry-doc --no-ri --no-rdoc`, `pry -rmetasploit`, and then stuff like: 'show-source Msf::Exploit::Remote::Tcp`. it's a bit nicer than just ack/grep on src files sometimes.
jphase has quit [Ping timeout: 246 seconds]
<konsolebox> tomdickharry: never tried that, or not sure what you mean to do
govg has quit [Ping timeout: 240 seconds]
<roboncloud> if you're already using metasploit the code will be on your computer. try load it into Pry, then you can explore it from there, and find it on disk as well.
<konsolebox> tomdickharry: in github you can download snapshots. so if metasploit's source code is in github...
alfiemax has joined #ruby
govg has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
mim1k has quit [Ping timeout: 276 seconds]
<roboncloud> is there a method for expanding shell variables? besides `system("$PWD/foo")` ?
govg has quit [Ping timeout: 240 seconds]
<roboncloud> ah nvm
<matthewd> roboncloud: Do you want environment variables, or to expand a shell expression?
<roboncloud> ill make it an erb template
mim1k has joined #ruby
bruno- has joined #ruby
digitalnomad has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
<roboncloud> i have a `.env` file with the contents: `FOO=$PWD/bar`. then i assign ENV[key] = value where key is 'FOO' and value is '$PWD/bar'. i want to expand $PWD on assignment to ENV.
conta has quit [Ping timeout: 240 seconds]
<roboncloud> but, if it isn't easy, i can just have <%= Dir.getwd %>/bar instead.
<roboncloud> or env, <%= ENV['PWD'] %>/bar
<roboncloud> or even,*
KeyJoo has quit [Read error: Connection reset by peer]
<matthewd> Yeah, you'd have to write your own parser. A simple version is trivial, but then there are the edge cases.
<roboncloud> ah okay, no problem, erb will probably work out better
KeyJoo has joined #ruby
milardovich has joined #ruby
bruno- has joined #ruby
goyox86_ has quit [Quit: goyox86_]
goyox86_ has joined #ruby
milardovich has quit [Ping timeout: 255 seconds]
m27frogy has quit [Ping timeout: 240 seconds]
bruno- has quit [Read error: Connection reset by peer]
goyox86_ has quit [Client Quit]
bruno- has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
<ruby[bot]> roboncloud: we in #ruby do not like irccloud.com, I reposted your paste to gist for you: https://gist.github.com/b8ffa871e282d845f050c46ee2023058
<ruby[bot]> roboncloud: irccloud.com has no syntax highlighting, distracting formatting and loads slowly for most.
lexruee has quit [Remote host closed the connection]
lexruee has joined #ruby
darix has quit [Quit: may the packets be with you...]
<roboncloud> `.env` is: RUBYLIB=<%= File.join(Dir.getwd, "lib") %>
<roboncloud> seems to work
eightlimbed has quit [Ping timeout: 258 seconds]
mim1k has quit [Ping timeout: 240 seconds]
<roboncloud> works for forks of ruby, but had to add:
<roboncloud> for the parent process for some reason.
<roboncloud> $LOAD_PATH.push(value) if key == "RUBYLIB"
ocpysh has joined #ruby
darix has joined #ruby
ryzokuken has joined #ruby
MagePsycho_ has joined #ruby
alfiemax has quit [Remote host closed the connection]
DLSteve has joined #ruby
milardovich has joined #ruby
kies has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
aidalgol has quit [Ping timeout: 246 seconds]
joenas[m] has quit [Ping timeout: 246 seconds]
gokul_mr[m] has quit [Ping timeout: 240 seconds]
turt2live has quit [Ping timeout: 240 seconds]
dman[m] has quit [Ping timeout: 255 seconds]
jonjits[m] has quit [Ping timeout: 255 seconds]
Tagami[m] has quit [Ping timeout: 240 seconds]
Matt[m]1 has quit [Ping timeout: 255 seconds]
velu_aon[m] has quit [Ping timeout: 255 seconds]
aviraldg has quit [Ping timeout: 255 seconds]
heftig has quit [Ping timeout: 240 seconds]
M107262[m] has quit [Ping timeout: 246 seconds]
yana[m] has quit [Ping timeout: 255 seconds]
Murda has joined #ruby
KevinMGranger has quit [Ping timeout: 240 seconds]
torarne has quit [Ping timeout: 276 seconds]
Giphy[m] has quit [Ping timeout: 246 seconds]
aagdbl[m] has quit [Ping timeout: 255 seconds]
lasenna[m] has quit [Ping timeout: 255 seconds]
patr0clus has joined #ruby
patr0clus has quit [Max SendQ exceeded]
patr0clus has joined #ruby
patr0clus is now known as s3nd1v0g1us
goyox86_ has joined #ruby
ocpysh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
nadir has quit [Quit: Connection closed for inactivity]
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ajnulo has joined #ruby
digitalnomad has joined #ruby
Rr4sT has joined #ruby
goyox86_ has quit [Ping timeout: 246 seconds]
weems|laptop has joined #ruby
boombox_ has joined #ruby
boombox_ has quit [Ping timeout: 258 seconds]
kies has joined #ruby
drptbl has joined #ruby
drptbl has quit [Client Quit]
sourcx has quit [Ping timeout: 240 seconds]
boombox_ has joined #ruby
cdg has quit [Remote host closed the connection]
MrLunaticFox has quit [Ping timeout: 246 seconds]
boombox_ has quit [Remote host closed the connection]
Murda has quit [Quit: Murda]
bruno- has joined #ruby
dlitvak has quit [Quit: Connection closed for inactivity]
jackjackdripper has joined #ruby
jackjackdripper1 has joined #ruby
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has joined #ruby
funburn has quit [Ping timeout: 240 seconds]
kkiero has joined #ruby
jackjackdripper has quit [Ping timeout: 246 seconds]
MrLunaticFox has joined #ruby
weems|laptop has quit [Ping timeout: 240 seconds]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
Tagami[m] has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
dviola has joined #ruby
mathys has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
nostalgiccloud has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
IceDragon has quit [Ping timeout: 258 seconds]
universa1 has quit [Ping timeout: 246 seconds]
IceDragon has joined #ruby
universa1 has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
IceDragon is now known as Guest37338
pygospa has quit [Ping timeout: 258 seconds]
uZiel has quit [Ping timeout: 248 seconds]
pygospa has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
<MagePsycho_> I installed the ruby using rvm - https://paste.ubuntu.com/25299065/
<MagePsycho_> If i close the terminal/shell and re-open it, ruby command doesn’t work any more
<konsolebox> MagePsycho_: Try source-ing ~/.rvm/scripts/rvm again
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
<konsolebox> if it works, you should make it permanent that it is 'source'd everytime you launch a shell. you can add it in .profile as a start. tell me if it doesn't work.
joenas[m] has joined #ruby
aviraldg has joined #ruby
aidalgol has joined #ruby
M107262[m] has joined #ruby
jonjits[m] has joined #ruby
dman[m] has joined #ruby
KevinMGranger has joined #ruby
gokul_mr[m] has joined #ruby
heftig has joined #ruby
yana[m] has joined #ruby
lasenna[m] has joined #ruby
Giphy[m] has joined #ruby
torarne has joined #ruby
turt2live has joined #ruby
Matt[m]1 has joined #ruby
velu_aon[m] has joined #ruby
aagdbl[m] has joined #ruby
ryzokuken has quit [Remote host closed the connection]
ryzokuken has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
<MagePsycho_> konsolebox: so in .profile if i add source ~/.rvm/scripts/rvm
<MagePsycho_> it should everytime when i reload the shell
InfinityFye has quit [Quit: Leaving]
<konsolebox> MagePsycho_: it should work everytime you do a login
<konsolebox> or a shell is executed with -l
funburn has joined #ruby
ryzokuken has quit [Read error: Connection reset by peer]
funburn has quit [Read error: Connection reset by peer]
ryzokuken__ has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
t-recx has quit [Read error: Connection reset by peer]
t-recx has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
nostalgiccloud has quit [Ping timeout: 276 seconds]
<MagePsycho_> [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
uZiel has joined #ruby
funburn has joined #ruby
ryzokuken__ has quit [Remote host closed the connection]
ryzokuken__ has joined #ruby
funburn has quit [Read error: Connection reset by peer]
Rodya_ has joined #ruby
ryzokuken__ has quit [Client Quit]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
nostalgiccloud has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
beilabs has quit [Remote host closed the connection]
dennisvennink has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
funburn has joined #ruby
milardovich has quit []
conta has quit [Ping timeout: 255 seconds]
funburn has quit [Read error: Connection reset by peer]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
kkiero has quit [Quit: leaving]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
rahult has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
elcontrastador has quit [Ping timeout: 276 seconds]
rahult has quit [Client Quit]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
conta has joined #ruby
skweek has quit [Remote host closed the connection]
nostalgiccloud has quit [Ping timeout: 240 seconds]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
funburn has joined #ruby
digitalnomad has joined #ruby
funburn has quit [Read error: Connection reset by peer]
kkiero has joined #ruby
ajnulo has quit [Read error: Connection reset by peer]
swills has quit [Remote host closed the connection]
funburn has joined #ruby
boombox_ has joined #ruby
funburn has quit [Read error: Connection reset by peer]
swills has joined #ruby
swills has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
boombox_ has quit [Remote host closed the connection]
Rr4sT has quit [Quit: Connection closed for inactivity]
SirCmpwn has joined #ruby
SirCmpwn has left #ruby ["WeeChat 1.9"]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
ocpysh has joined #ruby
cam27 has quit [Quit: cam27]
D33P-B00K has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
yqt has joined #ruby
bane_ has quit [Quit: Konversation terminated!]
D33P-B00K has left #ruby [#ruby]
swills has quit [Remote host closed the connection]
funburn has joined #ruby
cam27 has joined #ruby
funburn has quit [Read error: Connection reset by peer]
swills has joined #ruby
swills has joined #ruby
cam27 has quit [Client Quit]
jamesaxl has quit [Quit: WeeChat 1.8]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
funburn has joined #ruby
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
funburn has quit [Read error: Connection reset by peer]
funburn has joined #ruby
InfinityFye has joined #ruby
funburn has quit [Read error: Connection reset by peer]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
alfiemax has quit [Remote host closed the connection]
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
_sfiguser has quit [Quit: Leaving]
funburn has joined #ruby
gr33n7007h has joined #ruby
alfiemax has joined #ruby
funburn has quit [Read error: Connection reset by peer]
digitalnomad has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mon_Ouie has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
jackjackdripper1 has quit [Quit: Leaving.]
ShekharReddy has joined #ruby
funburn has joined #ruby
funburn has quit [Read error: Connection reset by peer]
jphase has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
rabajaj has joined #ruby
jphase has quit [Remote host closed the connection]
funburn has joined #ruby
jphase has joined #ruby
halt has quit [Quit: ZNC 1.6.5 - http://znc.in]
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
halt has joined #ruby
xt233 has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
funburn has quit [Ping timeout: 260 seconds]
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
jphase has quit [Ping timeout: 246 seconds]
alex`` has quit [Quit: WeeChat 1.9]
ricer2 has quit [Remote host closed the connection]
halt has quit [Quit: ZNC 1.6.5 - http://znc.in]
xt233 has left #ruby ["Leaving"]
cadillac__ has joined #ruby
halt has joined #ruby
cadillac_ has quit [Ping timeout: 246 seconds]
cadillac__ is now known as cadillac_
alfiemax has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
MagePsycho_ has quit [Quit: MagePsycho_]
kkiero has quit [Quit: leaving]
MagePsycho_ has joined #ruby
kahra has quit [Quit: WeeChat 1.9]
conta has quit [Ping timeout: 248 seconds]
beilabs has joined #ruby
MagePsycho_ has quit [Ping timeout: 240 seconds]
kies has quit [Ping timeout: 246 seconds]
FastJack has quit [Read error: Connection reset by peer]
FastJack has joined #ruby
beilabs has quit [Ping timeout: 240 seconds]
beilabs has joined #ruby
MrLunaticFox has quit [Read error: Connection reset by peer]
aclark has quit [Remote host closed the connection]
beilabs has quit [Ping timeout: 248 seconds]
aclark has joined #ruby
elcontrastador has joined #ruby
cdg has joined #ruby
yeticry_ has joined #ruby
kn-928 has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
kn-928 has quit [Client Quit]
kn-928 has joined #ruby
mathys has quit [Quit: Leaving]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
kn-928 has quit [Client Quit]
kn-928 has joined #ruby
konsolebox has quit [Ping timeout: 276 seconds]
MagePsycho_ has joined #ruby
elcontrastador has quit [Ping timeout: 260 seconds]
MagePsycho_ has quit [Ping timeout: 246 seconds]
dennisvennink has joined #ruby
konsolebox has joined #ruby
cdg has quit [Remote host closed the connection]
Rodya_ has joined #ruby
kn-928 has quit [Quit: WeeChat 1.9]
kn-928 has joined #ruby
opekktar has joined #ruby
DEEP-BOOK has joined #ruby
kn-928 has quit [Client Quit]
_DEEP-BOOK has joined #ruby
kn-928 has joined #ruby
_DEEP-BOOK has quit [K-Lined]
DEEP-BOOK has quit [K-Lined]
ltem has quit [Quit: Leaving]
kn-928 has quit [Quit: WeeChat 1.9]
kn-928 has joined #ruby
mim1k has joined #ruby
opekktar_ has joined #ruby
alfiemax has joined #ruby
kn-928 has quit [Client Quit]
kn-928 has joined #ruby
<roboncloud> was this alway a thing?
<roboncloud> => "Foo baz bar foo"
<roboncloud> > "foo BAZ bar fOo".capitalize
<roboncloud> "#{str[0].capitalize}#{str[1..-1]}" ... no better way?
mim1k has quit [Ping timeout: 246 seconds]
alex` has joined #ruby
alex` is now known as Guest41613
alfiemax has quit [Ping timeout: 240 seconds]
<roboncloud> i don't know why some ruby programmers scoff at JS so much sometimes. some ruby APIs are pretty cumbersome and annoying.
MagePsycho_ has joined #ruby
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kn-928 has quit [Quit: WeeChat 1.9]
kn-928 has joined #ruby
Morrolan has quit [Quit: Goodbye]
Morrolan has joined #ruby
kn-928 has quit [Client Quit]
kn-928 has joined #ruby
<Papierkorb> roboncloud: 1) Because JS API *is* crap 2) What's wrong?
<Papierkorb> But I'm not fond of webdev in general, so there you go
<roboncloud> when is the last time you used JS, really?
marr has joined #ruby
<Papierkorb> Few months ago, pure JS ES6
__Yiota has joined #ruby
<Papierkorb> Because document.querySelectorAll() is fine on its own.
<roboncloud> dunno then. i don't think any of its APIs are crap.
<roboncloud> none that stick out anyway
<apeiros> *coughs*
<Papierkorb> Except for the mess of iterating over it. `[].forEach.call(document.querySelectorAll("..."), x => { .. });` the fuck is that
<Mon_Ouie> str[0] = str[0].capitalize if you allow mutating the string (or make a copy first)
<apeiros> it's marginally better than php
<Mon_Ouie> or str[0].upcase even
<matti> ;]
<roboncloud> Papiperkorb that's totally unnecessary. Array.from().
<Mon_Ouie> Hey matti :) It's been a while hasn't it?
<Papierkorb> roboncloud: It should have, as enumerable type, a forEach right away.
<Papierkorb> roboncloud: including all the other known operations
<apeiros> ES6/7 made a couple of things better. no true integers is still pretty crap, though.
<apeiros> and the Date API is an outright nightmare in JS
<apeiros> I mean ffs it doesn't even have something like strftime or strptime.
<Papierkorb> apeiros: Everything called `Java*` has awful out-of-the-box date/time functionality
<apeiros> Papierkorb: in java it's not that bad. loading libraries comes at little cost.
nadir has joined #ruby
opekktar_ has quit []
<apeiros> thanks to broadband this problem is less bad now. but it's still annoying having to load a couple dozen KB libs for basic stuf.
<apeiros> *stuff
sp4rrow has joined #ruby
DEEP-BOOK-1WM_SU has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<roboncloud> yeah, sure, in the browser context that's true, but that's not the only context where JS lives. i don't know for sure but i'd be shocked if Node didn't have a decent implementation of Date&Time functions. JS also lives in web extensions API(Chrome, Firefox) and many other contexts(node-webkit, that thing atom uses i cant remember name of....). I haven't seen anything glaringly bad in JS that i haven't seen equally
<roboncloud> as bad in another way in Ruby. so *shrug*.
DEEP-BOOK-1WM_SU has quit [Excess Flood]
opekktar has quit [Quit: Leaving]
DEEP-BOOK has joined #ruby
<roboncloud> @Mon_Ouie, thanks. that's much prettier.
DEEP-BOOK has quit [K-Lined]
kn-928 has quit [Quit: WeeChat 1.9]
InfinityFye has quit [Ping timeout: 255 seconds]
kn-928 has joined #ruby
ftwig has joined #ruby
<roboncloud> btw Papierkorb, probably when you tried that you were using an outdated browser or something because a NodeList implements forEach: https://developer.mozilla.org/en-US/docs/Web/API/NodeList
<Papierkorb> Must be new, didn't work last year
<roboncloud> yea, i believe it's recent for all browsers to come on board with forEach. i remember it being missing as well.
funkytwig has quit [Ping timeout: 276 seconds]
ecuanaso has joined #ruby
jnollette has quit [Quit: All your IRC are belong to ZNC]
jnollette has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
Rodya_ has quit [Remote host closed the connection]
MagePsycho_ has quit [Ping timeout: 240 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
swills has quit [Remote host closed the connection]
high_fiver has joined #ruby
swills has joined #ruby
swills has joined #ruby
swills_ has joined #ruby
swills_ has quit [Remote host closed the connection]
swills has quit [Remote host closed the connection]
konsolebox has quit [Quit: .]
swills has joined #ruby
swills has quit [Changing host]
swills has joined #ruby
kn-928 has quit [Quit: WeeChat 1.9]
kn-928 has joined #ruby
kn-928 has quit [Client Quit]
kn-928 has joined #ruby
charliesome has joined #ruby
shwouchk has quit [Quit: Connection closed for inactivity]
phinxy has quit [Quit: Leaving]
kn-928 has quit [Client Quit]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
phinxy has joined #ruby
Mon_Ouie has quit [Ping timeout: 248 seconds]
beilabs has joined #ruby
beilabs has quit [Ping timeout: 240 seconds]
high_fiver has quit [Ping timeout: 255 seconds]
ecuanaso has joined #ruby
Mon_Ouie has joined #ruby
jphase has joined #ruby
jphase has quit [Ping timeout: 246 seconds]
quobo has joined #ruby
Rodya_ has joined #ruby
gokul_mr[m] has quit [Ping timeout: 240 seconds]
Matt[m]1 has quit [Ping timeout: 246 seconds]
yana[m] has quit [Ping timeout: 240 seconds]
Tagami[m] has quit [Ping timeout: 240 seconds]
Giphy[m] has quit [Ping timeout: 246 seconds]
heftig has quit [Ping timeout: 246 seconds]
turt2live has quit [Ping timeout: 246 seconds]
M107262[m] has quit [Ping timeout: 240 seconds]
aviraldg has quit [Ping timeout: 240 seconds]
joenas[m] has quit [Ping timeout: 264 seconds]
velu_aon[m] has quit [Ping timeout: 276 seconds]
aagdbl[m] has quit [Ping timeout: 240 seconds]
torarne has quit [Ping timeout: 246 seconds]
lasenna[m] has quit [Ping timeout: 246 seconds]
dman[m] has quit [Ping timeout: 255 seconds]
aidalgol has quit [Ping timeout: 264 seconds]
KevinMGranger has quit [Ping timeout: 255 seconds]
jonjits[m] has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bokayio has quit [Ping timeout: 240 seconds]
bokayio has joined #ruby
runescape07rsps has joined #ruby
MagePsycho_ has joined #ruby
s1kx has quit [Quit: s1kx]
dc1 has joined #ruby
ocpysh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dc1 has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
herbmillerjr has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
mim1k has quit [Ping timeout: 246 seconds]
weems|laptop has joined #ruby
alfiemax has joined #ruby
dc1 has joined #ruby
tirej has quit [Quit: leaving]
MagePsycho_ has quit [Ping timeout: 255 seconds]
dstrunk has joined #ruby
milardovich has joined #ruby
alfiemax has quit [Ping timeout: 258 seconds]
dc1 has quit [Ping timeout: 258 seconds]
TomyLobo has quit [Ping timeout: 255 seconds]
sp4rrow has joined #ruby
sp4rrow has quit [Client Quit]
ocpysh has joined #ruby
milardovich has quit []
ecuanaso has joined #ruby
scottschecter has left #ruby [#ruby]
dc1 has joined #ruby
sp4rrow has joined #ruby
MagePsycho_ has joined #ruby
K3rber0s has joined #ruby
opekktar has joined #ruby
nostalgiccloud has joined #ruby
K3rber0s has left #ruby [#ruby]
K3rber0s has joined #ruby
eventpuddle has joined #ruby
ftwig has quit [Ping timeout: 240 seconds]
TomyLobo has joined #ruby
Tagami[m] has joined #ruby
gizmore|2 is now known as gizmore
dc1 has quit [Ping timeout: 258 seconds]
TomyLobo has quit [Ping timeout: 255 seconds]