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.
<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
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
<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?
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.
<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]
<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
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
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]
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
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?
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.
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)