jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
crankharder has quit [Quit: leaving]
mistermocha has quit [Ping timeout: 252 seconds]
hxegon is now known as hxegon_afk
blackmesa has quit [Quit: WeeChat 1.5]
croberts has joined #ruby
blackmesa has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
solocshaw has quit [Ping timeout: 250 seconds]
Guest3885 is now known as Tristan-Speccy
jenrzzz has quit [Ping timeout: 246 seconds]
solocshaw has joined #ruby
jmignault has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nadir has quit [Quit: Connection closed for inactivity]
djbkd has quit [Ping timeout: 264 seconds]
ekinmur has joined #ruby
ekinmur has quit [Client Quit]
sanjayu has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
Hobogrammer has joined #ruby
voodoofish4302 has quit [Quit: Leaving.]
Danny_ has joined #ruby
kobain has joined #ruby
jmignault has quit [Ping timeout: 264 seconds]
korzybski has joined #ruby
ullu_ has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
mfb2_ has joined #ruby
B1n4r10 has quit [Ping timeout: 240 seconds]
solocshaw1 has joined #ruby
Danny_ has quit [Ping timeout: 240 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
solocshaw has quit [Ping timeout: 250 seconds]
Vingador has joined #ruby
ta__ has quit [Ping timeout: 260 seconds]
solocshaw1 is now known as solocshaw
macsteps has joined #ruby
ta_ has joined #ruby
mfb2 has quit [Ping timeout: 250 seconds]
mfb2_ has quit [Ping timeout: 240 seconds]
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
mfb2 has joined #ruby
Danny_ has joined #ruby
electrostat has quit [Read error: Connection reset by peer]
ledestin has joined #ruby
macsteps has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
electrostat has joined #ruby
jetpackj1 has quit [Quit: WeeChat 1.5]
LoneHerm_ has joined #ruby
blackmesa has quit [Quit: WeeChat 1.5]
mattwashere has quit [Ping timeout: 272 seconds]
mfb2 has quit [Ping timeout: 244 seconds]
sneakers has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
Danny_ has quit [Ping timeout: 240 seconds]
jenslarsson has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agentmeerkat has joined #ruby
Ruby_Nuby has joined #ruby
<Ruby_Nuby> I have question who can help?
<Ruby_Nuby> i am trying to post multipart http request cucumber via cucumber
dhruvasagar has joined #ruby
<Ruby_Nuby> How can i post multipart form including metadata via cucumber?
vdamewood has quit [Quit: Life beckons.]
<Ruby_Nuby> anyone?
<Radar> Ruby_Nuby: what have you tried?
cdg has quit [Remote host closed the connection]
electrostat has quit [Remote host closed the connection]
dhruvasagar has quit [Ping timeout: 264 seconds]
nettoweb has joined #ruby
macsteps has joined #ruby
<Ruby_Nuby> @Radar i've tried a bunch of things.. im currently using cucumber-api gem along with json_spec and RestClient..
dc4 has joined #ruby
<Ruby_Nuby> but i cant get the file to upload, let alone with the basic auth header and params i need to send as metadata
electrostat has joined #ruby
<Ruby_Nuby> I need to send a txt file as well as json metadata
<Ruby_Nuby> There is no UI
djbkd has quit [Quit: My people need me...]
macsteps has quit [Remote host closed the connection]
<Radar> Ruby_Nuby: show us some code please
evansbee has joined #ruby
thatsnotjack has quit [Ping timeout: 240 seconds]
aibot has quit [Remote host closed the connection]
<Ruby_Nuby> here is 50th attempt code: http://screencast.com/t/Nh7uNSY1h
aibot has joined #ruby
<Ruby_Nuby> this code does nothing currently.. what am I doing wrong? and how can i add auth header and metadata?
<Ruby_Nuby> any help would be appreciated
mattwashere has joined #ruby
<Ruby_Nuby> I need to make a POST with auth header, that uploads file and sends JSON metaData
chouhoulis has quit [Ping timeout: 244 seconds]
evansbee has quit [Ping timeout: 244 seconds]
<Radar> Can you run that code outside of Cucumber and see what ti does?
hahuang61 has joined #ruby
electrostat has quit [Read error: Connection reset by peer]
<Ruby_Nuby> 400 Bad Request (RestClient::BadRequest) ...gems/ruby-2.0.0-p648/gems/rest-client-1.8.0/lib/restclient/abstract_response.rb:74:in `return!'
<Radar> Ruby_Nuby: Do you have access to the server to see what it's doing?
dc4 has quit [Ping timeout: 264 seconds]
dc4 has joined #ruby
diegoviola has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
Vingador has quit [Remote host closed the connection]
Danny_ has joined #ruby
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
banisterfiend has joined #ruby
banisterfiend has quit [Changing host]
banisterfiend has joined #ruby
whathappens has quit [Remote host closed the connection]
Danny_ has quit [Client Quit]
banisterfiend has quit [Client Quit]
<Radar> Ruby_Nuby: Still there?
whathappens has joined #ruby
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
hastur has joined #ruby
banisterfiend has joined #ruby
<hastur> how would i structure a program that uses both eventmachine / websockets and rufus-scheduler?
arescorpio has joined #ruby
arnonhongklay has joined #ruby
<hastur> it seems i can't have both in one script from the command line, because each one tries to take the entire thread
LoneHerm_ has quit [Remote host closed the connection]
jhack has joined #ruby
mattwashere has quit [Remote host closed the connection]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta__ has joined #ruby
mattwashere has joined #ruby
pilne has quit [Quit: Quitting!]
skade has joined #ruby
jenrzzz has joined #ruby
gregf has quit [Ping timeout: 272 seconds]
ta_ has quit [Ping timeout: 264 seconds]
Raboo has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
pilne has joined #ruby
neo_ has joined #ruby
<hastur> i guess it's just threading?
allcentury has quit [Ping timeout: 252 seconds]
MrBusiness has joined #ruby
Ropeney has joined #ruby
slappy16 has quit [Quit: Leaving.]
B1n4r10 has quit [Ping timeout: 260 seconds]
B1n4r10 has joined #ruby
korzybski has quit [Quit: korzybski]
enterprisey has joined #ruby
i8igmac has quit [Quit: Leaving]
sanjayu has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
arooni has quit [Ping timeout: 276 seconds]
arooni_ has joined #ruby
User458764 has joined #ruby
hutch34 has joined #ruby
diegoviola has joined #ruby
pilne has quit [Quit: Quitting!]
solocshaw has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
jmignault has joined #ruby
Akuma has quit [Quit: So long sukkas!]
enterprisey has quit [Remote host closed the connection]
yqt has quit [Ping timeout: 276 seconds]
pilne has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
howdoi has joined #ruby
jmignault has quit [Ping timeout: 264 seconds]
crystal77 has joined #ruby
crystal77 has quit [Max SendQ exceeded]
crystal77 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
skweek has joined #ruby
Rodya_ has quit [Remote host closed the connection]
ullu_ has joined #ruby
CloCkWeRX has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
Ruby_Nuby has quit [Ping timeout: 250 seconds]
Sucks has quit [Ping timeout: 264 seconds]
evansbee has joined #ruby
<isberg> Is there a way to check if a value is a boolean?
<isberg> Except for checking for true/false
<isberg> I.e is_a?(Bool)
mistermocha has joined #ruby
<eam> all objects have a boolean value. You can check if something is either TrueClass or FalseClass
nankyokusei has joined #ruby
<isberg> So not both?
<eam> it can't be both, but you could see if it's either one
<isberg> They belong to the same group, boolean
<isberg> that's what I'm trying to check
<eam> what's a group?
<isberg> true/false is a boolean
<isberg> boolean is a group
<eam> all objects are a boolean
<eam> "hello" is a boolean value, and it's true
<isberg> In Ruby, yes. But that's no very helpful if I'm trying to convert to something else
arooni_ has quit [Ping timeout: 244 seconds]
davedev24 has quit []
mistermocha has quit [Ping timeout: 250 seconds]
ekinmur has joined #ruby
<eam> it sounds like you want to find out if something is a TrueClass or FalseClass
nankyokusei has quit [Ping timeout: 250 seconds]
<isberg> Yes. If they belong to the group of booleans
arooni has joined #ruby
bihi has quit [Remote host closed the connection]
bihi has joined #ruby
nertzy has quit [Ping timeout: 250 seconds]
B1n4r10 has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
whathappens has quit [Remote host closed the connection]
Ariadeno has quit [Ping timeout: 244 seconds]
whathappens has joined #ruby
korzybski has joined #ruby
Ariadeno has joined #ruby
<nofxx> isberg, agree that a is_a?(Boolean) would be nice. Anything better than is_a?(TrueClass) || is_a?(FalseClass) ?
<isberg> Yeah, exactly
A5101 has joined #ruby
<nofxx> isberg, but there's always `nil` to consider too. As why says: only two wear the black cape in ruby: false and nil
zotherstupidguy has quit [Quit: WeeChat 1.3]
jmignault has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
B1n4r10 has joined #ruby
<nofxx> problem is the politics with nil being considered boolean... tri-state booleans
Rodya_ has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sucks has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
gregf has joined #ruby
jmignault has quit [Ping timeout: 276 seconds]
whathappens has quit [Ping timeout: 276 seconds]
dc4 has quit [Ping timeout: 260 seconds]
DoomDood has joined #ruby
<DoomDood> Hey!
DoomDood has quit [Client Quit]
ruby-nuby has joined #ruby
ullu_ has quit [Ping timeout: 240 seconds]
<ruby-nuby> still looking for help with multipart form upload: need to send txt with json metadata
<ruby-nuby> *txt file with accompanying JSON metadata
rkazak has quit [Quit: Sleep.....ing....]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
Xeago_ has quit [Remote host closed the connection]
hastur has quit [Quit: Leaving]
korzybski has quit [Quit: korzybski]
<ruby-nuby> any takers?
<ruby-nuby> or can you help me by showing me where to look?
jottr has quit [Ping timeout: 258 seconds]
<ruby-nuby> i can really find anything on google
Cohedrin has quit [Quit: Textual IRC Client: www.textualapp.com]
Rodya_ has quit [Remote host closed the connection]
<adam12> ruby-nuby: What have you tried?
<adam12> ruby-nuby: Are you trying to interface to a specific service?
agent_white has joined #ruby
<agent_white> Evenin' folks
Parker0 has joined #ruby
okdas has quit [Ping timeout: 276 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jhack has quit [Quit: jhack]
okdas has joined #ruby
okdas has quit [Changing host]
okdas has joined #ruby
pilne has quit [Quit: Quitting!]
freerobby has joined #ruby
Rodya_ has joined #ruby
chouhoulis has joined #ruby
claw has quit [Read error: Connection reset by peer]
claw has joined #ruby
dhruvasagar has joined #ruby
arthurl has joined #ruby
nertzy has joined #ruby
korzybski has joined #ruby
dhruvasagar has quit [Ping timeout: 244 seconds]
nadir has joined #ruby
CloCkWeRX has quit [Ping timeout: 240 seconds]
CloCkWeRX has joined #ruby
arooni_______ has joined #ruby
arooni_______ has left #ruby [#ruby]
bihi has quit [Ping timeout: 260 seconds]
Jardayn has quit [Read error: Connection reset by peer]
shakes has joined #ruby
neha- has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
blackgoat has quit [Quit: WeeChat 1.5]
prefix has joined #ruby
ta__ has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
bihi has joined #ruby
gusrub has quit [Ping timeout: 252 seconds]
Neobenedict_ is now known as fuuuuuUCKKKKK
fuuuuuUCKKKKK is now known as Neobenedict
postmodern has quit [Quit: Leaving]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
mozzarella has quit [Quit: WeeChat 1.5]
Dimik has quit [Ping timeout: 244 seconds]
mozzarella has joined #ruby
ekinmur has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
coyo has quit []
bfrizzle_ has quit [Ping timeout: 240 seconds]
Regulati_ has joined #ruby
Tempesta has quit [Quit: See ya!]
Parker0 has quit [Quit: Textual IRC Client: www.textualapp.com]
amcoder has quit [Ping timeout: 244 seconds]
yokel has quit [Ping timeout: 276 seconds]
RegulationD has quit [Ping timeout: 264 seconds]
Parker0 has joined #ruby
B1n4r10 has quit [Ping timeout: 276 seconds]
arnonhongklay has quit []
bfrizzle has joined #ruby
yokel has joined #ruby
B1n4r10 has joined #ruby
Parker0 has quit [Ping timeout: 272 seconds]
Sucks has quit [Quit: Leaving]
jaguarmagenta has quit [Remote host closed the connection]
Sucks has joined #ruby
netuoso has joined #ruby
dc4 has joined #ruby
gix has quit [Ping timeout: 252 seconds]
electrostat has joined #ruby
k3rn31 has joined #ruby
sanjayu has quit [Ping timeout: 244 seconds]
braincras has joined #ruby
gix has joined #ruby
mozzarella has quit [Quit: WeeChat 1.5]
rbennacer has quit [Remote host closed the connection]
mozzarella has joined #ruby
arescorpio has quit [Quit: Leaving.]
yokel has quit [Ping timeout: 246 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
yokel has joined #ruby
wldcordeiro has quit [Ping timeout: 272 seconds]
dhruvasagar has joined #ruby
Rodya_ has quit [Remote host closed the connection]
tristanp_ has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
jaguarmagenta has joined #ruby
wldcordeiro has joined #ruby
tristanp has quit [Ping timeout: 250 seconds]
dhruvasagar has quit [Ping timeout: 276 seconds]
nankyokusei has quit [Ping timeout: 246 seconds]
dhruvasagar has joined #ruby
LoneHerm_ has joined #ruby
neo_ has quit []
crankharder has joined #ruby
enterprisey has joined #ruby
enterprisey has quit [Remote host closed the connection]
hk238 has joined #ruby
freerobby has quit [Quit: Leaving.]
mistermocha has joined #ruby
tmtwd has joined #ruby
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
shakes has quit [Quit: Leaving]
Vile` has quit [Ping timeout: 244 seconds]
PaulCapestany has quit [Quit: .]
elifoster has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
mattwashere has quit [Remote host closed the connection]
banisterfiend has joined #ruby
mistermocha has quit [Ping timeout: 258 seconds]
agent_white has quit [Quit: brb]
PaulCapestany has joined #ruby
zacstewart has quit [Ping timeout: 244 seconds]
duncannz has joined #ruby
ullu_ has joined #ruby
rkazak has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
workmad3 has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
ullu_ has quit [Ping timeout: 272 seconds]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
agent_white has joined #ruby
djbkd has joined #ruby
kareeoleez has joined #ruby
neo_ has joined #ruby
netuoso has quit [Quit: Page closed]
thatsnotjack has joined #ruby
roamingdog has joined #ruby
nando293921 has joined #ruby
korzybski has quit [Quit: korzybski]
raeoks has joined #ruby
glrrf has joined #ruby
emiltin has joined #ruby
bb010g has joined #ruby
glrrf has left #ruby [#ruby]
<Radar> ruby-nuby: protip: to get help with your problem, you're going to need to reply quickly to the people who are trying to help you.
nando293921 has quit [Ping timeout: 260 seconds]
arthurl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
LoneHerm_ has quit [Remote host closed the connection]
neo_ has quit [Remote host closed the connection]
dsea has joined #ruby
dsea has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
sanjayu has joined #ruby
Cyrus1 has quit [Read error: Connection reset by peer]
dsea has joined #ruby
febuiles has quit [Quit: febuiles]
rkazak has quit [Quit: Sleep.....ing....]
korzybski has joined #ruby
<shevy> I have a question for the method:
<shevy> x = [1,2,3,4,5] # => [1, 2, 3, 4, 5]; x[1,2] = 8; x # => [1, 8, 4, 5]
<shevy> how can I define a method on a custom class, say class Foo; end, that allows me to also do something like this? the: "x[1,2] = 8" part
hutch34 has quit [Ping timeout: 264 seconds]
codecop has joined #ruby
ta__ has joined #ruby
ohcibi has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xall has quit [Ping timeout: 272 seconds]
ohcibi has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
tmtwd has quit [Ping timeout: 252 seconds]
Devalo has quit [Remote host closed the connection]
kareeoleez has quit [Remote host closed the connection]
mistermocha has joined #ruby
kentnl has joined #ruby
kent\n has quit [Ping timeout: 250 seconds]
jmignault has joined #ruby
k3rn31 has joined #ruby
kareeoleez has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
jmignault has quit [Ping timeout: 252 seconds]
terminalrecluse has joined #ruby
kareeoleez has quit [Remote host closed the connection]
mattwashere has joined #ruby
arnonhongklay has joined #ruby
dc4 has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 276 seconds]
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
amclain has quit [Quit: Leaving]
dc4 has joined #ruby
<shevy> ah seems to be like any other method that accepts arguments, just inside the () ... "def []=(a,b,c)"
hutch34 has joined #ruby
craigp_ has quit [Ping timeout: 260 seconds]
LoneHerm_ has joined #ruby
gusrub has joined #ruby
B1n4r10 has quit [Ping timeout: 264 seconds]
Sucks has quit [Quit: Leaving]
yfeldblum has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 260 seconds]
Sucks has joined #ruby
Sucks has quit [Max SendQ exceeded]
Sucks has joined #ruby
elifoster has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
djbkd has quit [Quit: My people need me...]
last_staff has joined #ruby
tubuliferous has quit [Ping timeout: 244 seconds]
arnonhongklay has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
tmtwd has joined #ruby
last_staff has quit [Client Quit]
gusrub has quit [Quit: Leaving]
tubuliferous has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
the_drow has joined #ruby
nankyokusei has joined #ruby
TomyLobo has joined #ruby
thatsnotjack has quit [Ping timeout: 240 seconds]
mistermocha has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
Wildfyr has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
xall has joined #ruby
Hyuk has joined #ruby
mistermocha has quit [Ping timeout: 252 seconds]
xall has quit [Ping timeout: 258 seconds]
djbkd has joined #ruby
dc4 has quit [Ping timeout: 246 seconds]
Dimik has joined #ruby
kareeoleez has joined #ruby
arnonhongklay has joined #ruby
anisha has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
mattwashere has quit [Ping timeout: 260 seconds]
evansbee has quit [Ping timeout: 260 seconds]
pandaant has joined #ruby
<Dimik> is there a vim gem for pry or irb
No has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
edwardly has quit [Ping timeout: 258 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
AnoHito has joined #ruby
dsea11 has joined #ruby
ur5us has quit [Remote host closed the connection]
pawnbox has joined #ruby
AnoHito_ has quit [Ping timeout: 250 seconds]
dsea has quit [Ping timeout: 252 seconds]
yfeldblu_ has joined #ruby
Hyuk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xall has joined #ruby
banjara has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
Hyuk has joined #ruby
ur5us has joined #ruby
djbkd has quit [Remote host closed the connection]
solars has joined #ruby
isberg has quit [Quit: I'm out]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nevynxxx_ has quit [Ping timeout: 244 seconds]
Es0teric has joined #ruby
harfangk has joined #ruby
Blue_Ice_ has joined #ruby
nevynxxx has joined #ruby
l4v2 has quit [Quit: l4v2]
mieko has joined #ruby
conta has joined #ruby
firstdayonthejob has joined #ruby
korzybski has quit [Quit: korzybski]
Hobogrammer has quit [Ping timeout: 240 seconds]
ciampix has joined #ruby
xall has quit [Ping timeout: 260 seconds]
TomyLobo has quit [Ping timeout: 260 seconds]
Wildfyr has quit [Quit: See ya]
Blue_Ice_ has quit [Quit: Very funny Scottie. Now beam down my clothes!]
dionysus69 has joined #ruby
dhruvasagar has joined #ruby
firstdayonthejob has quit [Ping timeout: 272 seconds]
Sucks has quit [Ping timeout: 264 seconds]
mozzarella has quit [Ping timeout: 246 seconds]
A5101 has quit [Ping timeout: 244 seconds]
craigp_ has joined #ruby
aufi has joined #ruby
andikr has joined #ruby
ur5us has quit [Remote host closed the connection]
emiltin has quit [Quit: Computer has gone to sleep.]
korzybski has joined #ruby
tmtwd has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
the_drow has quit [Quit: This computer has gone to sleep]
the_drow has joined #ruby
DoubleMalt has joined #ruby
ta__ has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
ta_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
Sucks has joined #ruby
Sucks has quit [Max SendQ exceeded]
harfangk has quit [Quit: harfangk]
ldrancer has joined #ruby
l4v2 has joined #ruby
ldrancer has left #ruby [#ruby]
l4v2 has quit [Client Quit]
<dhruvasagar> shevy: you could just extend array I suppose
tmtwd has joined #ruby
jaruga___ has joined #ruby
jaruga___ is now known as jaruga____
ta_ has quit [Remote host closed the connection]
dminuoso has joined #ruby
d0nn1e has quit [Ping timeout: 240 seconds]
neo_ has joined #ruby
dc4 has joined #ruby
d0nn1e has joined #ruby
skade has joined #ruby
terminalrecluse has joined #ruby
elifoster has quit [Ping timeout: 240 seconds]
Hyuk has quit [Ping timeout: 244 seconds]
agent_white has quit [Quit: brb]
pawnbox has joined #ruby
aganov has joined #ruby
User458764 has joined #ruby
mark_661 has joined #ruby
Synthead has quit [Ping timeout: 276 seconds]
blaxter has joined #ruby
Synthead has joined #ruby
korzybski has quit [Quit: korzybski]
alexherbo2 has joined #ruby
terlar has joined #ruby
Synthead has quit [Max SendQ exceeded]
exadeci has joined #ruby
harfangk has joined #ruby
Synthead has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
caino has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
bweston92 has joined #ruby
prefix has quit [Quit: Goodnight]
neo_ has quit [Remote host closed the connection]
crystal77 has quit [Quit: Textual IRC Client: www.textualapp.com]
the_drow has quit [Ping timeout: 260 seconds]
ejnahc has joined #ruby
ta_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
xall has joined #ruby
tmtwd has quit [Ping timeout: 250 seconds]
ruby-lang821 has joined #ruby
edwinvdgraaf has joined #ruby
isberg has joined #ruby
polll has joined #ruby
ruby-lang821 has quit [Client Quit]
agit0 has joined #ruby
polll has quit [Client Quit]
pawnbox has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
Ishido has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
terminalrecluse has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
dc4 has quit [Ping timeout: 260 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
ngw has joined #ruby
neo_ has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
last_staff has joined #ruby
ur5us has joined #ruby
Couch has joined #ruby
multi_io has quit [Ping timeout: 240 seconds]
lenwood has joined #ruby
neo_ has quit [Ping timeout: 250 seconds]
multi_io has joined #ruby
harfangk has quit [Quit: harfangk]
triangles has joined #ruby
tomphp has joined #ruby
solars has quit [Remote host closed the connection]
solars has joined #ruby
banjara has quit [Quit: Leaving.]
<triangles> Is there a special way you're supposed to require gems brought in from Github, as opposed to rubygems?
yokel has quit [Ping timeout: 246 seconds]
<triangles> I'm trying to use this https://github.com/sycobuny/sinatra-spreadsheet but can't figure out how to require it once installed
evansbee has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
banisterfiend is now known as banisterfiend`
mattwashere has joined #ruby
yokel has joined #ruby
<dminuoso> triangles: The README actually shows how its required. :-)
<ljarvis> triangles: are you using bundler?
<dminuoso> triangles: And you are not exactly specifying "github" as a source, but rather you can (if you want) specify "git" for a specific gem.
<triangles> dminuoso: as 'sinatra/spreadsheet'? I've tried that, but get an error on that line
evansbee has quit [Ping timeout: 276 seconds]
<triangles> I have bundler required, and used bundle install to install the gems, if that's what using bundler means
febuiles has joined #ruby
<ljarvis> then you don't need to require it explicitly, if you're loading your bundle in your code
mattwashere has quit [Ping timeout: 240 seconds]
<ljarvis> e.g. with Bundler.require
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
dc4 has joined #ruby
yeticry has joined #ruby
<dminuoso> triangles: If you use bundle, then you must use bundle.
<dminuoso> (Let's see if that makes sense to you)
ullu_ has joined #ruby
nickjj has quit [Read error: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number]
nickjj has joined #ruby
ullu_ has quit [Ping timeout: 276 seconds]
banisterfiend` is now known as banisterfiend
elaptics`away is now known as elaptics
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Silthias has joined #ruby
edwinvdgraaf has joined #ruby
No has quit [Ping timeout: 264 seconds]
Jerkychew has joined #ruby
the_drow has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
Emmanuel_Chanel has quit [Ping timeout: 244 seconds]
n1x-nz has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
lxsameer has joined #ruby
Wildfyr has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
Emmanuel_Chanel has joined #ruby
ych has joined #ruby
ramfjord has joined #ruby
joonty has joined #ruby
Dimik has quit [Ping timeout: 246 seconds]
dhruvasagar has quit [Ping timeout: 260 seconds]
ponga has joined #ruby
Jerkychew has quit [Ping timeout: 250 seconds]
burgestrand has joined #ruby
weckl has joined #ruby
<triangles> I'm scouring the bundler.io docs and trying every combination of bundler/setup, bundler, Bundler.require etc I can think of and still can't get the name to resolve
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
weckl has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
weckl has quit [Max SendQ exceeded]
troulouliou_div2 has joined #ruby
<dminuoso> triangles: How about you gist some code that shows what you are trying to do, what you expect to happen, and what error message you get.
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
mikecmpbll has joined #ruby
weckl has joined #ruby
weckl has quit [Max SendQ exceeded]
troulouliou_div2 has quit [Remote host closed the connection]
harfangk has joined #ruby
dionysus69 has quit [Quit: dionysus69]
Silex^^ is now known as Silex
lenwood has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby
tomphp has joined #ruby
Ishido has quit [Remote host closed the connection]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta__ has joined #ruby
lenwood has joined #ruby
burgestrand has joined #ruby
Snowy has joined #ruby
tomphp has quit [Client Quit]
ta_ has quit [Ping timeout: 250 seconds]
fclausen has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
tomphp has joined #ruby
jenrzzz has joined #ruby
<dminuoso> triangles: Let's first clear up some things.
<dminuoso> triangles: Either you use bundler to require things, or you dont.
<dminuoso> Let's just assume you want to use bundler, all you need to do is require 'bundler/setup' after rubygems and then run Bundler.require
<dminuoso> triangles: However! You need to tell bundler which group to require - anything that is outside of a named group is implicitly placed into the :default group.
<dminuoso> triangles: So the correct way would be to use Bundler.require(:default) (unless you place some gems into groups, then you need to specify that group as well)
<dminuoso> And then you do not need to require it again.
ayonkhan has joined #ruby
dc4 has quit [Ping timeout: 250 seconds]
edwinvdgraaf has joined #ruby
lenwood has quit [Ping timeout: 252 seconds]
skade has joined #ruby
B1n4r10 has joined #ruby
Coldblackice has quit [Ping timeout: 250 seconds]
B1n4r10 has quit [Ping timeout: 264 seconds]
emiltin has joined #ruby
ur5us has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 244 seconds]
marr has joined #ruby
aryaching has joined #ruby
Beast has joined #ruby
pawnbox has quit [Remote host closed the connection]
<triangles> Hmm, I see
<triangles> So I just require rubygems, bundler/setup, then call Bundler.require(:default)?
Es0teric has quit [Quit: Computer has gone to sleep.]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrmortondk has joined #ruby
burgestrand has joined #ruby
burgestrand has quit [Client Quit]
Madplatypus has quit [Quit: Connection closed for inactivity]
lenwood has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
burgestrand has joined #ruby
harfangk has quit [Quit: harfangk]
consti has joined #ruby
antgel has joined #ruby
Oclair has joined #ruby
aryaching has quit [Remote host closed the connection]
dionysus69 has joined #ruby
patrick_star_2 has quit [Read error: Connection reset by peer]
<Wildfyr> as a ruby begginer what is the best way to install gems
<Zarthus> Wildfyr: What is your usecase? Are you starting a new project, or installing one?
<Wildfyr> Zarthus: installing one
n1x-nz has quit [Quit: Computer says no]
<Zarthus> generally `bundle install` is sufficient, if there is no 'vendor' folder in the root you might choose to install it in your own prefix (like your home) if you really want to.
<Zarthus> like with any program, `bundle --help' is often useful to read.
patrick_star has joined #ruby
fclausen has joined #ruby
<Zarthus> in your case, you want `bundle --help install'
Oclair has quit [Read error: Connection reset by peer]
<Wildfyr> Zarthus: no bundle here
<Zarthus> `gem install bundler' first
yude has joined #ruby
pawnbox has joined #ruby
sdothum has joined #ruby
futilegames has joined #ruby
naftilos76 has joined #ruby
jenrzzz has joined #ruby
mozzarella has joined #ruby
futilegames has quit [Client Quit]
futilegames has joined #ruby
<Wildfyr> are there any significant advantages of using bundler over gem
dhruvasagar has quit [Ping timeout: 244 seconds]
TvL2386 has quit [Remote host closed the connection]
<Zarthus> the gem command helps install gems and manage them, bundler reads project dependencies and loops over them, passing them to gem (in a very brief way of saying it)
Bish has quit [Read error: Connection reset by peer]
<Wildfyr> okay
<Zarthus> bundler also helps your ruby path so you can always include your required gems
Bish has joined #ruby
<Wildfyr> okay
harfangk has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
fclausen_ has joined #ruby
<Zarthus> if you are familiar with other languages, the bundler is a bit like the build file, where gems is just the tool the buildfile uses to install dependencies with
araujo has quit [Max SendQ exceeded]
futilegames has quit [Ping timeout: 276 seconds]
jmignault has joined #ruby
araujo has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
<Wildfyr> ok
<Wildfyr> thanks
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
fclausen has quit [Ping timeout: 240 seconds]
sanjayu has quit [Ping timeout: 260 seconds]
duncannz has quit [Remote host closed the connection]
araujo has quit [Max SendQ exceeded]
ramfjord has quit [Ping timeout: 244 seconds]
araujo has joined #ruby
toretore has joined #ruby
emiltin has quit [Quit: Computer has gone to sleep.]
chip_ has joined #ruby
Emmanuel_Chanel_ has joined #ruby
jmignault has quit [Ping timeout: 258 seconds]
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
terminalrecluse has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
hahuang65 has quit [Remote host closed the connection]
hahuang65 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Gasher has joined #ruby
harfangk has quit [Quit: harfangk]
jaguarmagenta has joined #ruby
terminalrecluse has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
Emmanuel_Chanel_ has quit [Quit: Leaving]
jaguarmagenta has quit [Ping timeout: 244 seconds]
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Max SendQ exceeded]
Emmanuel_Chanel has joined #ruby
sanjayu has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
No has joined #ruby
fclausen_ has quit [Ping timeout: 240 seconds]
harfangk has joined #ruby
dminuoso has quit [Ping timeout: 276 seconds]
roamingdog has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
Oclair has joined #ruby
User458764 has joined #ruby
joonty has joined #ruby
evansbee has joined #ruby
koooge has quit [Quit: Leaving...]
mattwashere has joined #ruby
charliesome has joined #ruby
TheWhip has joined #ruby
evansbee has quit [Ping timeout: 276 seconds]
mattwashere has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
solars has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
harfangk has quit [Quit: harfangk]
User458764 has joined #ruby
ta_ has joined #ruby
Tempesta has joined #ruby
ta__ has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
DoubleMalt has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
Rickmasta has joined #ruby
johnmilton has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
codecop has quit [Remote host closed the connection]
abk has joined #ruby
ayonkhan has quit [Quit: Textual IRC Client: www.textualapp.com]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
febuiles has left #ruby [#ruby]
harfangk has joined #ruby
emiltin has joined #ruby
carella has quit [Ping timeout: 264 seconds]
binaryplease1 has joined #ruby
postmodern has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
banisterfiend is now known as banisterfiend`
User458764 has quit [Ping timeout: 272 seconds]
jmignault has joined #ruby
lenwood has quit [Read error: Connection reset by peer]
tvw has quit []
binaryplease1 is now known as binaryplease
allcentury has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jmignault has quit [Ping timeout: 252 seconds]
ta__ has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
harfangk has quit [Quit: harfangk]
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
B1n4r10 has joined #ruby
ramfjord has joined #ruby
rodfersou has joined #ruby
harfangk has joined #ruby
B1n4r10 has quit [Ping timeout: 258 seconds]
dc4 has joined #ruby
GodFather has joined #ruby
dc4 has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
GodFather has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 240 seconds]
No has quit [Ping timeout: 276 seconds]
GodFather has joined #ruby
AlexJakeGreen has joined #ruby
johnmilton has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
Xeago_ has joined #ruby
dminuoso has joined #ruby
charliesome has quit [Client Quit]
TheWhip has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
GodFather has quit [Ping timeout: 272 seconds]
GodFather_ has joined #ruby
leitz has joined #ruby
TheWhip has joined #ruby
<leitz> How do you test if a passed in argument can be converted to a Fixnum?
hahuang65 has quit [Read error: Connection reset by peer]
arnonhongklay has quit [Remote host closed the connection]
ta_ has joined #ruby
arnonhongklay has joined #ruby
xall has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
Xeago_ has quit [Remote host closed the connection]
Xeago_ has joined #ruby
ta__ has quit [Ping timeout: 264 seconds]
arnonhongklay has quit [Ping timeout: 250 seconds]
hahuang65 has joined #ruby
ruby-nuby has quit [Ping timeout: 250 seconds]
jmignault has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
arnonhongklay has joined #ruby
<lupine> um
nettoweb has joined #ruby
GodFather_ has quit [Remote host closed the connection]
Vile` has joined #ruby
GodFather has joined #ruby
harfangk has quit [Quit: harfangk]
joonty has quit [Quit: This computer has gone to sleep]
aryaching has joined #ruby
Macaveli has joined #ruby
lusory has quit [Quit: leaving]
MrBusiness2 has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
aries_liuxueyang has joined #ruby
Meow-J has quit [Quit: Connection closed for inactivity]
carella has joined #ruby
MrBusiness3 has joined #ruby
burgestrand has joined #ruby
MrBusiness has quit [Ping timeout: 258 seconds]
chip_ has quit [Ping timeout: 276 seconds]
MrBusiness2 has quit [Ping timeout: 258 seconds]
tubuliferous has quit [Ping timeout: 240 seconds]
hanmac has quit [Ping timeout: 272 seconds]
No has joined #ruby
edwinvdgraaf has quit []
edwinvdgraaf has joined #ruby
ramfjord has joined #ruby
freerobby has joined #ruby
terminalrecluse has joined #ruby
jaguarmagenta has joined #ruby
nankyokusei has joined #ruby
terminalrecluse has quit [Ping timeout: 252 seconds]
jaguarmagenta has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 246 seconds]
stoopidmunkey has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
hanmac has joined #ruby
<leitz> AlexJakeGreen, thanks!
emiltin has quit [Quit: Computer has gone to sleep.]
arnonhongklay has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
rkazak has joined #ruby
GodFather has quit [Ping timeout: 258 seconds]
sesquipedalian has quit [Ping timeout: 258 seconds]
eatsfoobars has joined #ruby
joonty has joined #ruby
emiltin has joined #ruby
leitz has quit [Quit: Nappy time]
arnonhongklay has quit [Ping timeout: 252 seconds]
Xeago_ has quit [Remote host closed the connection]
mistermocha has joined #ruby
sanjayu has quit [Ping timeout: 240 seconds]
rkazak has quit [Quit: Sleep.....ing....]
evansbee has joined #ruby
jrafanie has joined #ruby
mistermocha has quit [Ping timeout: 260 seconds]
nhhc has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar has joined #ruby
sergio_101 has joined #ruby
rkazak has joined #ruby
TheWhip has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
ullu_ has joined #ruby
rkazak has quit [Client Quit]
dionysus69 has quit [Ping timeout: 244 seconds]
synthroid has joined #ruby
pwnd_nsfw has quit [Ping timeout: 250 seconds]
ta__ has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
evansbee has quit [Ping timeout: 272 seconds]
Oclair has quit [Quit: Bye Bye]
harfangk has joined #ruby
ullu_ has quit [Ping timeout: 244 seconds]
biberu has joined #ruby
blackmesa has joined #ruby
<jokke> hey
<jokke> i have a question about rspec mocks
nettoweb has quit [Ping timeout: 244 seconds]
<jokke> if i use expect to_receive with a non existing method i get an error that it's not implemented
<jokke> this method doesn't and shouldn't exists because it's handled with SimpleDelegator
<jokke> can i somehow force rspec to mock it even if it's not defined?
<Papierkorb> jokke: you could use a double()
zapata has quit [Ping timeout: 260 seconds]
TheWhip has joined #ruby
hk238 has joined #ruby
ciampix has quit [Ping timeout: 244 seconds]
ych has joined #ruby
<jokke> Papierkorb: but how could i test my method then?
<jokke> i need to call it on the actual object
<Papierkorb> then you should mock the inner object
<jokke> i do that
ych has quit [Client Quit]
<jokke> but i need to know assign_attributes actually calls the specified methods on the decorator instance even if they're not defined
nettoweb has joined #ruby
rodfersou has quit [Ping timeout: 244 seconds]
<Papierkorb> as I said, mock the inner object. the decorated object, not the decorator.
rodfersou has joined #ruby
<jokke> and what does that help?
<Papierkorb> Or use a decorator which actually defines methods
swills has quit [Remote host closed the connection]
mieko has quit [Remote host closed the connection]
<Papierkorb> Why do you want to verify the decorators functionality? It'll work, as it's most likely tested elsewhere. it will call onto the inner object.
arnonhongklay has quit [Remote host closed the connection]
<jokke> yeah.. i guess so. it would've been just nice to have the test so it'd be easier to pluck the decorator into it's own gem for example
minimalism has quit [Quit: minimalism]
arnonhongklay has joined #ruby
<Papierkorb> you can do that. just use a double as inner object
<jokke> yeah then i'd test if the inner object receives test1=
<jokke> or whatever
dsea11 has quit [Ping timeout: 244 seconds]
<jokke> but the main point is that it tries the decorator first incase a setter has been overwritten to do stuff with the value
ldnunes has joined #ruby
<jokke> i'll just add one setter
<jokke> and the other i test with the inner object
zapata has joined #ruby
ramfjord has joined #ruby
pawnbox has quit [Remote host closed the connection]
dsea has joined #ruby
arnonhongklay has quit [Ping timeout: 244 seconds]
tubuliferous has joined #ruby
No has quit [Quit: Leaving]
<jokke> oh come on...
<jokke> i tried defining a singleton method in the example
<jokke> can't define singleton
pawnbox has joined #ruby
B1n4r10 has joined #ruby
solars has joined #ruby
<dminuoso> jokke: How did you try defining the singleton method?
djbkd has joined #ruby
djbkd has quit [Client Quit]
aupadhye has joined #ruby
tubuliferous has quit [Ping timeout: 244 seconds]
naftilos76 has quit [Ping timeout: 252 seconds]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta__ has quit [Ping timeout: 244 seconds]
leea has joined #ruby
dionysus69 has joined #ruby
B1n4r10 has quit [Ping timeout: 276 seconds]
aupadhye has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
Fernando-Basso has joined #ruby
DoubleMalt has quit [Ping timeout: 272 seconds]
rolfb has joined #ruby
Ropeney has joined #ruby
ta_ has joined #ruby
jrafanie has joined #ruby
Vile` has quit [Ping timeout: 260 seconds]
spiette has joined #ruby
yardenbar has joined #ruby
bmurt has joined #ruby
the_drow has quit [Quit: Leaving]
spiette has quit [Excess Flood]
spiette has joined #ruby
l4v2 has joined #ruby
the_drow has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbennacer has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> dhruvasagar yeah, it was just the weird syntax that confused me
jrafanie has joined #ruby
<shevy> like to see [-1,1] = '' but in the definition we use def []=(a,b,c)
chip_ has joined #ruby
aupadhye has joined #ruby
dc4 has joined #ruby
abonec has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arnonhongklay has joined #ruby
dc4 has quit [Ping timeout: 240 seconds]
jrafanie has joined #ruby
solocshaw has joined #ruby
last_staff has quit [Quit: last_staff]
arnonhongklay has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
aegis3121 has joined #ruby
terminalrecluse has joined #ruby
ekinmur has joined #ruby
ruby-lang167 has joined #ruby
ChiefAlexander has joined #ruby
ruby-lang167 is now known as zer0
zer0 has left #ruby [#ruby]
aegis312_ has joined #ruby
archaicdemon has joined #ruby
ramortegui has joined #ruby
terminalrecluse has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
aegis3121 has quit [Ping timeout: 272 seconds]
diegoviola has joined #ruby
TheWhip has quit [Remote host closed the connection]
evansbee has joined #ruby
charliesome has joined #ruby
hutch34 has quit [Ping timeout: 272 seconds]
mdw has joined #ruby
rbennacer has quit [Remote host closed the connection]
mattwashere has joined #ruby
TheWhip has joined #ruby
pawnbox has quit [Remote host closed the connection]
evansbee has quit [Ping timeout: 272 seconds]
nhhc has quit [Remote host closed the connection]
arch__ has joined #ruby
pawnbox has joined #ruby
mattwashere has quit [Ping timeout: 272 seconds]
Vile` has joined #ruby
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
TheWhip has quit [Ping timeout: 276 seconds]
swills has joined #ruby
allcentury has joined #ruby
andikr has quit [Remote host closed the connection]
isberg has quit [Ping timeout: 264 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
isberg has joined #ruby
stoopidmunkey has quit []
elaptics is now known as elaptics`away
solocshaw has quit [Ping timeout: 276 seconds]
malconis has joined #ruby
sha1sum has joined #ruby
tubuliferous has joined #ruby
maucar has joined #ruby
evansbee has joined #ruby
aries_liuxueyang has quit [Ping timeout: 272 seconds]
<sha1sum> I have a check for whether a gem is installed within my file and--if it is not installed--I call the gem installation. How can I reload the available gems so I can require the newly-installed one without having to exit the process?
craigp_ has quit [Ping timeout: 276 seconds]
chip_ has quit [Read error: Connection reset by peer]
<sha1sum> (this is a Vagrant file, so I'm aware it's not normal procedure for regular ruby)
chip_ has joined #ruby
Ropeney has joined #ruby
nankyokusei has joined #ruby
Rickmasta has joined #ruby
kareeoleez has quit [Remote host closed the connection]
ekinmur has joined #ruby
<leea> can you post a gist?
c0mrad3 has joined #ruby
tubuliferous has quit [Ping timeout: 244 seconds]
roamingdog has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 258 seconds]
hutch34 has joined #ruby
roamingdog has joined #ruby
<sha1sum> leea: sure, one sec
dionysus69 has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 252 seconds]
diego2 has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
prefix has joined #ruby
diego2 is now known as diegoviola
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<sha1sum> leea: if I re-run *after* the plugin is installed it works fine
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
terlar has quit [Quit: WeeChat 1.5]
saipal has joined #ruby
jaguarmagenta has joined #ruby
<leea> this is a bit date but have you tried this? https://www.ruby-forum.com/topic/131346
ChiefAlexander has quit [Remote host closed the connection]
<sha1sum> leea: actually I noticed something like, that, but I just ran into this specifically for Vagrant users, so I think I may use it :) /www.ruby-forum.com/topic/131346
<sha1sum> whoops
elaptics`away is now known as elaptics
aegis312_ has quit [Read error: Connection reset by peer]
jaguarmagenta has quit [Ping timeout: 276 seconds]
davedev24 has joined #ruby
freerobby has quit [Quit: Leaving.]
workmad3 has joined #ruby
And1 has joined #ruby
ta__ has joined #ruby
ChiefAlexander has joined #ruby
<leea> oh okay, I'm glad you were able to find a solution :)
`tim` has joined #ruby
<And1> Hello folks. Can please anyone help me with a rake question? I want to specify a variable, NUM_CPUS = %x[sysctl -n hw.ncpu] … how can I multiply that value by 4 in another variable?
jtd has quit [Remote host closed the connection]
<adam12> And1: Integer(NUM_CPUS) * 4 ?
fmcgeough has joined #ruby
davedev2_ has joined #ruby
<And1> adam12: Do I need quotes around one of the both declarations? Sorry I’m just modifying a file, I never touched ruby before.
Gasher has quit [Quit: Leaving]
<adam12> And1: Can you share what you have in a Gist? You shouldn't need any quotes.
ta_ has quit [Ping timeout: 264 seconds]
grill_U has joined #ruby
banisterfiend` is now known as banisterfiend
<And1> adam12: Here’s a paste: http://lpaste.net/168511
davedev24 has quit [Ping timeout: 250 seconds]
<adam12> And1: That looks like it will work
RegulationD has joined #ruby
nando293921 has joined #ruby
<adam12> But I doubt it will
<And1> adam12: Why you doubt that? : )
prefix has quit [Ping timeout: 244 seconds]
<adam12> Because of the namespace stuff.
<adam12> I'm not super familiar with Rake internals, but your constants (NUM_CRAWLERS, NUM_CPUS) defined in data namespace might not be available in crawl namespace.
<And1> Ah I see. Ok let me try it …
<And1> It seems to work. Thank you!
ullu has left #ruby ["Closing Window"]
Regulati_ has quit [Ping timeout: 244 seconds]
chip_ has quit [Ping timeout: 246 seconds]
<adam12> And1: Weird? Well that's great to hear!
codingcan has joined #ruby
GodFather has joined #ruby
arthurl has joined #ruby
codingcan has left #ruby [#ruby]
swills has quit [Quit: Leaving]
malconis has quit [Remote host closed the connection]
malconis has joined #ruby
neo_ has joined #ruby
mrmortondk has quit [Quit: Textual IRC Client: www.textualapp.com]
mattwashere has joined #ruby
neo__ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kruppe has quit [Quit: ZNC - http://znc.in]
neo_ has quit [Ping timeout: 250 seconds]
Kruppe has joined #ruby
harfangk has quit [Quit: harfangk]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
tvon has quit [Quit: System is sleeping...]
swills has joined #ruby
agent_white has joined #ruby
agent_white has quit [Changing host]
agent_white has joined #ruby
aldodelgado has joined #ruby
chip_ has joined #ruby
aldodelgado has quit [Client Quit]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
smathy has joined #ruby
<agent_white> Mornin'
mattwashere has quit []
mattwashere has joined #ruby
CJKinni has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
blaxter has quit [Quit: foo]
Ishido has joined #ruby
abk has quit [Ping timeout: 246 seconds]
thatsnotjack has joined #ruby
orakar has joined #ruby
hxegon_afk is now known as hxegon
<orakar> As you'll soon discover when you read my code example, I'm a C programmer trying Ruby. I'm trying to extract a little endian uint32 from a string. What I've done now works, but seems awfully un-Ruby. Can anyone advise? https://gist.github.com/anonymous/94b27b301aafdd79cc5bd264d4948c0d
CloCkWeRX has quit [Ping timeout: 258 seconds]
<apeiros> orakar: unpack is your friend
<orakar> apeiros: looks promising! Thanks!
B1n4r10 has joined #ruby
pawnbox has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 252 seconds]
codingcan has joined #ruby
<apeiros> "L<" is probably what you need as unpack directive
codingcan has left #ruby [#ruby]
MrBusiness2 has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
Guest73250 has joined #ruby
<hxegon> That feeling when you spend like 3 weeks reinventing the observer pattern :|
codingcan has joined #ruby
craigp_ has joined #ruby
nhhc has joined #ruby
MrBusiness3 has quit [Ping timeout: 250 seconds]
ChiefAlexander has quit [Remote host closed the connection]
B1n4r10 has quit [Ping timeout: 250 seconds]
<Bish> hxegon: why did u?
ChiefAlexander has joined #ruby
<orakar> apeiros: once I've unpacked the string, how do I combine the parts? Sorry if that's a silly question. I can imagine lots of ways to do it, but I'm after the most idiomatic way in Ruby
<Bish> orakar: can you gist an example?
<hxegon> long story short, processing different async input sources that have to all be fed into a single pipeline
<Bish> are you talking about the array resultung in the unpack?
leea has joined #ruby
eatsfoobars has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
dminuoso has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
<orakar> Bish: yeah, that's what I mean. So "aa" would be 24929, since a = 97 and (97 + (97 << 8)) == 24929
aryaching has quit [Remote host closed the connection]
eatsfoobars has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Bish> aa alone wouldn't be uint32
<Bish> >> "aaaa".unpack "L<"
<ruby[bot]> Bish: # => [1633771873] (https://eval.in/597887)
GodFather has quit [Quit: Ex-Chat]
<Bish> >> "\x00\x00aa".unpack "L<"
<ruby[bot]> Bish: # => [1633746944] (https://eval.in/597888)
neo__ has quit [Remote host closed the connection]
GodFather has joined #ruby
<Bish> oh endian, right
<Bish> >> "aa\x00\x00".unpack "L<"
<orakar> Bish: you're right, sorry. I switched to uint16 because I was working it out on paper and didn't fancy 97 << 24 :P
<ruby[bot]> Bish: # => [24929] (https://eval.in/597889)
<Bish> so, what is the "part" you are talking about?
harfangk has joined #ruby
tubuliferous has joined #ruby
<orakar> Oh. I was under the impression that unpack would return an array of each byte. But I can see now that isn't the case.
nando293921 has quit [Quit: Lost terminal]
<orakar> Brilliant, thanks very much Bish. And Apeiros. Much appreciated.
rolfb has quit [Quit: Leaving...]
<Bish> ;) you're welcome
`tim` has joined #ruby
<orakar> Now the code looks much more Ruby-esque
<Bish> idd it is, ruby is the only language higher than c that makes parsing binary fun, imho
<orakar> :-
<orakar> * :-)
<Bish> already wrote elf binary patchers in ruby and it was great.
swills has quit [Remote host closed the connection]
kareeoleez has joined #ruby
Hobogrammer has joined #ruby
workmad3 has joined #ruby
eatsfoobars has quit [Ping timeout: 272 seconds]
<jokke> another rspec question
orakar has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<jokke> this raises can't define singleton in line 10
tvon has joined #ruby
<jokke> maybe someone can explain why
CloCkWeRX has joined #ruby
swills has joined #ruby
orakar has joined #ruby
<jokke> uhh
<jokke> i'm an idiot
<jokke> never mind
<jokke> (should be task, not :task of course)
bkxd has joined #ruby
<orakar> I just realised that the unpack answer isn't quite complete. My example (https://gist.github.com/anonymous/94b27b301aafdd79cc5bd264d4948c0d) involved getting just one uint32 from a specific position of 4 bytes from the middle of a string.
tubuliferous has quit [Ping timeout: 276 seconds]
saipal has quit [Ping timeout: 276 seconds]
<orakar> (sorry, didn't mean to suggest the answer was incomplete in the sense that you'd shortchanged me. :P I just meant that I wasn't 100% sure how to proceed)
tvw has joined #ruby
neo_ has joined #ruby
DaniG2k has joined #ruby
hutch34 has joined #ruby
hutch34 has quit [Client Quit]
centrx has joined #ruby
xaxisx has joined #ruby
aryaching has joined #ruby
blandflakes has joined #ruby
chouhoulis has joined #ruby
shinnya has joined #ruby
mattwashere has quit [Remote host closed the connection]
sanjayu has joined #ruby
xaxisx has quit [Client Quit]
BTRE has quit [Ping timeout: 246 seconds]
neo_ has quit [Remote host closed the connection]
mattwashere has joined #ruby
howard_ has joined #ruby
<orakar> I think I've got the solution: I'll just call .unpack on the substring which contains the data I want :-)
<Bish> >> "abcd\x01\x00\x00\x00def"[4..8].unpack "L<"
<ruby[bot]> Bish: # => [1] (https://eval.in/597902)
<Bish> :3
xaxisx has joined #ruby
<Bish> orakar: that's very ruby-ish
<Bish> rubbish, HYUK HYUK
hutch34 has joined #ruby
xaxisx has quit [Client Quit]
<orakar> Bish: It's such a different mindset to C that I have trouble imagining the possibilities :P
<Bish> i know that feel, but as long as i can stay in the ruby mindset i am happy
<Bish> orakar: there is even a language that tries to be C while looking like ruby
neo_ has joined #ruby
skade has joined #ruby
BTRE has joined #ruby
<orakar> Bish: so these two examples have identical outputs for all values, and the latter is Rub(y)ish, right? :-) https://gist.github.com/anonymous/447adff2f7dd75d8fa271d52c6c7e060
<orakar> *former
glrrf has joined #ruby
<Bish> yes
<orakar> Bish: great! Thanks again.
<Bish> also guessing the first one is faster
<orakar> I can finally escape the 1980s
saipal has joined #ruby
mattwashere has quit [Ping timeout: 244 seconds]
mattwashere has joined #ruby
orakar has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Madplatypus has joined #ruby
glrrf has left #ruby ["Leaving"]
ta__ has quit [Ping timeout: 244 seconds]
joelwallis has joined #ruby
dhruvasagar has quit [Ping timeout: 260 seconds]
imperator has joined #ruby
CloCkWeRX has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
<TomyWork> from file scope, is there a way to run another ruby file as if its instructions had been pasted at that point?
anisha has quit [Quit: Leaving]
<Bish> require
<Bish> File.read & eval
<adam12> load?
<TomyWork> require will allow me to access unadorned variables?
<TomyWork> non-$ non-@
ChiefAlexander has quit [Remote host closed the connection]
rippa has joined #ruby
dc4 has joined #ruby
<TomyWork> i have this configuration file named gitlab.rb. Here's an example instruction: gitlab_rails['time_zone'] = 'UTC'
joelwallis has quit [Quit: Leaving]
neo_ has quit [Remote host closed the connection]
<TomyWork> i want to leave this file as is, except for one line at the end in which i invoke another file that overrides a bunch of options
Wildfyr has quit [Ping timeout: 250 seconds]
lxsameer has quit [Quit: WeeChat 1.5]
aryaching has quit [Remote host closed the connection]
imperator has left #ruby ["Leaving"]
<toretore> TomyWork: do you control the contents of gitlab.rb?
dsea has quit [Ping timeout: 250 seconds]
neo_ has joined #ruby
aryaching has joined #ruby
<TomyWork> toretore i could, but i want to leave this as is, so i can update it easily
<TomyWork> i only want to add one line at the end
<TomyWork> #include "other.rb"
howard_ has quit [Quit: Leaving...]
<TomyWork> something to that effect :)
dc4 has quit [Ping timeout: 276 seconds]
<toretore> TomyWork: need more context. gist files?
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
bruce_lee has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
neo_ has quit [Ping timeout: 240 seconds]
DaniG2k has quit [Quit: leaving]
pwnd_nsfw has joined #ruby
howard_ has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
aryaching has quit [Remote host closed the connection]
<TomyWork> toretore ^
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
CloCkWeRX has joined #ruby
rodfersou has quit [Ping timeout: 260 seconds]
nettoweb has quit [Ping timeout: 260 seconds]
rodfersou has joined #ruby
<toretore> TomyWork: where do you need to "include" this from?
<TomyWork> no, i need to include something into this
<TomyWork> and that "something" needs to have the ability to everything gitlab.rb is modifying there in the examples
<TomyWork> and that "something" needs to have the ability to modify everything gitlab.rb is modifying there in the examples
ramfjord has joined #ruby
blackmesa has joined #ruby
<toretore> so you want to, inside this file, "include" another that uses `gitlab_rails` etc?
<toretore> unless whatever is executing that file has a mechanism for it, there is no reliable way to do it
nando293921 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
<TomyWork> no "require with binding" or something?
ChiefAlexander has joined #ruby
connor_goodwolf has quit [Ping timeout: 246 seconds]
skade has joined #ruby
<toretore> it is likely that it is being read and instance_eval-ed by something, in which case you could do the same
<toretore> it is more likely that there is a better way, but i can't say because i don't know the whole context of your use case
skade has quit [Client Quit]
<TomyWork> does binding.eval(File.read('other.rb')) sound promising?
<toretore> try it?
arnonhongklay has quit [Remote host closed the connection]
chip_ has quit [Ping timeout: 244 seconds]
<TomyWork> i will, tomorrow :)
howard_ has quit [Quit: Leaving...]
<toretore> it doesn't sound promising at all, it sounds like a very bad idea all of it, but it might "work"
aryaching has joined #ruby
<TomyWork> hmmm
<TomyWork> maybe i'll just make a copy and merge when i upgrade...
<toretore> this kind of configuration has been made to be "user friendly" and "pretty", not logical and extensible
<TomyWork> yeah
<TomyWork> anyway, thanks for the advice :)
synthroid has quit [Remote host closed the connection]
aryaching has quit [Remote host closed the connection]
nertzy has quit [Ping timeout: 260 seconds]
l4v2 has quit [Quit: l4v2]
aryaching has joined #ruby
rodfersou is now known as rodfersou|lunch
arch__ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
`tim` has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
aissar has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
saipal has quit [Quit: WeeChat 1.5]
dionysus69 has joined #ruby
l4v2 has joined #ruby
arnonhongklay has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
giz|work has joined #ruby
conta has quit [Ping timeout: 252 seconds]
tvw has quit [Remote host closed the connection]
mattwashere has quit [Remote host closed the connection]
tvw has joined #ruby
roamingdog has joined #ruby
mattwashere has joined #ruby
yardenbar has quit [Ping timeout: 276 seconds]
arnonhongklay has quit [Ping timeout: 246 seconds]
connor_goodwolf has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
nankyokusei has joined #ruby
alfiemax has joined #ruby
solars has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 276 seconds]
nando293921 has quit [Quit: Lost terminal]
chip_ has joined #ruby
aufi has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 244 seconds]
rbennacer has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
ramfjord has joined #ruby
Vingador has joined #ruby
kt2 has quit [Read error: Connection reset by peer]
roamingdog has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
B1n4r10 has joined #ruby
douglascorrea has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
speakingcode has joined #ruby
chouhoulis has quit [Remote host closed the connection]
synthroid has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 240 seconds]
<hxegon> Help me prepare an exit strategy; What would you, roughly, say is appropriate pay for a ruby dev with 1 year experience and only some rails experience?
diegoviola has joined #ruby
<centrx> One dolla
roamingdog has joined #ruby
<hxegon> centrx: about tree fiddy?
B1n4r10 has quit [Ping timeout: 260 seconds]
aganov has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 240 seconds]
<shevy> two dolla
evansbee has quit [Ping timeout: 260 seconds]
Silthias1 has joined #ruby
nettoweb has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
Silthias has quit [Ping timeout: 258 seconds]
ChiefAlexander has joined #ruby
chip_ has quit [Ping timeout: 276 seconds]
l4v2 has quit [Quit: l4v2]
<hxegon> but seriously though, I would greatly appreciate any bounded minimums. I'm pretty insulated from other developers I can talk to, so you guys/gals are my only hope, obi-wan
tvon has quit [Quit: System is sleeping...]
<adam12> hxegon: Depends a ton on market
<adam12> NYC vs Idaho
workmad3 has joined #ruby
<adaedra> Depends on many things
<hxegon> California area
<hxegon> any way I could narrow it down more?
aegis3121 has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
<hxegon> I know nothing exists in a vacuum here, but I am really just looking for a rough estimate. Not going to hold anyone accountable if it's wrong
<shevy> california is rich so people earn more and have to be paid more
aegis312_ has joined #ruby
TomyLobo has joined #ruby
tvon has joined #ruby
neo_ has joined #ruby
neo_ has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 240 seconds]
neo_ has joined #ruby
Es0teric has joined #ruby
polishdub has joined #ruby
CJKinni has quit [Remote host closed the connection]
neo__ has joined #ruby
douglascorrea has quit [Remote host closed the connection]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dminuoso has joined #ruby
blackmes1 has joined #ruby
douglascorrea has joined #ruby
codecop has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
neo_ has quit [Ping timeout: 250 seconds]
amclain has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
mistermocha has joined #ruby
tvw has quit [Read error: Connection reset by peer]
tvw has joined #ruby
jmignault has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joonty has quit [Quit: This computer has gone to sleep]
Couch has quit [Ping timeout: 250 seconds]
voodoofish430 has joined #ruby
ullu has joined #ruby
whathappens has joined #ruby
emiltin has quit [Quit: Computer has gone to sleep.]
diegoviola has joined #ruby
tvon has quit [Quit: Peace out, y'all!]
whathapp_ has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
aep-shoutlet has joined #ruby
Snowy has quit [Remote host closed the connection]
senayar has quit []
[Butch] has joined #ruby
ullu has quit [Ping timeout: 260 seconds]
Kruppe has quit [Read error: Connection reset by peer]
Kruppe- has joined #ruby
B1n4r10 has joined #ruby
sanjayu has quit [Ping timeout: 276 seconds]
whathappens has quit [Ping timeout: 276 seconds]
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
ngw has quit [Quit: Textual IRC Client: www.textualapp.com]
chip_ has joined #ruby
DaniG2k has joined #ruby
arthurl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Silthias1 has quit [Ping timeout: 244 seconds]
neo__ has quit [Remote host closed the connection]
Silthias has joined #ruby
neo_ has joined #ruby
mattwashere has quit [Remote host closed the connection]
codingcan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tubuliferous has joined #ruby
mattwashere has joined #ruby
abonec has quit [Ping timeout: 264 seconds]
mark_661 has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistermocha has quit [Remote host closed the connection]
yqt has joined #ruby
tubuliferous has quit [Ping timeout: 258 seconds]
<kareeoleez> how do you Ruby dev guys and girls make extra income ?
dhruvasagar has joined #ruby
<dminuoso> kareeoleez: The same anyeone else does extra income.
<archaicdemon> work hard, play hard...
<dminuoso> Some don't need extra income, some have a second job, others freelance on their free time
mistermocha has joined #ruby
AlexJakeGreen has quit [Remote host closed the connection]
<kareeoleez> dminuoso: I am starting to get pretty cool with Ruby and I wonder If I can make some more money
<kareeoleez> like small projects or help or consulting
mattwashere has quit [Remote host closed the connection]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chip_ has quit [Ping timeout: 240 seconds]
<dminuoso> kareeoleez: Im sure there is headhunters or even websites that can get you freelance jobs.
DaniG2k has quit [Quit: leaving]
<kareeoleez> like odesk ?
<kareeoleez> it sucks
arthurl has joined #ruby
<dminuoso> kareeoleez: Get a real job then.
<dminuoso> Or be good.
<kareeoleez> I have one and I am happy with it
the_drow has quit [Quit: This computer has gone to sleep]
mattwashere has joined #ruby
<kareeoleez> I just want to make some more money
mattwashere has quit [Remote host closed the connection]
ta__ has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
<smathy> kareeoleez, what sucks about odesk/upwork?
roamingdog has joined #ruby
mattwashere has joined #ruby
roamingdog has quit [Client Quit]
howdoi has joined #ruby
<havenwood> kareeoleez: Any good Ruby brigades in your area? Around here there are always folk looking for Rubyists for all sorts of things.
macsteps has joined #ruby
electrostat has quit [Remote host closed the connection]
<kareeoleez> havenwood: nope, just looking remotely some people I can trust. And they can trust me of course.
mikecmpbll has quit [Ping timeout: 276 seconds]
<kareeoleez> or any startups that I could be involved
neo__ has joined #ruby
codecop has quit [Remote host closed the connection]
<havenwood> kareeoleez: Participating in meetups or contributing to open source are good ways to build rapport..
ta_ has quit [Ping timeout: 276 seconds]
<havenwood> Hmm, what's a good remote Ruby meetup?
<kareeoleez> no idea
<kareeoleez> I didn't know they even existed
<kareeoleez> I mean "remote" ones
<havenwood> I've dropped in on at least one, so at least one exists. I know there are remote Ruby confs too.
aryaching has quit [Remote host closed the connection]
VeryBewitching has joined #ruby
neo_ has quit [Ping timeout: 244 seconds]
<kareeoleez> havenwood: nice one. thanks
leea has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
<smathy> Also http://remotemeetup.com/ - although they might have stalled out.
diegoviola has quit [Quit: WeeChat 1.5]
workmad3 has quit [Ping timeout: 276 seconds]
<havenwood> kareeoleez: Or maybe you'd like doing some bounties: https://www.bountysource.com
mfb2 has joined #ruby
<smathy> slash_nick, ^ remotemeetup.com still going?
aryaching has joined #ruby
nettoweb has joined #ruby
douglascorrea has quit [Remote host closed the connection]
tvon has joined #ruby
Silthias has quit [Quit: Leaving.]
consti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troulouliou_div2 has joined #ruby
sharkman has joined #ruby
tubuliferous has joined #ruby
<sharkman> system("./make_ssh_connection"), how do i make this command run in background and disassociate (not end when my ruby program ends) not hijack the terminal i run this from
mfb2 has quit [Remote host closed the connection]
bb010g has joined #ruby
yardenbar has joined #ruby
CloCkWeRX has quit [Remote host closed the connection]
neo__ has quit [Remote host closed the connection]
Hyuk has joined #ruby
miqlas-H has joined #ruby
neo_ has joined #ruby
Hyuk has quit [Max SendQ exceeded]
thatsnotjack has quit [Ping timeout: 258 seconds]
douglascorrea has joined #ruby
harfangk has quit [Quit: harfangk]
douglascorrea has quit [Remote host closed the connection]
tvw has quit [Remote host closed the connection]
electrostat has joined #ruby
harfangk has joined #ruby
freerobby has joined #ruby
ta__ has quit [Ping timeout: 272 seconds]
electrostat has quit [Client Quit]
macsteps has quit [Remote host closed the connection]
pilne has joined #ruby
tvon has quit [Quit: System is sleeping...]
ta_ has joined #ruby
electrostat has joined #ruby
Devalo has joined #ruby
tvon has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
macsteps has joined #ruby
tvon has quit [Client Quit]
B1n4r10 has quit [Quit: leaving]
<pilne> if i am comfortable with how virtualenv (python) works (and rvm), but would like to switch off of rvm because of how hyperagressive it is with various .files, would i be more comfortable with rbenv (+ bundler), or chruby, ruby-install, and bundler?
<smathy> Either.
troulouliou_div2 has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
macsteps has quit [Remote host closed the connection]
<sharkman> so i i run spawn("./connect_ssh.sh"), then in the terminal i run ruby it connects my terminal to the ssh destination. i want that run totally in the background
firstdayonthejob has joined #ruby
douglascorrea has joined #ruby
hahuang61 has joined #ruby
blackmes1 has quit [Ping timeout: 244 seconds]
<meatchicken> Having trouble stubbing a service
<hxegon> pilne both rbenv and chruby are improvements, but I would suggest trying both out.
<meatchicken> I have a method in my model that instantiates a new service - how can I make the service return a fake value with rspec/
stoopidmunkey has joined #ruby
<pilne> ty smathy, hxegon
ramfjord has joined #ruby
mfb2 has joined #ruby
yude has quit [Read error: Connection timed out]
DoubleMalt has joined #ruby
<atmosx> is anyone going to http://euruko2016.org/ ?
neo_ has quit [Remote host closed the connection]
evansbee has joined #ruby
neo_ has joined #ruby
yude has joined #ruby
hahuang61 has quit [Quit: WeeChat 1.5]
nando293921 has joined #ruby
mattwashere has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 240 seconds]
mattwashere has joined #ruby
neo_ has quit [Ping timeout: 250 seconds]
c_nick has joined #ruby
<c_nick> copy all rb files from a folder and its subfolders
<c_nick> FileUtils.cp_r(Dir.glob(src),dest) this wont work
electrostat has quit [Remote host closed the connection]
marr has quit [Ping timeout: 246 seconds]
<c_nick> src = "C:/Users/Nathan/Desktop/*.java"
<c_nick> .rb :)
korzybski has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
solocshaw has joined #ruby
miskatonic has joined #ruby
nando293921 has quit [Ping timeout: 258 seconds]
electrostat has joined #ruby
rolfb has joined #ruby
blandflakes has joined #ruby
blandflakes has quit [Client Quit]
Es0teric has quit [Ping timeout: 240 seconds]
aissar has quit [Quit: aissar]
rolfb has quit [Ping timeout: 244 seconds]
aegis312_ has quit [Read error: Connection reset by peer]
khelair has joined #ruby
Es0teric has joined #ruby
<c_nick> got it thanks
chip_ has joined #ruby
c_nick has left #ruby [#ruby]
dc4 has joined #ruby
araujo_ has joined #ruby
nankyokusei has joined #ruby
aegis3121 has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.5]
aegis312_ has joined #ruby
jaguarmagenta has joined #ruby
araujo has quit [Ping timeout: 252 seconds]
<shevy> atmosx hmm not me, don't think I'd have time anyway
dc4 has quit [Ping timeout: 250 seconds]
ChiefAlexander has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 244 seconds]
ChiefAlexander has joined #ruby
l4v2 has joined #ruby
yqt has quit [Ping timeout: 244 seconds]
aegis3121 has quit [Ping timeout: 276 seconds]
blackmes1 has joined #ruby
agit0 has joined #ruby
hahuang65 has joined #ruby
rodfersou|lunch is now known as rodfersou
jaguarmagenta has quit [Ping timeout: 276 seconds]
sha1sum has quit [Quit: Lost terminal]
ChiefAlexander_ has joined #ruby
djbkd has joined #ruby
ChiefAlexander has quit [Read error: Connection reset by peer]
memorasus has joined #ruby
macsteps has joined #ruby
yardenbar has quit [Ping timeout: 258 seconds]
solocshaw has quit [Ping timeout: 276 seconds]
electrostat has quit [Remote host closed the connection]
Wildfyr has joined #ruby
miskatonic has quit [Quit: miskatonic]
thatsnotjack has joined #ruby
stoopidmunkey has quit [Remote host closed the connection]
stoopidmunkey has joined #ruby
edwinvdgraaf has joined #ruby
evansbee has quit [Ping timeout: 258 seconds]
<ramfjord> There's no idenitity function on object is there... I'm trying to think of the simplest way of checking for an array being all nil without allocating a new array.
<ramfjord> >> [ nil, nil, 1, nil ].index { |i| i }
<ruby[bot]> ramfjord: # => 2 (https://eval.in/598023)
<ramfjord> looks pretty weird
<ramfjord> should probably use "e" not to confuse new ruby devs
CJKinni has joined #ruby
RegulationD has quit [Remote host closed the connection]
<dminuoso> ramfjord: arr.compact.empty?
freerobby has quit [Quit: Leaving.]
<dminuoso> ramfjord: or ary.all?(&:nil?)
futilegames has joined #ruby
jmignault has joined #ruby
<al2o3-cr> ^ yeah this
agit0 has quit [Quit: zzzZZZ….]
thatsnotjack has quit [Ping timeout: 240 seconds]
thatsnotjack has joined #ruby
jtd has joined #ruby
elaptics is now known as elaptics`away
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaruga____ has quit [Quit: jaruga____]
ullu has joined #ruby
<ramfjord> compact is the allocating new array strategy
GodFather has quit [Ping timeout: 240 seconds]
babblebre has joined #ruby
<ramfjord> though it would be !ary.compact.empty?
<ramfjord> >> [ nil, nil, 1, nil ].all?(&:nil?)
<ruby[bot]> ramfjord: # => false (https://eval.in/598025)
<ramfjord> looks clean
electrostat has joined #ruby
zeroDi has joined #ruby
electrostat has quit [Remote host closed the connection]
ullu has quit [Ping timeout: 276 seconds]
<baweaver> >> [ nil, nil, 1, nil ].any? # ramfjord
<ruby[bot]> baweaver: # => true (https://eval.in/598026)
<baweaver> >> [ nil, nil, 1, nil ].none? # ramfjord
<ruby[bot]> baweaver: # => false (https://eval.in/598027)
ledestin has joined #ruby
arooni has quit [Ping timeout: 240 seconds]
TheWhip has joined #ruby
<dminuoso> baweaver: Oh. That is neat.
<baweaver> &ri Enumerable
<baweaver> read through that, there's a lot more in there
pablo-dinella has joined #ruby
<baweaver> a lot of the power of Ruby is in that module
<dminuoso> baweaver: Ah wait that is not entirely correct
<dminuoso> >> [ false ].any?
<ruby[bot]> dminuoso: # => false (https://eval.in/598028)
neo_ has joined #ruby
spider-mario has joined #ruby
aep-shoutlet has quit [Quit: Connection closed for inactivity]
<dminuoso> So if the need is to check for nil specifically, I guess you won't get around .any? &:nil?
<baweaver> `any?` checks if any elements are true
ledestin has quit [Ping timeout: 260 seconds]
codecop has joined #ruby
<baweaver> so nil only then, I just saw the tail of that convo
jetpackjoe has joined #ruby
electrostat has joined #ruby
dn5 has joined #ruby
<dn5> anyone got a working google search result parser gem?
chouhoulis has joined #ruby
sauvin has quit [Remote host closed the connection]
bmurt has joined #ruby
Hyuk has joined #ruby
johnmilton has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
CJKinni has quit [Remote host closed the connection]
electrostat has quit [Client Quit]
electrostat has joined #ruby
thatsnotjack has quit [Ping timeout: 264 seconds]
Hyuk has quit [Client Quit]
chouhoulis has quit [Ping timeout: 240 seconds]
arooni has joined #ruby
the_drow has joined #ruby
electrostat has quit [Remote host closed the connection]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
xall has joined #ruby
electrostat has joined #ruby
marr has joined #ruby
emiltin has joined #ruby
harfangk has quit [Quit: harfangk]
dopamean_ has joined #ruby
yqt has joined #ruby
<dn5> nevermind, I just wrote my own
<dn5> quite easily with nokogiri
<dn5> trick is at .css('div.srg')
<dn5> there you've got search results
jackjackdripper has quit [Quit: Leaving.]
electrostat has quit [Client Quit]
mattwashere has quit [Remote host closed the connection]
thatsnotjack has joined #ruby
mfb2 has quit []
SCHAAP137 has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.5]
electrostat has joined #ruby
arooni has quit [Ping timeout: 260 seconds]
chip_ has quit [Ping timeout: 252 seconds]
mattwashere has joined #ruby
electrostat has quit [Client Quit]
Dimik has joined #ruby
electrostat has joined #ruby
xall has quit [Ping timeout: 258 seconds]
mdw has joined #ruby
al2o3-cr has joined #ruby
kies has quit [Read error: Connection reset by peer]
kies has joined #ruby
arooni has joined #ruby
nettoweb has quit [Ping timeout: 246 seconds]
nanoz has joined #ruby
nettoweb has joined #ruby
stoopidmunkey has quit [Ping timeout: 276 seconds]
ma489 has joined #ruby
Oog has joined #ruby
Vingador has quit [Ping timeout: 240 seconds]
stoopidmunkey has joined #ruby
xaxisx has joined #ruby
choke has quit [Quit: Textual IRC Client: www.textualapp.com]
nhhc has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 244 seconds]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
smathy has joined #ruby
Wildfyr has quit [Ping timeout: 260 seconds]
c0mrad3 has quit [Quit: Connection closed for inactivity]
ekinmur_ has joined #ruby
ekinmur_ has quit [Client Quit]
ekinmur_ has joined #ruby
trajing has quit [Ping timeout: 244 seconds]
code_ has quit [Ping timeout: 244 seconds]
phredus_ has joined #ruby
ekinmur has quit [Ping timeout: 244 seconds]
snapcase has quit [Ping timeout: 244 seconds]
marahin has quit [Ping timeout: 244 seconds]
m4rCsi has joined #ruby
snapcase has joined #ruby
marahin has joined #ruby
ncthom91 has joined #ruby
whathapp_ has quit [Remote host closed the connection]
marahin is now known as Guest78646
IceDragon has quit [Ping timeout: 244 seconds]
SebastianThorn has quit [Ping timeout: 244 seconds]
lnx_ has quit [Ping timeout: 244 seconds]
Sp4rKy has quit [Ping timeout: 244 seconds]
pcboy has quit [Ping timeout: 244 seconds]
__dev is now known as _dev
m4rCsi_ has quit [Ping timeout: 244 seconds]
trajing has joined #ruby
code_ has joined #ruby
tokynet has joined #ruby
Xeago_ has joined #ruby
lnx has joined #ruby
yfeldblum has joined #ruby
RegulationD has joined #ruby
<atmosx> shevy too bad :-(
SebastianThorn has joined #ruby
pcboy has joined #ruby
<atmosx> It's near home (well not exactly near, but almost) and a ruby group for a town nearby might go, so I'm thinking of going with them
Sp4rKy has joined #ruby
arnonhongklay has joined #ruby
Oog has quit []
<majuscule> how would one go about creating a rubygems mirror for version control?
tokynet has quit [Client Quit]
tokynet has joined #ruby
tokynet has quit [Client Quit]
Fernando-Basso has quit [Ping timeout: 244 seconds]
tokynet has joined #ruby
IceDragon has joined #ruby
IceDragon is now known as Guest93604
zacstewart has joined #ruby
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 250 seconds]
mistermocha has quit [Remote host closed the connection]
<dn5> oh fuck google and their encoded website linkls
bmurt has joined #ruby
rdark has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jackjackdripper has joined #ruby
<shevy> atmosx yeah... I guess via train it is not so far away from here too
macsteps has quit [Remote host closed the connection]
edwinvdgraaf has quit [Remote host closed the connection]
nando293921 has joined #ruby
jgpawletko has joined #ruby
blackmes1 has joined #ruby
ma489 has quit [Quit: Ex-Chat]
<dn5> how can I retrieve everything from url= to &ei? https://gist.github.com/dn5/ce07331f0ce5b55f778e3946ce539a33
<dn5> ie getting a substring from a string
mikecmpbll has joined #ruby
skweek has quit [Ping timeout: 252 seconds]
<dn5> something like string.sub(/.*?=/ ...
aegis312_ has quit [Read error: Connection reset by peer]
xall has joined #ruby
edwinvdgraaf has joined #ruby
houhoulis has joined #ruby
xall has quit [Read error: Connection reset by peer]
Devalo has quit [Remote host closed the connection]
xall has joined #ruby
<dn5> this works str.partition('url=').last
Guest73250 has quit [Remote host closed the connection]
<dn5> still need to remove the &ie and everthing else
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emilkarl has joined #ruby
xall has quit [Read error: Connection reset by peer]
<dn5> str.partition('url=').last
agit0 has joined #ruby
xall has joined #ruby
<dn5> str.gsub(/&ei[^\s]+/,"")
<dn5> solution :)
symm- has joined #ruby
<adam12> Do you just need the URL?
<dn5> yes
pawnbox_ has joined #ruby
<adam12> require "cgi"; CGI::parse(your_url)["url"]
pawnbox has quit [Read error: Connection reset by peer]
<havenwood> dn5: require 'cgi'; require 'uri'; CGI.parse(URI.parse(url).query)['url']
<adam12> >> require "cgi"; CGI::parse("http://google.ca?foo=true&url=http://foobarbaz")["url"]
<ruby[bot]> adam12: # => ["http://foobarbaz"] (https://eval.in/598035)
<dn5> cool.. whats the benchmark comprasio to my solution?
<havenwood> yeah, no need to pull out just the query
xall has quit [Read error: Connection reset by peer]
xall has joined #ruby
<havenwood> dn5: url[/(?<=url=)[^&]+/]
aegis3121 has joined #ruby
pLaToOn has joined #ruby
<dn5> havenwood: cool
Fernando-Basso has joined #ruby
aegis312_ has joined #ruby
<pLaToOn> moin
<havenwood> pLaToOn: g'mornin'
djbkd has quit [Remote host closed the connection]
<slash_nick> smathy: they're still up and running... talks almost weekly now. i believe they're partnering with daily drip (from knewter/jadams)
<smathy> slash_nick, oh cool, last talk on the site (as a youtube video) seems to be the Trailblazer one from April?
houhoulis has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 252 seconds]
xall has quit [Read error: Connection reset by peer]
Akuma has joined #ruby
jottr has joined #ruby
xall has joined #ruby
rbennace_ has joined #ruby
Xiti has quit [Quit: Xiti]
ekinmur_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
xall has quit [Read error: Connection reset by peer]
ta__ has joined #ruby
xall has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
ekinmur has joined #ruby
Devalo has joined #ruby
Xiti has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 260 seconds]
<dn5> finally fucking works
<dn5> smoke break approved
stoopidmunkey has quit [Remote host closed the connection]
freerobby has joined #ruby
allcentury has quit [Quit: WeeChat 1.2]
xall has quit [Read error: Connection reset by peer]
kavanagh has quit [Quit: That's all folks!]
chip_ has joined #ruby
futilegames has quit [Remote host closed the connection]
xall has joined #ruby
mattwashere has quit [Remote host closed the connection]
dc4 has joined #ruby
dhruvasagar has quit [Ping timeout: 252 seconds]
pablo-dinella has quit [Quit: Leaving]
nankyokusei has joined #ruby
mistermocha has joined #ruby
jackjackdripper1 has joined #ruby
evansbee has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
futilegames has joined #ruby
nettoweb has quit [Read error: Connection reset by peer]
mattwashere has joined #ruby
rodfersou has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
rodfersou has joined #ruby
mattwashere has quit [Remote host closed the connection]
dc4 has quit [Ping timeout: 264 seconds]
kirun has joined #ruby
mistermocha has quit [Ping timeout: 244 seconds]
mattwashere has joined #ruby
Devalo has quit [Remote host closed the connection]
ta_ has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
ta__ has quit [Ping timeout: 264 seconds]
giz|work has quit [Ping timeout: 276 seconds]
dminuoso has quit [Ping timeout: 264 seconds]
swills has quit [Ping timeout: 244 seconds]
gizmore has joined #ruby
archaicdemon has quit [Quit: Page closed]
pandaant has quit [Remote host closed the connection]
xall has quit [Read error: Connection reset by peer]
xall has joined #ruby
arescorpio has joined #ruby
whathappens has joined #ruby
dionysus69 has joined #ruby
sharkman has quit [Ping timeout: 250 seconds]
macsteps has joined #ruby
xall has quit [Read error: Connection reset by peer]
<slash_nick> smathy: they've switched to bigmarker, thanks for the heads up i'll check with franze later and see why that is
xall has joined #ruby
<smathy> Cool.
zacstewart has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
mistermocha has joined #ruby
rodfersou is now known as rodfersou|afk
ramfjord_ has joined #ruby
djbkd has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
ullu_ has joined #ruby
dionysus69 has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
maucar has quit [Quit: Leaving]
mtkd has quit [Ping timeout: 272 seconds]
ullu_ has quit [Ping timeout: 258 seconds]
blackgoat has joined #ruby
mtkd has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
fmcgeough has quit [Quit: fmcgeough]
yardenbar has joined #ruby
neanderslob has joined #ruby
xall has quit [Read error: Connection reset by peer]
xall has joined #ruby
Moosashi has joined #ruby
Moosashi has quit [Client Quit]
prestorium has quit [Quit: Leaving]
xall has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
xall has joined #ruby
<adam12> What is everybody's preferred intro to ruby guide? I was pitched this question and it's been ages since I learned Ruby.
edwinvdgraaf has quit [Remote host closed the connection]
macsteps has quit [Remote host closed the connection]
chip_ has quit [Ping timeout: 244 seconds]
rbennace_ has quit [Remote host closed the connection]
<agent_white> I thoroughly enjoy _why's guide. I recommend that, supplemented with Ruby Monks.
<agent_white> :)
<adam12> Why's guide was defacto, but I can't help but wonder if its not very approachable now a days
rodfersou|afk is now known as rodfersou
xall has quit [Read error: Connection reset by peer]
r_rios has joined #ruby
xall has joined #ruby
ur5us has joined #ruby
rbennacer has joined #ruby
Moosashi has joined #ruby
maucar has joined #ruby
maucar has quit [Remote host closed the connection]
<r_rios> How can I iterate over an Array pair by pair? For example: [1, 2, 3, 4, 5].pairs{|p1, p2| print "(#{p2}, #{p2}) " } # prints (1, 2) (2, 3) (3, 4) (4, 5)
dhruvasagar has joined #ruby
jhack has joined #ruby
<havenwood> r_rios: each_cons(2)
biberu has quit []
<havenwood> (in place of `pairs`)
rbennacer has quit [Ping timeout: 240 seconds]
<r_rios> havenwood: Thanks. Is there a "select" version of that method
xall has quit [Ping timeout: 250 seconds]
DoubleMalt has joined #ruby
dc4 has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
korzybski has quit [Quit: korzybski]
<adaedra> you can chain
<adaedra> >> [1, 2, 3, 4, 5, 6].each_cons(2).select { |a, _| a.odd? }
<ruby[bot]> adaedra: # => [[1, 2], [3, 4], [5, 6]] (https://eval.in/598056)
<adam12> One of my favourite features.
<adaedra> That's just the way Enumerable works.
<elomatreb> Ruby has hands down the most useful standard library I've ever used
rbennacer has joined #ruby
Snowy has joined #ruby
rbennace_ has joined #ruby
dhruvasagar has quit [Ping timeout: 276 seconds]
<havenwood> >> module Enumerable; def pairs &block; each_cons 2, &block end end; [1, 2, 3, 4, 5].pairs { |p1, p2| print "(#{p2}, #{p2}) " }
<ruby[bot]> havenwood: # => (2, 2) (3, 3) (4, 4) (5, 5) nil (https://eval.in/598057)
dminuoso has joined #ruby
<havenwood> r_rios: looks like you have p2 twice there ^
SCHAAP137 has quit [Ping timeout: 276 seconds]
eljimador has joined #ruby
B1n4r10 has joined #ruby
B1n4r10 has quit [Client Quit]
Moosashi has quit [Quit: Moosashi]
codecop has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 276 seconds]
dminuoso has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
synthroid has quit []
emiltin has quit [Quit: Computer has gone to sleep.]
eljimador has quit [Quit: Leaving]
DoubleMalt has quit [Remote host closed the connection]
<r_rios> Thanks adaedra and havenwood
<adaedra> yw
yardenbar has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
<havenwood> yw
SCHAAP137 has joined #ruby
<khelair> I'm having a ridiculous question here. I'm working on a machine freshly installed with ruby 2.x and assorted tools. I just got the mysql & mysql2 gems installed, and I was hoping they'd fix my problem
tummy has joined #ruby
<khelair> problem being that sqllite is the only database whose configuration examples I'm seeing in the database.yml file
naftilos76 has joined #ruby
<khelair> which is hampering my ability to follow the example in the ruby for rails book that I'm trying to learn from right now
<khelair> anybody have any suggestions or pointers to helpful information? thanks in advance
pilne has quit [Quit: Quitting!]
ncthom91 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta__ has joined #ruby
<havenwood> khelair: You can generate your Rails app preconfigured for a different DB or change the conf/database.yml file.
pLaToOn has quit [Read error: Connection reset by peer]
<havenwood> khelair: The #rubyonrails channel is dedicated to Rails.
<havenwood> config/database.yml**
ta_ has quit [Ping timeout: 244 seconds]
isberg_ has joined #ruby
<khelair> ah thank you sir
<havenwood> rails new khelair -d mysql
<havenwood> khelair: you're welcome
isberg has quit [Ping timeout: 240 seconds]
<khelair> very much appreciated ;)
<dn5> ai, how does one select nested value from JSON.parse()?
<havenwood> dn5: #dig is a nice way
<dn5> example ['parent']['child']
ramortegui has quit [Quit: Ex-Chat]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<dn5> havenwood: I think this is rather simple
<dn5> no need for dig
<havenwood> >> [0, 1, {aim: true, nested: {omgwtfbbq: [42]}}].dig 2, :nested, :omgwtfbbq, 0
<ruby[bot]> havenwood: # => 42 (https://eval.in/598071)
dikaio has joined #ruby
<dn5> havenwood: thats super nested :P
* smathy loves a good wtf BBQ
<havenwood> dn5: dig 'parent', 'child'
<dn5> mine is quite simple
hutch34 has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
<dn5> havenwood: https://api.stackexchange.com/docs/answers-on-questions#order=desc&sort=activity&ids=12509&filter=default&site=stackoverflow&run=true
<dn5> items -> owner -> reputation
Moosashi has joined #ruby
sergio_101 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<smathy> dn5, ['parent']['child'] is basically how you do it, so if you're not getting what you expect, maybe you need to make a gist to show what you're trying and getting.
<dn5> smathy: right, thats what I thought .. one second
<smathy> dn5, well the_object['parent']['child'] is.
<havenwood> dn5: dig 'items', 'owner', 'reputation'
<smathy> items[0] havenwood
<havenwood> ah, it's an ary
<havenwood> just glanced
<smathy> Starting to think that's going to be the problem here ;)
<dn5> `[]': no implicit conversion of String into Integer
<havenwood> smathy: rgr
<havenwood> dn5: which one of the owner/reputations do you want?
<smathy> dn5, yep, items is an array.
<dn5> havenwood: first one
<dn5> shall be
<dn5> 0
<havenwood> dn5: all of them? the first? the last?
tomphp has joined #ruby
<smathy> dn5, you'll want something like: foo["items"][0]["owner"]["reputation"]
hutch34 has joined #ruby
<dn5> smathy: ahhh
<smathy> ...or the dig equivalent.
<havenwood> dn5: or: dig 'items', 0, 'owner', 'reputation'
<havenwood> dn5: if you don't want to return `nil` instead of blowing up if a part is missing
<dn5> that worked
<dn5> smathy:
<smathy> Yay.
B1n4r10 has joined #ruby
<dn5> thank you guys
<smathy> Easy not to notice the array in there.
<dn5> would you mind telling me
<dn5> why its array once I parsed it
<smathy> dn5, what else could it be?
<dn5> json
<havenwood> dn5: It just is an Array. That's what it was before it became JSON and that's what it stays parsed out of JSON.
<smathy> dn5, oh right, so the parsing turns it into native ruby objects.
rdark has quit [Quit: Lost terminal]
<dn5> ahh makes sense
<havenwood> dn5: Consider: require 'json'; JSON.parse({items: []}.to_json)
replay has joined #ruby
B1n4r10 has quit [Client Quit]
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
giz|work has joined #ruby
dc4 has quit [Ping timeout: 244 seconds]
ldnunes has quit [Quit: Leaving]
firstdayonthejob has quit [Quit: WeeChat 1.5]
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Moosashi has quit [Quit: Moosashi]
firstdayonthejob has joined #ruby
ascarter has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nando293921 has quit [Ping timeout: 258 seconds]
Gasher has joined #ruby
Lucky_ABA has joined #ruby
VeryBewitching has quit [Quit: Konversation terminated!]
nettoweb has joined #ruby
ItSANgo has quit [Quit: Leaving...]
naf has joined #ruby
TomyLobo has quit [Ping timeout: 264 seconds]
Guest93604 is now known as IceDragon
Neobenedict is now known as STOP_STARTING_EA
STOP_STARTING_EA is now known as Neobenedict
naf_ has joined #ruby
naf has quit [Disconnected by services]
naf_ is now known as naf
jmignault has quit [Ping timeout: 244 seconds]
d0nn1e has quit [Ping timeout: 240 seconds]
thatsnotjack has quit [Ping timeout: 258 seconds]
aupadhye has quit [Ping timeout: 244 seconds]
d0nn1e has joined #ruby
Ishido has quit [Remote host closed the connection]
naf_ has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
naftilos76 has quit [Ping timeout: 252 seconds]
arnonhongklay has joined #ruby
nankyokusei has joined #ruby
naf has quit [Ping timeout: 276 seconds]
davedev24 has joined #ruby
jaguarmagenta has joined #ruby
davedev24 has quit [Remote host closed the connection]
davedev24 has joined #ruby
grill_U has quit [Quit: Goodnight]
davedev2_ has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
jgpawletko has quit [Quit: jgpawletko]
dminuoso has joined #ruby
blackmes1 has quit [Ping timeout: 250 seconds]
leea has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
jaguarmagenta has quit [Ping timeout: 244 seconds]
dc4 has joined #ruby
ta_ has joined #ruby
tummy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jmignault has joined #ruby
dminuoso has quit [Ping timeout: 240 seconds]
ta__ has quit [Ping timeout: 264 seconds]
<dn5> is this correct syntax: str.empty? return
<dn5> as in if str is empty then exit the function
<havenwood> dn5: return if str.empty?
rodfersou has quit [Quit: leaving]
blackmes1 has joined #ruby
tummy has joined #ruby
Parko has joined #ruby
<havenwood> dn5: or the less-used: str.empty? and return
rbennace_ has quit [Ping timeout: 272 seconds]
<dn5> havenwood: not gonna lie, thats beautiful
<dn5> the first solution
<dn5> readable
jmignault has quit [Ping timeout: 240 seconds]
<dn5> thank you
whathapp_ has joined #ruby
tummy has quit [Read error: Connection reset by peer]
thatsnotjack has joined #ruby
workmad3 has joined #ruby
whathappens has quit [Ping timeout: 258 seconds]
dhruvasagar has joined #ruby
SCHAAP137 has quit [Ping timeout: 276 seconds]
ekinmur has quit [Ping timeout: 276 seconds]
naf has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
ChiefAlexander_ has quit [Quit: Leaving...]
hutch34 has quit [Ping timeout: 264 seconds]
naf_ has quit [Ping timeout: 252 seconds]
chipotle has joined #ruby
rkazak has joined #ruby
heinrich5991 has quit [Ping timeout: 246 seconds]
moei has quit [Quit: Leaving...]
dikaio has joined #ruby
jgpawletko has joined #ruby
dikaio has quit [Max SendQ exceeded]
dhruvasagar has quit [Ping timeout: 264 seconds]
tomphp has quit [Read error: No route to host]
axl_ has joined #ruby
jmignault has joined #ruby
jetpackjoe has quit [Quit: WeeChat 1.5]
ncthom91 has joined #ruby
jgpawletko has quit [Ping timeout: 252 seconds]
jgpawletko_ has joined #ruby
pragmatism has quit [Quit: Connection.close!]
rkazak has quit [Ping timeout: 260 seconds]
ncthom91 has quit [Client Quit]
macsteps has joined #ruby
heinrich5991 has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
hutch34 has joined #ruby
spider-mario has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
jmignault has quit [Ping timeout: 250 seconds]
last_staff has quit [Quit: last_staff]
karapetyan has joined #ruby
SCHAAP137 has joined #ruby
speakingcode has quit [Ping timeout: 244 seconds]
korzybski has joined #ruby
tummy has joined #ruby
mattwashere has quit [Remote host closed the connection]
the_drow has quit [Quit: This computer has gone to sleep]
karapetyan has quit [Remote host closed the connection]
mattwashere has joined #ruby
Moosashi has joined #ruby
naf has quit [Ping timeout: 246 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
jgt has joined #ruby
naf has joined #ruby
pwnd_nsfw has joined #ruby
karapetyan has joined #ruby
Rodya_ has joined #ruby
hutch34 has quit [Ping timeout: 272 seconds]
infra-red has joined #ruby
Rodya_ has quit [Remote host closed the connection]
agit0 has quit [Read error: Connection reset by peer]
mattwashere has quit [Ping timeout: 272 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tummy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
infra-red has quit [Remote host closed the connection]
blandflakes has joined #ruby
<dn5> ok guys
<dn5> I've got a big issue
pilne has joined #ruby
<dn5> I have a case statement
<dn5> in when
infra-red has joined #ruby
<dn5> i have a regex
<dn5> as in when /\/so .+/
jgpawletko_ has quit [Quit: jgpawletko_]
<dn5> that will match literal /so "anything"
<dn5> i need anything
<dn5> no quotes are set
<dn5> oh Im stupid
<dn5> I could just remove first three chars
sdothum has quit [Read error: Connection reset by peer]
<bruce_lee> I'm reltively new to ruby, ".*" matches anything, ".+" matches anything but at least one character
jgpawletko has joined #ruby
<bruce_lee> ^^as far as I know
sdothum has joined #ruby
jgpawletko has quit [Client Quit]
<dn5> bruce_lee: indeed
<dn5> good to note
<dn5> oh tho
infra-red has quit [Ping timeout: 240 seconds]
<dn5> how do I set the when in a stirng
<dn5> as a string*
<dn5> into some variable
<dn5> I need to store it somewhere first before I can use it
polishdub has quit [Quit: Leaving]
<dn5> havenwood: got any idea?
ledestin has joined #ruby
duncannz has joined #ruby
<havenwood> dn5: I didn't follow what you have and what you want?
<bruce_lee> and then
duncannz has quit [Max SendQ exceeded]
<bruce_lee> myStringVar = $1
thatsnotjack has quit [Ping timeout: 240 seconds]
<havenwood> dn5: Gist an example?
<bruce_lee> first this is needed: /\/so (.+)/
<dn5> havenwood: I have a case statement with when that will match above regex
<shevy> bruce_lee come on!!!
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
neo_ has quit [Remote host closed the connection]
<dn5> oh forget it
<dn5> 1AM
<dn5> cant think properly
duncannz has joined #ruby
neo_ has joined #ruby
<havenwood> dn5: Showing example data rather than explaining it would probably explain better. Sleep is good!
futilegames has quit [Quit: futilegames]
<havenwood> "it is easier for humans to understand complex data compared with complex logic"
kareeoleez has quit [Remote host closed the connection]
<dn5> havenwood: haha you are right
Rodya_ has joined #ruby
<dn5> >> str = "/so something" case str when /\/so .+/ puts "Good."
jhack has quit [Quit: jhack]
<ruby[bot]> dn5: # => /tmp/execpad-8a9074f4e693/source-8a9074f4e693:2: syntax error, unexpected keyword_case, expecting ke ...check link for more (https://eval.in/598077)
futilegames has joined #ruby
futilegames has quit [Client Quit]
arnonhongklay has quit [Remote host closed the connection]
<dn5> >> str = "/so something" case str when /\/so .+/ puts "Good." end end
<ruby[bot]> dn5: # => /tmp/execpad-fbde9c15c8f2/source-fbde9c15c8f2:2: syntax error, unexpected keyword_case, expecting ke ...check link for more (https://eval.in/598078)
<dn5> something like that, Im not that good with irb
<dn5> but it works
<dn5> and I figured it out
neo_ has quit [Ping timeout: 244 seconds]
axl_ has left #ruby [#ruby]
ta_ has quit [Ping timeout: 276 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
centrx has quit [Remote host closed the connection]
dopamean_ has quit [Ping timeout: 246 seconds]
kirun has quit [Quit: Client exiting]
zenlot6 has joined #ruby
aegis312_ has quit [Ping timeout: 244 seconds]
zenlot has quit [Ping timeout: 272 seconds]
<dn5> offtopic: Does anyone know of Ox0dea or something like that
<dn5> he was hanging out on this channel
<dn5> for a long time
<havenwood> dn5: yup yup
<dn5> hes a cool guy
<dn5> havent seen him here lately
solocshaw has joined #ruby
karapetyan has quit [Remote host closed the connection]
jottr has joined #ruby
karapetyan has joined #ruby
cdg has joined #ruby
minimalism has joined #ruby
electrostat has quit [Quit: uwotm8]
electrostat has joined #ruby
<shevy> adaedra kicked him and I guess he did not come back again
electrostat has quit [Client Quit]
electrostat has joined #ruby
maucar has joined #ruby
solocshaw has quit [Ping timeout: 272 seconds]
pragmatism has joined #ruby
<dn5> did he deserve it
<dn5> also thats sad to hear, he was one of these I could remember helping everyone no matter what
dminuoso has joined #ruby
<shevy> lemme search the channel log
firstdayonthejob has quit [Ping timeout: 276 seconds]
pilne has quit [Quit: Quitting!]
<dn5> thank you
maucar has quit [Client Quit]
bmurt has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
<shevy> hmmm the IRC log interface confuses me
<dn5> what is it
<shevy> well I searched for the nick
<agent_white> :(
<agent_white> I liked 0x.
<shevy> got some results... it appears to be that this one was the last http://irclog.whitequark.org/ruby/2015-05-23#12861454
<agent_white> Smart dude.
<shevy> but I am quite sure that this was not the last ... so now I am confused
rkazak has joined #ruby
fuuuuuUCKKKKK has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
fuuuuuUCKKKKK has quit [Client Quit]
Neobenedict has quit [Ping timeout: 252 seconds]
<shevy> well I am out of ideas but I am quite sure that this was not the last. I just can't find any more recent ones from #ruby with Ox0dea
Moosashi has quit [Quit: Moosashi]
dminuoso has quit [Ping timeout: 276 seconds]
Neobenedict has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
<dn5> interesting
<dn5> somethings fishy
<Radar> !badnick fuuuuuUCKKKKK
sanjayu has joined #ruby
c355e3b has joined #ruby
gizless has joined #ruby
gizless has quit [Remote host closed the connection]
gizless has joined #ruby
gizless has quit [Remote host closed the connection]
gizless has joined #ruby
kfrer has joined #ruby
Gasher has quit [Ping timeout: 246 seconds]
gizless has quit [Client Quit]
Moosashi has joined #ruby
gizmore has quit [Ping timeout: 276 seconds]
solocshaw has joined #ruby
leea has joined #ruby
giz|work|2 has joined #ruby
<shevy> dn5 hmm ok I guess it's just my memory that was wrong then
RegulationD has quit [Remote host closed the connection]
giz|work has quit [Ping timeout: 240 seconds]
<dn5> shevy: hmm
<dn5> I dont know
Guest43_ has joined #ruby
<shevy> it's like Finding Waldo!
<dn5> hahahha
Beast has quit [Quit: Leaving]
skade has joined #ruby
hahuang61 has joined #ruby
<eam> hmmmm
fclausen has joined #ruby
sepp2k has quit [Quit: Leaving.]
sanjayu has quit [Read error: Connection reset by peer]
<agent_white> Radar: I may or may not have linked that to shevy as well.
<agent_white> Your little logging subsection is too nice though :)
<shevy> agent_white found waldo
<Radar> agent_white: :)
arthurl has quit [Ping timeout: 250 seconds]
<shevy> dn5 so agent_white found it there http://logs.ryanbigg.com/ruby?date=2016-05-12#5666753 - my memory was wrong! Ox0dea was active for about +2 more weeks or so
dc4 has quit [Ping timeout: 244 seconds]
<dn5> shevy: yep Im checking it right now
<shevy> and also I fail with webinterfaces in general
<agent_white> This feels like a murder mystery! weee!
* agent_white giggles
<shevy> irclog.whitequark.org was especially weird... "143 pages"... text overflowing onto the next line making it hard to click on the blue links 139 140 141 142 etc...
bhaak has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
<dn5> agent_white: you truly are an agent!
<dn5> feds, we got feds
<dn5> still not a reason to kick him
<agent_white> Nah agent_black hasn't been around lately, luckily.
<agent_white> ;)
<dn5> i mean, that man got some respect
pilne has joined #ruby
Dimik has quit [Ping timeout: 276 seconds]
mistermocha has quit [Remote host closed the connection]
<shevy> I always associate agent_white with the Matrix
mistermocha has joined #ruby
spiette has quit [Ping timeout: 260 seconds]
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
speakingcode has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
bruce_lee has quit [Read error: Connection reset by peer]
<karapetyan> hi, why in array i have not expected vaues?
rkazak has quit [Quit: Sleep.....ing....]
<drbrain> dn5: those are the channel rules
SCHAAP137 has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 246 seconds]
macsteps has quit [Remote host closed the connection]
agent_white has quit [Quit: headinhome]
speakingcode has quit [Quit: Lost terminal]
symm- has quit [Ping timeout: 240 seconds]
<shevy> karapetyan can you break down what happens
tossup has joined #ruby
nb_bez___ has joined #ruby
<tossup> Hi guys
macsteps has joined #ruby
unvexp has joined #ruby
naf has quit [Ping timeout: 244 seconds]
<havenwood> tossup: hi
unvexp has quit [Max SendQ exceeded]
naf has joined #ruby
<baweaver> all - if you wish to discuss meta-channel information like bans, please go to #ruby-offtopic
<baweaver> karapetyan: What is your expected input, output, and what happens that is not expected?
unvexp has joined #ruby
mistermocha has quit [Remote host closed the connection]
unvexp has quit [Max SendQ exceeded]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
yude has quit [Read error: Connection timed out]
tokynet has quit [Quit: Connection closed for inactivity]
<karapetyan> shevy: after loop finished "result" array must have "current" variable values for all previous iterations
yude has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
<karapetyan> instead i have https://gist.github.com/karapetyan/cd0ebeb6df967d8eaaea712984e15173#file-excel-rb-L24 only last "current variable" value
pawnbox has joined #ruby
<tossup> I have a question, I'm new on Ruby and Have downloaded a gems for zip files but are in vendor_ruby folder and when i call her with: > require 'zip' says that "LoadError: cannot load such file -- zip". What's wrong?
<tossup> havenwood: I have a question, I'm new on Ruby and Have downloaded a gems for zip files but are in vendor_ruby folder and when i call her with: > require 'zip' says that "LoadError: cannot load such file -- zip". What's wrong?
<dn5> tossup: did you install the gem globally? also dont repeat your questions
<dn5> and dont ping
Snowy has quit [Remote host closed the connection]
memorasus has quit [Ping timeout: 272 seconds]
mistermocha has quit [Ping timeout: 240 seconds]
macsteps has quit [Remote host closed the connection]
<dn5> :q
<dn5> oups
<havenwood> tossup: how'd you install the gem? using bundler?
<tossup> Just I installed her with apt "apt install ruby-zip"
<tossup> Not
<tossup> With apt
<dn5> im leaving you
<dn5> gnight everyone
<tossup> That was wrong?
dn5 has quit [Quit: Lost terminal]
pawnbox has quit [Ping timeout: 252 seconds]
naf has quit [Ping timeout: 240 seconds]
<tossup> How should be?
neo_ has joined #ruby
naf has joined #ruby
bhaak has joined #ruby
macsteps has joined #ruby
<havenwood> tossup: sudo gem install rubyzip
jmignault has joined #ruby
workmad3 has joined #ruby
<havenwood> (if that's the gem you want, actually)
jhack has joined #ruby
<tossup> A lot of thanks friends, excuse me, I'm new
<tossup> I resolved it
<havenwood> tossup: welcome!
postmodern has joined #ruby
solocshaw has quit [Ping timeout: 272 seconds]
mistermocha has joined #ruby
solocshaw1 has joined #ruby
solocshaw1 has quit [Remote host closed the connection]
jmignault has quit [Ping timeout: 244 seconds]
moei has joined #ruby
<karapetyan> any help, folks?)
nando293921 has joined #ruby
<shevy> karapetyan I have not been able to grasp it either, it may be easier if you can distill it to something easy
<shevy> like "given input -> desired output"
ullu_ has joined #ruby
jhack has quit [Quit: jhack]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jhack has joined #ruby
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
nankyokusei has joined #ruby
skweek has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
jhack has quit [Client Quit]
Es0teric has joined #ruby
dminuoso has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
ensyde has joined #ruby
<karapetyan> shevy: https://repl.it/C71K
koooge has joined #ruby
<tossup> Then if I import for example the Library of base64 and i want to see the methods of that class how do it? For example on Python: > import base64 and then dir(base64) that show me all the base64 functions
korzybski has quit [Quit: korzybski]
<tossup> On ruby how would be?
<karapetyan> generate_names should return array ["B","C","D","E","F"], instead i got ["F","F","F","F","F"]
<karapetyan> why?
zeroDi has joined #ruby
dminuoso has quit [Ping timeout: 264 seconds]
solocshaw has joined #ruby
<karapetyan> shevy: is problem described well?
workmad3 has quit [Ping timeout: 240 seconds]
jmignault has joined #ruby
leea has joined #ruby
<shevy> hmm