havenwood changed the topic of #ruby to: Rules & more: http://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/
Moosashi has joined #ruby
skolman_ has joined #ruby
chipotle has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
nerium has quit [Quit: nerium]
electrostat has quit [Quit: uwotm8]
hahuang61 has joined #ruby
chouhoulis has joined #ruby
Moosashi has quit [Quit: Moosashi]
SilverKey has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
banister has joined #ruby
dikaio has joined #ruby
mjuszczak has quit []
mjuszczak has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
mjuszczak has quit [Client Quit]
xcesariox has joined #ruby
stannard has joined #ruby
rbennacer has joined #ruby
Musashi007 has joined #ruby
electrostat has joined #ruby
dudepare has joined #ruby
GinoMan2440 has quit [Ping timeout: 252 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
mjuszczak has joined #ruby
`tim` has joined #ruby
trinaldi has quit [Quit: zzz]
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 276 seconds]
dikaio has joined #ruby
Musashi007 has quit [Quit: Musashi007]
dikaio has quit [Client Quit]
stannard has quit [Remote host closed the connection]
houhoulis has joined #ruby
drewo has joined #ruby
Moosashi has joined #ruby
Moosashi has quit [Client Quit]
gooodroot has joined #ruby
dikaio has joined #ruby
Musashi007 has joined #ruby
goodroot has quit [Ping timeout: 246 seconds]
rubie has joined #ruby
Musashi007 has quit [Client Quit]
rubie has quit [Client Quit]
mjuszczak has quit []
grenierm has joined #ruby
ropeney has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ledestin has joined #ruby
tvon has quit [Quit: System is sleeping...]
amincd has joined #ruby
<amincd> hi, what does the "%w" in %w"some string" do?
<llua> >> %w'foo bar baz'.each { |w| p w }
<ruby[bot]> llua: # => "foo" ...check link for more (https://eval.in/567141)
goooodroot has joined #ruby
Moosashi has joined #ruby
<amincd> llua so it turns it into an array with each substring delimited by a space turned into one element?
Musashi007 has joined #ruby
<amincd> soahccc: thanks
gooodroot has quit [Ping timeout: 250 seconds]
mjuszczak has joined #ruby
`tim` has joined #ruby
zacstewart has quit [Ping timeout: 246 seconds]
<amincd> Ox0dea: cheers
diego1 has quit [Changing host]
diego1 has joined #ruby
<Ox0dea> amincd: No worries. The community style guide recommends %w(), but I think %w[] is better.
diego1 is now known as diegoviola
<Ox0dea> I mean, it's an Array...
mjuszczak has quit [Client Quit]
mjuszczak has joined #ruby
Moosashi has quit [Quit: Moosashi]
Musashi007 has quit [Quit: Musashi007]
zast has quit [Remote host closed the connection]
grenierm has quit [Quit: grenierm]
devbug has joined #ruby
skweek has joined #ruby
arescorpio has joined #ruby
<amincd> Ox0dea: yea makes sense
<baweaver> maybe but I've yet to see it in the wild as that
<baweaver> there's something to be said for staying at least somewhat consistent with how the community does things
<baweaver> then again this isn't Python either, so...
patrick_star_3 has joined #ruby
LoneHerm_ has joined #ruby
<Ox0dea> And, so, but, well, why did the community settle on %w() in the first place?
<baweaver> anyways, my general thought on style is try and stay with what the community says as much as possible to avoid bikeshedding over silly things
* baweaver shrugs
<baweaver> no one said it has to make the most sense in the world, you could always justify things
<Ox0dea> Try justifying this one.
<baweaver> point being if someone shows up on a code review and tries to change all that I'd ignore them
<baweaver> just like I'm going to ignore this and not bother
<baweaver> it's a waste of time over something trivial
ramfjord has quit [Ping timeout: 260 seconds]
patrick_star_2 has quit [Ping timeout: 265 seconds]
hahuang61 has joined #ruby
LoneHerm_ has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
tatsuo has quit [Remote host closed the connection]
drewo has quit [Ping timeout: 260 seconds]
djbkd has quit [Ping timeout: 276 seconds]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
davedev24 has quit []
tmtwd has joined #ruby
binaryplease has joined #ruby
moeabdol has joined #ruby
northrup has joined #ruby
zacts has quit [Quit: leaving]
crystal77 has joined #ruby
zacts has joined #ruby
chipotle has quit [Max SendQ exceeded]
moeabdol has quit [Ping timeout: 260 seconds]
devbug has quit [Quit: ZZZzzz…]
djbkd has joined #ruby
diego1 has joined #ruby
chipotle has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoviola is now known as Guest34352
diego1 is now known as diegoviola
Guest34352 has quit [Ping timeout: 252 seconds]
djbkd has quit [Remote host closed the connection]
chopin_ has quit [Remote host closed the connection]
pickandmix has joined #ruby
djbkd has joined #ruby
solocshaw1 has joined #ruby
solocshaw has quit [Read error: Connection reset by peer]
solocshaw1 is now known as solocshaw
renatosilva has joined #ruby
aeterne has quit [Read error: Connection reset by peer]
<renatosilva> Ox0dea: ended up using powershell https://github.com/renatosilva/scripts/blob/master/notestopdf.rb :-/
djbkd has quit [Ping timeout: 252 seconds]
mjuszczak has quit []
jenrzzz has joined #ruby
djbkd has joined #ruby
mjuszczak has joined #ruby
djbkd has quit [Remote host closed the connection]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has quit [Remote host closed the connection]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
<Ox0dea> renatosilva: Ah, well, glad you got it sorted, anyway. :P
b|ackwolf has quit [Quit: Leaving]
stardiviner has joined #ruby
nbdy has joined #ruby
tvon has joined #ruby
d5sx43 has joined #ruby
d5sx43 has quit [Client Quit]
Moosashi has joined #ruby
drewo has joined #ruby
dikaio has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
sp4rrow has joined #ruby
electrostat has quit [Quit: uwotm8]
mjuszczak has quit []
RegulationD has joined #ruby
electrostat has joined #ruby
drewo has quit [Ping timeout: 276 seconds]
tatsuo has joined #ruby
gooooodroot has joined #ruby
yfeldblum has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 276 seconds]
renatosilva has left #ruby ["http://renatosilva.net - Renato Silva"]
brent__ has joined #ruby
<brent__> hello, stupid question. If i was to create a Gemfile, what extension should i give it?
electrostat has quit [Quit: uwotm8]
<Arcaire> brent__: none
<brent__> thats what i thought
<Arcaire> :)
<brent__> any idea how to remove it on OSX?
<Arcaire> Just delete that bit in Finder.
<brent__> i clicked rename and deleted the .txt, however when i type ls in terminal it still shows the .txt
nando294021 has quit [Quit: Lost terminal]
<brent__> and says it can't find a gemfile
<Arcaire> mv Gemfile.txt Gemfile
<Arcaire> in terminal
<Arcaire> should do it just fine
<Arcaire> For future.
goooodroot has quit [Ping timeout: 276 seconds]
nando293921 has joined #ruby
<brent__> yeah i have it show file extensions
GodFather has quit [Ping timeout: 246 seconds]
<brent__> it was weird that removing the .txt in extension wasn't actually removing it
<brent__> Thanks for the help Arcaire!
electrostat has joined #ruby
<Arcaire> All good yo.
saneax is now known as saneax_AFK
Ruby3X3 has joined #ruby
`tim` has joined #ruby
cdg has joined #ruby
skolman_ has quit [Remote host closed the connection]
skolman_ has joined #ruby
LoneHermit has joined #ruby
tatsuo has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 250 seconds]
skolman_ has quit [Ping timeout: 260 seconds]
LoneHermit has quit [Ping timeout: 240 seconds]
griffindy has quit [Ping timeout: 240 seconds]
stannard has joined #ruby
chouhoulis has quit [Remote host closed the connection]
Moosashi has quit [Quit: Moosashi]
Moosashi has joined #ruby
kam270 has joined #ruby
shakes has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
shakes has quit [Client Quit]
shakes has joined #ruby
hashrate_ has joined #ruby
chouhoulis has joined #ruby
skolman has joined #ruby
kkeuning has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chopin has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
skolman has quit [Remote host closed the connection]
skolman has joined #ruby
hahuang61 has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Coldblackice has quit []
d0nn1e has quit [Ping timeout: 240 seconds]
chopin has quit [Ping timeout: 265 seconds]
d0nn1e has joined #ruby
skolman has quit [Ping timeout: 276 seconds]
Yzguy has joined #ruby
drewo has joined #ruby
jdawgaz has joined #ruby
LoneHermit has joined #ruby
yfeldblum has joined #ruby
idefine has joined #ruby
kkeuning has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
drewo has quit [Ping timeout: 260 seconds]
bruno- has joined #ruby
SilverKey has quit [Quit: Halted.]
|2701 has quit [Quit: Connection closed for inactivity]
stannard has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elifoster has quit [Ping timeout: 260 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has quit [Remote host closed the connection]
Devalo has joined #ruby
houhoulis has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
cdg has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
braincrash has joined #ruby
mjuszczak has joined #ruby
Moosashi has quit [Quit: Moosashi]
chopin has joined #ruby
chopin_ has joined #ruby
kkeuning has quit [Quit: Textual IRC Client: www.textualapp.com]
chopin has quit [Ping timeout: 246 seconds]
kkeuning has joined #ruby
gix has quit [Ping timeout: 276 seconds]
kkeuning has quit [Max SendQ exceeded]
kkeuning has joined #ruby
gix has joined #ruby
goodroot has joined #ruby
xue has joined #ruby
moeabdol has joined #ruby
gooooodroot has quit [Ping timeout: 240 seconds]
greves has joined #ruby
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
tvon has quit [Read error: Connection reset by peer]
tatsuo has joined #ruby
gooodroot has joined #ruby
goodroot has quit [Ping timeout: 244 seconds]
elifoster has joined #ruby
yqt has quit [Ping timeout: 244 seconds]
tatsuo has quit [Ping timeout: 260 seconds]
goooodroot has joined #ruby
gooodroot has quit [Ping timeout: 276 seconds]
hk238 has joined #ruby
bruce_lee has joined #ruby
mjuszczak has quit []
d0lph1n98 has joined #ruby
pickandmix has quit [Ping timeout: 260 seconds]
drewo has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
elifoster has quit [Ping timeout: 240 seconds]
drewo has quit [Ping timeout: 240 seconds]
Yiota_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gooooodroot has joined #ruby
postmodern has joined #ruby
zacstewart has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
rbennacer has quit [Remote host closed the connection]
goooodroot has quit [Ping timeout: 276 seconds]
Yiota has joined #ruby
SilverKey has joined #ruby
zacstewart has quit [Ping timeout: 244 seconds]
bruno- has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
rbennacer has joined #ruby
kareeoleez has joined #ruby
Yiota has quit [Client Quit]
b|ackwolf has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
hashrate_ has quit [Ping timeout: 260 seconds]
Yiota has joined #ruby
pawnbox has joined #ruby
nes has joined #ruby
jdawgaz has joined #ruby
rbennacer has quit [Ping timeout: 276 seconds]
fernando has joined #ruby
Moosashi has joined #ruby
thesheff17 has quit [Quit: Connection closed for inactivity]
goodroot has joined #ruby
djbkd has joined #ruby
Moosashi has quit [Ping timeout: 276 seconds]
connor_goodwolf has joined #ruby
gooooodroot has quit [Ping timeout: 276 seconds]
ramfjord_ has joined #ruby
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chopin_ has quit [Remote host closed the connection]
sdwrage has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
tmtwd has quit [Ping timeout: 276 seconds]
noService has joined #ruby
syk has joined #ruby
grenierm has joined #ruby
<brent__> hello. Looking for some help understanding how to use "require 'file'" in pry
<havenwood> brent__: Is it not working? What's unexpected?
<havenwood> brent__: From Pry: gem-install mines
<brent__> havenwood: did you see the gist? it just says LoadError: cannot-load such fiel
<havenwood> brent__: Did you run `gem-install mines` from pry
zzak has quit [Remote host closed the connection]
<brent__> interesting, so i need to do 'gem-install "filename"' first/
dikaio has joined #ruby
fedexo has joined #ruby
chopin has joined #ruby
<havenwood> brent__: That's just the way to install and require a gem from within Pry.
zzak has joined #ruby
<brent__> I was watching the screencast form here http://pryrepl.org/
<havenwood> You can alternatively install the gem from the command line then restart Pry and require it.
<havenwood> gem install mines
<havenwood> brent__: Since you're using rbenv you may have to `rbenv rehash`.
<havenwood> ?rbenv
<ruby[bot]> Missing command under rbenv? Did you try `rbenv rehash`?
<brent__> lol
<brent__> why would i need to do 'gem-install mines'?
<brent__> it's not a gem, just a .rb file
<havenwood> brent__: I assumed it's a gem. If it's a file the problem is likely that it's not in your $LOAD_PATH.
<havenwood> Or not accessible from a dir that is, rather.
drewo has joined #ruby
<havenwood> brent__: Familiar with the #require_relative method?
<Ox0dea> brent__: You could say `require './mines'` or `require_relative 'mines'`, but it's better to get the necessary directory into $LOAD_PATH so that you can just say what you've got now.
<brent__> i have used it in the past
<havenwood> brent__: In Ruby 1.8 "." was in the $LOAD_PATH.
<brent__> Ox0dea: the directory may be changing for my files, does it still make sense to chang ethe $LOAD_path?
<havenwood> brent__: Say more about what you're doing.
<brent__> right now i'm just trying to learn some extra pry functionality
chopin has quit [Remote host closed the connection]
<havenwood> Take a look at: $LOAD_PATH
<brent__> not specifically doing anything, i suppose. Just trying to learn how to use pry
<brent__> in pry?
<havenwood> Yup, type: $LOAD_PATH
<brent__> k, see a lot for .rbenv directories listed
moeabdol has joined #ruby
<havenwood> brent__: Those are places #require will look.
nes has quit [Ping timeout: 260 seconds]
astrobunny has joined #ruby
arescorpio has quit [Quit: Leaving.]
<havenwood> And #require_relative right beneath it
<brent__> okay, looking at how to add a directory
<havenwood> brent__: When you run pry you can `pry -I DIR` to "[a]dd a path to the $LOAD_PATH."
<brent__> does pry recognize which directory you invoked it from?
Adam_FrVancouver has quit [Read error: Connection reset by peer]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> yup
Adam_FrVancouver has joined #ruby
cdg has quit [Remote host closed the connection]
bronson has joined #ruby
<brent__> havenwood is it just 'pry -I DIR'? i'm getting 'unkown constant'
<brent__> or 'unexpected* constant"
<havenwood> brent__: By DIR I just mean the directory you want to add to the $LOAD_PATH. See: pry -h
kareeoleez has quit [Remote host closed the connection]
amincd has quit [Quit: Page closed]
bronson has quit [Ping timeout: 252 seconds]
nando293921 has quit [Quit: Lost terminal]
<brent__> when starting pry with that command, it's still not fnding it w/ just 'require'
Oog has joined #ruby
LoneHermit has quit [Remote host closed the connection]
kkeuning has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
moeabdol has quit [Ping timeout: 265 seconds]
<havenwood> brent__: Do you see the dir in your $LOAD_PATH and is the file you're loading in that dir?
<brent__> there it goes
gooodroot has joined #ruby
<brent__> brain farting and misspelled it the first time
last_staff has joined #ruby
<brent__> thanks for helping havenwood
bruno- has quit [Ping timeout: 260 seconds]
<havenwood> you're welcome
SilverKey has quit [Quit: Halted.]
goodroot has quit [Ping timeout: 265 seconds]
Don_John has joined #ruby
Don_John has quit [Remote host closed the connection]
aibot has quit [Ping timeout: 240 seconds]
aibot has joined #ruby
goooodroot has joined #ruby
justin_pdx has joined #ruby
<brent__> you guys really make a difference for people trying to learn
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rbennacer has joined #ruby
elifoster has joined #ruby
gooodroot has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
moeabdol has joined #ruby
abucha has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
abucha_ has joined #ruby
solocshaw has quit [Quit: solocshaw]
abucha__ has joined #ruby
aufi has joined #ruby
Devalo has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
abucha has quit [Ping timeout: 260 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
abucha_ has quit [Ping timeout: 276 seconds]
<Arcaire> brent__: yeah #ruby is mostly good like that :D
Tristan-Speccy has quit [Remote host closed the connection]
<Arcaire> There's some help channels around here that won't help you or will actively scorn you unless you fit within the bounds of 30-odd rules immediately before you ask for help, luckily this isn't one of them. ;)
wolffles has joined #ruby
<Ox0dea> >> @Ruby == @love
<ruby[bot]> Ox0dea: # => true (https://eval.in/567158)
justin_pdx has quit [Quit: justin_pdx]
rbennacer has quit [Ping timeout: 265 seconds]
Xiti has quit [Quit: Xiti]
syk has quit [Ping timeout: 260 seconds]
<Arcaire> :D
jaguarmagenta has joined #ruby
solocshaw has joined #ruby
ramfjord_ has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
* baweaver snickers at Arcaire
<Arcaire> :)
CausaMortis has joined #ruby
skade has joined #ruby
<brent__> I dunno, i've seen Ox0dea laying down the hammer
<brent__> jk
<Arcaire> That's nothing comparatively, trust me. :P
<Arcaire> You know those boarding schools in TV shows that are depicting ~mid 60s - ~mid 80s? Imagine that.
<Arcaire> Internet Q&A is the most serious business since Pentagon FOUO.
kam270 has quit [Ping timeout: 240 seconds]
Tristan-Speccy has joined #ruby
Tristan-Speccy is now known as Guest44272
tax has quit [Ping timeout: 265 seconds]
<brent__> ha
TheWhip has joined #ruby
<brent__> i'm glad to have this resource, start a ruby/rails boot camp tomorrow, so going to need it i'm sure
<Arcaire> Good stuff.
abucha__ has quit [Quit: Leaving...]
CausaMortis has quit [Ping timeout: 260 seconds]
skade has quit [Quit: Computer has gone to sleep.]
dionysus69 has joined #ruby
the_drow has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
sdwrage has joined #ruby
idefine has quit [Remote host closed the connection]
kam270 has joined #ruby
b|ackwolf has quit [Ping timeout: 252 seconds]
b|ackwolf has joined #ruby
yardenbar has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
moeabdol has joined #ruby
moeabdol has quit [Client Quit]
kareeoleez has joined #ruby
tax has joined #ruby
the_drow has joined #ruby
kareeoleez has quit [Remote host closed the connection]
EdwardIII has quit [Ping timeout: 240 seconds]
kareeoleez has joined #ruby
_aeris_ has quit [Ping timeout: 276 seconds]
moeabdol has joined #ruby
_aeris_ has joined #ruby
kam270 has quit [Ping timeout: 265 seconds]
ur5us has quit [Remote host closed the connection]
EdwardIII has joined #ruby
zacstewart has joined #ruby
ramfjord has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
d0lph1n98 has quit [Ping timeout: 276 seconds]
solars has joined #ruby
zacstewart has quit [Ping timeout: 276 seconds]
scepticulous has joined #ruby
anes has joined #ruby
tatsuo has joined #ruby
<anes> Hi friends, I need to install ruby 2.1.9 in ubuntu 15.10, my current version is 2.1.5
<anes> any idea ?
Devalo has quit [Remote host closed the connection]
skade has joined #ruby
Devalo has joined #ruby
tax has quit [Ping timeout: 240 seconds]
gooooodroot has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
the_drow has quit [Read error: Connection reset by peer]
<anes> Ropeney: I download it , unzip ..tell me how to install?
Devalo has quit [Remote host closed the connection]
<ropeney> anes, install what?
akem has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
<anes> i need to upgrade ruby version 2.1.5 to 2.1.9
Musashi007 has joined #ruby
<ropeney> is the link I provided no good?
<anes> Ropeney: it's a download page link in github
<anes> Ropeney: I download it and what else i do for
<ropeney> follow the instructions
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ropeney> me saying it and you reading it there... are the same except I have to say it...
akem has joined #ruby
goooodroot has quit [Ping timeout: 240 seconds]
brianpWins_ has joined #ruby
edwinvdgraaf has joined #ruby
brianpWins has quit [Read error: Connection reset by peer]
brianpWins_ is now known as brianpWins
the_drow has joined #ruby
kam270 has joined #ruby
<Ox0dea> That's the easiest way to get a sane Ruby environment on Ubuntu, as I understand it.
Oog has quit []
<ropeney> Ox0dea, I didn't think they had 2.1.9?
<Ox0dea> Ropeney: I can't imagine why they wouldn't?
baweaver is now known as baweaver_away
the_drow has quit [Client Quit]
RegulationD has quit [Ping timeout: 276 seconds]
<Ox0dea> Well, that's a shame.
<ropeney> yeah :(
tatsuo_ has joined #ruby
bigkevmcd has joined #ruby
jaiks1 has quit [Ping timeout: 276 seconds]
tatsuo has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
<anes> Ox0dea: Thanks your idea works fine
<Ox0dea> anes: Installing 2.1 gets you 2.1.9, then?
<ropeney> they do have 2.1.9?
<anes> installed 2.2
<ropeney> lol
<anes> exact version ruby 2.2.4p230 (2015-12-16 revision 53155) [i386-linux-gnu]
<Ox0dea> Why not 2.3?
<ropeney> they don't have 2.3 :P
xcesariox has quit [Read error: Connection reset by peer]
<Ox0dea> They do.
<anes> but still wpscan show error as : [ERROR] cannot load such file -- bundler/setup
<ropeney> doesn't ubuntu have a apt-get install ruby2.2 ?
<anes> yea that works
<ropeney> Ox0dea, we don't all look at the second page :P
the_drow has joined #ruby
<Ox0dea> Ropeney: I was just going by the Brightbox docs page.
<anes> Ropeney,Ox0dea: but still wpscan show error as : [ERROR] cannot load such file -- bundler/setup
<anes> please advise why this error?
<Ox0dea> anes: You'll need to install Bundler.
patrick_star_2 has joined #ruby
<ropeney> gem install bundler
<anes> ok
xue has quit [Ping timeout: 276 seconds]
tildes has quit [Ping timeout: 244 seconds]
Yzguy has quit [Quit: Zzz...]
firstdayonthejob has joined #ruby
<anes> i installed it , but still show error : [ERROR] cannot load such file -- bundler/setup
<anes> anes@insight:~/Downloads/wpscan$ sudo gem install bundler [sudo] password for anes: Fetching: bundler-1.12.3.gem (100%)
ur5us has quit [Ping timeout: 260 seconds]
duncannz has joined #ruby
<anes> it's successfully installed
<anes> but still error
patrick_star_3 has quit [Ping timeout: 260 seconds]
Guest44272 is now known as Tristan-Speccy
Musashi007 has quit [Quit: Musashi007]
DoubleMalt has joined #ruby
<anes> Ox0dea,Ropeney : what can do now ?
<Ox0dea> anes: Take it as a sign and leave the innocent WordPressers alone.
<Ox0dea> The README looks pretty thorough. Maybe give it a once-over.
skade has quit [Quit: Computer has gone to sleep.]
rbennacer has joined #ruby
<anes> actually it's to check our black listed web site , not to harm any one lol
jaiks1 has joined #ruby
<anes> Ox0dea: any free tool to identify and remove wp hacked stuff?
<Ox0dea> ¯\_(ツ)_/¯
baweaver_away is now known as baweaver
drewo has quit [Ping timeout: 246 seconds]
Yzguy has joined #ruby
<ropeney> might have more luck asking in a Wordpress chanel about that,
firstdayonthejob has quit [Ping timeout: 250 seconds]
rbennacer has quit [Ping timeout: 250 seconds]
jaguarmagenta has quit [Ping timeout: 250 seconds]
bobbycvi has quit [Quit: ...]
d0lph1n98 has joined #ruby
ta_ has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
xue has joined #ruby
nbdy has quit [Ping timeout: 244 seconds]
roamingdog has joined #ruby
tildes has joined #ruby
tatsuo_ has quit [Remote host closed the connection]
ctp has joined #ruby
lxsameer has joined #ruby
the_drow has joined #ruby
wolffles has quit [Quit: wolffles]
ddffg has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
Tichodroma has joined #ruby
tildes has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
d0lph1n98 has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
the_drow has joined #ruby
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHerm_ has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
fedexo has quit [Ping timeout: 250 seconds]
LoneHerm_ has quit [Remote host closed the connection]
chihhsin has quit [Quit: leaving]
the_drow has quit [Quit: This computer has gone to sleep]
ur5us has quit [Remote host closed the connection]
tildes has joined #ruby
lsmola has joined #ruby
akem has quit [Ping timeout: 246 seconds]
roamingdog has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
ctp has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
laska has joined #ruby
aganov has joined #ruby
CausaMortis has joined #ruby
Pumukel has joined #ruby
LoneHerm_ has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
anisha has joined #ruby
saneax_AFK is now known as saneax
biberu has joined #ruby
fernando_ has joined #ruby
skade has joined #ruby
fernando has quit [Ping timeout: 252 seconds]
tagaulap has joined #ruby
laska has left #ruby [#ruby]
ur5us has joined #ruby
ramfjord has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
kam270 has quit [Ping timeout: 240 seconds]
antgel has joined #ruby
vondruch has quit [Ping timeout: 246 seconds]
drewo has joined #ruby
nbudua has joined #ruby
tesuji has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
johnDoe111 has joined #ruby
htmldrum has quit [Ping timeout: 260 seconds]
tatsuo has joined #ruby
drewo has quit [Ping timeout: 244 seconds]
TomyWork has joined #ruby
nisstyre has quit [Changing host]
nisstyre has joined #ruby
gagrio has joined #ruby
Mon_Ouie has joined #ruby
Guest51628 is now known as awk
janno_ has joined #ruby
saneax is now known as saneax_AFK
kam270 has joined #ruby
johnDoe111^ has joined #ruby
solocshaw has quit [Ping timeout: 276 seconds]
johnDoe111^ has quit [Remote host closed the connection]
dionysus69 has joined #ruby
ddffg has quit [Quit: Leaving]
elifoster has quit [Quit: sleep]
vondruch has joined #ruby
djbkd has quit [Remote host closed the connection]
<shevy> we could write rordpress - in ruby!
LoneHerm_ has joined #ruby
agit0 has joined #ruby
bluOxigen has joined #ruby
mikecmpbll has joined #ruby
goodroot has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
platzhirsch has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gooooodroot has quit [Ping timeout: 240 seconds]
bluOxigen_ has quit [Ping timeout: 276 seconds]
Macaveli has joined #ruby
vdamewood has joined #ruby
arahael has joined #ruby
Musashi007 has joined #ruby
<arahael> Why might a be a string, yet be of length 0 and not be equal to ""?
<arahael> Ie, (a == "") is False, but (a.length == 0) is true.
Mon_Ouie has quit [Ping timeout: 244 seconds]
<arahael> Hmm, when I'm being stupid.
* arahael retracts the entire question!
Oog has joined #ruby
idefine has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
loechel has joined #ruby
loechel is now known as Pumukel
fernando has joined #ruby
<shevy> perhaps it has so invisible characters that not even ruby itself can find them
tatsuo has quit [Remote host closed the connection]
fernando_ has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tatsuo has joined #ruby
idefine has quit [Ping timeout: 276 seconds]
solocshaw has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
CloCkWeRX has quit [Ping timeout: 240 seconds]
andikr has joined #ruby
nbudua has quit [Remote host closed the connection]
elaptics`away is now known as elaptics
<arahael> shevy: Nope. It wasn't a string.
Snowy has joined #ruby
<arahael> shevy: I discovered I was being stupid. :(
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
bronson has joined #ruby
mikecmpbll has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
drewo has joined #ruby
haxrbyte has quit [Remote host closed the connection]
drptbl has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
drptbl has quit [Client Quit]
Dimik has quit [Ping timeout: 276 seconds]
fernando has quit [Ping timeout: 276 seconds]
drptbl has joined #ruby
edavis has quit [Remote host closed the connection]
haxrbyte has joined #ruby
edavis has joined #ruby
drewo has quit [Ping timeout: 265 seconds]
bruno- has joined #ruby
the_drow has joined #ruby
CloCkWeRX has joined #ruby
GioVdK has joined #ruby
drptbl has quit [Client Quit]
edavis has quit [Read error: Connection reset by peer]
edavis_ has joined #ruby
tatsuo has quit [Remote host closed the connection]
rbennacer has joined #ruby
bruno- has quit [Ping timeout: 252 seconds]
robh71 has joined #ruby
robh71 has quit [Max SendQ exceeded]
robh71 has joined #ruby
mark_66 has joined #ruby
RegulationD has joined #ruby
jaruga___ has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
finnnnnnnnnnn has joined #ruby
astrobunny has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 252 seconds]
ramfjord has quit [Ping timeout: 252 seconds]
toretore has joined #ruby
Shashikant86 has joined #ruby
skade has quit [Read error: Connection reset by peer]
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mia has quit [Read error: Connection reset by peer]
robh71 has joined #ruby
rbennacer has quit [Ping timeout: 246 seconds]
johnDoe111^ has joined #ruby
johnDoe111^ has quit [Remote host closed the connection]
fsvehla has joined #ruby
ishe has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
TheWhip has quit [Remote host closed the connection]
Couch has joined #ruby
astrobunny has joined #ruby
rbennacer has joined #ruby
chihhsin has joined #ruby
tvw has joined #ruby
marr has joined #ruby
<adaedra> Hello
<apeiros> moin
rbennacer has quit [Ping timeout: 244 seconds]
ur5us has quit [Remote host closed the connection]
saneax_AFK is now known as saneax
agit0 has quit [Ping timeout: 246 seconds]
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Musashi007 has quit [Quit: Musashi007]
sdwrage has quit [Quit: This computer has gone to sleep]
rkoller has joined #ruby
mrgrieves has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aupadhye has joined #ruby
sdwrage has joined #ruby
sdwrage has quit [Client Quit]
gooodroot has joined #ruby
Yzguy has quit [Quit: Zzz...]
evidex has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
goodroot has quit [Ping timeout: 252 seconds]
lubekpl has joined #ruby
idefine has joined #ruby
moeabdol has quit [Read error: Connection reset by peer]
moeabdol has joined #ruby
goooodroot has joined #ruby
jaguarmagenta has joined #ruby
idefine has quit [Ping timeout: 246 seconds]
opus_ has joined #ruby
akem has joined #ruby
gooodroot has quit [Ping timeout: 246 seconds]
drewo has joined #ruby
blaxter has joined #ruby
jaguarmagenta has quit [Ping timeout: 265 seconds]
johnDoe111^ has joined #ruby
johnDoe111^ has quit [Remote host closed the connection]
kam270 has quit [Quit: Leaving]
johnDoe111^ has joined #ruby
TheWhip has joined #ruby
finnnnnnnnnnn has joined #ruby
johnDoe111^ has quit [Remote host closed the connection]
drewo has quit [Ping timeout: 276 seconds]
<ujjain> what does tries ||= 3 mean?
Labaleine has joined #ruby
<gregf_> ujjain: have you tried something?
<ujjain> no, just would like to know what ||= means... I found it on stackoverflow in the code
<gregf_> >> a ||=3; b = 4; b||=5 [ a,b ]
<ruby[bot]> gregf_: # => 4 (https://eval.in/567253)
codecop has joined #ruby
moeabdol has quit [Ping timeout: 246 seconds]
<gregf_> a ||=3 is like a shortcircuit operator. so, if a is set use it else use the other(default)
pawnbox has quit [Remote host closed the connection]
<gregf_> >> a = a || 3;[a]
<ruby[bot]> gregf_: # => [3] (https://eval.in/567254)
pawnbox has joined #ruby
kareeoleez has quit [Read error: Connection reset by peer]
kareeole_ has joined #ruby
kareeole_ is now known as kareeoleez
Ebok has quit [Quit: This computer has gone to sleep]
<gregf_> *wonders if java is even taught in uni's now*
dikaio has quit [Quit: Textual IRC Client: www.textualapp.com]
moeabdol has joined #ruby
<gregf_> the first thing one learns in programming is assignment and declarations and variables *sigh*
blackmes1 has joined #ruby
Mon_Ouie has joined #ruby
DaniG2k has joined #ruby
bluOxigen_ has joined #ruby
johnDoe111^ has joined #ruby
johnDoe111^ has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 276 seconds]
yardenbar has quit [Quit: Leaving]
vcoinminer has joined #ruby
anes has quit [Ping timeout: 250 seconds]
CausaMortis has quit [Quit: Goodbye]
jolts has quit [Ping timeout: 244 seconds]
Ruby3X3 has quit [Remote host closed the connection]
CausaMortis has joined #ruby
rodfersou has joined #ruby
jolts has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
platzhirsch has quit [Read error: No route to host]
CausaMortis has quit [Client Quit]
mrgrieves has quit [Ping timeout: 250 seconds]
CausaMortis has joined #ruby
b|ackwolf has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby
TheWhip has quit [Remote host closed the connection]
mrgrieves has joined #ruby
DanyC has joined #ruby
<Labaleine> Hello. Small problem. My puts is not showing my variable #{description}. I tried to fix it adding a method to_sym but it is not working. Here is the code. Thank you very much for your help
DanyC has left #ruby [#ruby]
<adaedra> @variables are tied to an object instance.
b|ackwolf has joined #ruby
<adaedra> L. 22, you're outside of your Task instance scope, so @description is not referring to the same thing it is L. 14 and 18.
finnnnnnnnnnn has joined #ruby
opus_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra> If you want to access it, you have to make an accessor and access through this. Add a `attr_reader :description` in your class Task, then use task.description in your puts.
blackmes1 has quit [Ping timeout: 260 seconds]
YP-QMUL-W has joined #ruby
<hanmac> Labaleine: because you did define to_s you might do it puts "you have created the task #{my_task}"
pLaToOn has joined #ruby
<pLaToOn> moin
<Labaleine> Thank you. I get it :)
TheWhip has joined #ruby
drewo has joined #ruby
Gasher has joined #ruby
anes has joined #ruby
<anes> Hi friends, I got error when running wpscan as ruby wpscan.rb --url http://daisy.kfbyf.org
<anes> error is [ERROR] cannot load such file -- bundler/setup
drewo has quit [Ping timeout: 240 seconds]
<anes> any body please advise bcoz I am not a ruby programmer
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<awk> you probably have multiple versions of ruby installed
<awk> or gem install bundler
<anes> awk: already I installed same !
<awk> ruby -v
Oog has quit []
<anes> awk : version is ruby 2.1.9p490 (2016-03-30 revision 54437) [i686-linux]
terlar has joined #ruby
bronson has joined #ruby
<anes> when I give command rvm --default use 2.1.9
kedare has joined #ruby
<anes> got result as : No command 'rvm' found, but there are 21 similar ones rvm: command not found
blackgoat has joined #ruby
astrobunny has quit [Remote host closed the connection]
blackmes1 has joined #ruby
zacstewart has joined #ruby
elaptics is now known as elaptics`away
bronson has quit [Ping timeout: 252 seconds]
<gregf_> anes: that error message prolly means either 1)rvm is not installed or 2) rvm is not on yor path
<gregf_> s/yor/your/
fsvehla has quit [Quit: fsvehla]
<gregf_> what does `which rvm` return?
<anes> yes there is no rvm
ur5us has joined #ruby
nes has joined #ruby
bruno- has joined #ruby
zacstewart has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<kareeoleez> would that be possible to break down "bundle install" into parts ? So I'll decrease the resources' consumption, especially in memory ?
<kareeoleez> I got a great problem with memory as it seems to cannot allocate it
anes has quit [Ping timeout: 250 seconds]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
bruno- has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
johnDoe111^ has joined #ruby
johnDoe111^ has quit [Remote host closed the connection]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
d0lph1n98 has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
duncannz has quit [Remote host closed the connection]
nadir has quit [Quit: Connection closed for inactivity]
johnDoe111^ has joined #ruby
YP-QMUL-W has quit [Read error: Connection reset by peer]
johnDoe111^ has quit [Remote host closed the connection]
johnDoe111^ has joined #ruby
johnDoe111^ has quit [Remote host closed the connection]
DaniG2k_ has joined #ruby
<apeiros> kareeoleez: if you run out of resources during dependency resolution, then try to provide more specific gem versions in your Gemfile
mdw has joined #ruby
gooooodroot has joined #ruby
<kareeoleez> apeiros: with ~> ?
<kareeoleez> I can try this
<kareeoleez> any additional ideas ?
DaniG2k has quit [Ping timeout: 244 seconds]
goooodroot has quit [Ping timeout: 260 seconds]
terlar has quit [Ping timeout: 260 seconds]
hk238 has joined #ruby
pawnbox has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
johnmilton has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 276 seconds]
nofxx has quit [Ping timeout: 240 seconds]
blackmes1 has quit [Ping timeout: 260 seconds]
tildes has quit [Read error: Connection reset by peer]
pandaant has joined #ruby
rbennacer has joined #ruby
anes has joined #ruby
tildes has joined #ruby
DaniG2k_ has quit [Quit: leaving]
drewo has joined #ruby
rbennacer has quit [Ping timeout: 250 seconds]
nes has quit [Ping timeout: 265 seconds]
CloCkWeRX has joined #ruby
syath has joined #ruby
drewo has quit [Ping timeout: 265 seconds]
xue has quit [Ping timeout: 260 seconds]
pabs has quit [Ping timeout: 276 seconds]
pabs has joined #ruby
postmodern has quit [Quit: Leaving]
idefine has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
howdoi has joined #ruby
johnDoe111^ has joined #ruby
harry111 has joined #ruby
<harry111> hi
johnDoe111^ has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
pawnbox has joined #ruby
koooge has quit [Quit: Leaving...]
idefine has quit [Ping timeout: 276 seconds]
jaguarmagenta has quit [Ping timeout: 260 seconds]
Gasher has quit [Ping timeout: 276 seconds]
zotherstupidguy has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
xue has joined #ruby
blaxter has joined #ruby
johnDoe111^ has joined #ruby
CloCkWeRX has quit [Ping timeout: 252 seconds]
<harry111> hi
GodFather has joined #ruby
Mon_Ouie has quit [Ping timeout: 265 seconds]
<apeiros> hi harry111
d0lph1n98 has quit [Ping timeout: 246 seconds]
brianpWins has quit [Ping timeout: 265 seconds]
skade has joined #ruby
bruno- has joined #ruby
Macaveli has joined #ruby
A124 has quit [Quit: '']
rbennacer has joined #ruby
Gasher has joined #ruby
A124 has joined #ruby
bruno- has quit [Ping timeout: 250 seconds]
finnnnnnnnnnn_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
TheWhip has quit [Remote host closed the connection]
pawnbox has joined #ruby
rbennacer has quit [Ping timeout: 240 seconds]
finnnnnnnnnnn has quit [Ping timeout: 260 seconds]
finnnnnnnnnnn_ is now known as finnnnnnnnnnn
Madplatypus has quit [Quit: Connection closed for inactivity]
johnDoe111^ has quit [Remote host closed the connection]
goodroot has joined #ruby
johnDoe111^ has joined #ruby
CloCkWeRX has joined #ruby
Labaleine has quit [Ping timeout: 260 seconds]
gooooodroot has quit [Ping timeout: 244 seconds]
johnmilton has joined #ruby
ur5us has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 260 seconds]
anku has joined #ruby
brianpWins has joined #ruby
sdothum has joined #ruby
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
gnufied has joined #ruby
umdstu has joined #ruby
blackmes1 has joined #ruby
elaptics`away is now known as elaptics
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
johnDoe111^ has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
johnDoe111^ has joined #ruby
anes has quit [Ping timeout: 250 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TheWhip has joined #ruby
ldnunes has joined #ruby
d0lph1n98 has joined #ruby
minimalism has quit [Quit: minimalism]
blaxter has quit [Quit: foo]
CloCkWeRX has joined #ruby
terlar has joined #ruby
|2701 has joined #ruby
<kareeoleez> apeiros: ^^
anku has quit [Quit: Bye]
hanmac has quit [Ping timeout: 250 seconds]
CloCkWeRX has quit [Ping timeout: 240 seconds]
stannard has joined #ruby
nofxx has joined #ruby
ropeney has joined #ruby
Yiota has joined #ruby
matp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
johnDoe111^ has quit [Remote host closed the connection]
johnDoe111^ has joined #ruby
jdawgaz has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
jdawgaz has quit [Client Quit]
Yiota has quit [Ping timeout: 265 seconds]
ferr has joined #ruby
ishe has quit [Quit: Leaving.]
ishe has joined #ruby
zacstewart has joined #ruby
CloCkWeRX has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
hanmac has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
stannard has quit [Remote host closed the connection]
gagrio has quit [Ping timeout: 260 seconds]
johnDoe111^ has quit [Remote host closed the connection]
johnDoe111^ has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matp has joined #ruby
Pumukel has quit [Remote host closed the connection]
chipotle has quit [Ping timeout: 265 seconds]
Macaveli has joined #ruby
zacstewart has quit [Ping timeout: 244 seconds]
gagrio has joined #ruby
tatsuo has joined #ruby
Macaveli has quit [Client Quit]
chipotle has joined #ruby
pLaToOn has quit [Quit: Leaving]
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
GinoManWorks has joined #ruby
<|2701> how should I know when I should #extend an object, and when to do it another way?
yosafbridge` has quit [Quit: Leaving]
<apeiros> you use extend when you want to add methods to a single object only
<apeiros> it's relatively rare that you'd use extend, most often you'd use it to add class methods to a class.
<|2701> so if I had multiple objects, and I wanted them to have a method, I should probably do it different?
<Elysia> I thought #extend was the same as class Stuff < OtherClass
<Elysia> hm..
<|2701> I'm working with individual bytes and changing them between hex and decimal and bitstring representations, so I'm trying to keep it pretty light so that I'm not blowing cycles
johnDoe111^ has quit [Remote host closed the connection]
<|2701> so should I write it as a couple Procs that I can pass the bytes into, or should I extend the objects with the methods I want?
rbennacer has joined #ruby
<apeiros> Elysia: it isn't.
<Ox0dea> |2701: There are already methods for converting between bases.
<apeiros> `class Foo < Other` requires Other to be a Class. `foo.extend Other` requires Other to be a Module
millerti has joined #ruby
millerti has quit [Client Quit]
<|2701> Ox0dea: I'm writing this to learn, if that's alright with you
<|2701> and for fun, too
<Elysia> apeiros: I guess I'll have to look up how to dd more than one class with `<`, because class A < B, C didn't work
synthroid has joined #ruby
matp has quit [Remote host closed the connection]
<apeiros> Elysia: ruby does not have multiple inheritance
<Ox0dea> Elysia: Sounds like you want composition rather than inheritance.
<Elysia> shucks.
last_staff has quit [Ping timeout: 244 seconds]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Elysia> >> class A; end; class B < A; end; class C < B; end; C.new
<ruby[bot]> Elysia: # => #<C:0x41cf9888> (https://eval.in/567376)
rbennacer has quit [Ping timeout: 260 seconds]
<Elysia> at least that still works
chouhoulis has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
<apeiros> >> class C < (class B < (class A; self; end); self; end); end; C.new # no particular reason
<ruby[bot]> apeiros: # => #<C:0x4126d89c> (https://eval.in/567387)
kkeuning has joined #ruby
matp has joined #ruby
<Ox0dea> >> C = Class.new B = Class.new(A = Class.new); C.ancestors # for the lulz
<ruby[bot]> Ox0dea: # => [C, B, A, Object, Kernel, BasicObject] (https://eval.in/567396)
frankieleef has joined #ruby
araujo_ has joined #ruby
banister has joined #ruby
nadir has joined #ruby
araujo has quit [Ping timeout: 276 seconds]
<frankieleef> hi all, is there anyone who could help me out with the following question? I'm not able to figure it out myself http://stackoverflow.com/questions/37114767/connection-refused-when-using-rack-proxy
djcp has joined #ruby
drewo has joined #ruby
htmldrum has joined #ruby
edavis_ is now known as edavis
jokke has quit [Ping timeout: 276 seconds]
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drewo has quit [Ping timeout: 276 seconds]
cfillion has quit [Ping timeout: 252 seconds]
cfillion has joined #ruby
htmldrum has quit [Ping timeout: 276 seconds]
tatsuo has quit [Remote host closed the connection]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
deadnull_ has joined #ruby
crystal77 has joined #ruby
duckpupp1 has joined #ruby
brianpWins has quit [Ping timeout: 265 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
frankieleef has quit [Ping timeout: 250 seconds]
blaxter has joined #ruby
p337rB has joined #ruby
brianpWins has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
mdw has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
yosafbridge has joined #ruby
CloCkWeRX has quit [Ping timeout: 250 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
finnnnnnnnnnn has joined #ruby
gooodroot has joined #ruby
the_drow has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
shakes has quit [Quit: Leaving]
skade has joined #ruby
skade has quit [Remote host closed the connection]
Yiota has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
noServic1 has joined #ruby
idefine has joined #ruby
cdg has joined #ruby
goodroot has quit [Ping timeout: 252 seconds]
jaguarmagenta has joined #ruby
jokke has joined #ruby
matp has quit [Ping timeout: 276 seconds]
noService has quit [Ping timeout: 260 seconds]
pickandmix has joined #ruby
kareeoleez has quit [Remote host closed the connection]
pawnbox has joined #ruby
roamingdog has joined #ruby
jdawgaz has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
cdg has quit [Ping timeout: 276 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
roamingdog has quit [Remote host closed the connection]
kareeoleez has joined #ruby
TheWhip has quit [Remote host closed the connection]
roamingdog has joined #ruby
jaguarmagenta has quit [Ping timeout: 276 seconds]
bruno- has joined #ruby
<|2701> on a fresh ubuntu 14.04 vm, installed 2.3.1p112 from source, but gem install gives an error about zlib, gem update --system gives the same error
<|2701> but zlib1g is already installed through apt
<|2701> have i missed something somewhere?
TheWhip has joined #ruby
dstarh has joined #ruby
CloCkWeRX has joined #ruby
<toretore> |2701: did you install zlib1g-dev before compiling ruby?
<|2701> hmm, i'm not sure.
<toretore> uninstall ruby, then apt-get install libssl-dev libreadline6-dev zlib1g-dev, then install ruby again
<|2701> yep, thats what I'll have to do.
<|2701> thanks
mdw_ has joined #ruby
gagrio has quit [Ping timeout: 240 seconds]
banister has joined #ruby
ramortegui has joined #ruby
TheWhip has quit [Ping timeout: 240 seconds]
mdw has quit [Ping timeout: 250 seconds]
fmcgeough has joined #ruby
the_drow has joined #ruby
GodFather has joined #ruby
grenierm has quit [Quit: grenierm]
<|2701> toretore: mk, I did that and I'm still getting the same error after reinstalling
beagles has left #ruby [#ruby]
tatsuo has joined #ruby
CloCkWeRX has left #ruby [#ruby]
malconis has joined #ruby
karapetyan has joined #ruby
malconis has quit [Remote host closed the connection]
malconis has joined #ruby
tvw has quit []
tvw has joined #ruby
zotherstupidguy has quit [Ping timeout: 252 seconds]
gagrio has joined #ruby
nhhc has joined #ruby
sgambino_ has joined #ruby
sgambino has joined #ruby
sgambino has left #ruby [#ruby]
sgambino_ has left #ruby [#ruby]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
platzhirsch has joined #ruby
eljimmy has joined #ruby
lubekpl has quit [Quit: Textual IRC Client: www.textualapp.com]
Macaveli has joined #ruby
chouhoulis has quit [Remote host closed the connection]
aegis3121 has joined #ruby
sdothum has joined #ruby
<|2701> well, solved my issue with ruby-install. case closed, I guess
<adaedra>
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
drewo has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
<platzhirsch> shevy: so, I moved back to Berlin
<platzhirsch> say whaat
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
banister has quit [Quit: Textual IRC Client: www.textualapp.com]
chouhoulis has joined #ruby
cdg has joined #ruby
tinnvec_ is now known as tinnvec
cdg has quit [Remote host closed the connection]
drewo has quit [Ping timeout: 276 seconds]
cdg has joined #ruby
CloCkWeRX has joined #ruby
stannard has joined #ruby
noServic1 has quit [Quit: leaving]
noService has joined #ruby
nando293921 has joined #ruby
mdw_ has quit [Ping timeout: 250 seconds]
araujo_ has quit [Quit: Leaving]
statelesscode has joined #ruby
stannard has quit [Ping timeout: 260 seconds]
swills_ has joined #ruby
<hanmac> platzhirsch: you mean that place where you need turkish as second language? ;P
<platzhirsch> hanmac: Depends, in Mitte it's English by now. Man my home town has changed@
<platzhirsch> !
mdw has joined #ruby
matp has joined #ruby
nando293921 has quit [Ping timeout: 265 seconds]
<hanmac> platzhirsch: i live in Dresden in Saxony, sometimes i also think how my home town has changed ...
<platzhirsch> oh dear..
<platzhirsch> yeah that's fucked
<hanmac> i try to not enter the city on Monday evening because of the Pegida guys ...
millerti has joined #ruby
karapetyan has quit [Remote host closed the connection]
platzhirsch has left #ruby [#ruby]
bruno- has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
moeabdol has quit [Ping timeout: 252 seconds]
SilverKey has joined #ruby
xall has quit [Ping timeout: 250 seconds]
`tim` has joined #ruby
<|2701> wait isnt pegida anti-islam? thats a good thing
zacstewart has joined #ruby
griffindy has joined #ruby
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
JesseH has quit [Quit: Leaving]
p337rB has quit [Quit: leaving]
crameth has joined #ruby
ta_ has quit [Remote host closed the connection]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has joined #ruby
swills_ has quit [Quit: Leaving]
nhhc has quit [Remote host closed the connection]
kareeoleez has quit [Remote host closed the connection]
whippythellama has joined #ruby
cdg has quit [Remote host closed the connection]
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
kareeoleez has joined #ruby
bronson has joined #ruby
tildes has quit [Remote host closed the connection]
cdg has joined #ruby
sepp2k has joined #ruby
morochena has joined #ruby
idle_task has joined #ruby
finnnnnnnnnnn has joined #ruby
stannard has joined #ruby
millerti has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
idletask has quit [Ping timeout: 260 seconds]
weemsledeux has joined #ruby
TheWhip has joined #ruby
kareeoleez has quit [Remote host closed the connection]
solocshaw1 has joined #ruby
<shevy> hanmac hah coul... I think my cousin is in Dresden... or was it Leipzig... wherever there is a university for rocket sciences
solocshaw has quit [Ping timeout: 276 seconds]
solocshaw1 is now known as solocshaw
tatsuo has quit [Remote host closed the connection]
RegulationD has joined #ruby
platzhirsch has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
platzhirsch has left #ruby [#ruby]
ctp has joined #ruby
ctp has quit [Client Quit]
dopamean_ has joined #ruby
swills_ has joined #ruby
LastWhisper____ has joined #ruby
tatsuo has joined #ruby
drewo has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
zast has joined #ruby
LastWhisper____ has quit [Max SendQ exceeded]
nofacade has joined #ruby
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kobain has joined #ruby
drewo has quit [Ping timeout: 246 seconds]
kobain has quit [Changing host]
kobain has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHerm_ has joined #ruby
agent_white has joined #ruby
mdw has quit [Ping timeout: 246 seconds]
<agent_white> Moin
karmatr0n has joined #ruby
_ht_ has quit [Ping timeout: 276 seconds]
_ht has joined #ruby
d0lph1n98 has quit [Ping timeout: 276 seconds]
adgtl has quit [Changing host]
adgtl has joined #ruby
adgtl has joined #ruby
platzhirsch has joined #ruby
bruno- has joined #ruby
tatsuo has quit [Read error: Connection reset by peer]
tatsuo has joined #ruby
millerti has joined #ruby
<shevy> I can't even spell cool :P
<shevy> yo agent_white
LoneHerm_ has quit [Remote host closed the connection]
htmldrum has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terlar has quit [Ping timeout: 260 seconds]
htmldrum has quit [Ping timeout: 276 seconds]
malconis has quit [Ping timeout: 260 seconds]
noService has quit [Ping timeout: 252 seconds]
bluOxigen has joined #ruby
banister has joined #ruby
jliberman has joined #ruby
[Butch] has joined #ruby
andikr has quit [Remote host closed the connection]
bluOxigen_ has quit [Ping timeout: 265 seconds]
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
mikecmpbll has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
harry111 has quit [Quit: Leaving]
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
<jliberman> why does `URI.join 'http://example.com/api', 'users'` return `http://example.com/users` instead of `http://example.com/api/users` ? Is this a bug?
malconis has joined #ruby
<benzrf> jliberman: URI.join means, "if argument 2 were in an href on a page at argument 1, what would it go to"
<benzrf> it's not terribly well named
<jliberman> ahhhh
idle_task is now known as idletask
<jliberman> that distinction is not really made clear in the docs
sjums has quit [Quit: Connection reset by beer]
sjums has joined #ruby
<jliberman> thanks
futilegames has joined #ruby
futilegames has quit [Client Quit]
johnDoe111 has quit [Ping timeout: 260 seconds]
Devalo has joined #ruby
aegis3121 has quit [Ping timeout: 260 seconds]
<apeiros> jliberman: `URI.join 'http://example.com/api/', 'users'` would probably do what you want
<jliberman> yeah that's what I figured :)
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
crameth has quit [Quit: crameth]
kareeoleez has joined #ruby
platzhirsch has quit [Ping timeout: 246 seconds]
jaguarmagenta has joined #ruby
sdothum has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
millerti has joined #ruby
CloCkWeRX has quit [Remote host closed the connection]
shinnya has joined #ruby
alxgsv has joined #ruby
jaguarmagenta has quit [Ping timeout: 265 seconds]
jgt has joined #ruby
Devalo has quit [Remote host closed the connection]
azor has quit [Quit: WeeChat 1.4]
ljames has joined #ruby
scepticulous has quit [Ping timeout: 246 seconds]
jhack has joined #ruby
rkazak has joined #ruby
ctrlrsf has joined #ruby
kareeoleez has quit [Remote host closed the connection]
davedev24 has joined #ruby
Slackman1 has joined #ruby
Slackman1 has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest91 has joined #ruby
Guest91 has quit [Client Quit]
kareeoleez has joined #ruby
Guest91 has joined #ruby
Mon_Ouie has joined #ruby
Guest91 has quit [Client Quit]
finnnnnnnnnnn has joined #ruby
Slackman1 has joined #ruby
zel has joined #ruby
zel is now known as Guest43504
flopsec has joined #ruby
wilbert has joined #ruby
phpwebdev has joined #ruby
hxegon is now known as hxegon_afk
kareeoleez has quit [Ping timeout: 244 seconds]
TheWhip has quit [Remote host closed the connection]
saneax is now known as saneax_AFK
DoubleMalt has quit [Read error: Connection reset by peer]
DoubleMalt has joined #ruby
tjohnson has joined #ruby
drewo has joined #ruby
aegis3121 has joined #ruby
baweaver is now known as baweaver_away
<shevy> do you people have preferences when you write a class, where to put: include statements; constants pertaining to that class; aliases? I ask because I seem to prefer putting all of this before "def initialize" and I wonder whether that is common
baweaver_away is now known as baweaver
<toretore> i think that's pretty common
rippa has joined #ruby
edwinvdgraaf has quit [Ping timeout: 240 seconds]
jliberman has quit [Quit: This computer has gone to sleep]
chopin has joined #ruby
polishdub has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
jokke has quit [Quit: WeeChat 1.4]
jokke has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
drewo has quit [Ping timeout: 244 seconds]
binaryplease has joined #ruby
finnnnnnnnnnn has joined #ruby
d10n-work has joined #ruby
DoubleMalt has quit [Read error: Connection reset by peer]
DoubleMalt has joined #ruby
synthroid has quit [Remote host closed the connection]
Tichodroma has quit [Ping timeout: 260 seconds]
bluOxigen_ has joined #ruby
dionysus69 has joined #ruby
elifoster has joined #ruby
roamingdog has quit []
tesuji has quit [Read error: Connection reset by peer]
CausaMortis has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
mdw has joined #ruby
codecop has quit [Remote host closed the connection]
morochena has quit [Quit: Leaving...]
tvw has quit [Remote host closed the connection]
dhollinger has joined #ruby
binaryplease has quit [Quit: WeeChat 1.5]
moeabdol has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nes has joined #ruby
CausaMortis has joined #ruby
slackbotgz has joined #ruby
rodferso1 has joined #ruby
Yiota has joined #ruby
hobodave has joined #ruby
jliberman has joined #ruby
noService has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rodfersou has quit [Ping timeout: 260 seconds]
synthroid has joined #ruby
RegulationD has joined #ruby
lxsameer has joined #ruby
ishe has quit [Remote host closed the connection]
mdw has quit [Ping timeout: 244 seconds]
Yiota has quit [Ping timeout: 276 seconds]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
nes has quit [Ping timeout: 276 seconds]
Chachi has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mdw has joined #ruby
aganov has quit [Remote host closed the connection]
anisha has quit [Quit: Leaving]
`tim` has joined #ruby
Ebok has joined #ruby
amclain has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
Yiota has joined #ruby
grenierm has joined #ruby
smathy has joined #ruby
TheWhip has joined #ruby
drale2k has quit [Quit: ZNC - http://znc.in]
Ebok has quit [Quit: This computer has gone to sleep]
mrgrieves has quit [Ping timeout: 240 seconds]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
drale2k has joined #ruby
jliberman has quit [Quit: Leaving]
Devalo has joined #ruby
ramfjord has joined #ruby
aegis3121 has quit [Ping timeout: 276 seconds]
TomyWork has quit [Ping timeout: 244 seconds]
goooodroot has joined #ruby
mdw_ has joined #ruby
Labaleine has joined #ruby
hobodave_ has joined #ruby
vdamewood has quit [Quit: Life beckons.]
SilverKey has quit [Quit: Halted.]
gooodroot has quit [Ping timeout: 244 seconds]
Couch has quit [Ping timeout: 276 seconds]
Devalo has quit [Ping timeout: 246 seconds]
bronson has joined #ruby
SilverKey has joined #ruby
mdw has quit [Ping timeout: 250 seconds]
kedare has quit [Quit: Leaving]
Labaleine has quit [Read error: Connection reset by peer]
skolman_ has joined #ruby
Labaleine has joined #ruby
hobodave has quit [Ping timeout: 252 seconds]
rkazak has quit [Quit: Sleep.....ing....]
jgt has quit [Ping timeout: 246 seconds]
drewo has joined #ruby
blackmes1 has joined #ruby
dopamean_ has quit [Quit: WeeChat 1.3]
bronson has quit [Ping timeout: 252 seconds]
pickandmix has quit [Ping timeout: 276 seconds]
GioVdK has quit [Remote host closed the connection]
CausaMortis has quit [Ping timeout: 240 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skakri has quit [Ping timeout: 246 seconds]
diegoaguilar has joined #ruby
drewo has quit [Ping timeout: 240 seconds]
rodferso1 is now known as rodfersou|lunch
ferr has quit [Quit: WeeChat 1.4]
DanyC has joined #ruby
skakri has joined #ruby
DanyC has left #ruby [#ruby]
Ebok has joined #ruby
slackbotgz has quit [Read error: Connection reset by peer]
jdawgaz has joined #ruby
rkazak has joined #ruby
devbug has joined #ruby
gunterja_ has joined #ruby
Ebok has quit [Client Quit]
finisherr has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
nes has joined #ruby
nes has quit [Remote host closed the connection]
the_drow has quit [Quit: This computer has gone to sleep]
Labaleine has quit [Read error: Connection reset by peer]
Labaleine has joined #ruby
Guest38 has joined #ruby
Gasher has quit [Quit: Leaving]
diegoviola has joined #ruby
ramfjord has joined #ruby
Gasher has joined #ruby
syath has quit [Quit: WeeChat 1.2]
cschneid_ has joined #ruby
skolman_ has quit [Remote host closed the connection]
<cschneid_> is there a way to have bundler constraints on .pre1, .pre2? And have bundle update automatically pick up a new .pre?
I has joined #ruby
I has quit [Remote host closed the connection]
<cschneid_> (and if so, how does it sort?
skolman_ has joined #ruby
Snowy has quit [Remote host closed the connection]
whathappens has joined #ruby
nrd_pxs has joined #ruby
jgpawletko has joined #ruby
charliesome has joined #ruby
<smathy> cschneid_, the following works with Rails5: ">= 5.0.0.beta1", "< 5.1" - but I'm not sure if they've done something special.
skolman_ has quit [Ping timeout: 260 seconds]
<smathy> ...ie. having those constraints has just installed rc1 with a `bundle update rails`, probably because "r" > "b"
evie_hammond has quit [Quit: WeeChat 1.4]
<cschneid_> smathy: cool. I have a gem I'm releasing to some customers that'll likely go through several .preN versions. Don't want to get bit if we go from .pre9 to .pre10, and have 10 sort silly.
<cschneid_> I'll go poke around more - thanks
grenierm has quit [Quit: grenierm]
<smathy> cschneid_, ah right, yeah, might need 0 prefixes.
htmldrum has joined #ruby
devbug_ has joined #ruby
TomyLobo has joined #ruby
azor has joined #ruby
SilverKey has quit [Quit: Halted.]
jgpawletko has left #ruby [#ruby]
rkazak has quit [Ping timeout: 260 seconds]
Musashi007 has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
devbug has quit [Ping timeout: 252 seconds]
htmldrum has quit [Ping timeout: 260 seconds]
BlacksmithMetash has joined #ruby
<BlacksmithMetash> i would like some help in a program
nisstyre has quit [Ping timeout: 260 seconds]
lxsameer has quit [Ping timeout: 276 seconds]
aufi has quit [Ping timeout: 276 seconds]
A124 has quit [Quit: '']
<|2701> just ask
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
jaruga___ has quit [Ping timeout: 276 seconds]
skade has joined #ruby
jgt has joined #ruby
robh71 has joined #ruby
gooooodroot has joined #ruby
jgpawletko has joined #ruby
jgpawletko has quit [Client Quit]
hk238 has joined #ruby
reppair has joined #ruby
goooodroot has quit [Ping timeout: 246 seconds]
A124 has joined #ruby
pietr0 has joined #ruby
whathappens has quit [Remote host closed the connection]
jaruga___ has joined #ruby
Guest38 has quit [Read error: Connection reset by peer]
symm- has joined #ruby
evidex has quit [Remote host closed the connection]
whathappens has joined #ruby
<reppair> Hello all. I'm using ruby without rails. How can I define a 'section' in .erb file and then yield some html into it from another template.erb? for example: in my main.erb I want to define <title><%= 'section_name' %></title>, and then from another template that I am yielding content in the <body> tag, I also like to yield the title for page from that template.. ?
Musashi007 has quit [Quit: Musashi007]
<|2701> #rubyonrails probably knows
<reppair> yeah but it for rails
<hxegon_afk> reppair: I think you're looking for partials, but |2701 is right
<reppair> and i am stuck without rails :)
<hxegon_afk> reppair: yeah, but that channel has more expertise on erb.
aegis3121 has joined #ruby
<reppair> nop, partials won't work for that
<|2701> right, this is not the rails channel
<reppair> well .. as i saied i'm not using rails guys :)
Devalo has joined #ruby
drewo has joined #ruby
minot has joined #ruby
minot has quit [Max SendQ exceeded]
<|2701> that was literally the first thing you said
<|2701> oh
<|2701> re-read it
<|2701> okay, well they probably know erb better anyways
<reppair> ahahhaha
djbkd has joined #ruby
<|2701> :)
<reppair> and what they said was well ..you are not using rails so ..
<reppair> well any ideas ?
<|2701> I'm in the rails channel and I have not seen you ask in there.
SilverKey has joined #ruby
<reppair> it was couple of days ago
<reppair> ..
SilverKey has quit [Client Quit]
<BlacksmithMetash> i wanna help on this
<|2701> help with that?
<|2701> what have you done so far
djbkd has quit [Remote host closed the connection]
<BlacksmithMetash> i tryed two times using
djbkd has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
<|2701> BlacksmithMetash: if you have a specific question I'm sure we could help, but I doubt anybody is going to just write it for you.
<BlacksmithMetash> i know |2701
<BlacksmithMetash> first, can you receive what i progress so far?
hobodave_ has quit [Quit: Computer has gone to sleep.]
<BlacksmithMetash> i have a zip file or git
robh71 has quit [Quit: Textual IRC Client: www.textualapp.com]
tvw has joined #ruby
<BlacksmithMetash> |2701: i will execute again my project here in Ruby, and i have a bug, i come back, is that better?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
charliesome has quit [Client Quit]
mikecmpbll has joined #ruby
finnnnnnnnnnn has quit [Quit: finnnnnnnnnnn]
idefine has quit [Remote host closed the connection]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xiti has joined #ruby
Devalo has quit [Remote host closed the connection]
nisstyre has joined #ruby
d0nn1e has quit [Ping timeout: 252 seconds]
Devalo has joined #ruby
maikowblue has joined #ruby
Cohedrin has joined #ruby
whathappens has quit [Remote host closed the connection]
noService has quit [Ping timeout: 260 seconds]
whathappens has joined #ruby
bluOxigen has joined #ruby
d0nn1e has joined #ruby
weemsledeux has joined #ruby
ferr has joined #ruby
noService has joined #ruby
Devalo has quit [Remote host closed the connection]
bluOxigen_ has quit [Ping timeout: 260 seconds]
Devalo has joined #ruby
firstdayonthejob has joined #ruby
kkeuning has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
noService has quit [Ping timeout: 252 seconds]
horaceheaven has joined #ruby
mark_66 has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 244 seconds]
gunterja_ has quit [Ping timeout: 250 seconds]
nando293921 has joined #ruby
rodfersou|lunch is now known as rodfersou
kgrz has joined #ruby
northrup has quit [Read error: Connection reset by peer]
idefine has joined #ruby
blackmes1 has quit [Ping timeout: 265 seconds]
reppair has left #ruby ["Ex-Chat"]
daftdolphin has joined #ruby
whathappens has quit [Remote host closed the connection]
stannard has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
idefine_ has joined #ruby
stannard has joined #ruby
whathappens has joined #ruby
jgt has quit [Ping timeout: 252 seconds]
spider-mario has joined #ruby
idefine has joined #ruby
ctp has joined #ruby
idefine_ has quit [Read error: Connection reset by peer]
Devalo has quit [Remote host closed the connection]
Tilo has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eljimmy has quit [Read error: No route to host]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
eljimmy has joined #ruby
Ishido has joined #ruby
aegis3121 has quit [Ping timeout: 276 seconds]
jdawgaz has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
LastWhisper____ has joined #ruby
azor has left #ruby ["WeeChat 1.4"]
jxs_ has joined #ruby
symm- has joined #ruby
skolman_ has joined #ruby
skolman_ has quit [Remote host closed the connection]
synthro__ has joined #ruby
jhack has quit [Quit: jhack]
jgt has joined #ruby
skolman_ has joined #ruby
grenierm has joined #ruby
kkeuning has joined #ruby
grenierm has quit [Client Quit]
tatsuo has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
synthroid has quit [Ping timeout: 265 seconds]
djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
aupadhye has quit [Quit: Leaving]
djbkd has joined #ruby
aegis3121 has joined #ruby
skolman_ has quit [Ping timeout: 250 seconds]
babblebre has joined #ruby
whathappens has quit [Remote host closed the connection]
last_staff has joined #ruby
hobodave has joined #ruby
domi has joined #ruby
statelesscode has quit [Ping timeout: 244 seconds]
whathappens has joined #ruby
SilverKey has joined #ruby
karmatr0n has quit [Ping timeout: 265 seconds]
whathapp_ has joined #ruby
duoi has quit [Ping timeout: 276 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
raeoks has joined #ruby
djbkd has quit [Remote host closed the connection]
crystal77 has joined #ruby
ctp has quit [Quit: Textual IRC Client: www.textualapp.com]
SilverKey has quit [Client Quit]
duoi has joined #ruby
whathappens has quit [Ping timeout: 265 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
karmatr0n has joined #ruby
djbkd has joined #ruby
whathapp_ has quit [Remote host closed the connection]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
grenierm has joined #ruby
jgt has quit [Ping timeout: 250 seconds]
justin_pdx has joined #ruby
kgrz has quit [Ping timeout: 276 seconds]
DanyC has joined #ruby
SilverKey has joined #ruby
JoshGlzBrk has joined #ruby
<horaceheaven> How do I get the If-None-Match header from the incoming request? for some reason it doesn’t show up in the headers object when I try to do headers[‘if-None-Match’]
bronson has joined #ruby
mdw_ has quit [Quit: Sleeping Zzzzz]
whathappens has joined #ruby
karmatr0n has quit [Ping timeout: 252 seconds]
JoshGlzBrk has quit [Client Quit]
DanyC has quit [Ping timeout: 260 seconds]
whathappens has quit [Remote host closed the connection]
JoshGlzBrk has joined #ruby
karmatr0n has joined #ruby
whathappens has joined #ruby
kareeoleez has joined #ruby
cdg has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
tagaulap has quit [Quit: Connection closed for inactivity]
weemsledeux has joined #ruby
QORRiE has joined #ruby
QORRiE has quit [Max SendQ exceeded]
QORRiE has joined #ruby
<toretore> horaceheaven: define: incoming request
<toretore> and "headers object"
blackmes1 has joined #ruby
zenguy_pc has quit [Ping timeout: 260 seconds]
domi has quit [Quit: WeeChat 1.5]
<BlacksmithMetash> |2701:
<BlacksmithMetash> i have working with my ruby program
<BlacksmithMetash> and then give me this
QORRiE has quit [Client Quit]
tvw has quit []
* BlacksmithMetash |2701 are you there man?
workmad3 has quit [Ping timeout: 240 seconds]
<BlacksmithMetash> can anybody help me
mdw has joined #ruby
zenguy_pc has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tax has joined #ruby
TheWhip has quit []
mikecmpbll has joined #ruby
pandaant has quit [Remote host closed the connection]
TomyLobo has quit [Read error: Connection reset by peer]
sepp2k has quit [Quit: Leaving.]
<Ox0dea> BlacksmithMetash: Looks like you might have a typo.
<BlacksmithMetash> what do ou mean Ox0dea?
jaruga___ has quit [Quit: jaruga___]
skolman has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<BlacksmithMetash> look my codes, i will paste for you, one moment
JoshGlzBrk has joined #ruby
JoshGlzBrk has quit [Client Quit]
<Ox0dea> BlacksmithMetash: Well, it's "compradore" everywhere else, but the error is being caused by a method with "comprador" in.
xall has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
TomyLobo has joined #ruby
wilbert has quit [Ping timeout: 276 seconds]
djbkd has joined #ruby
htmldrum has joined #ruby
Labaleine has quit [Read error: Connection reset by peer]
<BlacksmithMetash> Ox0dea: i don't know exactly
mdw_ has joined #ruby
<BlacksmithMetash> because i get confuse in what is and what is not that i have to edit
<BlacksmithMetash> look my whole code: https://paste.gnome.org/pmu4shrn3/mwewcy
nankyokusei has joined #ruby
mdw_ has quit [Max SendQ exceeded]
mdw_ has joined #ruby
mdw_ has quit [Max SendQ exceeded]
mdw_ has joined #ruby
mdw has quit [Ping timeout: 260 seconds]
djbkd has quit [Ping timeout: 260 seconds]
htmldrum has quit [Ping timeout: 276 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
aeterne has joined #ruby
seitensei has joined #ruby
robh71 has joined #ruby
robh71 has quit [Max SendQ exceeded]
kgrz has joined #ruby
robh71 has joined #ruby
GinoManWorks has quit [Read error: Connection reset by peer]
duckpupp1 has quit [Read error: Connection reset by peer]
Tohuw has quit [Read error: Connection reset by peer]
GinoManWorks has joined #ruby
janno_ has quit [Remote host closed the connection]
duckpupp1 has joined #ruby
shinnya has quit [Ping timeout: 276 seconds]
swills has quit [Read error: Connection reset by peer]
<hanmac> shevy: me at programming https://xkcd.com/1671/
Antiarc has quit [Remote host closed the connection]
horaceheaven has left #ruby [#ruby]
TomyLobo has quit [Read error: Connection reset by peer]
PlasmaStar has quit [Ping timeout: 276 seconds]
jdawgaz has joined #ruby
wilbert has joined #ruby
Antiarc has joined #ruby
<BlacksmithMetash> hahaha nice hanmac
swills has joined #ruby
deadnull_ has quit [Quit: Bye]
howdoi has quit [Quit: Connection closed for inactivity]
duckpupp1 has quit [Client Quit]
codecop has joined #ruby
dstarh has quit [Quit: Textual IRC Client: www.textualapp.com]
QORRiE has joined #ruby
PlasmaStar has joined #ruby
CoderPuppy has joined #ruby
DanyC has joined #ruby
DanyC has quit [Client Quit]
Puffball has quit [Remote host closed the connection]
BlacksmithMetash has quit [Read error: Connection reset by peer]
kgrz has quit [Ping timeout: 250 seconds]
cpup has quit [Ping timeout: 244 seconds]
TomyLobo has joined #ruby
BlacksmithMetash has joined #ruby
jaguarmagenta has joined #ruby
dikaio has joined #ruby
mynameisbrian has joined #ruby
jxs_ has quit [Remote host closed the connection]
<mynameisbrian> Hey guys. If you're bored, check out this code. Look at the comments at the top to see input/output. I'm new to Ruby, and just wondering if there's a better way to code this small program. https://gist.github.com/anonymous/306f0a1fe2a694c9a0b54ba41e244b71
<mynameisbrian> Ignore the .py in the first comment. The program was in Python and I converted it to Ruby
<ytti> it seems fairly idiomatic code
mikecmpbll has joined #ruby
<ytti> i would personally never write without wrapping inside class
<ytti> regardless how simple piece of code
jaguarmagenta has quit [Ping timeout: 252 seconds]
rbennacer has quit [Remote host closed the connection]
<ytti> because when you write without class definitino, you're monkey-patching 'Object' class
cpup has joined #ruby
<ytti> which can cause all kind of weird side-effects, if you happen to redefine some of its methods, prominently 'send'
<mynameisbrian> awesome, thanks for the advice
<mynameisbrian> I'm using Ruby Monk's course to learn
Dimik has joined #ruby
idefine has quit [Remote host closed the connection]
b|ackwolf has quit [Ping timeout: 240 seconds]
<shevy> hanmac lol
<mynameisbrian> It's really amazing so far. I'm used to PHP, and this language just makes sense. It's designed really well. I love how everything is an object, and just works that way. Even allowing weird things like 1.*(5), because well, it's an object and it should work even that way
Macaveli has joined #ruby
CoderPuppy has quit [Ping timeout: 260 seconds]
<shevy> mynameisbrian yeah that problem will go away the more and more code you write. Once you start using classes, and modules, things can always be easily re-usable
whathappens has quit [Remote host closed the connection]
MissionCritical has quit [Ping timeout: 244 seconds]
<mynameisbrian> yeah totally
nofacade has quit [Ping timeout: 276 seconds]
SilverKey has quit [Quit: Halted.]
blackmes1 has joined #ruby
<mynameisbrian> I basically want a language that I can become a master of. Right now I just kind of fuck around and use them when I need to. I don't even really know PHP, I just sort of use it and look things up when I need to. I decided that Ruby would be the language I'll learn really well and everything about
<mynameisbrian> I do know JavaScript well too, but I need a general purpose language
Chachi has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> mynameisbrian here is the first to-class rewrite of the above code http://pastie.org/10830549
<shevy> I still would not write it like that, it is just a more or less 1:1 mapping of what you wrote before
<shevy> in typical "class-thinking", one can use methods to operate on the dataset
<shevy> and strictly speaking, in that class code, one would not need any @ivars
idefine has joined #ruby
whathappens has joined #ruby
<ytti> for simple stuff probably just
<ytti> class Foo
Hobart has left #ruby [#ruby]
<ytti> def self.bar args
<ytti> because you want to return stuff, and Foo.new.run is kinda icky for single method stuff
<mynameisbrian> cool, thanks. yeah the only part of that syntax I don't know so far is the @ for the properties. Otherwise I knew .new and the constructure initialize. I'm just about to read up on classes in this Monk's course
<shevy> php is actually pretty simple. it's not pretty, not very logical... but I myself found it easier to use than perl oddly enough
<Ox0dea> mynameisbrian: It's not "bad", but I'd favor Range#step and #map over "explicit" looping and building up a String.
<Ox0dea> Somesing like zees: https://eval.in/567580
GodFather has quit [Ping timeout: 244 seconds]
<mynameisbrian> yeah that looks much better, I figured there would be a way to get rid of the ugly coupon = ''
goodroot has joined #ruby
<mynameisbrian> php is much easier than perl
<Ox0dea> Where'd that come from?
MissionCritical has joined #ruby
<mynameisbrian> shevy's comment above
<Ox0dea> Never mind.
<mynameisbrian> peanut butter! C is cool! php is easy!
<Ox0dea> mynameisbrian: Even uglier is having to chop off the superfluous delimiter.
<Ox0dea> That's a sure sign you've done it the wrong way, 999 times out of a thousand.
<mynameisbrian> hahah yeah true
gooooodroot has quit [Ping timeout: 260 seconds]
symm- has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
|2701 has quit [Quit: Connection closed for inactivity]
skolman has quit [Remote host closed the connection]
skolman_ has joined #ruby
<mynameisbrian> 0x0dea which part of the code is making sure the | isn't put on last?
<mynameisbrian> Ox0dea
haxrbyte has quit [Ping timeout: 265 seconds]
<Ox0dea> >> [1,2,3].join('|') # mynameisbrian
<mynameisbrian> I think it's the step part
<ruby[bot]> Ox0dea: # => "1|2|3" (https://eval.in/567582)
SilverKey has joined #ruby
QORRiE has quit [Quit: Leaving]
<Ox0dea> I used String#* instead of #join to sow discord.
scepticulous has joined #ruby
griffindy has joined #ruby
karmatr0n has quit [Read error: Connection reset by peer]
karmatr0_ has joined #ruby
skolman_ has quit [Ping timeout: 260 seconds]
<Ox0dea> It's an alias that people on high horses will tell you not to use.
SilverKey has quit [Client Quit]
kgrz has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
aegis3121 has quit [Ping timeout: 240 seconds]
<mynameisbrian> thanks. that code just really shows the power of ruby, so fancy
stryek has quit [Remote host closed the connection]
<mynameisbrian> all the little ugly parts of coding are gone
stryek has joined #ruby
ftj has joined #ruby
<mynameisbrian> Don't fully understand how it works, I'll just keep going through the tutorial. Need to learn about ranges and such
<shevy> it is packed with information content
kgrz has quit [Ping timeout: 244 seconds]
QORRiE has joined #ruby
Tilo has quit [Ping timeout: 276 seconds]
<shevy> there is more than one way!
wuyin has quit [Quit: leaving]
Devalo has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
yfeldblum has joined #ruby
phpwebdev has quit [Quit: Textual IRC Client: www.textualapp.com]
<mynameisbrian> that's the exact reason why I chose Ruby over Python. I do like Python's one way philosophy. But a language that I want to master... I need more freedom and more fun.
grenierm has quit [Quit: grenierm]
htmldrum has joined #ruby
<Zarthus> you'll find some ruby developers have a funny way of defining fun
nofacade has joined #ruby
<shevy> yeah!
dionysus69 has quit [Ping timeout: 276 seconds]
Devalo has quit [Ping timeout: 260 seconds]
rbennacer has joined #ruby
scepticulous has quit [Ping timeout: 246 seconds]
Devalo has joined #ruby
<Mon_Ouie> def fun; end ?
whathappens has quit [Remote host closed the connection]
kgrz has joined #ruby
htmldrum has quit [Ping timeout: 260 seconds]
rodfersou is now known as rodfersou|coffee
haxrbyte has joined #ruby
yfeldblum has quit [Quit: Leaving...]
daftdolphin has quit [Remote host closed the connection]
ta_ has joined #ruby
skade has joined #ruby
Blaguvest has joined #ruby
jaruga___ has joined #ruby
sepp2k has joined #ruby
CoderPuppy has joined #ruby
kgrz has quit [Ping timeout: 246 seconds]
yfeldblu_ has joined #ruby
karmatr0_ has quit [Ping timeout: 260 seconds]
cpup has quit [Ping timeout: 244 seconds]
mooe has joined #ruby
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rubynuby has joined #ruby
<rubynuby> Hi all :)
jobewan has joined #ruby
<mooe> Hi
umdstu has quit [Quit: umdstu]
noService has joined #ruby
karmatr0n has joined #ruby
<Ox0dea> >> fun = defined? fun
<ruby[bot]> Ox0dea: # => "local-variable" (https://eval.in/567591)
<rubynuby> I'm writing an activerecord app with some rspec tests, working with a codeship team. App talks to mysql via activerecord. There's a single piece of code which runs a query, and a single rspec tests that passes (testing the result of that query). But when I push to codeship it fails because it can't connect to mysql. My question is... how can I emulate the codeship bundle exec rspec tests (or is it the same as my local command)
dopamean_ has joined #ruby
<rubynuby> And the more important question is, how can I write a rspec test that passes without a database, I've gathered from googling that I will need class_double or maybe mysql double, but beyond that I haven't been able to find any pointers or examples... and I can't get it to pass my rspec test in 'codeship/offline' mode.. Any pointers/clues are welcome
raeoks has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
aegis3121 has joined #ruby
Devalo has quit [Remote host closed the connection]
bronson has quit [Remote host closed the connection]
<mynameisbrian> >> language = 'ruby'; puts 'fun' unless language == 'PHP'
<ruby[bot]> mynameisbrian: # => fun ...check link for more (https://eval.in/567592)
<BlacksmithMetash> Ox0dea:
jancel has joined #ruby
<BlacksmithMetash> how i can access sqlite in bash?
<Ox0dea> BlacksmithMetash: $ sqlite3 --help
dopamean_ has quit [Quit: WeeChat 1.3]
skolman_ has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
TomyLobo has quit [Quit: Leaving]
<BlacksmithMetash> thx
stannard has quit [Remote host closed the connection]
rodfersou|coffee is now known as rodfersou
eljimmy has quit [Quit: This computer has gone to sleep]
yfeldblum has joined #ruby
jancel has quit [Remote host closed the connection]
Lomex has joined #ruby
senayar has joined #ruby
SilverKey has joined #ruby
nankyokusei has quit []
Coldblackice has joined #ruby
haxrbyte has quit [Quit: Leaving...]
jenrzzz_ has joined #ruby
nofacade has quit [Ping timeout: 265 seconds]
djbkd has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bluOxigen_ has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
robh71 has joined #ruby
yqt has joined #ruby
jhack has joined #ruby
daftdolphin has joined #ruby
bluOxigen has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
toretore has quit [Ping timeout: 260 seconds]
mdw_ has quit [Quit: Sleeping Zzzzz]
jenrzzz_ has quit [Ping timeout: 252 seconds]
RegulationD has quit [Remote host closed the connection]
joast has quit [Quit: Leaving.]
Gasher has quit [Ping timeout: 244 seconds]
kkeuning has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djcp has quit [Quit: WeeChat 1.0.1]
Gasher has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ftj has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has quit [Quit: Computer has gone to sleep.]
Coldblackice has quit []
postmodern has joined #ruby
pawnbox has quit [Remote host closed the connection]
elifoster has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
DanyC has joined #ruby
BlacksmithMetash has quit [Quit: 4.2.0 Equilibrium http://www._.net/]
<mynameisbrian> Ox0dea how can I access mysql in batch
JStoker has quit [Ping timeout: 250 seconds]
EvilJStoker has quit [Ping timeout: 250 seconds]
tekacs has quit [Ping timeout: 250 seconds]
blackgoat has joined #ruby
cpup has joined #ruby
<adaedra> we're going offtopic now are we?
<mynameisbrian> I'm just making fun of that other user
<adaedra> aha.
<mynameisbrian> <BlacksmithMetash> how i can access sqlite in bash?
<mynameisbrian> el oh el
tekacs has joined #ruby
<adaedra> hilarious.
fmcgeough has quit [Quit: fmcgeough]
elifoster has joined #ruby
stannard has joined #ruby
EvilJStoker has joined #ruby
JStoker has joined #ruby
davedev2_ has joined #ruby
DanyC has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
davedev24 has quit [Ping timeout: 276 seconds]
CoderPuppy has quit [Ping timeout: 244 seconds]
joast has joined #ruby
ur5us has joined #ruby
hxegon_afk is now known as hxegon
ldnunes has quit [Quit: Leaving]
eljimmy has joined #ruby
DanyC has joined #ruby
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
zeroDi has joined #ruby
mynameisbrian has quit []
tris has quit [Ping timeout: 244 seconds]
idefine has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
nerium has joined #ruby
tris has joined #ruby
swills_ has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
johnmilton has quit [Remote host closed the connection]
DanyC has quit []
<rubynuby> I guess rspec isn't mature enough to easily mock ar requests... will have to use a local sqlite which is probably better practice anyway
rubynuby has quit [Quit: Page closed]
bruce_lee has quit [Ping timeout: 240 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
CoderPuppy has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stannard has quit [Remote host closed the connection]
ramfjord has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
cpup has quit [Ping timeout: 244 seconds]
jancel has joined #ruby
idefine has joined #ruby
nando293921 has quit [Ping timeout: 265 seconds]
bronson has joined #ruby
CausaMortis has joined #ruby
jdawgaz has joined #ruby
idefine has quit [Ping timeout: 276 seconds]
cpup has joined #ruby
synthro__ has quit []
Puffball has joined #ruby
jenrzzz has joined #ruby
jaguarmagenta has joined #ruby
seitensei has quit [Quit: "For a good time, try: 'curl -L http://bit.ly/10hA8iC | bash' ;)"]
yfeldblum has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CoderPuppy has quit [Ping timeout: 244 seconds]
minimalism has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
mikecmpbll has joined #ruby
bronson has joined #ruby
jancel has quit [Remote host closed the connection]
jaguarmagenta has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
GinoManWorks has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Renich has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
grenierm has joined #ruby
Lomex has quit [Remote host closed the connection]
stannard has joined #ruby
stannard has quit [Remote host closed the connection]
<tubbo> lol
jenrzzz has joined #ruby
patrick99e99 has joined #ruby
Coldblackice has joined #ruby
blackmes1 has quit [Ping timeout: 246 seconds]
blackmes1 has joined #ruby
edwinvdgraaf has joined #ruby
voodoofish430 has joined #ruby
workmad3 has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<patrick99e99> hey everyone.. I have some custom middleware in my rails app which is just doing @app.call(env), and this blows up if my original request url has quotes in it. However if prior to @app.call(env) i do: ["PATH_INFO", "ORIGINAL_FULLPATH", "SCRIPT_URL", "SCRIPT_URI", "REQUEST_URI"].each { |k| env[key] = URI.escape(env[key]), then that fixes the problem.. but it seems really horrible that I have to manually escape all those values..
<patrick99e99> Is there any other way to force the env object to be escaped prior to the rack app getting it?
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has joined #ruby
bobbycvi has joined #ruby
minimalism has quit [Quit: minimalism]
karmatr0n has quit [Ping timeout: 240 seconds]
jud has quit [Ping timeout: 265 seconds]
<smathy> Just throw 400s until that asshat client sorts its shit out.
minimalism has joined #ruby
blackmes1 has quit [Ping timeout: 244 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
workmad3 has joined #ruby
whathappens has joined #ruby
wilbert has quit [Ping timeout: 276 seconds]
sdothum has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
karmatr0n has joined #ruby
Renich has quit [Quit: leaving]
mnrmnaugh is now known as catpoop
SilverKey has joined #ruby
danostrowski has joined #ruby
Coldblackice has quit [Ping timeout: 246 seconds]
sphex has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
sphex has joined #ruby
rodfersou has quit [Quit: leaving]
noService has quit [Ping timeout: 276 seconds]
trinaldi has joined #ruby
<havenwood> patrick99e99: you might look at the rack-protection gem's Rack::Protection::EscapedParams module: https://github.com/sinatra/rack-protection#cross-site-scripting
whathappens has quit [Remote host closed the connection]
ramfjord has quit [Read error: Connection reset by peer]
grenierm has quit [Quit: grenierm]
ramfjord has joined #ruby
<havenwood> patrick99e99: require 'rack/protection/escaped_params'
<havenwood> use Rack::Protection::EscapedParams
A124 has quit [Quit: '']
whathappens has joined #ruby
<patrick99e99> thanks havenwood
platzhirsch has joined #ruby
whathapp_ has joined #ruby
sneakerhax has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<patrick99e99> havenwood: So I just do that use command inside my call method?
<havenwood> patrick99e99: see the examples: https://github.com/sinatra/rack-protection#usage
jancel has joined #ruby
robbyoconnor has joined #ruby
whathappens has quit [Ping timeout: 244 seconds]
A124 has joined #ruby
<patrick99e99> havenwood: yeah-- I saw those, but that doesn't explain how to use it.. "use" is undefined method inside my rack app's call method.
<havenwood> patrick99e99: You're doing it in your config.ru file like the examples? I've got to run out for a minute but I'm sure others here or in the #rubyonrails channel can help.
<patrick99e99> oh.. not I don't have a .ru in my rails app.. I just am manually inserting this rack app as middleware
<havenwood> patrick99e99: Err, you don't have a config.ru in your Rails app? Are you sure?
<havenwood> patrick99e99: It's part of a default Rails app. I guess you may have renamed it? Dunno. Maybe ask in #rubyonrails and just let them know you're crossposting from here.
<patrick99e99> oops.. yeah i guess i do.
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramortegui has quit [Quit: Ex-Chat]
<patrick99e99> ok, thanks for your help havenwood
<havenwood> patrick99e99: you're welcome
<havenwood> patrick99e99: happy coding!
Puffball has quit [Ping timeout: 250 seconds]
jdawgaz has joined #ruby
symm- has joined #ruby
millerti has joined #ruby
karmatr0n has quit [Ping timeout: 276 seconds]
Azure|dc has joined #ruby
Azure has quit [Ping timeout: 260 seconds]
Gasher has quit [Ping timeout: 246 seconds]
rbennacer has quit [Ping timeout: 252 seconds]
banister is now known as banisterfiend
banisterfiend has quit [Changing host]
banisterfiend has joined #ruby
BtcBen has joined #ruby
BtcBen has left #ruby [#ruby]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
kareeoleez has quit [Remote host closed the connection]
QORRiE has quit [Quit: Leaving]
skalfyfan has joined #ruby
whathapp_ has quit [Remote host closed the connection]
elifoster has quit [Ping timeout: 244 seconds]
kareeoleez has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whathappens has joined #ruby
Zacketh has quit [Quit: ZNC - http://znc.in]
yfeldblum has joined #ruby
moeabdol has quit [Ping timeout: 244 seconds]
jdawgaz has joined #ruby
benlieb has joined #ruby
jaruga___ has quit [Quit: jaruga___]
Zackio has joined #ruby
SilverKey has quit [Quit: Halted.]
ledestin has joined #ruby
yude has joined #ruby
whathappens has quit [Remote host closed the connection]
<benlieb> I've been tasked with using Brakeman (vulnerability analyzer) on code I didn't write. It has rightly identified the following line as a possible command injection vulnerability. system("zip -q -j -0 \"#{tmp_zip}\" #{created_zips}")
al2o3-cr has quit [Ping timeout: 244 seconds]
<benlieb> Both tmp_zip and created_zips are quite complex methods that have many logical branching possibilities (https://gist.github.com/benlieb/db71085e64eff8da2a84891206ace924). Is there a simple way to avoid the vulnerability. Some way of escaping?
<baweaver> you can set it as an ignore case
Gasher has joined #ruby
akem has quit [Ping timeout: 260 seconds]
jancel has quit [Read error: Connection reset by peer]
whathapp_ has joined #ruby
jenrzzz_ has joined #ruby
htmldrum has joined #ruby
drewo has quit [Ping timeout: 260 seconds]
jancel has joined #ruby
platzhirsch has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
last_staff has quit [Quit: last_staff]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
zrl_ has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz_ has quit [Ping timeout: 240 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zrl_ has joined #ruby
Trynemjoel has quit [Ping timeout: 244 seconds]
al2o3-cr has joined #ruby
drewo has joined #ruby
hobodave has quit [Ping timeout: 276 seconds]
Puffball has joined #ruby
Trynemjoel has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
jdawgaz has joined #ruby
whathapp_ has quit [Remote host closed the connection]
skolman_ has quit [Remote host closed the connection]
skolman has joined #ruby
whathappens has joined #ruby
jancel has quit [Remote host closed the connection]
whathapp_ has joined #ruby
skolman has quit [Remote host closed the connection]
skolman has joined #ruby
<jenrzzz> do you guys think rubygems.org executes gemspecs or just statically parses them? i'm wondering how they find the runtime depenendencies to show on the gem page
[Butch] has quit [Quit: I'm out . . .]
symm- has quit [Ping timeout: 240 seconds]
Puffball has quit [Ping timeout: 246 seconds]
renderfu_ has quit [Ping timeout: 240 seconds]
whathappens has quit [Ping timeout: 260 seconds]
karmatr0n has joined #ruby
CausaMortis has quit [Ping timeout: 276 seconds]
workmad3 has joined #ruby
Nanuq has quit [Quit: leaving]
jancel has joined #ruby
LastWhisper____ has quit [Ping timeout: 265 seconds]
devbug_ has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
aegis3121 has quit [Ping timeout: 252 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
jancel has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.4]
Puffball has joined #ruby
whathapp_ has quit [Remote host closed the connection]
skalfyfan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skalfyfan has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
freerobby has joined #ruby
skalfyfan has quit [Client Quit]
devbug has joined #ruby
sp4rrow has joined #ruby
cstrahan has quit [Ping timeout: 244 seconds]
Drakx has joined #ruby
cstrahan has joined #ruby
nando293921 has joined #ruby
zenlot has joined #ruby
Puffball has quit [Ping timeout: 260 seconds]
rbennacer has joined #ruby
zenlot6 has quit [Ping timeout: 246 seconds]
symm- has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
Oog has joined #ruby
drewo has quit [Ping timeout: 260 seconds]
devbug has quit [Ping timeout: 260 seconds]
whathappens has quit [Quit: Leaving...]
devbug has joined #ruby
yfeldblum has quit [Remote host closed the connection]
pietr0 has quit [Quit: pietr0]
idefine has quit [Ping timeout: 276 seconds]
benlieb has quit [Quit: benlieb]
whathappens has joined #ruby
nerium has quit [Quit: nerium]
kareeoleez has quit [Remote host closed the connection]
nerium has joined #ruby
Oog has quit []
Yiota_ has joined #ruby
Yiota has quit [Read error: Connection reset by peer]
agent_white has quit [Quit: goinhome]
|2701 has joined #ruby
whathappens has quit [Remote host closed the connection]
gnufied has quit [Quit: Leaving]
PlasmaStar has quit [Ping timeout: 250 seconds]
EdwardIII has quit [Ping timeout: 240 seconds]
d5sx43 has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
polishdub has quit [Quit: Leaving]
yfeldblum has joined #ruby
firstdayonthejob has quit [Ping timeout: 240 seconds]
PlasmaStar has joined #ruby
Yiota_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
EdwardIII has joined #ruby
zacstewart has quit [Ping timeout: 240 seconds]
CausaMortis has joined #ruby
d5sx43 has quit [Client Quit]
Puffball has joined #ruby
Labaleine has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
mozzarella has quit [Quit: WeeChat 1.4]
jaguarmagenta has joined #ruby
crystal77 has joined #ruby
GodFather has joined #ruby
chopin has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
JoshGlzBrk has joined #ruby
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Oog has joined #ruby
rbennacer has quit [Remote host closed the connection]
jenrzzz has joined #ruby
kddeisz has joined #ruby
`tim` has joined #ruby
whathappens has joined #ruby
jaguarmagenta has quit [Ping timeout: 276 seconds]
<kddeisz> Hi everyone! I'm writing my first C extension any had a question. My function is pretty simple, it just does some basic char* manipulation. I get the char* from a ruby string by doing `char *orig_str = rb_string_value_cstr(&str);`. The problem is the function could also be called with a symbol. Anyone know the right way to convert it over?
jancel has joined #ruby
rbennacer has joined #ruby
JoshGlzBrk has quit [Client Quit]
<kddeisz> (I've tried `rb_any_to_s` but that doesn't seem to work like I thought it would...)
edwinvdgraaf has quit [Remote host closed the connection]
EdwardIII has quit [Ping timeout: 260 seconds]
rbennacer has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
LaT0rtue has joined #ruby
crdpink2 has joined #ruby
cschneid_ has quit [Remote host closed the connection]
crdpink has quit [Ping timeout: 250 seconds]
LaT0rtue has quit [Read error: Connection reset by peer]
Yiota has joined #ruby
EdwardIII has joined #ruby
Cohedrin has quit [Client Quit]
Labaleine has quit [Remote host closed the connection]
d5sx43 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
jobewan has quit [Ping timeout: 276 seconds]
chopin has joined #ruby
Cohedrin has joined #ruby
Yiota has quit [Ping timeout: 276 seconds]
eljimmy has quit [Quit: This computer has gone to sleep]
charliesome has joined #ruby
JoshGlzBrk has joined #ruby
xall has quit [Ping timeout: 244 seconds]
dn` has quit [Ping timeout: 246 seconds]
charliesome has quit [Read error: Connection reset by peer]
saneax_AFK is now known as saneax
drewo has joined #ruby
sneakerhax has quit [Read error: Connection reset by peer]
weemsledeux has joined #ruby
mooe has quit [Quit: Connection closed for inactivity]
idefine has joined #ruby
charliesome has joined #ruby
htmldrum has left #ruby [#ruby]
postmodern has quit [Ping timeout: 276 seconds]
grepwood has joined #ruby
kddeisz has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<grepwood> hi all
<benzrf> hi
CausaMortis has quit [Read error: Connection reset by peer]
<grepwood> I've set up my application as such:
<grepwood> server "mycooldomain", :roles => %w(web app db), :primary => true, :user => "bestappintheuniverse", :keys => %w(/var/lib/bestappintheuniverse/.ssh/id_rsa), :auth_methods => %w(publickey)
<grepwood> that's all fine and good, sshkit accepts all of these options
<grepwood> except for :keys and :auth_methods :(
<grepwood> could someone please help?
idefine has quit [Ping timeout: 276 seconds]
dn` has joined #ruby
danostrowski has joined #ruby
Nanuq has joined #ruby
idefine has joined #ruby
<grepwood> oh wait, nevermind
grepwood has left #ruby [#ruby]
danostrowski has quit [Client Quit]
danostrowski has joined #ruby
jenrzzz has joined #ruby
ferr has quit [Ping timeout: 246 seconds]
d5sx43 has quit [Quit: Leaving...]
sepp2k has quit [Read error: Connection reset by peer]
EdwardIII has quit [Ping timeout: 240 seconds]
postmodern has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Es0teric has joined #ruby
jud has joined #ruby
johnmilton has joined #ruby
EdwardIII has joined #ruby
daftdolphin has quit []
Puffball has quit [Remote host closed the connection]
jud has quit [Ping timeout: 265 seconds]
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
chopin has quit [Remote host closed the connection]
karmatr0n has quit [Read error: No route to host]
karmatr0_ has joined #ruby
nerium has quit [Quit: nerium]
kgrz has joined #ruby
Puffball has joined #ruby
SVR4 has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JoshGlzBrk has joined #ruby
stannard has joined #ruby
zacstewart has joined #ruby
jancel has quit [Remote host closed the connection]
stannard has quit [Ping timeout: 276 seconds]
Oog has quit []
nrd_pxs has quit [Quit: leaving]
EdwardIII has quit [Ping timeout: 240 seconds]
biberu has quit []
EdwardIII has joined #ruby
jdawgaz has joined #ruby
jancel has joined #ruby
Azure|dc is now known as Azure