havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
nyandoge has joined #ruby
ChiefAlexander has joined #ruby
JJM has joined #ruby
ChiefAlexander has quit [Client Quit]
maranza has quit [Ping timeout: 250 seconds]
unsymbol_ has quit [Ping timeout: 276 seconds]
Chagel has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
JJM has quit [Read error: Connection reset by peer]
zeroDivisible has joined #ruby
unsymbol has joined #ruby
astrobun_ has joined #ruby
Chagel has quit [Ping timeout: 244 seconds]
rehat has quit []
duckpuppy has joined #ruby
jackjackdripper has joined #ruby
halfamind has joined #ruby
Denis has joined #ruby
Denis is now known as Guest69485
unsymbol has quit [Ping timeout: 276 seconds]
spacemud has quit [Ping timeout: 248 seconds]
duckpuppy has quit [Ping timeout: 250 seconds]
Devalo has joined #ruby
spacemud has joined #ruby
unsymbol has joined #ruby
s00pcan has quit [Ping timeout: 246 seconds]
_blizzy_ has joined #ruby
Guest69485 has quit [Read error: Connection reset by peer]
rehat has joined #ruby
josephan has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
weemsledeux has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
s00pcan has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
moeabdol has joined #ruby
yfeldblum has joined #ruby
halfamind has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 244 seconds]
halfamind has joined #ruby
spider-mario has quit [Remote host closed the connection]
<shevy> we have finally overcome the first april
moeabdol has quit [Ping timeout: 260 seconds]
p0p0pr37 has joined #ruby
xlegoman has joined #ruby
Es0teric has joined #ruby
trinaldi has quit [Quit: WeeChat 1.5-dev]
nodejunkie has joined #ruby
stardiviner has joined #ruby
pardusf has quit [Ping timeout: 248 seconds]
parduse has joined #ruby
halfamind has quit [Quit: Leaving.]
s00pcan has quit [Ping timeout: 276 seconds]
spacemud has quit [Ping timeout: 244 seconds]
s00pcan has joined #ruby
spacemud has joined #ruby
astrobun_ has quit [Remote host closed the connection]
GodFather has quit [Ping timeout: 276 seconds]
rubie has joined #ruby
Azure|dc has joined #ruby
Azure has quit [Ping timeout: 252 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
GodFather has joined #ruby
htmldrum has quit [Ping timeout: 244 seconds]
Inside has quit [Ping timeout: 244 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
Inside has joined #ruby
Inside has quit [Changing host]
Inside has joined #ruby
aspiers_ has joined #ruby
bearbearbears has joined #ruby
<bearbearbears> Ruby had succeeded in being one of the most painful languages I've ever had to work with.
GodFather has quit [Ping timeout: 248 seconds]
<bearbearbears> You would think when installing a gem it would go for the newest compatible version of the gem. Nope! Go for a uncompatible one and fail.
<bearbearbears> Don't even offer to try a older version.
<bearbearbears> I spent the last five minutes to find the newest versions of gems that where compatible with 1.9.3
aspiers has quit [Ping timeout: 268 seconds]
<shevy> papa bear! you are back
htmldrum has joined #ruby
LoneHermit has joined #ruby
pawnbox has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.4]
<bearbearbears> shevy, ?
LoneHermit has quit [Ping timeout: 248 seconds]
pawnbox has quit [Ping timeout: 268 seconds]
GodFather has joined #ruby
<shevy> you are three the bears
<shevy> typically your use case may be covered via bundler
spacemud has quit [Ping timeout: 260 seconds]
spacemud has joined #ruby
ekinmur has joined #ruby
statelesscode has joined #ruby
IrishGringo has joined #ruby
Es0teric has joined #ruby
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
diegoaguilar has joined #ruby
cdg has joined #ruby
<bearbearbears> shevy, bunlder is shitting the bed
<bearbearbears> So I tried rvm. rvm built ruby 2.0.0-p634
<bearbearbears> it /set/ it as the default version (apparently)
<bearbearbears> and yet bundler shits the bed installing tins because it refues to acknowledge ruby.20
<bearbearbears> 2.0*
<bearbearbears> 10/10 on the suffering scale so far working with ruby.
sudoubuntu has joined #ruby
htmldrum has quit [Ping timeout: 276 seconds]
<bearbearbears> Now rvm shits the bed.
ericlee has quit [Ping timeout: 250 seconds]
jinie has quit [Ping timeout: 260 seconds]
htmldrum has joined #ruby
<bearbearbears> >Gem::InstallError: tins requires Ruby version >= 2.0.
iNs has quit [Ping timeout: 260 seconds]
bweston92 has quit [Ping timeout: 260 seconds]
jason^ has quit [Ping timeout: 260 seconds]
<bearbearbears> >ruby 2.0.0p384 (2014-01-12) [x86_64-linux-gnu]
<bearbearbears> 10/10
<bearbearbears> This is why Ruby will never be a mainstream popular language like Java / Go / Swift (etc) for anyone wanting to do high level development.
jason^ has joined #ruby
<shevy> bearbearbears you have to do things properly
<bearbearbears> shevy, ruby --version returns 2.0.0-p634
<shevy> yes that is the first problem
<bearbearbears> tins wants 2.0.0+
GodFather has quit [Remote host closed the connection]
<bearbearbears> shevy, I'm meeting the requirements and it still fails.
rehat has quit []
<shevy> the first problem is that you are not doing this: wget ftp://ftp.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.xz
<bearbearbears> shevy, I am / was working with RVM.
<bearbearbears> The packages Lubntu gives me are dated (1.9.3)
<shevy> >> RUBY_VERSION
jinie has joined #ruby
iNs has joined #ruby
<bearbearbears> Installing tins 1.9.0
<bearbearbears> Gem::InstallError: tins requires Ruby version >= 2.0.
<shevy> hmm the bot is gone
<shevy> yes use ruby 2.3.0
GodFather has joined #ruby
<bearbearbears> shevy, Getting ruby 2.0 was painful.
<shevy> no
<bearbearbears> yes.
eljimador has joined #ruby
swills has quit [Quit: Leaving]
<shevy> ftp://ftp.ruby-lang.org/pub/ruby/
<bearbearbears> getting RVM working was painful.
<shevy> yes don't use rvm
<bearbearbears> So do things the even more painful way?
<bearbearbears> update-alternatives doesn't see ruby 2.0
<shevy> there is nothing painful
<shevy> does debian not make it convenient for you to upgrade?
<bearbearbears> so I'm using a kludge and symlinked ruby and ruby1.9.3 to 2.0
<shevy> no that is just awful
<bearbearbears> Tell that to the Ruby developers who thought the idea of forcing the newest version of a package was logical
<shevy> oh but that is
<bearbearbears> It isn't
<shevy> you would otherwise require of them to have to use the least common denominator
<bearbearbears> with Java maven will let me specify the correct version off the bat so nothing breaks
<bearbearbears> Ruby chooses for me. Maven makes me specify.
<shevy> a version of?
<bearbearbears> The package / gem I need.
josephan has quit [Ping timeout: 250 seconds]
<bearbearbears> Gems jumped to the newest incompatible version.
<shevy> well you can specify the version too
<bearbearbears> I did.
<bearbearbears> bundle still wanted the latest one.
<shevy> the author of this gem seems to be lazy
<bearbearbears> BeEF requires 1.9.3+
<shevy> like at https://rubygems.org/gems/tins/versions/0.4.1 he has not specified a ruby version
<bearbearbears> there is no reason to need the newest version of tins
<shevy> did you specify a version?
<bearbearbears> At least gems aren't as bad as the NPM situation
<bearbearbears> shevy, yes.
<bearbearbears> I then tried bundle install again and it wanted to install the latest version
s00pcan has quit [Ping timeout: 248 seconds]
<shevy> well have a look at the http://bundler.io/ page
<shevy> they use a restriction such as:
<shevy> gem 'rack', '~>1.1'
bweston92 has joined #ruby
<bearbearbears> reading through Gemfile.lock
<bearbearbears> " term-ansicolor (1.3.2)
<bearbearbears> tins (~> 1.0)
<bearbearbears> "
<bearbearbears> I installed 1.6.0 successfully.
<shevy> hmmm
<shevy> huh
<bearbearbears> gem isn't as bad as aptitude though.
s00pcan has joined #ruby
<shevy> indeed he must have changed something
<bearbearbears> aptitude keeps trying to encourage me to do apt-get autoremove
<shevy> the "Required Ruby Version: >= 0"
<bearbearbears> I've had autoremove want to remove x11.
djbkd has quit [Quit: Leaving...]
rehat has joined #ruby
<bearbearbears> shevy,
<bearbearbears> sudo gem install tins '1.7.0'
<bearbearbears> Successfully installed tins-1.9.0
<bearbearbears> Parsing documentation for tins-1.9.0
<bearbearbears> Installing ri documentation for tins-1.9.0
<bearbearbears> ERROR: Could not find a valid gem '1.7.0' (>= 0) in any repository
<bearbearbears> LOGIC
<bearbearbears> I want 1.7, install 1.9 then bitch you can't find 1.7.
jackjackdripper has quit [Quit: Leaving.]
<bearbearbears> Installing tins 1.9.0
<bearbearbears> Gem::InstallError: tins requires Ruby version >= 2.0.
<bearbearbears> It just installed tins 1.9.0
<bearbearbears> now it wont install them.
<bearbearbears> what the living fuck.
<bearbearbears> I've watched crack addicts do better than gem is right now.
<bearbearbears> shevy, can I force gem to install and ignore errors?
<shevy> bearbearbears hmm yeah... let me think
djbkd has joined #ruby
<bearbearbears> shevy, I've commented out ansi and term-ansi-colors in gemfile
<bearbearbears> They're already installed.
unsymbol has quit [Ping timeout: 240 seconds]
User458764 has joined #ruby
<shevy> "gem install -f name" or coupled with version; or "gem install --ignore-dependencies". I actually often use the latter
<bearbearbears> it works.
<shevy> hmmm
<bearbearbears> shevy, what I did, not your suggestion but ty for helping
<shevy> 1.7.0 should not have failed
<bearbearbears> I have 1.9.0
<shevy> strange
<bearbearbears> FUCKING GEM
symm- has quit [Ping timeout: 244 seconds]
<bearbearbears> IT FUCKING SUCCEDDED>
<shevy> lol
<bearbearbears> WHAT THE DONALD TRUMP
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> he changed the requirement there too
<shevy> "Required Ruby Version: >= 2.0"
<shevy> from "unspecified" over to "version 0" over to version "2.0 or greater"
<shevy> perhaps he is learning how the ecosystem :P
sudoubuntu has joined #ruby
saneax is now known as saneax_AFK
sudoubuntu has quit [Client Quit]
<bearbearbears> ./beef -x
<bearbearbears> from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
<bearbearbears> from /home/bear/Desktop/beef/core/loader.rb:9:in `<top (required)>'
<bearbearbears> from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
<bearbearbears> from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'
<bearbearbears> from ./beef:24:in `<main>'
<bearbearbears> shevy, Look at that.
<bearbearbears> what now.
<shevy> this is the full output?
unsymbol has joined #ruby
<bearbearbears> yes
<shevy> I mean the error is not there
djbkd has quit [Ping timeout: 260 seconds]
<bearbearbears> Fuck it.
<shevy> the gem does not work
<bearbearbears> I'm going to switch Distros
<shevy> gem install beef
<shevy> ERROR: While executing gem ... (NoMethodError)
<shevy> undefined method `join' for ".":String
jackjackdripper has joined #ruby
<bearbearbears> Been holding out on trying Fedora because I like Debian / Derivatives
pawnbox has joined #ruby
<bearbearbears> The issue is I've had problems like this in the past
<bearbearbears> Finally time to use a more modern distro
<shevy> nah the gem is broken
<bearbearbears> shevy, eh
<bearbearbears> either way I need to use a much more modern distro
<bearbearbears> I might just re-install windows becuase I also like to game...
<bearbearbears> I mostly dev under Linux
<shevy> they are turning into linux anyway
<shevy> now you can use bash on windows
decoponyo has joined #ruby
<bearbearbears> yea nty.
<bearbearbears> All the spying with 10 is not worth it for a hacky port of bash
<bearbearbears> I could always do Debian SID
Rickmasta has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 250 seconds]
Rickmast_ has joined #ruby
noService has joined #ruby
baweaver has joined #ruby
decoponio has quit [Ping timeout: 276 seconds]
<Ox0dea> bearbearbears: ur should to use Red Star OS
<Ox0dea> is the only state-sponsored distro, use by every1 in Best Korea
<Ox0dea> "Given enough eyeballs, all bugs are shallow."
<Ox0dea> red star have 100% eyeballs
paultreny has joined #ruby
paultreny is now known as Guest87551
spacemud has quit [Ping timeout: 244 seconds]
bearbearbears has quit [Ping timeout: 244 seconds]
noService has quit [Ping timeout: 246 seconds]
duckpuppy has joined #ruby
spacemud has joined #ruby
* baweaver checks logs
<baweaver> Ox0dea: enough
Guest87551 has quit [Changing host]
Guest87551 has joined #ruby
Guest87551 has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 248 seconds]
uod has joined #ruby
moeabdol has joined #ruby
polysics_ has joined #ruby
uod has quit [Max SendQ exceeded]
GodFather has quit [Ping timeout: 276 seconds]
ericlee has joined #ruby
polysics has quit [Ping timeout: 248 seconds]
htmldrum has quit [Ping timeout: 246 seconds]
uod has joined #ruby
moeabdol has quit [Ping timeout: 252 seconds]
preyalone has quit [Quit: Connection closed for inactivity]
lagweezle has quit [Quit: leaving]
uod has quit [Max SendQ exceeded]
johnmilton has quit [Quit: Namaste]
uod has joined #ruby
Contigi has quit [Ping timeout: 248 seconds]
Don_John_ has joined #ruby
uod has quit [Max SendQ exceeded]
smathy is now known as smathy_afk
Don_John_ has quit [Remote host closed the connection]
arescorpio has joined #ruby
uod has joined #ruby
andywojo has quit [Ping timeout: 246 seconds]
Don_John has quit [Ping timeout: 260 seconds]
uod has quit [Max SendQ exceeded]
uod has joined #ruby
htmldrum has joined #ruby
Suntzu has quit [Read error: Connection reset by peer]
uod has quit [Max SendQ exceeded]
pawnbox has joined #ruby
rubie_ has joined #ruby
rubie has quit [Ping timeout: 252 seconds]
swills has joined #ruby
RegulationD has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 244 seconds]
spacemud has quit [Ping timeout: 264 seconds]
tristanp has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
spacemud has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
uod has joined #ruby
htmldrum has quit [Ping timeout: 248 seconds]
uod has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 268 seconds]
uod has joined #ruby
IrishGringo has quit [Ping timeout: 246 seconds]
uod has quit [Max SendQ exceeded]
tristanp has quit [Remote host closed the connection]
Madplatypus has joined #ruby
rubie_ has quit [Remote host closed the connection]
madgen has quit [Ping timeout: 248 seconds]
Suntzu has joined #ruby
bearbearbears has joined #ruby
PlasmaStar has quit [Ping timeout: 250 seconds]
PlasmaStar has joined #ruby
pawnbox has joined #ruby
Inside has quit [Ping timeout: 264 seconds]
jackjackdripper has quit [Quit: Leaving.]
braincrash has quit [Quit: bye bye]
pawnbox has quit [Ping timeout: 276 seconds]
fedexo has joined #ruby
vale_tudo has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
torandu has quit [Quit: leaving]
tristanp has joined #ruby
amincd has joined #ruby
davedev24 has quit []
<amincd> Hi, I'm creating a Time object settings its local time to "+00:00", like so:
<amincd> >> t = Time.new.localtime("+00:00")
<amincd> but t.utc? returns false
nhhc has joined #ruby
braincrash has joined #ruby
<amincd> shouldn't "+00:00" be UTC?
halfamind has joined #ruby
<amincd> I know I can make the time zone UTC simply with t.utc
kam270 has quit [Ping timeout: 244 seconds]
unsymbol has quit [Ping timeout: 244 seconds]
scepticulous has joined #ruby
<toretore> localtime creates a time in local time
unsymbol has joined #ruby
<toretore> er wait
<amincd> >>p Time.new.localtime("+00:00").to_s
Ropeney has joined #ruby
torandu has joined #ruby
<toretore> seems like it doesn't think +00:00 is the same as utc
<amincd> what happened to rubybot?
<toretore> it might not be
<toretore> >> 'hello'
<toretore> gone
<havenwood> #=> "hello"
makenoise has joined #ruby
solocshaw has quit [Ping timeout: 248 seconds]
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gix has quit [Ping timeout: 244 seconds]
p0wn3d has quit [Ping timeout: 252 seconds]
stardiviner has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
rkazak has joined #ruby
gix has joined #ruby
spacemud has quit [Ping timeout: 250 seconds]
greengriminal has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 240 seconds]
spacemud has joined #ruby
<amincd> ok I figured it out: time zones are different than UTC offsets
swills has quit [Quit: Leaving]
jt__ has joined #ruby
tristanp has quit [Remote host closed the connection]
sarbs has quit [Ping timeout: 276 seconds]
mdih has joined #ruby
mdih has quit [Remote host closed the connection]
fedexo has quit [Ping timeout: 268 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stardiviner has joined #ruby
freerobby has quit [Quit: Leaving.]
sarbs has joined #ruby
p0wn3d has joined #ruby
<toretore> though the argument is called utc_offset
swills has joined #ruby
p0wn3d has quit [Client Quit]
Tempesta has quit [Quit: AdiIRC is updating to v2.3 Beta Build (2016/04/02) 32 Bit]
David_H__ has joined #ruby
amincd has quit [Quit: Page closed]
makenoise has quit []
makenoise has joined #ruby
postmodern has quit [Quit: Leaving]
Tempesta has joined #ruby
David_H_Smith has quit [Ping timeout: 246 seconds]
jt__ has quit [Remote host closed the connection]
cpup has quit [Ping timeout: 244 seconds]
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
Tempesta has quit [Client Quit]
cpup has joined #ruby
scepticu1ous has joined #ruby
sudoubuntu has joined #ruby
Tempesta has joined #ruby
nanoz has joined #ruby
scepticulous has quit [Ping timeout: 248 seconds]
Chagel has joined #ruby
blackmesa has joined #ruby
bearbearbears is now known as ILikeTheANIMALBe
ILikeTheANIMALBe is now known as Bears
Bears is now known as BearLover
Chagel has quit [Ping timeout: 276 seconds]
quazimodo has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
andywojo has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
CloCkWeRX has joined #ruby
duckpuppy has joined #ruby
pawnbox has quit [Remote host closed the connection]
scepticu1ous has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
scepticulous has joined #ruby
cki has joined #ruby
duckpuppy has quit [Ping timeout: 264 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
aspiers_ has quit [Ping timeout: 264 seconds]
Devalo has joined #ruby
andywojo has quit [Ping timeout: 248 seconds]
makenoise has quit []
skweek has quit [Ping timeout: 248 seconds]
makenoise has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
krz has joined #ruby
darkxploit has quit [Quit: Leaving]
aspiers_ has joined #ruby
cdg has quit [Remote host closed the connection]
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
IrishGringo has joined #ruby
nanoz] has joined #ruby
dc4 has joined #ruby
gh has joined #ruby
nanoz has quit [Ping timeout: 244 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Maxed has joined #ruby
Maxed has left #ruby [#ruby]
the_drow has joined #ruby
kfpratt has joined #ruby
htmldrum has joined #ruby
matp has quit [Ping timeout: 252 seconds]
LoneHermit has joined #ruby
duncannz has joined #ruby
LoneHermit has quit [Ping timeout: 244 seconds]
Asher has joined #ruby
aeterne has quit [Read error: Connection reset by peer]
scepticulous has quit [Ping timeout: 248 seconds]
cki has quit [Quit: Leaving...]
aqoom has joined #ruby
Suntzu has quit [Read error: Connection reset by peer]
moeabdol has joined #ruby
goglosh has joined #ruby
<goglosh> just installed metasploit and learned it's written in ruby
<goglosh> ruby keeps surprising me
hxegon has joined #ruby
djbkd has joined #ruby
moeabdol has quit [Quit: WeeChat 1.4]
djbkd has quit [Ping timeout: 260 seconds]
hk238 has joined #ruby
djbkd has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
blackmesa has joined #ruby
<ericlee> Hi. how to use File.lstat to get the actual dest file name if give a link name?
kfpratt has quit [Ping timeout: 248 seconds]
Channel6 has quit [Remote host closed the connection]
<ericlee> should use File.realpath
the_drow has joined #ruby
yfeldblum has joined #ruby
shmuli has joined #ruby
makenoise has quit [Remote host closed the connection]
arescorpio has quit [Remote host closed the connection]
matp has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
Asher has quit [Quit: Leaving.]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
goglosh has quit [Quit: good night people]
preyalone has joined #ruby
Kharma has joined #ruby
dc4 has quit [Ping timeout: 250 seconds]
zast has quit [Remote host closed the connection]
Suntzu has joined #ruby
statelesscode has quit [Quit: statelesscode]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
diegoaguilar has quit [Remote host closed the connection]
User458764 has joined #ruby
dh64 has joined #ruby
skydiver has joined #ruby
<ericlee> Hi, if I would like to get dir entries from /proc/<pid>, does ruby support regex to match the dirname like \d+ ?
halfamind has quit [Read error: Connection reset by peer]
Dios has joined #ruby
halfamind has joined #ruby
halfamind1 has joined #ruby
halfamind has quit [Read error: Connection reset by peer]
<Ox0dea> ericlee: 'Fraid not. You'll have to say something like `Dir['/proc/*'].grep(/\d+$/)`.
<ericlee> Ox0dea, gotcha, thanks
<Ox0dea> Sure thing.
karioleez has joined #ruby
<ericlee> but Dir['/proc/*'].grep(/\d+$/) will just get the first level of \d+ matches, correct?
AndChat643025 has joined #ruby
<Ox0dea> ericlee: Scratch that. Dir['/proc/[0-9]*'] seems to do the right thing.
AndChat643025 is now known as akem
<ericlee> Ox0dea, so seems the same, which supports glob
<Ox0dea> ericlee: It's slightly different from globs at the shell, but I forget the specifics.
makufiru has joined #ruby
<llua> the * will match non numeric characters too
Tempesta has quit [Quit: AdiIRC is updating to v2.3 Beta Build (2016/04/03) 32 Bit]
pawnbox has quit [Remote host closed the connection]
<ericlee> * means 0 or more chars
halfamind1 has quit [Quit: Leaving.]
pawnbox has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Tempesta has joined #ruby
shmuli has quit [Remote host closed the connection]
Ox0dea has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
htmldrum has quit [Ping timeout: 260 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
GitGud has joined #ruby
GitGud has quit [Remote host closed the connection]
GitGud has joined #ruby
Suntzu has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
djbkd has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby
brent_ has quit [Quit: Connection closed for inactivity]
bkxd has joined #ruby
s00pcan has quit [Remote host closed the connection]
shmuli has joined #ruby
TomyLobo has quit [Ping timeout: 244 seconds]
rippa has joined #ruby
dionysus69 has joined #ruby
djbkd has joined #ruby
andywojo has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
lxsameer has joined #ruby
shmuli has quit [Remote host closed the connection]
kfpratt has joined #ruby
ecemm has joined #ruby
benlieb has quit [Quit: benlieb]
ecemm has quit [Excess Flood]
kfpratt has quit [Ping timeout: 250 seconds]
ecemm has joined #ruby
ecemm has quit [Max SendQ exceeded]
ecemm has joined #ruby
ecemm has quit [Max SendQ exceeded]
ecemm has joined #ruby
ecemm has quit [Max SendQ exceeded]
ecemm has joined #ruby
ecemm has quit [Max SendQ exceeded]
ecemm has joined #ruby
ecemm has quit [Max SendQ exceeded]
ecemm has joined #ruby
ecemm has quit [Max SendQ exceeded]
blackmesa has joined #ruby
Eiam_ has joined #ruby
duckpuppy has joined #ruby
x77686d has quit [Quit: x77686d]
htmldrum has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
Suntzu has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
spacemud has quit [Ping timeout: 240 seconds]
duckpuppy has quit [Ping timeout: 244 seconds]
spacemud has joined #ruby
hxegon has quit [Quit: BRB]
<ericlee> I'm writing a small script to do the same thing as fuser which to check if the file is opened by any process: http://fpaste.org/348874/45966473/. But seems the realpath method always return the current dir
<ericlee> can anyone have a look?
nchambers is now known as shellbot
<ericlee> sorry, the method I have issue is File.absolute_path
shellbot is now known as nchambers
BearLover has left #ruby ["Leaving"]
bkxd has joined #ruby
akem has quit [Remote host closed the connection]
<karioleez> any suggestions for ruby parsers of configuration files ?
andywojo has quit [Ping timeout: 250 seconds]
LoneHerm_ has joined #ruby
djbkd2 has joined #ruby
skweek has joined #ruby
Madplatypus has joined #ruby
LoneHerm_ has quit [Ping timeout: 268 seconds]
agit0 has quit [Quit: zzzZZZ….]
baweaver has joined #ruby
DoubleMalt has joined #ruby
<toretore> karioleez: which format?
<karioleez> toretore: custom one, I will need to make the rules
<toretore> use a well defined, widely used format like json or yaml
<toretore> ericlee: http://www.rubydoc.info/stdlib/core/File#absolute_path-class_method "Relative paths are referenced from the current working directory of the process unless dir_string is given"
<karioleez> toretore: this is impossible, I have to deal with the conf file I am given
<toretore> so you're not actually making the rules?
<toretore> the question is then: how can you parse a custom format defined by someone else for which no parser already exists?
<toretore> and this too depends on the format. it might be very easy to write a parser for or it may be very complicated
Xeago has joined #ruby
<karioleez> my question is about suggestions for ruby parsers
<karioleez> I've seen citrus, treetop
CloCkWeRX has quit [Ping timeout: 260 seconds]
<ericlee> toretore, I'm using another way to do that, however, realpath method always throws out the exception, I have checked if the file exists: http://fpaste.org/348877/66618914/
<ericlee> no idea why it does not work.
<toretore> ericlee: then why use realpath?
<toretore> if you know that the filename is correct?
<ericlee> toretore, because I need to know the soft link dest name.
<ericlee> toretore, is there any way to know the dest name from a soft link in ruby?
<toretore> oh sorry, i was still thinking about absolute_path
<ericlee> toretore, oh no worry, we can ignore that.
Xeago has quit [Ping timeout: 248 seconds]
<ericlee> toretore, just wanna know how to get the dest name from a link
<toretore> did you try File.readlink ?
<toretore> recursively as needed
dionysus69 has joined #ruby
<ericlee> no, let me try
djbkd has quit [Quit: Leaving...]
<toretore> real_path = maybe_linked_path; real_path = File.readlink(real_path) while File.stat(real_path).symlink?
sigurding has joined #ruby
<ericlee> thanks
<ericlee> that works
Tempesta has quit [Ping timeout: 244 seconds]
Tempesta has joined #ruby
Musashi007 has joined #ruby
Tempesta has quit [Client Quit]
rkazak has quit [Quit: Sleep.....ing....]
<ericlee> thanks
moeabdol has joined #ruby
quazimodo has joined #ruby
Tempesta has joined #ruby
mekul has joined #ruby
<Musashi007> Guys, I have some ruby code that doesn’t seem to want to update from a database that I’m running. Would anyone be willing to look at it and offer some suggestions? https://gist.github.com/anonymous/054183723b927b9b2f302389391dab8b
kfpratt has joined #ruby
lrkr has joined #ruby
youch has joined #ruby
Tempesta has quit [Read error: Connection reset by peer]
sergey_makagon has joined #ruby
Tempesta has joined #ruby
<Musashi007> I’m completely at a loss - It doesn’t work on heroku or locally
kfpratt has quit [Ping timeout: 268 seconds]
User458764 has joined #ruby
djbkd_ has joined #ruby
Lomex_ has joined #ruby
mr_oh has joined #ruby
blackmesa has joined #ruby
agit0 has joined #ruby
the_drow has joined #ruby
kam270 has joined #ruby
agit0 has quit [Read error: Connection reset by peer]
<mr_oh> :-o
<Musashi007> ^.^
Lomex_ has quit [Quit: Leaving...]
Lomex_ has joined #ruby
blt has joined #ruby
vale_tudo has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Remote host closed the connection]
Dios|2 has joined #ruby
redasus has joined #ruby
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
axisys has quit [Read error: Connection reset by peer]
Dios has quit [Ping timeout: 252 seconds]
dn` has joined #ruby
Dios has joined #ruby
LowLifePerv has joined #ruby
GitGud has quit [Killed (leguin.freenode.net (Nickname regained by services))]
LowLifePerv is now known as gitgud
djbkd_ has quit [Remote host closed the connection]
Dios|2 has quit [Ping timeout: 252 seconds]
gitgud is now known as SpikeSpiegel
SpikeSpiegel is now known as GitGud
Dios has quit [Ping timeout: 252 seconds]
djbkd2 has quit [Ping timeout: 250 seconds]
firstdayonthejob has joined #ruby
nando293921 has quit [Quit: Lost terminal]
nando293921 has joined #ruby
Chagel has joined #ruby
nando293921 has quit [Client Quit]
nando293921 has joined #ruby
GitGud has quit [Excess Flood]
solars has joined #ruby
GitGud has joined #ruby
joonty has joined #ruby
nando293921 has quit [Client Quit]
nando293921 has joined #ruby
Dios has joined #ruby
Chagel has quit [Ping timeout: 244 seconds]
houhouli_ has joined #ruby
vikas027 has joined #ruby
joonty has quit [Ping timeout: 252 seconds]
vikas027 has left #ruby [#ruby]
nando293921 has quit [Client Quit]
houhoulis has quit [Ping timeout: 260 seconds]
nando293921 has joined #ruby
krz has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby
<mr_oh> Anyone willing to give me a nude in the right direction? Breaking a method up into 2 or more seperate methods. Current method has bothe variables/valculations, and 'printing' results.
<mr_oh> a *nudge
<mr_oh> jeebus... I can't type
* baweaver puts down ban hammer slowly
<baweaver> have a gist?
howdoi has joined #ruby
<mr_oh> yes
<mr_oh> It's long. process_brands method, specifically
the_drow has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
<baweaver> https://coderpad.io/FCRZN9WR - let's work through it. Collab editor
andywojo has joined #ruby
Dios|2 has joined #ruby
Dios has quit [Ping timeout: 252 seconds]
futilegames has joined #ruby
<mr_oh> baweaver: Is there chat in that, or just have to type comments?
Jandre has joined #ruby
nando293921 has quit [Quit: Lost terminal]
<baweaver> comments works. I have two monitors so either way works for me
nando293921 has joined #ruby
marr has joined #ruby
Jandre has quit [Changing host]
Jandre has joined #ruby
lrkr has quit [Ping timeout: 246 seconds]
<mr_oh> baweaver: is there a way to load the json in there?
futilegames has quit [Quit: futilegames]
tildes_ has joined #ruby
kfpratt has joined #ruby
<baweaver> always forget that cmd q is quit on mac....
tildes_ has quit [Remote host closed the connection]
<baweaver> there we go, got it in there.
tildes_ has joined #ruby
jt__ has joined #ruby
kfpratt has quit [Ping timeout: 248 seconds]
nando293921 has quit [Quit: Lost terminal]
saneax_AFK is now known as saneax
nando293921 has joined #ruby
Dios|2 has quit [Ping timeout: 252 seconds]
ljames has joined #ruby
jkahn has joined #ruby
duckpuppy has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
sigurding has quit [Quit: sigurding]
nando293921 has quit [Client Quit]
tildes has quit [Disconnected by services]
tildes has joined #ruby
tildes_ has quit [Remote host closed the connection]
tildes_ has joined #ruby
blackmes1 has joined #ruby
tildes has quit [Disconnected by services]
tildes has joined #ruby
codenamepod has joined #ruby
duckpuppy has quit [Ping timeout: 268 seconds]
CloCkWeRX has joined #ruby
tildes has quit [Remote host closed the connection]
codecop has joined #ruby
gh has quit [Quit: Leaving]
LoneHermit has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
codenamepod has quit [Read error: No route to host]
codenamepod has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
tildes_ has quit [Remote host closed the connection]
tildes has joined #ruby
pawnbox has joined #ruby
andywojo has quit [Ping timeout: 244 seconds]
codenamepod has quit [Read error: Connection reset by peer]
LoneHermit has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Zai00 has joined #ruby
<Eiam_> baweaver: coderpad.io is really cool
<Eiam_> never thought I'd see it used on IRC
<baweaver> indeed. I just wish it were free overall.
<baweaver> I can make a few a month free at least.
noService has joined #ruby
car has joined #ruby
<Eiam_> eh, gotta pay the bills
<baweaver> indeed
<baweaver> If it was something like $5 a month I'd gladly pay in
<baweaver> I think it was 50 though
jkahn has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
<Eiam_> oh, wow thats really steep
<baweaver> Corps would pay it.
<Eiam_> corps would want their own internal deploy ;)
redasus has quit [Ping timeout: 268 seconds]
* baweaver sighs
<Eiam_> (speaking as a corporate user, I'd never be allowed to use this outside our firewall)
<baweaver> well you're not wrong
<baweaver> I'm definitely in enterprise as well.
<Eiam_> I know ;) Doesn't mean I enjoy being right
codecop has quit [Remote host closed the connection]
<mr_oh> I didn't know about coderpad. I'm shocked.. :)
jackjackdripper has joined #ruby
<Eiam_> the downside is it takes the discussion out of IRC
<baweaver> do note I rarely have time to go this in depth on something.
<Eiam_> where others could potentially contribute.
jackjackdripper has quit [Client Quit]
<baweaver> which is great
<Eiam_> and if anything shows just another area where IRC really should be innovating
<baweaver> I don't have Ox0dea or apeiros around to tell me I did something stupid :D
<Eiam_> haha
<Eiam_> well I joined the session and could have commented!
Es0teric has quit [Quit: Computer has gone to sleep.]
<Eiam_> but my brain currently has swift paged in
<baweaver> yeah, figured it was someone else on channel
<baweaver> I'm reading the new Site Reliability Engineering book from O'Reilly while doing most of this.
<mr_oh> If a bunch of folks from the irc channel jumped in, I could see it getting pretty chaotic though
<mr_oh> If communication is just via #comments
darkf_ has joined #ruby
<mr_oh> Well you've already given me a bunch to dig into
<baweaver> Read through ruby enumerable
<baweaver> &ri Enumerable#reduce
sepp2k has joined #ruby
<baweaver> that one especially, you can rewrite every single other function in there with reduce
PlasmaStar has quit [Ping timeout: 250 seconds]
<baweaver> in fact, give that a shot.
<baweaver> that'd be one heck of an exercise
* baweaver goes to see if any of them can't be
darkf has quit [Ping timeout: 268 seconds]
<forcer> Just because you can do something does not necessarily mean it's a good idea to do ...
<baweaver> It doesn't, but it's more of a thought exercise than anything
<forcer> Now, THAT is almost always a good idea! :-D
<baweaver> one that's fairly common around Haskell exercises
<baweaver> and also reveals the fact that reduce is one of the most versatile functions in Ruby
<Eiam_> reduce is aweesome
<mr_oh> I'll try it
<baweaver> foldLeft tends to have a prominent place in FP as well.
<Eiam_> reduce & map are probably my two most invoked methods
<baweaver> remember you can return early
<Eiam_> (in ruby anyway)
<forcer> The more relevant question is usually which implementation is more readable.
<baweaver> I think Lazy is the only one that can't be done.
<Eiam_> mr_oh: there are plenty of ways to manage over commenting, IRC has implemented multiple.
<Eiam_> ops, voices, mutes, etc etc
<mr_oh> chatting in coderpad, I meant
<baweaver> most of the ops can be found easy enough from their hostmask
<baweaver> ruby/staff/nick
Musashi007 has quit [Ping timeout: 250 seconds]
<Eiam_> mr_oh: same response. =) anyway, bedtime 2am
<baweaver> which can be seen on join or by a /whois nick
<baweaver> Eiam_: Cali?
PlasmaStar has joined #ruby
<mr_oh> speaking of the FP world... I have all of the current Elixer.tv videos for future learning. However, it might be a lonnng time learning ruby first
<baweaver> well, west coast at least.
<baweaver> Ruby will help
<baweaver> and that reduce exercise will make a lot of things make sense.
<baweaver> when going straight FP that is.
<baweaver> because reduce is effectively tail recursion.
Musashi007 has joined #ruby
<mr_oh> I'm kind of excited about the reduce excercise. I'm sure I will stumble a lot, but oh well
<baweaver> So implementing all those functions leads to insights in recursion.
hinbody has joined #ruby
noService has quit [Ping timeout: 246 seconds]
redasus has joined #ruby
bkxd has joined #ruby
jt__ has quit [Remote host closed the connection]
darkf_ is now known as darkf
<mr_oh> I owe you a coke
<baweaver> don't sweat it mate.
Zai00 has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<baweaver> just pass it forward to the next person you see needing help
ni291187 has joined #ruby
<mr_oh> I will do my best
ni291187 has left #ruby [#ruby]
redasus has quit [Quit: Leaving]
dnewkerk has quit [Quit: dnewkerk]
hinbody has quit [Quit: leaving]
sergey_makagon has quit []
darkxploit has joined #ruby
kfpratt has joined #ruby
dgncn has quit [Excess Flood]
Zai00 has joined #ruby
karioleez has quit [Remote host closed the connection]
karioleez has joined #ruby
abyx has joined #ruby
Ropeney has quit [Remote host closed the connection]
dgncn has joined #ruby
kfpratt has quit [Ping timeout: 248 seconds]
abyx has quit [Client Quit]
Mon_Ouie has joined #ruby
weemsledeux has joined #ruby
User458764 has joined #ruby
sandstrom has joined #ruby
mr_oh has quit [Quit: Page closed]
futilegames has joined #ruby
youch has quit [Ping timeout: 244 seconds]
krz has joined #ruby
lkba_ has joined #ruby
blackmes1 has joined #ruby
andywojo has joined #ruby
baweaver has quit [Remote host closed the connection]
<Musashi007> Guys, I have some ruby code that doesn’t seem to want to update from a database that I’m running. Would anyone be willing to look at it and offer some suggestions? https://gist.github.com/anonymous/054183723b927b9b2f302389391dab8b
lkba has quit [Ping timeout: 248 seconds]
meal has quit [Quit: Reconnecting]
meal has joined #ruby
d0nn1e has quit [Ping timeout: 250 seconds]
blackmes1 has quit [Ping timeout: 246 seconds]
spider-mario has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
d0nn1e has joined #ruby
andywojo has quit [Ping timeout: 276 seconds]
SCHAAP137 has joined #ruby
Macaveli has joined #ruby
skydiver has quit [Ping timeout: 252 seconds]
skade has joined #ruby
skydiver has joined #ruby
futilegames has quit [Quit: futilegames]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hightower2 has joined #ruby
mekul has quit [Ping timeout: 246 seconds]
nhhc has quit [Quit: Leaving]
Meow-J has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
DoubleMalt has joined #ruby
dionysus69 has joined #ruby
eljimador has quit [Ping timeout: 248 seconds]
eljimmy has quit [Ping timeout: 248 seconds]
eljimmy has joined #ruby
zeroDivisible has joined #ruby
eljimbo has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
blackmes1 has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
dionysus69 has quit [Ping timeout: 260 seconds]
kirun has joined #ruby
<tildes> Musashi007: can you show MixerOptions::Workouts?
<Musashi007> yes one sec
Zai00 has quit [Quit: Zai00]
minimalism has quit [Quit: minimalism]
skydiver has quit [Ping timeout: 260 seconds]
bkxd has quit [Read error: Connection reset by peer]
<tildes> Musashi007: I think normally you would use a controller to serve models to the view, rather than a module
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mekul has joined #ruby
<tildes> So you update Workout table somehow, and then can't see the effect in the view?
<Musashi007> correct
<Musashi007> Using pgadmin3
<Musashi007> cute pgadmin is crashing atm lol
<tildes> can you show YogaModels::Workout?
<Musashi007> Well I’ll be
<Musashi007> So I made these changes about 4 hours ago and couldn’t figure it out
<Musashi007> I just reloaded it and it’s updated
<Musashi007> I apologize for wasting your time
lkba_ has quit [Ping timeout: 276 seconds]
bkxd has joined #ruby
Chagel has joined #ruby
Gasher has joined #ruby
kfpratt has joined #ruby
<tildes> Musashi007: I think it's good you asked. what do you see here? http://pastie.org/private/ebveidgimr1wto2fri2unq
<tildes> (this could well explain what you saw earlier with your app)
<Musashi007> oh jesus
<tildes> amen :D
<tildes> I any case, I would recommend using a Controller for serving the models to your views
solocshaw has joined #ruby
<Musashi007> I see mymodule::thing not getting updated to the current time?
<tildes> it's not just more rails, it's more crud, more standard in every way
<Musashi007> What do you mean?
LoneHerm_ has joined #ruby
<tildes> Musashi007: I had to try it myself, because I haven't used module constants much. but indeed, it seems that once loaded, the constant doesn't reload
skweek has joined #ruby
Chagel has quit [Ping timeout: 268 seconds]
<tildes> Musashi007: oh, I forgot it's not #rubyonrails. there you would use controllers, as per the model-view-controller thing
<Musashi007> Not sure if this is something I should fix
PedramT has joined #ruby
<tildes> so I don't really take a stand there
<Musashi007> Or can..
<tildes> Musashi007: what is your stack, as it is?
<Musashi007> Gonna -try- to answer that and say that it’s heroku with an amazon db..
diegoviola has quit [Quit: WeeChat 1.4]
kfpratt has quit [Ping timeout: 248 seconds]
saneax is now known as saneax_AFK
LoneHerm_ has quit [Ping timeout: 248 seconds]
gh has joined #ruby
duckpuppy has joined #ruby
makufiru has quit [Quit: Connection closed for inactivity]
duckpuppy has quit [Ping timeout: 244 seconds]
^mtkd has quit [Ping timeout: 260 seconds]
neanderslob has quit [Ping timeout: 250 seconds]
neanderslob has joined #ruby
mtkd has joined #ruby
mdw has joined #ruby
<Musashi007> @tildes thank you again
m8 has joined #ruby
baweaver has joined #ruby
G has joined #ruby
shafire has joined #ruby
<shafire> hi
<shafire> does ruby have pipes or similar?
<apeiros> shafire: it has pipes in its syntax. I suspect that's not what you're asking for, so maybe you want to be more specific?
madgen has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
duncannz has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 250 seconds]
tildes has quit [Ping timeout: 250 seconds]
Musashi007 has quit [Quit: Musashi007]
<yxhuvud> apeiros: I'd guess he asks for what he would get as the first answer if he would google for it.
<shafire> yxhuvud: yes
<shafire> I am after chainable methods which ruby has when I remember correctly
Chunlea_ has joined #ruby
<shafire> I am just thinking about the |> pipe operator in elixir if I could overload it in ruby with the same behaviour like in elixir
Chunlea has quit [Ping timeout: 244 seconds]
dmr8 has joined #ruby
User458764 has joined #ruby
User458764 has quit [Max SendQ exceeded]
User458764 has joined #ruby
Suntzu has quit [Read error: Connection reset by peer]
symm- has joined #ruby
Musashi007 has joined #ruby
skade has joined #ruby
skade has quit [Client Quit]
sigurding has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
PedramT has quit [Remote host closed the connection]
houhouli_ has quit [Remote host closed the connection]
Musashi007 has quit [Ping timeout: 250 seconds]
Jackneill has joined #ruby
Lomex_ has quit [Remote host closed the connection]
Lomex_ has joined #ruby
tildes has joined #ruby
PedramT has joined #ruby
vikas027 has joined #ruby
x0f has joined #ruby
vikas027 has quit [Read error: Connection reset by peer]
Asher has joined #ruby
Asher has quit [Client Quit]
Musashi007 has joined #ruby
marr has quit [Ping timeout: 252 seconds]
darkf has quit [Read error: Connection reset by peer]
darkf has joined #ruby
Asher has joined #ruby
binaryplease1 has joined #ruby
nanoz] has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
binaryplease has quit [Ping timeout: 260 seconds]
User458764 has joined #ruby
Musashi007 has quit [Quit: Musashi007]
workmad3 has quit [Ping timeout: 240 seconds]
Zai00 has joined #ruby
krz has quit [Ping timeout: 264 seconds]
Zai00 has quit [Read error: Connection reset by peer]
binaryplease1 is now known as binaryplease
gh has quit [Quit: Leaving]
Suntzu has joined #ruby
Zai00 has joined #ruby
kfpratt has joined #ruby
andywojo has joined #ruby
Xeago has joined #ruby
cisco has joined #ruby
PedramT_ has joined #ruby
Xiti has joined #ruby
PedramT has quit [Read error: Connection reset by peer]
kfpratt has quit [Ping timeout: 248 seconds]
CloCkWeRX has quit [Ping timeout: 264 seconds]
n008f4g_ has joined #ruby
PedramT has joined #ruby
PedramT_ has quit [Ping timeout: 260 seconds]
Xeago has quit [Remote host closed the connection]
PedramT has quit [Ping timeout: 248 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Asher has quit [Quit: Leaving.]
madgen has quit [Ping timeout: 240 seconds]
solocshaw1 has joined #ruby
solocshaw has quit [Remote host closed the connection]
solocshaw1 is now known as solocshaw
madgen has joined #ruby
lalalaaa has joined #ruby
<lalalaaa> Hi! Anybody know why I can't ruby-install without certificates anymore? % ruby-install ruby 2.3.0 --no-check-certificate
<lalalaaa> ruby-install: unrecognized option --no-check-certificate
CloCkWeRX has joined #ruby
gheegh has quit [Quit: Textual IRC Client: www.textualapp.com]
madgen has quit [Ping timeout: 244 seconds]
CloCkWeRX has quit [Client Quit]
neanderslob has quit [Read error: Connection reset by peer]
rolha has joined #ruby
Asher has joined #ruby
mekul has quit [Ping timeout: 248 seconds]
shafire has quit [Ping timeout: 250 seconds]
htmldrum has quit [Ping timeout: 264 seconds]
darkxploit has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 252 seconds]
andywojo has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
krz has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
darkxploit has joined #ruby
darkxploit has quit [Max SendQ exceeded]
Xeago has joined #ruby
darkxploit has joined #ruby
scepticulous has joined #ruby
karioleez has quit [Remote host closed the connection]
darkxploit has quit [Max SendQ exceeded]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
darkxploit has joined #ruby
dling` has joined #ruby
StyXman has joined #ruby
Mon_Ouie has quit [Ping timeout: 244 seconds]
bry4n_ has quit [Ping timeout: 246 seconds]
djbkd has joined #ruby
darkxploit has quit [Max SendQ exceeded]
darkxploit has joined #ruby
darkf has quit [Quit: Leaving]
dling` has joined #ruby
dling has quit [Ping timeout: 276 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
darkxploit has quit [Max SendQ exceeded]
peteykun has quit [Quit: Leaving]
n008f4g_ has quit [Ping timeout: 264 seconds]
kfpratt has joined #ruby
mdw has joined #ruby
<StyXman> ah, drbrain, finally. someone in this channel pointed me to you as the go-to guy about extending rdoc. I found your rdoc-rake and I'm trying to use it as reference (is so far the more coplex extension I found), but it's rather difficult for me to read and understand it, as I'm rather new to Ruby: I came to it because we're using Chef. do you know of aguide or doc I could read abut it?
<StyXman> what I'm trying to do is documente chef repos in a way that makes more sense to this kind of ruby code
kith has quit [Quit: kith]
Zai00 has quit [Read error: Connection reset by peer]
skweek has quit [Ping timeout: 276 seconds]
kfpratt has quit [Ping timeout: 248 seconds]
scepticulous has quit [Ping timeout: 248 seconds]
toretore has quit [Ping timeout: 264 seconds]
TomyLobo has joined #ruby
djbkd has quit [Remote host closed the connection]
shinnya has joined #ruby
duckpuppy has joined #ruby
djbkd has joined #ruby
Mon_Ouie has joined #ruby
rolha has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GitGud is now known as GG
freerobby has joined #ruby
duckpuppy has quit [Ping timeout: 246 seconds]
Zai00 has joined #ruby
tk__ has joined #ruby
baweaver has joined #ruby
jsaak has quit [Ping timeout: 252 seconds]
freerobby1 has joined #ruby
Mon_Ouie has quit [Ping timeout: 268 seconds]
freerobby has quit [Ping timeout: 260 seconds]
krz has quit [Read error: Connection reset by peer]
dmr8 has quit [Ping timeout: 252 seconds]
User458764 has joined #ruby
krz has joined #ruby
dmr8 has joined #ruby
sigurding has quit [Quit: sigurding]
baweaver has quit [Ping timeout: 244 seconds]
biberu has joined #ruby
nodejunkie has quit [Ping timeout: 252 seconds]
symm- has quit [Ping timeout: 240 seconds]
adham128 has joined #ruby
adham128 has left #ruby [#ruby]
downlwil has joined #ruby
roelof has joined #ruby
<downlwil> How do i convert Ruby to python?
<apeiros> you read the code, then write python code
downlwil has quit [Client Quit]
<apeiros> roelof: define a method named `reverse_word`?
madgen has joined #ruby
GG is now known as timeup
<roelof> apeiros: oke, but I have to use a block. and def reverse_word { |item| item.reverse } is not working
AndChat643025 has joined #ruby
<apeiros> and what do you think, why is it not working?
noService has joined #ruby
Mon_Ouie has joined #ruby
<roelof> A function needs a parameter and you cannot do { ... } in a function ?
blackmes1 has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
<roelof> but I just learned that a block looks like { ..... }
<apeiros> the { … } is a parameter to a method. and you can define methods which do not require arguments.
IrishGringo has quit [Remote host closed the connection]
<roelof> apeiros: sorry, still confused
car has quit [Quit: Leaving]
camilasan has quit [Remote host closed the connection]
timeup is now known as GitGud
<apeiros> you can't use { … } in a method *definition*. and `def reverse_word` is a method definition.
<apeiros> you do not need to declare that your method takes a block.
<apeiros> it's just `def reverse_word`
<apeiros> (+ method body, obv.)
camilasan has joined #ruby
robbyoconnor has quit [Ping timeout: 244 seconds]
lalalaaa has quit [Ping timeout: 260 seconds]
noService has quit [Ping timeout: 246 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
bkxd has quit [Ping timeout: 250 seconds]
<roelof> apeiros: oke, after some trying this seems to work : https://gist.github.com/rwobben/24e4b6f330aee08553953c307aac1521
<adaedra> maybe if you tell us what you're trying to do it would be easier to understand
IrishGringo has joined #ruby
<apeiros> roelof: this in all likeliness does not do what you think it does
sandelius has joined #ruby
<apeiros> despite it being seemingly working
<apeiros> but /me afk for now
codecop has joined #ruby
quazimodo has quit [Ping timeout: 276 seconds]
akem has quit [Remote host closed the connection]
<roelof> apeiros: oke.. what do I wrong then, I use a block and reverse the word
r1nuz has quit [Quit: l8rz]
tildes has quit [Ping timeout: 246 seconds]
krobzaur has joined #ruby
ohcibi has quit [Remote host closed the connection]
<roelof> adaedra: as a challenge I have to write a function which reverse a word but I need to use a block
<adaedra> you have to use a block where? As a parameter of your method, or in your method?
mdw_ has joined #ruby
ohcibi has joined #ruby
PedramT has joined #ruby
bry4n_ has joined #ruby
mdw__ has joined #ruby
rolha has joined #ruby
<roelof> adaedra: here is the spec file of the challenge ?
andywojo has joined #ruby
<adaedra> what?
<roelof> adaedra: the challenge I try to solve
<roelof> the reverse is the first rspec part
<adaedra> where is your challenge?
mdw___ has joined #ruby
mdw has quit [Ping timeout: 260 seconds]
_stu_ has joined #ruby
mdw_ has quit [Ping timeout: 250 seconds]
PedramT has quit [Ping timeout: 240 seconds]
shinnya has quit [Quit: ZNC - http://znc.in]
bry4n_ has quit [Ping timeout: 250 seconds]
<adaedra> ah.
mdw__ has quit [Ping timeout: 248 seconds]
<adaedra> ok, so you have to write a method that takes a block
shinnya has joined #ruby
codecop has quit [Ping timeout: 248 seconds]
Xeago has quit [Remote host closed the connection]
Ox0dea has joined #ruby
Xeago has joined #ruby
jonathanwallace_ has quit [Quit: ZNC - http://znc.in]
<Ox0dea> All methods take a block. :P
<adaedra> shoo.
Xeago has quit [Remote host closed the connection]
<Ox0dea> And, but, well, the exercise seems like a better introduction to `yield` than Proc.
polysics_ has quit [Remote host closed the connection]
<adaedra> It clearly look that yield is to be used.
<roelof> yep, so I tried yield but then I see a message that the method reverse is missing
<adaedra> what did you try?
andywojo has quit [Ping timeout: 248 seconds]
<roelof> yield , block.call
<roelof> bu then every time a message that reverse is missing :(
<adaedra> the complete file with all declarations that you run with your spec.
kfpratt has joined #ruby
<roelof> oke, moment
GodFather has joined #ruby
lxsameer has quit [Quit: WeeChat 1.4]
<Ox0dea> roelof: What does `yield` do?
<roelof> as far as I understand as a beginner , yield is taking care of that the block is executed at that place
PedramT has joined #ruby
<manveru> roelof: you just don't need to take the &block argument in the yield case
<roelof> oke, I will delete it
<manveru> >> def foo; yield; end; foo{ :hi }
<ruby[bot]> manveru: # => :hi (https://eval.in/546983)
<adaedra> roelof: and with this file, what is the error you obtain?
<manveru> also call it 'reverse' if you mean 'reverse', not 'reverser'
kfpratt has quit [Ping timeout: 248 seconds]
tildes has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
<roelof> aha, I call the function with the same name
<roelof> moment
<Ox0dea> roelof: You don't need to write any blocks of your own for this exercise.
zeroDivisible has quit [Quit: WeeChat 1.4]
<adaedra> How do you test your exercise, roelof?
<roelof> with the rake command
<roelof> oke, I will delete the block
jonathanwallace_ has joined #ruby
<roelof> oke, wen I do this : def reverser() yield end , I see rspec output that indicate that the word is not reversed :(
daytime has joined #ruby
<adaedra> right, because you give it the string as it is given to you
diegoaguilar has joined #ruby
<adaedra> now that you got the input to process, you have to process it
tk__ has quit [Quit: ばいばい]
<roelof> oke, this works : def reverser() yield.reverse end
<Ox0dea> roelof: Take some time to understand why.
<roelof> I will
jaruga_ has joined #ruby
<Ox0dea> Don't just plow on content with having gotten green by guesswork; no good will come of that.
<roelof> Learn ruby and ruby monk are sometimes very hard
<adaedra> Learning languages is sometimes hard.
<adaedra> You have to try to understand what is required from you.
<roelof> oke, yield is executing a given block , correct ?
<adaedra> yes.
<roelof> oke, and if I look at the spec file the block contents is only the word "hello" . right ?
krobzaur has quit [Ping timeout: 268 seconds]
<adaedra> what is a block for you?
<Ox0dea> roelof: That's right. And blocks, just like methods, evaluate to the last expression in their bodies (unless you explicitly return early).
<roelof> according to a definition a block is some code that belongs to each other
PedramT has quit [Remote host closed the connection]
<adaedra> roelof: and using your words?
<roelof> so yield.reverse is just "hello".reverse
PedramT has joined #ruby
<roelof> a block is some code that for some reason can be placed on one place
sigurding has joined #ruby
cisco has quit [Quit: Leaving.]
mdw___ has quit [Quit: Sleeping Zzzzz]
<Ox0dea> roelof: https://eval.in/546987
safe has joined #ruby
djbkd has quit [Remote host closed the connection]
skydiver has joined #ruby
codecop has joined #ruby
<Ox0dea> A block is a chunk of code with deferred (and potentially customized) execution.
<roelof> oke, so hello is the parameter of the block
<adaedra> no
cisco has joined #ruby
Zai00 has quit [Read error: Connection reset by peer]
cisco has quit [Max SendQ exceeded]
cisco has joined #ruby
cisco has quit [Max SendQ exceeded]
cisco has joined #ruby
cisco has quit [Max SendQ exceeded]
cisco has joined #ruby
cisco has quit [Max SendQ exceeded]
<roelof> oke, I take a break and reread the chapters from ruby monk about blocks
blackmes1 has joined #ruby
cisco has joined #ruby
<adaedra> !fixconn cisco
cisco has quit [Max SendQ exceeded]
<adaedra> meh
<adaedra> !fixcon cisco
<roelof> all thanks for the help
<adaedra> yw.
Zai00 has joined #ruby
freerobby1 has quit [Quit: Leaving.]
jaruga_ has quit [Quit: jaruga_]
roelof has quit [Quit: Page closed]
shinnya has quit [Ping timeout: 260 seconds]
<Ox0dea> This is a little weird, right? https://eval.in/546995
Chagel has joined #ruby
<adaedra> interesting https://eval.in/546996
cdg has joined #ruby
<adaedra> you broke ruby again, it seems. Are you even sorry?
<Ox0dea> Hm? The ampersand is superfluous for #reduce.
<Ox0dea> But yeah, never mind; it's just that it's calling `0.succ(1)`.
<Ox0dea> I wish it wouldn't try to do that.
bkxd has joined #ruby
<adaedra> well, &: should do exactly as the block version at least, no?
<Ox0dea> Well, yeah, that was my understanding of what should happen.
<Ox0dea> But #reduce with a Symbol has to `public_send *args`, and thence the arity problem.
makenoise has joined #ruby
karioleez has joined #ruby
<Ox0dea> So it's getting "transformed" into `{ |size, foo| size.succ foo }`, but it'd be nice if it did some smart.
ruby-lang275 has joined #ruby
Chagel has quit [Ping timeout: 248 seconds]
<Ox0dea> Doesn't generalize well, I guess.
freerobby has joined #ruby
<ruby-lang275> hi
<Ox0dea> Good morning, ruby-lang275.
sudoubuntu has joined #ruby
<ruby-lang275> Good morning
<ruby-lang275> :)
bkxd has quit [Ping timeout: 276 seconds]
karioleez has quit [Ping timeout: 252 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
LoneHerm_ has joined #ruby
Spami has joined #ruby
ruby-lang275 has quit [Ping timeout: 250 seconds]
Begi has joined #ruby
LoneHerm_ has quit [Ping timeout: 276 seconds]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sigurding has quit [Quit: sigurding]
quazimodo has joined #ruby
sdothum has joined #ruby
lalalaaa has joined #ruby
GitGud is now known as GG
rolha has quit [Quit: Textual IRC Client: www.textualapp.com]
karioleez has joined #ruby
n008f4g_ has joined #ruby
kariolee_ has joined #ruby
ItSANgo has joined #ruby
Lomex_ has quit [Remote host closed the connection]
bry4n_ has joined #ruby
halfamind has joined #ruby
karioleez has quit [Ping timeout: 250 seconds]
<manveru> it's kinda clear that reduce only takes binary methods
bry4n_ has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
saneax_AFK is now known as saneax
mtkd has quit [Ping timeout: 268 seconds]
mtkd has joined #ruby
x0f has quit [Ping timeout: 248 seconds]
average has joined #ruby
<average> the writer lock: http://i.imgur.com/9TNI5zT.jpg ; the reader lock: http://i.imgur.com/zORWzNw.jpg ;
PedramT has quit [Ping timeout: 264 seconds]
x0f has joined #ruby
polysics has joined #ruby
<Ox0dea> That doesn't look anything like George R. R. Martin.
kariolee_ has quit [Remote host closed the connection]
sudoubuntu has joined #ruby
kfpratt has joined #ruby
makenoise has quit [Remote host closed the connection]
Xeago has joined #ruby
average has left #ruby [#ruby]
polysics has quit [Ping timeout: 244 seconds]
kfpratt has quit [Ping timeout: 248 seconds]
Aviio has joined #ruby
duckpuppy has joined #ruby
bitri has joined #ruby
halfamind has quit [Quit: Leaving.]
kp666 has quit [Read error: Connection reset by peer]
PedramT has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
karioleez has joined #ruby
sigurding has joined #ruby
krobzaur has joined #ruby
bitri has quit [Quit: Textual IRC Client: www.textualapp.com]
krobzaur has quit [Client Quit]
the_drow has quit [Quit: This computer has gone to sleep]
karioleez has quit [Ping timeout: 260 seconds]
kfpratt has joined #ruby
sigurding has quit [Quit: sigurding]
noService has joined #ruby
kfpratt has quit [Ping timeout: 248 seconds]
noService has quit [Ping timeout: 246 seconds]
bitri has joined #ruby
bitri has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 246 seconds]
bitri has joined #ruby
araujo has quit [Quit: Leaving]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
karioleez has joined #ruby
crdpink has joined #ruby
crdpink2 has quit [Ping timeout: 250 seconds]
halfamind has joined #ruby
nhhc has joined #ruby
halfamind has quit [Read error: Connection reset by peer]
halfamind1 has joined #ruby
ht__ has joined #ruby
karioleez has quit [Ping timeout: 252 seconds]
ht__ has quit [Client Quit]
andywojo has joined #ruby
n1colas has quit [Read error: Connection reset by peer]
halfamind has joined #ruby
halfamind1 has quit [Read error: Connection reset by peer]
n1colas has joined #ruby
<n1colas> Yop
mtkd has quit [Ping timeout: 246 seconds]
Xeago has joined #ruby
Xeago has quit [Client Quit]
mtkd has joined #ruby
petrichorx has joined #ruby
rubie has joined #ruby
lalalaaa has quit [Ping timeout: 246 seconds]
karioleez has joined #ruby
houhoulis has joined #ruby
halfamind1 has joined #ruby
halfamind has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
halfamind1 has quit [Read error: Connection reset by peer]
halfamind has joined #ruby
karioleez has quit [Ping timeout: 246 seconds]
halfamind1 has joined #ruby
halfamind has quit [Read error: Connection reset by peer]
halfamind1 has quit [Read error: Connection reset by peer]
halfamind has joined #ruby
solocshaw has quit [Ping timeout: 248 seconds]
tonyynot has quit [Read error: Connection reset by peer]
hogetaro has quit [Read error: Connection reset by peer]
hogetaro has joined #ruby
halfamind has quit [Read error: Connection reset by peer]
halfamind1 has joined #ruby
codecop has quit [Remote host closed the connection]
codecop has joined #ruby
Djole has quit [Ping timeout: 276 seconds]
Djole has joined #ruby
stardiviner has joined #ruby
bitri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
karioleez has joined #ruby
User458764 has joined #ruby
polysics has joined #ruby
kam270 has quit [Ping timeout: 260 seconds]
dvinciguerra has joined #ruby
tildes has quit [Ping timeout: 244 seconds]
Thomas-0725 has joined #ruby
karioleez has quit [Ping timeout: 248 seconds]
polysics has quit [Ping timeout: 276 seconds]
karioleez has joined #ruby
<mwlang> how do I take an array of hashes down to one hash? i.e. [{foo: 1}, {bar: 2}] => {foo: 1, bar: 2}
DoubleMalt has quit [Remote host closed the connection]
araujo has joined #ruby
<apeiros> .inject(:merge)
<mwlang> apeiros: thanks. I knew there had to be an easier way than I was trying.
rehat has quit [Remote host closed the connection]
Aviio has quit [Quit: Leaving.]
tildes has joined #ruby
andywojo has quit [Ping timeout: 276 seconds]
karioleez has quit [Ping timeout: 264 seconds]
hulk has joined #ruby
hulk is now known as gnufied
<gnufied> hey guys
<matt_d> hi gnufied
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
solocshaw has joined #ruby
bijan has joined #ruby
gnufied has quit [Remote host closed the connection]
lalalaaa has joined #ruby
karioleez has joined #ruby
PedramT has quit [Ping timeout: 252 seconds]
heinrich5991 has quit [Ping timeout: 276 seconds]
bkxd has joined #ruby
heinrich5991 has joined #ruby
rubie has quit [Ping timeout: 252 seconds]
karioleez has quit [Ping timeout: 276 seconds]
zast has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
n008f4g_ has quit [Ping timeout: 246 seconds]
rehat has joined #ruby
karioleez has joined #ruby
bitri has joined #ruby
cdg has quit [Remote host closed the connection]
vikas027 has joined #ruby
vikas027 has left #ruby [#ruby]
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
madgen has quit [Ping timeout: 244 seconds]
halfamind1 has quit [Quit: Leaving.]
codecop has quit [Ping timeout: 248 seconds]
karioleez has quit [Ping timeout: 252 seconds]
magikid has joined #ruby
madgen has joined #ruby
dvinciguerra has quit [Ping timeout: 260 seconds]
ericlee has quit [Ping timeout: 248 seconds]
workmad3_ has joined #ruby
sgambino has quit [Ping timeout: 244 seconds]
rkazak has joined #ruby
solocshaw has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 244 seconds]
polysics_ has joined #ruby
workmad3 has joined #ruby
|Frank| has joined #ruby
workmad3_ has quit [Ping timeout: 244 seconds]
nhhc has quit [Ping timeout: 244 seconds]
n008f4g_ has joined #ruby
bry4n_ has joined #ruby
|Frank| has left #ruby [#ruby]
halfamind has joined #ruby
karioleez has joined #ruby
shredding has joined #ruby
Lomex has joined #ruby
bry4n_ has quit [Ping timeout: 246 seconds]
_stu_ has quit [Quit: _stu_]
ta_ has quit [Remote host closed the connection]
karioleez has quit [Ping timeout: 264 seconds]
karioleez has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
shredding has quit [Ping timeout: 276 seconds]
safe has quit [Read error: Connection reset by peer]
rkazak has quit [Quit: Sleep.....ing....]
benlieb has joined #ruby
Aviio has joined #ruby
duckpuppy has joined #ruby
hxegon has joined #ruby
<havenwood> good mornin'
Aviio has quit [Remote host closed the connection]
halfamind has quit [Quit: Leaving.]
duckpuppy has quit [Ping timeout: 260 seconds]
quazimodo has quit [Ping timeout: 260 seconds]
noService has joined #ruby
htmldrum has joined #ruby
trinaldi has joined #ruby
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
baweaver has joined #ruby
Azure|dc is now known as Azure
mdw has joined #ruby
moei has quit [Quit: Leaving...]
mdw has quit [Max SendQ exceeded]
A124 has joined #ruby
vikaton has joined #ruby
benlieb has quit [Quit: benlieb]
bijan has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
moei has joined #ruby
decoponyo has quit [Quit: Leaving...]
houhoulis has quit [Remote host closed the connection]
sigurding has joined #ruby
SenpaiSilver has joined #ruby
YP-QMUL-W has joined #ruby
hightower3 has joined #ruby
rehat has quit [Remote host closed the connection]
chouhoulis has joined #ruby
Aviio has joined #ruby
DrVitusWerdegast has joined #ruby
davedev24 has joined #ruby
moei has quit [Quit: Leaving...]
hightower2 has quit [Ping timeout: 268 seconds]
DrVitusWerdegast has left #ruby ["Leaving"]
Roa has quit [Ping timeout: 248 seconds]
andywojo has joined #ruby
codecop has joined #ruby
YP-QMUL-W has quit [Read error: Connection reset by peer]
codecop has quit [Remote host closed the connection]
mdw has joined #ruby
codecop has joined #ruby
mdw has quit [Max SendQ exceeded]
mdw has joined #ruby
mdw has quit [Client Quit]
andywojo has quit [Ping timeout: 268 seconds]
YP-QMUL-W has joined #ruby
madgen has quit [Ping timeout: 248 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ericlee has joined #ruby
n1colas has quit [Quit: WeeChat 1.4]
sigurding has quit [Quit: sigurding]
infernix has quit [Ping timeout: 276 seconds]
bewilled has joined #ruby
parduse has quit [Read error: Connection reset by peer]
parduse has joined #ruby
<bewilled> Hey... After installing RVM in a terminal session and installing ruby-head I get version 2.4.0dev. however when popping out a new terminal windows ruby -version shows 2.3.0p0 why does this happen?
Aviio has quit [Remote host closed the connection]
minimalism has joined #ruby
Roa has joined #ruby
dopie has quit [Quit: Lost terminal]
preyalone has joined #ruby
sepp2k1 has joined #ruby
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Chagel has joined #ruby
<Ox0dea> bewilled: It happens because RVM doesn't love you, but here's how to pretend it doesn't hurt: https://rvm.io/rubies/default
LoneHerm_ has joined #ruby
sepp2k has quit [Ping timeout: 260 seconds]
<bewilled> Ox0dea, lol, now there's love all of the sudden
sudoubuntu has joined #ruby
moei has joined #ruby
DoubleMalt has joined #ruby
halfamind has joined #ruby
n1colas has joined #ruby
GodFather has quit [Ping timeout: 244 seconds]
bijan has joined #ruby
Chagel has quit [Ping timeout: 260 seconds]
weemsledeux has joined #ruby
bewilled has quit [Remote host closed the connection]
hxegon has quit [Quit: BRB]
elifoster has joined #ruby
polysics_ has quit [Remote host closed the connection]
Zai00 has quit [Ping timeout: 244 seconds]
The_Phoenix1 has quit [Quit: Leaving.]
Zai00 has joined #ruby
Blaguvest has joined #ruby
infernix has joined #ruby
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure|dc has joined #ruby
Azure has quit [Ping timeout: 268 seconds]
dasher^0_o has quit [Remote host closed the connection]
skydiver has quit [Ping timeout: 264 seconds]
last_staff has joined #ruby
dasher00 has joined #ruby
aqoom has quit [Ping timeout: 240 seconds]
LoneHerm_ has quit [Remote host closed the connection]
trinaldi has quit [Quit: WeeChat 1.5-dev]
Guest58 has joined #ruby
n008f4g_ has quit [Ping timeout: 248 seconds]
decoponio has joined #ruby
petrichorx has quit [Quit: Connection closed for inactivity]
polysics has joined #ruby
sarbs has quit [Ping timeout: 260 seconds]
mrgrieves has joined #ruby
smathy has joined #ruby
sarbs has joined #ruby
LoneHerm_ has joined #ruby
User458764 has joined #ruby
Guest58 has quit [Quit: Textual IRC Client: www.textualapp.com]
zacts has joined #ruby
bry4n_ has joined #ruby
baweaver has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
bijan has quit [Quit: leaving]
araujo has quit [Quit: Leaving]
Mia has quit [Ping timeout: 252 seconds]
Dimik has joined #ruby
saneax is now known as saneax_AFK
bry4n_ has quit [Ping timeout: 264 seconds]
parduse has quit [Ping timeout: 246 seconds]
bkxd has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
bronson has quit [Read error: Connection reset by peer]
bronson_ has joined #ruby
rehat has joined #ruby
jt__ has joined #ruby
halfamind has quit [Quit: Leaving.]
morfin has joined #ruby
morfin has left #ruby [#ruby]
Eiam_ has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
car has joined #ruby
car has quit [Client Quit]
karioleez has quit [Remote host closed the connection]
mdw has joined #ruby
c0x has joined #ruby
mdw_ has joined #ruby
Limix has joined #ruby
karioleez has joined #ruby
mdw has quit [Ping timeout: 250 seconds]
demasy-lang315 has joined #ruby
mrgrieves has quit [Ping timeout: 252 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
mistermocha has joined #ruby
demasy-lang315 has quit [Client Quit]
mistermocha has quit [Remote host closed the connection]
statelesscode has joined #ruby
karioleez has quit [Remote host closed the connection]
mistermocha has joined #ruby
shellie_ has joined #ruby
statelesscode has quit [Client Quit]
c0x has quit [Quit: Leaving]
n008f4g_ has joined #ruby
duderonomy has joined #ruby
amclain has joined #ruby
symm- has joined #ruby
zeroDivisible has joined #ruby
fedexo has joined #ruby
mdw_ has quit [Quit: Sleeping Zzzzz]
mdw has joined #ruby
Aviio has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
weemsledeux has joined #ruby
Unicorn| has joined #ruby
djbkd has joined #ruby
joonty has joined #ruby
bb010g has joined #ruby
xpt has quit [Quit: WeeChat 1.4]
ta_ has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
djbkd has quit [Ping timeout: 248 seconds]
Spami has quit [Quit: This computer has gone to sleep]
joonty has quit [Ping timeout: 260 seconds]
matp has quit [Remote host closed the connection]
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
Cohedrin has joined #ruby
Cohedrin has quit [Max SendQ exceeded]
Cohedrin has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LaT0rtue has quit [Read error: Connection reset by peer]
User458764 has joined #ruby
skade has joined #ruby
duckpuppy has joined #ruby
skade has quit [Client Quit]
skade has joined #ruby
skade has quit [Client Quit]
youch has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
ssiris has joined #ruby
matp has joined #ruby
onur has joined #ruby
skade has joined #ruby
Lomex has quit [Remote host closed the connection]
weemsledeux has joined #ruby
bitri has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<onur> Hi guys. I have ruby2.3 and ruby2.2 installed. I need to use ruby2.2 for bundle install but it keeps telling me I have ruby 2.3. How can I use ruby2.2 with bundle install
Thomas-0725 has quit [Quit: Textual IRC Client: www.textualapp.com]
<adaedra> how did you install those?
<onur> with my os package manager
mrgrieves has joined #ruby
<adaedra> which os?
<onur> debian
<adaedra> you need to switch between those two versions often?
Zai00 has quit [Read error: Connection reset by peer]
<onur> not really
BigDog has joined #ruby
<adaedra> I think you can use the alternatives system to change between ruby versions in debian
<adaedra> Otherwise, take a look at chruby
Es0teric has joined #ruby
<shevy> good old debian
andywojo has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
Zai00 has joined #ruby
makenoise has joined #ruby
<onur> well lets see I managed to set default ruby to 2.2.4 with update-alternatives
Allfader has joined #ruby
vqrs_ has quit [Max SendQ exceeded]
skade has quit [Quit: Computer has gone to sleep.]
Allfader has left #ruby [#ruby]
vqrs has joined #ruby
youch has quit [Ping timeout: 244 seconds]
solocshaw has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
edwinvdgraaf has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
duderonomy has quit [Ping timeout: 276 seconds]
cpup has quit [Ping timeout: 260 seconds]
BigDog has quit [Quit: Leaving]
PedramT has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
cpup has joined #ruby
edwinvdgraaf has joined #ruby
duderonomy has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
ericlee has quit [Ping timeout: 250 seconds]
Trynemjoel has joined #ruby
tildes has quit [Remote host closed the connection]
Limix has quit [Quit: Limix]
madgen has joined #ruby
skade has joined #ruby
Guest17957 is now known as Phanes
Eiam_ has joined #ruby
karioleez has joined #ruby
SenpaiSilver has quit [Read error: Connection reset by peer]
SenpaiSilver has joined #ruby
SenpaiSilver has quit [Max SendQ exceeded]
hahuang61 has quit [Ping timeout: 246 seconds]
goglosh has joined #ruby
Cohedrin_ has joined #ruby
dionysus69 has joined #ruby
greenbigfrog has joined #ruby
PlasmaStar has quit [Ping timeout: 248 seconds]
<greenbigfrog> anyone here who can help me with a pg issue?
<Eiam_> baweaver: yes, CA
ur5us has joined #ruby
Cohedrin has quit [Ping timeout: 246 seconds]
andywojo has quit [Ping timeout: 260 seconds]
PlasmaStar has joined #ruby
yqt has joined #ruby
<lalalaaa> Hi! Anybody know why I can't ruby-install without certificates anymore? % ruby-install ruby 2.3.0 --no-check-certificate
<lalalaaa> ruby-install: unrecognized option --no-check-certificate
Suntzu has quit [Read error: Connection reset by peer]
Spami has joined #ruby
<smathy> greenbigfrog, we won't know until you ask.
_blizzy_ has quit [Quit: Leaving]
blackmes1 has joined #ruby
greenbigfrog has left #ruby [#ruby]
sudoubuntu has joined #ruby
banister has quit [Remote host closed the connection]
PedramT has quit [Remote host closed the connection]
<shellie_> I have a function, that accepts an integer and a string flag at the end, essentially it's either 'r' or 'w' (read/write) - what's the best way to represent this? if I name the variable 'flags', it is not very obvious what kind of flag it takes
bitri_ has joined #ruby
PedramT has joined #ruby
<havenwood> lalalaaa: Are you sure you don't want to check the cert? You have a ca-certificates package installed?
banister has joined #ruby
lacrosse has joined #ruby
<havenwood> lalalaaa: It's probably worth checking the cert so you don't get MITMed but an easy way to use http instead of https is: ruby-install --url http://cache.ruby-lang.org/pub/ruby --latest ruby
banister has quit [Client Quit]
<havenwood> lalalaaa: Check those certs! :)
G has quit [Quit: leaving]
mrgrieves has quit [Ping timeout: 276 seconds]
<Ox0dea> shellie_: `mode` is a little better there.
stardiviner has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bitri_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has quit [Quit: Computer has gone to sleep.]
bitri has joined #ruby
bry4n_ has joined #ruby
shmuli has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
moeabdol has quit [Ping timeout: 252 seconds]
bitri has quit [Client Quit]
GG has quit [Quit: im gone, fam]
tristanp has joined #ruby
rehat has quit [Remote host closed the connection]
solars has quit [Ping timeout: 260 seconds]
GG has joined #ruby
bry4n_ has quit [Ping timeout: 248 seconds]
n_blownapart has joined #ruby
Cohedrin has joined #ruby
Zai00 has quit [Read error: Connection reset by peer]
Madplatypus has joined #ruby
Suntzu has joined #ruby
bkxd has joined #ruby
Cohedrin_ has quit [Ping timeout: 244 seconds]
ericlee has joined #ruby
Zai00 has joined #ruby
e4xit has joined #ruby
baweaver has quit [Remote host closed the connection]
LoneHerm_ has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 240 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
chouhoulis has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.4]
<goglosh> is there any embodiment of a type system in ruby?
<goglosh> like those in the ML family?
TomyLobo has quit [Ping timeout: 260 seconds]
<havenwood> goglosh: See dry-types: http://dry-rb.org
<goglosh> nice
<goglosh> thanks
chridal has quit [Ping timeout: 244 seconds]
tristanp has quit [Remote host closed the connection]
bollullera has joined #ruby
shmuli has quit [Remote host closed the connection]
Aviio has quit [Remote host closed the connection]
zeroDivisible has quit [Quit: WeeChat 1.4]
Devalo has joined #ruby
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
mdw has joined #ruby
alexherbo2 has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
nando293921 has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
benlieb has quit [Quit: benlieb]
PedramT has quit [Remote host closed the connection]
Aviio has joined #ruby
pawnbox has quit [Remote host closed the connection]
Chagel has joined #ruby
PedramT has joined #ruby
n_blownapart has quit [Remote host closed the connection]
n_blownapart has joined #ruby
pwnd_nsfw has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
Chagel has quit [Ping timeout: 244 seconds]
kith has joined #ruby
LoneHerm_ has joined #ruby
n_blownapart has quit [Ping timeout: 268 seconds]
shmuli has joined #ruby
rehat has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
duckpuppy has joined #ruby
aibot has quit [Ping timeout: 240 seconds]
aibot has joined #ruby
brent_ has joined #ruby
andywojo has joined #ruby
Limix has joined #ruby
Limix has quit [Client Quit]
Limix has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
PedramT has quit [Remote host closed the connection]
krz has quit [Read error: Connection reset by peer]
andywojo has quit [Ping timeout: 248 seconds]
PedramT has joined #ruby
_stu_ has joined #ruby
Jackneill has quit [Remote host closed the connection]
shmuli has quit [Remote host closed the connection]
polysics has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
rkazak has joined #ruby
fedexo has quit [Read error: Connection reset by peer]
karioleez has quit [Remote host closed the connection]
bry4n_ has joined #ruby
dn` has quit [Quit: dn`]
bitri has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bry4n_ has quit [Ping timeout: 268 seconds]
dmr8 has quit [Quit: Leaving]
Zai00 has quit [Quit: Zai00]
Spami has joined #ruby
davedev24 has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 246 seconds]
brent_ has quit []
brent_ has joined #ruby
ramfjord has joined #ruby
<darix> havenwood: the next version of "facets"?
baweaver has joined #ruby
weemsledeux has joined #ruby
shmuli has joined #ruby
bitri has quit [Quit: Textual IRC Client: www.textualapp.com]
aeterne has joined #ruby
<brent_> anybody able to help w/ rbenv/ruby-build on arch? keeps failing w/ ruby-build
sepp2k1 has quit [Read error: Connection reset by peer]
_stu_ has quit [Quit: _stu_]
stardiviner has quit [Ping timeout: 250 seconds]
baweaver has quit [Ping timeout: 250 seconds]
sigurding has joined #ruby
<adaedra> what's your problem?
futilegames has joined #ruby
futilegames has left #ruby [#ruby]
<brent_> i'm trying to rbenv install 2.1.2 and keep getting the following error http://hastebin.com/uwapijisuv.coffee
Aviio has quit [Remote host closed the connection]
<adaedra> You may want to include the full log indicated in your output.
weemsledeux has quit [Read error: Connection reset by peer]
PedramT has quit [Remote host closed the connection]
mdw has quit [Quit: Sleeping Zzzzz]
karioleez has joined #ruby
chridal has joined #ruby
shmuli has quit [Remote host closed the connection]
<lalalaaa> brent_: i thought everybody'd ditched rbenv/rvm in favor of ruby-install and chruby?
<lalalaaa> brent_: also i thought everybody'd ditched linux for openbsd/freebsd?
<lalalaaa> im confused
Zai00 has joined #ruby
* lalalaaa checks himself in the mirror
<adaedra> >_>
<brent_> quite possibly
<brent_> i was instructed to use rbenv and ruby-install
<brent_> not trying to get into openbsd right now
<adaedra> brent_: seen the full log?
<brent_> probably dumb question, how do i get the log you're askign about?
systemsgotyou has quit [Read error: Connection reset by peer]
<adaedra> It's mentioned in the trace you've pasted.
<brent_> i did script screen.log and the log is the same as what i put in hastebin
<brent_> oh lol
<brent_> blind
edwinvdgraaf has quit [Remote host closed the connection]
shmuli has joined #ruby
ecksit has joined #ruby
pawnbox has joined #ruby
lvn has joined #ruby
Begi1 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
abyx has joined #ruby
Begi has quit [Ping timeout: 260 seconds]
Begi1 is now known as Begi
<adaedra> Do you have openssl correctly installed, with development package if applicable?
abyx has quit [Client Quit]
s00pcan has joined #ruby
<brent_> my package manager shows i have lib32-openssl and openssl installed
<adaedra> is there an openssl-devel package available?
sigurding has quit [Quit: sigurding]
edwinvdgraaf has joined #ruby
chouhoulis has joined #ruby
stardiviner has joined #ruby
Aviio has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
shmuli has quit [Remote host closed the connection]
<adaedra> mh, Arch-based, should be in the same package
Devalo has quit [Remote host closed the connection]
<brent_> not seeing a separate package for openssl-devel
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
<brent_> give it a shot, but i need 2.1.2
mdw has joined #ruby
<adaedra> heh
Roa has quit [Remote host closed the connection]
elifoster has quit [Ping timeout: 276 seconds]
Limix has quit [Quit: Limix]
<Ox0dea> brent_: adaedra's link is the one you're after.
<adaedra> that's for rvm though
<adaedra> good evening Ox0dea
<Ox0dea> Hi, adaedra.
<brent_> looks like theres nothing version specific in the script, so maybe i can just do the same command w/ 2.1.2
<adaedra> tias
<Ox0dea> brent_: Aye, the patch cleanly applies all the way back to 1.9.
The_Phoenix has joined #ruby
<Ox0dea> And all the way up to trunk, for what that's worth.
<brent_> whats the trunk?
<Ox0dea> The version of Ruby "released" today.
<darix> brent_: you want at least 2.1.4 ... if i recall correctly .3 and 4. were security releases
marr has joined #ruby
<Ox0dea> brent_: Why 2.1?
<brent_> it's what the excercise instructed
<Ox0dea> :(
nano- has quit [Ping timeout: 276 seconds]
<darix> brent_: that is silly
<adaedra> yeah, go 2.1.9 then
nano- has joined #ruby
<darix> i would just use the latest available
<Ox0dea> Shouldn't have to say that to an Archer. :/
<Ox0dea> brent_ pls
<adaedra> :)
<darix> when did 2.1.9 happen
<adaedra> A long time ago
<darix> and 2.1.10 is out
<adaedra> In a galax... er, wrong story
<darix> :p
<adaedra> ah?
<darix> someone update topic
codecop has quit [Remote host closed the connection]
<darix> ah just a test
<brent_> adaedra thanks for the help, that did get it to install
lvn has quit [Ping timeout: 268 seconds]
<brent_> do you see significant issues not using the version or ruby they mentioned?
<adaedra> no.
<adaedra> darix: downloads page states 2.1.9 is the latest, and iirc we had it here for some time then removed from the topic
The_Phoenix has quit [Ping timeout: 246 seconds]
<shevy> so old
<darix> adaedra: both releases are like 2-3 days old :p
n_blownapart has joined #ruby
<adaedra> yeah, saw that.
Trynemjoel has quit [Ping timeout: 244 seconds]
<shevy> we need a 2.3.1!
<brent_> i'll just go w/ 2.3 for now an dhopefully not run into issues
<adaedra> We played a bit with the topic on 1/4.
<shevy> 1/4? 0.25?
<adaedra> 2016-04-01
Trynemjoel has joined #ruby
Suntzu has quit [Read error: Connection reset by peer]
<brent_> i was struggling the last couple days Ox0dea, and you were no where to be found
<Ox0dea> brent_: That doesn't mean I don't love you.
<adaedra> Well, they're not the only one knowing Ruby here :)
<brent_> lol. i was dreaminga bout my problem
<shevy> better than to dream about Ox0dea!
<adaedra> ouch.
<brent_> indeed, i did wake up and realize what 1 bug was
<Ox0dea> brent_: Oh, hey, this is a slightly better patch than the one rbenv recommends: https://github.com/ruby/ruby/commit/801e1f.diff
<Ox0dea> Unlikely to bite you at this stage of your journey, I suppose.
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<brent_> what's the difference between the 2?
<Ox0dea> You'll want to get comfortable with reading patches. :)
<Ox0dea> Well, diffs, at least.
bkxd has joined #ruby
<darix> adaedra: you just sticked to 2.1.9 because of the 2.1.10 potentially breaking things?
<adaedra> it's stated "not intended for production"
<adaedra> let me find back, I'm almost sure we've already discussed that here
Guest52 has joined #ruby
<Ox0dea> The difference between 2.1.9 and 2.1.10: https://github.com/ruby/ruby/commit/f0060b
stevenxl_ has joined #ruby
<adaedra> mh, can't find it back, my memory may be failing
<adaedra> what do you think, apeiros? Is 2.1.10 worth topicying?
stevenxl_ has quit [Quit: leaving]
<apeiros> somebody doubted recently that 2.1 should still be in topic. I missed the argument, though
<adaedra> ah wait
<adaedra> I forgot the logs didn't like emoji
<apeiros> if it's not EOL, I think it should be in the topic
polysics has joined #ruby
robbyoconnor has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
<adaedra> let me check again
<darix> it is in the "security updates only" mode
karioleez has quit [Remote host closed the connection]
magikid has quit [Quit: Leaving.]
pwnd_nsfw has joined #ruby
nando293921 has quit [Ping timeout: 264 seconds]
n008f4g_ has joined #ruby
<adaedra> ./2016-04-01.log:[22:05:33] *** havenwood changes topic to 'Ruby 3.0 release announcement: https://goo.gl/SsAhv
Guest52 has quit [Quit: Textual IRC Client: www.textualapp.com]
lkba has joined #ruby
<Ox0dea> I don't have who undid it.
polysics has quit [Read error: Connection reset by peer]
polysics_ has joined #ruby
<Ox0dea> But they should feel bad.
Cohedrin_ has joined #ruby
<adaedra> havenwood didn't want to keep it and restored 2.1.9
<darix> 2016-04-02.log:04:00:22 -!- havenwood changed the topic
<darix> there
robbyoconnor has quit [Remote host closed the connection]
<adaedra> I'll let that to havenwood's decision for now.
DoubleMalt has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
Cohedrin has quit [Ping timeout: 250 seconds]
<adaedra> And on these words, good night.
<apeiros> gn8
n_blownapart has quit []
baweaver has joined #ruby
polysics_ has quit [Ping timeout: 248 seconds]
shmuli has joined #ruby
Unicorn| has quit [Quit: Connection closed for inactivity]
ecksit has quit [Ping timeout: 264 seconds]
youch has joined #ruby
davedev24 has joined #ruby
lrkr has joined #ruby
lacrosse has quit [Quit: Connection closed for inactivity]
<brent_> thanks again adaedra!
ecksit has joined #ruby
davedev24 has quit [Ping timeout: 248 seconds]
mtkd has quit [Ping timeout: 268 seconds]
mdw has quit [Ping timeout: 248 seconds]
tadas-uh-oh has joined #ruby
mtkd has joined #ruby
Suntzu has joined #ruby
Begi has quit [Quit: Begi]
tadas-uh-oh has quit [Quit: Leaving]
pawnbox has joined #ruby
\13k_ is now known as \13k
svkurowski_ is now known as svkurowski
mhenrixon_ is now known as mhenrixon
Limix has joined #ruby
noService has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
diegoviola has joined #ruby
Aviio has quit [Remote host closed the connection]
htmldrum has quit [Ping timeout: 248 seconds]
Gasher has quit [Quit: Leaving]
sandstrom has quit [Quit: My computer has gone to sleep.]
Cohedrin has joined #ruby
sandstrom has joined #ruby
Cohedrin_ has quit [Ping timeout: 276 seconds]
dc4 has joined #ruby
last_staff has quit [Quit: last_staff]
youch has quit [Ping timeout: 244 seconds]
andywojo has joined #ruby
bedouin_ has quit [Quit: ZNC - http://znc.in]
n008f4g_ has quit [Ping timeout: 260 seconds]
bry4n_ has joined #ruby
biberu has quit []
Blaguvest has quit []
GodFather has joined #ruby
davedev24 has joined #ruby
jottr has joined #ruby
yfeldblum has joined #ruby
duckpuppy has joined #ruby
madgen has quit [Ping timeout: 260 seconds]
bry4n_ has quit [Ping timeout: 248 seconds]
halfamind has joined #ruby
pawnbox has joined #ruby
n008f4g_ has joined #ruby
duckpuppy has quit [Ping timeout: 268 seconds]
ecksit has quit [Ping timeout: 248 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
ecksit has joined #ruby
pawnbox has quit [Ping timeout: 248 seconds]
m8 has quit [Quit: Sto andando via]
joneshf-laptop has quit [Remote host closed the connection]
freerobby has joined #ruby
darkf has joined #ruby
aspiers_ is now known as aspiers
vdamewood has joined #ruby
polysics has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
zenlot6 has joined #ruby
zenlot has quit [Ping timeout: 260 seconds]
polysics has quit [Ping timeout: 246 seconds]
<Ox0dea> smathy: Grader::Cell is resolving to User::Cell.
<smathy> Ox0dea, yep, easy to fix, just another surprise.
<Ox0dea> smathy: You'd want :: to be right-associative?
andywojo has quit [Ping timeout: 248 seconds]
GG has quit [Quit: You're gonna carry that weight...]
<smathy> I know it can't be like that, and I'm not sure what I want, maybe a warning.
d0nn1e has quit [Ping timeout: 268 seconds]
<Ox0dea> Warning: constant resolution is behaving appropriately. :P
<smathy> :P
SHyx0rmZ has quit [Remote host closed the connection]
<smathy> ...I feel like I want constant lookup to NOT go up inheritance trees, but I'm sure there are times that I'm just not thinking of right now where I really DO want that.
<smathy> Maybe I just want a warning if I use a leading ::
d0nn1e has joined #ruby
dvinciguerra has joined #ruby
halfamind has quit [Quit: Leaving.]
axisys has joined #ruby
statelesscode has joined #ruby
SHyx0rmZ has joined #ruby
dvinciguerra_ has joined #ruby
pawnbox has joined #ruby
dvinciguerra has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 252 seconds]
stardiviner has quit [Ping timeout: 240 seconds]
St1gma has quit [Quit: laters]
kam270 has joined #ruby
lalalaaa has quit [Read error: Connection reset by peer]
firstdayonthejob has quit [Ping timeout: 260 seconds]
spider-mario has quit [Remote host closed the connection]
nando293921 has joined #ruby
<brent_> Ox0dea, do you use linux?
noService has joined #ruby
<Ox0dea> brent_: I use Arch.
mekul has joined #ruby
<brent_> my hero
<brent_> hopefully
sandstrom has quit [Quit: My computer has gone to sleep.]
mekul has quit [Max SendQ exceeded]
<brent_> do you have any experience w/ postgresql?
mekul has joined #ruby
lalalaaa has joined #ruby
<Ox0dea> I know how to fire it up and ask it simple questions.
<Ox0dea> You can do all sorts of nifty things with its CLI, but I never really dug into that aspect.
mekul has quit [Max SendQ exceeded]
noService has quit [Ping timeout: 246 seconds]
mekul has joined #ruby
<brent_> i think i'm having trouble setting it up
<brent_> i installed that long w/ the libpqxx package
Zai00 has quit [Quit: Zai00]
Zai00 has joined #ruby
<brent_> i was following these steps http://hastebin.com/lohoxemoqo.hs but under my usr/lib/postgresql/ there is no 9.1 directory, only a pgxs directory
<Ox0dea> brent_: Why this libpqxx thing?
<Ox0dea> In any case, the Arch Wiki is top-notch and written for you with love. :P
edwinvdgraaf has joined #ruby
<brent_> the exercise asked to aslo isntall libpq-devel, which looks like libpqxx is the equivalent for arch
<havenwood> Ox0dea: Since it's "not intended for production use" I don't feel bad. Well, I guess I bumped it initially so I can feel bad either way. :)
<havenwood> Doesn't seem it belongs amongst stable versions at this point, at least with that release caveat.
Inside has joined #ruby
Inside has joined #ruby
halfamind has joined #ruby
Paradox has quit [Ping timeout: 260 seconds]
<havenwood> I defer to this as the canonical truth: https://github.com/postmodern/ruby-versions/blob/master/ruby/stable.txt
<havenwood> :P
stardiviner has joined #ruby
rehat has quit []
Ropeney has joined #ruby
Paradox has joined #ruby
dc4 has quit [Ping timeout: 268 seconds]
halfamind1 has joined #ruby
halfamind has quit [Read error: Connection reset by peer]
Zai00 has quit [Quit: Zai00]
jottr has quit [Quit: WeeChat 1.4]
ecksit has quit [Ping timeout: 264 seconds]
User458764 has joined #ruby
vdamewood has quit [Ping timeout: 268 seconds]
bkxd has joined #ruby
n008f4g_ has quit [Ping timeout: 252 seconds]
ecksit has joined #ruby
halfamind1 has quit [Read error: Connection reset by peer]
halfamind has joined #ruby
htmldrum has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
makenoise has quit [Remote host closed the connection]
Nawn has joined #ruby
Limix has quit [Quit: Limix]
vdamewood has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
halfamind has quit [Read error: Connection reset by peer]
halfamind has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
dvinciguerra_ has quit [Ping timeout: 268 seconds]
<pleiosaur> what's that trick where I can write strings without needing to quote them?
<havenwood> pleiosaur: Thinking of something like %|| or %[], you can pick between a variety of delimiters
<pleiosaur> havenwood: I remember seeing a trick from long ago where you didn't need to quote them with any delimiters at all
<pleiosaur> I don't want to actually do this, I just want to remember how it was done :)
diegoaguilar has joined #ruby
<shellie_> I have 2 objects in different files and in one of the objects, I have some functionality I want shared between both objects. What's the best way to extend an object with another object (defined in separate files)?
<Nawn> Like an Array? I know that's %w(String1 String2 String3)
CloCkWeRX has joined #ruby
<Ox0dea> pleiosaur: I think you're thinking of #method_missing.
<havenwood> pleiosaur: Check those String literal docs ^ and the Here Documents right below it.
<Nawn> Well, the way I typically do it, is just wrap the code in a Module
<Nawn> and then include that module in both classes?
<Nawn> either that, or maybe make the functionalities public Class Methods?
<Ox0dea> >> def method_missing m; m.to_s; end; foo + bar + baz # pleiosaur
<ruby[bot]> Ox0dea: # => "foobarbaz" (https://eval.in/547077)
<pleiosaur> havenwood Ox0dea: found it, 0:43 at https://www.destroyallsoftware.com/talks/wat
<Ox0dea> Yep, that'd be the one.
<Nawn> shellie_?
<havenwood> Haha.
th0m has joined #ruby
<shellie_> Nawn: ok, let me scrible an example and pastebin it
kirun has quit [Quit: Client exiting]
SenpaiSilver has joined #ruby
<shellie_> I'd like to be able to call rctype2.some_shared_func from rctype1
<Ox0dea> shellie_: That shared functionality can go directly on an enclosing Module.
<shellie_> what's the best way for me to do this?
<shellie_> Ox0dea: like how?
halfamind has quit [Quit: Leaving.]
<shellie_> I'm relatively new to ruby, so I can't follow your statement
<Ox0dea> shellie_: In this particular case, you'd make it a "class method" on ServerSpec::Type.
uglybandersnatch has quit [Quit: ZNC 1.6.2 - http://znc.in]
uglybandersnatch has joined #ruby
<shellie_> oh.
<shellie_> so does the other file then inherit/see it?
<Ox0dea> ?try
<ruby[bot]> Why don't you try it and see for yourself?
<Ox0dea> ^_^
lrkr has quit [Ping timeout: 248 seconds]
<shellie_> omw
Aviio has joined #ruby
<shellie_> maybe I should make my own module in between type and my object, so that I don't polute type's namespace
<shellie_> would this make sense?