apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
nanoyak has quit [Quit: Computer has gone to sleep.]
michaeldeol has joined #ruby
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
kotk_ has joined #ruby
kotk has quit [Read error: No route to host]
shime_ has joined #ruby
shime has quit [Ping timeout: 244 seconds]
sinkensabe has quit [Remote host closed the connection]
cyberarm has joined #ruby
ta_ has joined #ruby
dc_ has joined #ruby
seal has quit [Quit: Ex-Chat]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
icebourg has joined #ruby
TheKruex has quit []
chipotle has joined #ruby
carvantes has quit [Ping timeout: 245 seconds]
charliesome has quit [Quit: zzz]
ta_ has quit [Ping timeout: 240 seconds]
mbff has joined #ruby
bronson has joined #ruby
sinkensabe has joined #ruby
uptownhr has quit [Quit: uptownhr]
snath has quit [Ping timeout: 276 seconds]
Akuma has quit [Ping timeout: 264 seconds]
russt has joined #ruby
apeiros has quit [Remote host closed the connection]
DadoCe has quit [Remote host closed the connection]
apeiros has joined #ruby
blackmesa has quit [Quit: WeeChat 1.1]
bonhoeffer has joined #ruby
happyface has quit [Quit: Connection closed for inactivity]
TheKruex has joined #ruby
uptownhr has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
giuseppesolinas_ has quit [Quit: This computer has gone to sleep]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
supergiel has joined #ruby
baweaver has joined #ruby
jeremati_ has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 246 seconds]
jerematic has joined #ruby
baweaver has quit [Remote host closed the connection]
devdazed has quit [Quit: Computer has gone to sleep.]
Akuma has joined #ruby
B1n4r10 has quit [Remote host closed the connection]
jerematic has quit [Remote host closed the connection]
baweaver has joined #ruby
B1n4r10 has joined #ruby
Ankhers has quit [Remote host closed the connection]
TheKruex has quit [Client Quit]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
rpag has quit [Quit: Leaving]
<bitflipping> does anyone here have experience using ocra or releasy in msys2/cygwin?
Ankhers has joined #ruby
maximski has joined #ruby
<B1n4r10> bitflipping Please talks about only Ruby.
russt has quit [Read error: Connection reset by peer]
<bitflipping> sorry bout that, figured ocra and releasy are both ruby
maximski has quit [Client Quit]
<bradland> orca is ruby...
lw has quit [Quit: s]
<bradland> i don't have any experience with orca, however
russt has joined #ruby
aspiers_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #ruby
uptownhr has quit [Quit: uptownhr]
<bradland> bitflipping: post your question, someone might be able to help you out
sinkensabe has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 264 seconds]
giuseppesolinas has joined #ruby
giuseppesolinas_ has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
<bitflipping> I forgot I had gotten past a hurdle, thought that was as specific as I could get. Essentially Ocra has an option --gemfile, which it seems it uses for dependency gems, but it doesn't seem to follow the source specifier I have in my gemfile.
duncannz has joined #ruby
duncannz has quit [Excess Flood]
uptownhr has joined #ruby
duncannz has joined #ruby
duncannz has quit [Excess Flood]
russt has quit [Ping timeout: 244 seconds]
lmickh has quit [Remote host closed the connection]
<bitflipping> so if anyone has an idea of how to tell ocra to follow a gem path specifier instead of using the installed location, I would appreciate that, thanks for your time
yokel has joined #ruby
thumpba has quit [Remote host closed the connection]
kaspertidemann has quit []
robertt_dex has joined #ruby
<bradland> bitflipping: i can't find any reference to that gemfile option.
<bradland> are you sure that's an orca built-in, or is it part of a plugin?
workmad3 has quit [Ping timeout: 240 seconds]
bonhoeffer has quit [Read error: Connection reset by peer]
<bitflipping> if you run orca --help --gemfil is in the list of options that comes up
taiansu has joined #ruby
bonhoeffer has joined #ruby
<bitflipping> *--gemfile
<bitflipping> also on here: https://github.com/larsch/ocra if you search for --gemfile
Akuma has quit [Ping timeout: 245 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
<bradland> ah, ok
<bradland> i was looking at the andykent/orca repo
<bitflipping> oh word, from the --help option: "--gemfile <file> Add all gems and dependencies listed in a Bundler Gemfile."
baroquebobcat has joined #ruby
adamski2600 has quit []
GaryOak_ has quit [Remote host closed the connection]
<bradland> so what's the difference between these two?
<bradland> are they forks?
<bradland> because i think the andykent one is the one that's on rubygems
russt has joined #ruby
<bradland> how do you even install this larsch one?
Ankhers has quit [Remote host closed the connection]
<bradland> holy mother
<bitflipping> the larsch github is whats in the readme in the ocra folder installed by gem install ocra
taiansu has quit [Ping timeout: 265 seconds]
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yokel has quit [Ping timeout: 245 seconds]
yokel has joined #ruby
russt has quit [Ping timeout: 272 seconds]
icebourg has quit []
<bradland> bitflipping: looking at the source code, it looks like this gem jumps straight to loading the gem specs, ignoring the source line altogether
<bitflipping> alright, thanks man
fryguy9 has quit [Quit: Leaving.]
cyberarm has quit [Remote host closed the connection]
<bitflipping> maybe I'll write a patch, probably won't be broad use enough to cover the full range of Gemfile specifications though
zacstewart has quit [Ping timeout: 245 seconds]
Sawbones has quit [Remote host closed the connection]
AlexRussia has joined #ruby
russt has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bradland> it could at least handle the source line
bonhoeffer has quit [Quit: bonhoeffer]
<bradland> i think that'd be a great addition
<bradland> i was thinking the same. digging around looking for the bundler API method that is called by source
freerobby has quit [Quit: Leaving.]
evanjs has joined #ruby
startupality has quit [Quit: startupality]
scripore has quit [Quit: This computer has gone to sleep]
mac__ has quit [Quit: This computer has gone to sleep]
skj3gg has quit [Ping timeout: 245 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
JDiPierro has quit [Remote host closed the connection]
Manj-811-Xfce2 has joined #ruby
<Manj-811-Xfce2> Hi I'm having trouble running ruby on linux
<Manj-811-Xfce2> I type ruby into my command line
<Manj-811-Xfce2> And I dont get the propper prompt
<Manj-811-Xfce2> It acts like when you forget to end a quotation in a shell command
<bradland> when invoked directly, ruby won't give a prompt
<bradland> you probably want irb
<bradland> which is ruby's REPL
<bradland> you must come from python :)
<Manj-811-Xfce2> Right-o
<Manj-811-Xfce2> An interpreter would be nice. So I'll install the irb package
jordanm has quit [Ping timeout: 245 seconds]
<bradland> what distro?
<bradland> most of them are pretty out of date, but brightbox provides a PPA with more up to date package
TheNet has quit [Quit: Leaving...]
Zai00 has quit [Quit: Zai00]
evanjs has quit [Remote host closed the connection]
<Manj-811-Xfce2> Manjaro (Arch Based)
<bradland> ah, ok
bean has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
supergiel has quit [Quit: Leaving]
ponga has joined #ruby
Manj-811-Xfce2 has quit [Remote host closed the connection]
zchee has quit [Remote host closed the connection]
kenneth has quit [Quit: Bye.]
bonhoeffer has joined #ruby
freerobby has joined #ruby
maxsilver has joined #ruby
sbx has joined #ruby
JDiPierro has joined #ruby
yokel has quit [Ping timeout: 264 seconds]
cphrmky has quit [Read error: Connection reset by peer]
CrazyM4n has quit [Remote host closed the connection]
yokel has joined #ruby
pdoherty has joined #ruby
sbx has quit [Ping timeout: 240 seconds]
JoshGlzBrk has joined #ruby
ta_ has joined #ruby
asmodlol has joined #ruby
commmmodo has quit [Quit: commmmodo]
razieliyo has quit [Read error: Connection reset by peer]
JDiPierro has quit [Remote host closed the connection]
commmmodo has joined #ruby
asmodchan has quit [Ping timeout: 245 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
pdoherty has quit [Ping timeout: 245 seconds]
Photism has joined #ruby
JoshGlzBrk has quit [Client Quit]
razieliyo has joined #ruby
ponga has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 276 seconds]
ponga has joined #ruby
akamel has joined #ruby
blizzy has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
kl__ has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
uptownhr has quit [Quit: uptownhr]
jerematic has joined #ruby
B1n4r10 has joined #ruby
antgel has quit [Ping timeout: 264 seconds]
ponga has quit [Ping timeout: 256 seconds]
robustus has quit [Ping timeout: 255 seconds]
scripore has joined #ruby
mac__ has joined #ruby
AlexRussia has quit [Quit: WeeChat 1.1-dev]
AlexRussia has joined #ruby
sbx has joined #ruby
lkba has joined #ruby
robustus has joined #ruby
ascarter has joined #ruby
eytanfb has quit [Ping timeout: 252 seconds]
jerematic has quit [Ping timeout: 245 seconds]
commmmodo has quit [Quit: commmmodo]
iMe has quit [Ping timeout: 245 seconds]
lkba_ has quit [Ping timeout: 245 seconds]
ta_ has quit [Ping timeout: 245 seconds]
greenbagels has quit [Read error: Connection reset by peer]
akamel has quit [Quit: Leaving.]
commmmodo has joined #ruby
iMe has joined #ruby
mloveless has quit []
akamel has joined #ruby
bronson has joined #ruby
LouisRoR has quit [Ping timeout: 246 seconds]
^wald0 has joined #ruby
freerobby has quit [Quit: Leaving.]
jaygen_ has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
^wald0 has quit [Client Quit]
ixti has joined #ruby
debill has quit [Ping timeout: 240 seconds]
ziyadb has quit [Quit: Connection closed for inactivity]
timanema has quit [Quit: leaving]
rebcabin has joined #ruby
jaygen has quit [Ping timeout: 252 seconds]
timanema has joined #ruby
taiansu has joined #ruby
jordanm has joined #ruby
ponga has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
snath has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
taiansu has quit [Ping timeout: 252 seconds]
kyb3r_ has quit [Ping timeout: 244 seconds]
amclain has joined #ruby
zacstewart has joined #ruby
lemur has joined #ruby
maximski has joined #ruby
DadoCe has joined #ruby
deric_skibotn has quit [Ping timeout: 244 seconds]
pawprint has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
<pawprint> how can i tell which other gems a given gem depends on?
startupality has joined #ruby
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jwilson_ has quit [Quit: bye bye]
<frogsy2> pawprint, if you go to rubygems.org/gems/<gemname> it'll list dependencies
<pawprint> ah, ok
<pawprint> is there a way to list all the dependencies of all the dependencies too?
<pawprint> (ie. the whole dependency graph)
<pawprint> without manually clicking on each gem
baroquebobcat_ has joined #ruby
<frogsy2> good question actually, I'm not sure
Spami has joined #ruby
DadoCe has quit [Ping timeout: 264 seconds]
<pawprint> is there any way to get something like a tar file of a gem and all of its dependencies, so that the gem can be independently and reliably installed independently of any external website?
<pawprint> and at any time in the future..
timanema has quit [Ping timeout: 255 seconds]
rbennacer has joined #ruby
<waxjar> gemsets do that (i like gs)
davedev24_ has quit [Ping timeout: 256 seconds]
<pawprint> so a gemset can act like an archive that can be re-installed on another system without relying on anything else outside the archive itself?
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 245 seconds]
<waxjar> it's not an archive, just a folder you can move around / check into version control
<pawprint> ah, i see
<pawprint> very cool
evanjs has joined #ruby
<pawprint> someone told me that gemsets have been kind of deprecated in favor of bundler
<waxjar> i don't think it's very portable though, i think rubygems installs gems to version specific folders and stuff
wallerdev has quit [Quit: wallerdev]
nfk has quit [Quit: yawn]
kyb3r_ has joined #ruby
rebcabin has quit [Quit: Leaving.]
<pawprint> hmm
<waxjar> why do you not wanna fetch gems from rubygems?
livingstn has joined #ruby
livingstn has quit [Max SendQ exceeded]
davedev24_ has joined #ruby
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
chrishou_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
evanjs has quit [Ping timeout: 244 seconds]
tzero has quit [Quit: WeeChat 0.4.3]
tzero has joined #ruby
chrishough has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
rebcabin has joined #ruby
porfa has joined #ruby
<porfa> heya
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamninja has quit [Quit: ZZZzzz…]
towski_ has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
startupality has joined #ruby
bigmac has joined #ruby
Spami has joined #ruby
startupality has quit [Client Quit]
mikepack has joined #ruby
russt has quit [Quit: russt]
<pawprint> waxjar: it's not that i don't want to.. but i'm trying to plan for some time in the future when that repository of gems might not have the gems i need
iMe has quit [Ping timeout: 264 seconds]
Channel6 has joined #ruby
<pawprint> i'd like to have some sort of archive that's completely independent, so i don't need to rely on anything or anyone to re-install the gems i need
iMe has joined #ruby
rebcabin has quit [Quit: Leaving.]
slawrence00 has joined #ruby
Megtastique has joined #ruby
<waxjar> i see. you could clone the git sources locally, most projects can be found on github?
mikepack has quit [Ping timeout: 240 seconds]
<waxjar> if disaster strikes you could build the gems locally :)
it0a has joined #ruby
yokel has quit [Ping timeout: 245 seconds]
<porfa> at_css('.image img-src') will get me the img-src element in image class.. how do i get an atribute from the img-src element? whats the synthax?
fryguy9 has joined #ruby
fryguy9 has quit [Client Quit]
troyready has quit [Remote host closed the connection]
tchebb has joined #ruby
djbkd has quit [Remote host closed the connection]
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spicerack2 has joined #ruby
jenrzzz has joined #ruby
yokel has joined #ruby
djbkd has joined #ruby
claptor has joined #ruby
jordanm has quit [Ping timeout: 240 seconds]
troubadour has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
nuck has joined #ruby
CpuID has joined #ruby
ta_ has joined #ruby
eka has joined #ruby
jefus_ has joined #ruby
it0a has quit [Ping timeout: 264 seconds]
stunder has quit [Quit: Leaving]
jefus has quit [Ping timeout: 245 seconds]
josephndenton has joined #ruby
hephaestus_rg has joined #ruby
rbennacer has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 276 seconds]
yokel has quit [Ping timeout: 252 seconds]
^wald0 has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
Hijiri has joined #ruby
ta_ has joined #ruby
duncannz has joined #ruby
zorak8 has joined #ruby
spicerack2 has quit [Quit: Textual IRC Client: www.textualapp.com]
<porfa> can anyon ehelp me using include? for ie.. i have a string and i wanna check if it includes —wtv—LOL—wtv im doing…. blabla.css(‘.heya’)[2].include? “LOL”
yokel has joined #ruby
yokel has quit [Changing host]
yokel has joined #ruby
<porfa> i know it’s searching for lol, but i want it to search for *LOL*
josephndenton has quit [Ping timeout: 264 seconds]
shime_ has quit [Remote host closed the connection]
baroquebobcat_ has quit [Quit: baroquebobcat_]
ponga has quit [Remote host closed the connection]
<porfa> asking for help during netsplit… now that calls for a self noob slap.
ponga has joined #ruby
<centrx> porfa, What doesn't work about: str.include?('LOL')
<porfa> i know the string contains LOL but it returns false..!
<porfa> because there is other text in that string
<centrx> Is it in a different character encoding?
wallerdev has joined #ruby
<centrx> >> 'otherLOLstuff'.include?('LOL')
<eval-in_> centrx => true (https://eval.in/243660)
ponga has quit [Read error: Connection reset by peer]
<porfa> yes.. it’s utf-8 … :(
<epitron> pawprint: bundler can vendor gems
<porfa> how can i check if my line code works (im on irb)
ponga has joined #ruby
<epitron> meaning, copy them into your project's directory tree
<Nilium> I gots a new monitor :D
<Nilium> Finally, no more 1680x1050
<porfa> i know this string contains “Laser” i did include?”Laser” it returns false
timanema has joined #ruby
<epitron> pawprint: using bundler is pretty easy -- just make a Gemfile, list the gems and the versions you wanna lock to, then "bundle" and "bundle package"
dc_ has quit [Remote host closed the connection]
<epitron> porfa: i'm guessing the problem is that nokogiri is returning an HTML Node, not a string
taiansu has joined #ruby
<porfa> hmmm
<epitron> porfa: try ...[2].text.include? "LOL"
<porfa> if i put a .to_s.include? “lol” ?
<porfa> woudl taht work?
<porfa> epitron: trying.
<epitron> i'd use .text
<epitron> i think .to_s returns the html
<epitron> .text strips out the html tags
<porfa> still returns false
<epitron> does it return a string? :)
<epitron> get rid of the .include? part
wereHamster has quit [Ping timeout: 244 seconds]
CpuID has quit [Quit: This computer has gone to sleep]
<porfa> it returns text with some \r and \n (just .text)
Sawbones has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<epitron> does it have a LOL in it?
<porfa> but i see my “LOL” in there
fandi has quit [Read error: Connection reset by peer]
<porfa> yeah
<epitron> try string["LOL"]
<centrx> LOL
fandi has joined #ruby
<epitron> >> s = "-wtv-LOL-wtv-"; [s.include?("LOL"), s["LOL"], s[/LOL/]]
<eval-in_> epitron => [true, "LOL", "LOL"] (https://eval.in/243661)
ta_ has quit [Ping timeout: 276 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<epitron> >> s = "-wtv-LOL-wtv-"; [s.index("LOL")]
<eval-in_> epitron => [5] (https://eval.in/243662)
<epitron> lots of ways of doing what you want :)
<pawprint> epitron: thank you.. i'll check it out
<porfa> thanks! :) i’ll try and read and learn from that
<epitron> porfa: you can do "object.class" to see what class it is
_maes_ has joined #ruby
<epitron> also, use pry :)
<epitron> pry makes everything better
ta_ has joined #ruby
<epitron> pawprint: you're not the first person with this problem :)
taiansu has quit [Ping timeout: 265 seconds]
<pawprint> i'm glad
it0a has joined #ruby
<porfa> it worked! thanks! :D
<porfa> feels so good… better than sex lol :X
supergiel has joined #ruby
livingstn has joined #ruby
livingstn has quit [Max SendQ exceeded]
snath has quit [Ping timeout: 276 seconds]
Megtastique has quit []
<pawprint> epitron: will bundler recurse down through all the dependencies of the gems you list?
<pawprint> or do i need to do that myself?
Megtastique has joined #ruby
hephaestus_rg has quit [Ping timeout: 252 seconds]
Megtastique has quit [Client Quit]
fandi has quit [Read error: Connection reset by peer]
fandi has joined #ruby
mesamoo has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
jordanm has joined #ruby
yfeldblum has quit [Remote host closed the connection]
^wald0 has quit [Quit: ^wald0]
<pawprint> \wb
<pawprint> oops
it0a has quit [Ping timeout: 276 seconds]
ta_ has joined #ruby
dc_ has joined #ruby
Eiam_ has joined #ruby
ponga has quit [Remote host closed the connection]
cyberarm has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
ponga has joined #ruby
fandi has quit [Read error: Connection reset by peer]
fandi has joined #ruby
<porfa> hmmmin the past i’ve done some checks like <% if !portes.nil? %> blabalbllba now instead of checking if nil or not, im checking in false or not … what’s the synthax for a true or false state?
ponga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
fandi has quit [Read error: Connection reset by peer]
LouisRoR has joined #ruby
sklik has joined #ruby
<porfa> !!!! made it
<porfa> nope, it displays all even if it contains the LOL
<porfa> <% portes = dat_desc.at_css('.titulo').text.to_s.include?("LOL") %>
maletor has joined #ruby
<porfa> <% if !portes = 'false' %>
yokel has quit [Ping timeout: 272 seconds]
<porfa> displaying all, even if the string contains LOL or not :/ whats wrong here?
DadoCe has joined #ruby
yokel has joined #ruby
Dolphi has joined #ruby
Sawbones has quit [Remote host closed the connection]
DadoCe has quit [Ping timeout: 255 seconds]
gsd has quit [Read error: Connection reset by peer]
<waxjar> you're assigning rather than checking for equality
sklik has quit []
taiansu has joined #ruby
yokel has quit [Ping timeout: 255 seconds]
gsd has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
yokel has joined #ruby
kapil__ has joined #ruby
ta_ has quit [Ping timeout: 272 seconds]
n008f4g_ has quit [Ping timeout: 245 seconds]
taiansu has quit [Ping timeout: 255 seconds]
LouisRoR has quit [Ping timeout: 264 seconds]
pdoherty has joined #ruby
evanjs has joined #ruby
<bean> yeah porfa you need ==
<bean> and you dont want 'false' and 'true' you want false and true
<bean> the booleans
<porfa> thanks for the tip
CpuID has joined #ruby
CpuID has joined #ruby
braincra- has joined #ruby
ARCADIVS has joined #ruby
pdoherty has quit [Ping timeout: 244 seconds]
icbm has quit [Quit: Leaving]
Cache_Money has joined #ruby
JoshGlzBrk has joined #ruby
vozcelik has quit [Quit: Textual IRC Client: www.textualapp.com]
braincrash has quit [Ping timeout: 240 seconds]
vozcelik has joined #ruby
maxsilver has quit [Quit: leaving]
n008f4g_ has joined #ruby
bronson has joined #ruby
adriancb has joined #ruby
snath has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
bronson has quit [Ping timeout: 265 seconds]
zorak8 has quit [Read error: Connection reset by peer]
erebor has joined #ruby
scripore has quit [Ping timeout: 252 seconds]
mac__ has quit [Ping timeout: 245 seconds]
josephndenton has joined #ruby
sinkensabe has joined #ruby
mac__ has joined #ruby
scripore has joined #ruby
keen__________35 has joined #ruby
josephndenton has quit [Ping timeout: 245 seconds]
sinkensabe has quit [Ping timeout: 244 seconds]
<mbff> Hello! I trying to figure out how to remove a line and line break from a string if the line only contains spaces/tabs
erebor has quit [Ping timeout: 276 seconds]
<mbff> and I want to scan the whole string
<mbff> any suggestions?
djdarkbeat has joined #ruby
keen__________34 has quit [Ping timeout: 245 seconds]
Photism has quit [Quit: Leaving]
mikepack has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Rollabun_ has joined #ruby
Rollabunna has quit [Read error: No route to host]
jordanm_ has joined #ruby
jordanm has quit [Read error: Connection reset by peer]
mikepack has quit [Ping timeout: 252 seconds]
brixen has joined #ruby
<eam> >> "foo\n \n\t\t\t\nbar \t baz\n \t \nqux\n".gsub /[ \t]+\n/, ''
<eval-in_> eam => "foo\nbar \t baz\nqux\n" (https://eval.in/243669)
<eam> mbff: ^^
<mbff> ... hmm it didn't work for me
<mbff> it isn't remove lines with just spaces
<mbff> removing*
troubadour has quit [Quit: troubadour]
brlkid has joined #ruby
yfeldblum has joined #ruby
lemur has quit [Read error: Connection reset by peer]
duncannz has quit [Ping timeout: 276 seconds]
duncan_ has joined #ruby
lemur has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
mac__ has quit [Quit: This computer has gone to sleep]
n008f4g_ has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
maximski has quit [Read error: No route to host]
mbff has quit [Quit: Leaving]
radic has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
s2013 has quit [Max SendQ exceeded]
yfeldblum has quit [Ping timeout: 245 seconds]
radic has joined #ruby
Sawbones has joined #ruby
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lkba has quit [Ping timeout: 245 seconds]
Dolphi has quit [Quit: Leaving]
jordanm_ has quit [Ping timeout: 272 seconds]
psy_ has quit [Quit: Leaving]
s2013 has joined #ruby
Sawbones has quit [Remote host closed the connection]
troubadour has joined #ruby
freerobby has joined #ruby
razieliyo has quit [Remote host closed the connection]
Ankhers has joined #ruby
DadoCe has joined #ruby
braincra- has quit [Quit: bye bye]
psy_ has joined #ruby
troubadour has quit [Client Quit]
Sawbones has joined #ruby
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
DadoCe has quit [Ping timeout: 246 seconds]
Mon_Ouie has quit [Ping timeout: 276 seconds]
taiansu has joined #ruby
patrick99e99 has joined #ruby
braincrash has joined #ruby
tokik has joined #ruby
razieliyo has joined #ruby
jerematic has joined #ruby
taiansu has quit [Ping timeout: 245 seconds]
<epitron> pawprint: i believe so. try it :)
<epitron> if you look at Gemfile.lock, you'll see that it accounts for all the dependencies of all the gems in your Gemfile, and locks to their versions as well
jbw has quit [Ping timeout: 264 seconds]
<epitron> it would be weird if "bundle package" didn't lock down the deps as well
jerematic has quit [Ping timeout: 264 seconds]
mroach has joined #ruby
chipotle has quit [Quit: cheerio]
ta_ has joined #ruby
gomix has quit [Ping timeout: 245 seconds]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
icebourg has joined #ruby
akamel has quit [Quit: Leaving.]
s2013 has quit [Ping timeout: 272 seconds]
<lemur> so, odd one
<lemur> >> my_lambda = -> { 1 }; 10.times &my_lambda
<eval-in_> lemur => wrong number of arguments (1 for 0) (ArgumentError) ... (https://eval.in/243672)
<lemur> why?
ta_ has quit [Ping timeout: 265 seconds]
<lemur> >> my_lambda = -> { 1 }; 10.times my_lambda
<eval-in_> lemur => wrong number of arguments (1 for 0) (ArgumentError) ... (https://eval.in/243673)
lampd1 has joined #ruby
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
jbw has joined #ruby
lkba has joined #ruby
mroach has quit [Ping timeout: 272 seconds]
vozcelik has quit [Ping timeout: 245 seconds]
^wald0 has joined #ruby
josephndenton has joined #ruby
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
<eam> lemur: proc doesn't check arguments, lambada does
Sawbones has quit [Remote host closed the connection]
<lemur> ....derp
Sawbones has joined #ruby
<lemur> >> my_lambda = -> x { 1 }; 10.times &my_lambda
<eval-in_> lemur => 10 (https://eval.in/243674)
Sawbones has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 245 seconds]
hephaestus_rg has joined #ruby
mroach has joined #ruby
vdamewood has joined #ruby
<lemur> thanks mate, I'm losing it a bit.
duncan_ has quit [Remote host closed the connection]
CpuID has joined #ruby
CpuID has joined #ruby
djbkd has quit [Remote host closed the connection]
mikepack has joined #ruby
arup_r has joined #ruby
cantonic has left #ruby [#ruby]
bigmac has quit [Remote host closed the connection]
CpuID has quit [Client Quit]
<eam> ruby -e'puts "hello world";exit!'| tail -1
<eam> that's odd
mikepack has quit [Ping timeout: 256 seconds]
sbx has quit [Ping timeout: 246 seconds]
siloxid has quit [Remote host closed the connection]
<eam> ruby really should flush buffers on exit
<eam> even on exit!
shinnya has quit [Quit: ZNC - http://znc.in]
cyberarm has quit [Remote host closed the connection]
larissa has quit [Quit: Leaving]
chipotle has joined #ruby
s2013 has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
<arrubin> Hmm.
<arrubin> Works if it is not piped through tail.
<arrubin> Wonder why.
charliesome has joined #ruby
F_DOG has joined #ruby
<F_DOG> Hi
F_DOG has quit [Client Quit]
F_DOG has joined #ruby
F_DOG has quit [Client Quit]
F_DOG has joined #ruby
F_DOG has quit [Client Quit]
F_DOG has joined #ruby
jusmyth has joined #ruby
evanjs has quit [Remote host closed the connection]
Tricon has quit [Ping timeout: 276 seconds]
engineer_ has joined #ruby
engineer_ is now known as Cat_1
slawrence00 has quit [Quit: Textual IRC Client: www.textualapp.com]
<waxjar> eam: i ran into the same problem today :/ only "fix" i could find was to sleep for a little while before exit
<waxjar> did you find something better? :D
gkwhc has joined #ruby
mroach has quit [Quit: mroach]
Cache_Money has joined #ruby
<gkwhc> Hi, im trying to install a gem by "gem install bundle", but its saying that i dont have ruby/2.2.0/bin in my PATH. but i do see that directory in my PATH...any ideas?
F_DOG has quit [Quit: Leaving]
iamninja has joined #ruby
^wald0 has quit [Remote host closed the connection]
^wald0 has joined #ruby
billy_ran_away has quit [Remote host closed the connection]
ponga has quit [Quit: Leaving...]
commmmodo has quit [Quit: commmmodo]
siggy has joined #ruby
bronson has joined #ruby
taiansu has joined #ruby
maximski has quit []
siggy has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
dopie has joined #ruby
yfeldblum has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
pdoherty has joined #ruby
taiansu has quit [Ping timeout: 246 seconds]
russt has joined #ruby
gsd has quit [Quit: Textual IRC Client: www.textualapp.com]
siggy has joined #ruby
pdoherty has quit [Ping timeout: 244 seconds]
timanema has quit [Ping timeout: 245 seconds]
^wald0 has quit [Quit: ^wald0]
kapil__ has quit [Quit: Connection closed for inactivity]
timanema has joined #ruby
slawrence00 has joined #ruby
jusmyth has quit [Quit: Leaving.]
ndrei has joined #ruby
timanema has quit [Ping timeout: 245 seconds]
timanema has joined #ruby
chrishough has joined #ruby
yfeldblum has quit [Remote host closed the connection]
tus has quit []
<porfa> hmmm so, if i do .gsub(/\n/, "") i succesfully remove all the \n from a string, but how can i also remove the \r ? to i need to make another gsub or is it possible to tell gsub to remove \n and \r in one command? whats the synthax?
<dopie> bradland, got everything working
<dopie> :)
timanema has quit [Remote host closed the connection]
shakes has joined #ruby
rbennacer has joined #ruby
<centrx> porfa, in any order?
cantonic has joined #ruby
<porfa> yup
sevenseacat has joined #ruby
<porfa> i get what i want with… .gsub(/\n/, “”).gsub(/\r/, "") just wondering how to do it with just one statement
<centrx> .gsub(/\n|\r/, '')
<porfa> oh.. i can separete what i want with | ? like shellcomands? nice...!
<centrx> porfa, the /.../ signify it is a regular expression
<centrx> porfa, | represents "OR"
<porfa> *takes notes* :D
<centrx> :)
<porfa> what represents AND ?
<porfa> because i want AND not OR right?
kl__ has quit [Ping timeout: 264 seconds]
<porfa> i want to remove X and Y, not X OR Y
<porfa> or my logic is wrong :p
rbennacer has quit [Ping timeout: 245 seconds]
Sawbones has joined #ruby
<centrx> the regex _matches_ X OR Y
<porfa> ok
<centrx> which is to say, one or the other or both
tokik has quit [Ping timeout: 245 seconds]
<centrx> it's character-based, so a single digit/character cannot be "AND" because two characters can't be in the same place(\n and \r each represent a single character)
<centrx> /\n\r/ would be anywhere \n is followed by \r
<centrx> s/be/match
<porfa> about 10 years ago i was in this troll organization and i had the chance to learn ruby and perl and php from some masters of trolling (they used to automate everything to make trolling easier) i was to busy being a forum troll and i’ve let that chance go by… it was called the GNAA, dunno if you ever heard of it.. im old now LOL
<porfa> they used alot of complicated regex i hardly understood anything, but highly skilled dudes!
jacks_spleen has joined #ruby
<centrx> yeah I used to be a Wikipedia admin so I know all about that
<porfa> that’s all behind me now! :)
<porfa> ahhaha
jusmyth has joined #ruby
Loaft has joined #ruby
<porfa> im making a script to fetch me all the deals from the local (country wide) discount sites/group buy sites so i dont miss out on any good deal.. :D
<centrx> wow you've taken coupon-cutting to a new level
<porfa> i am running into a problem that i will ask help later on.. hope someone can help me out!
<porfa> LOL
<porfa> ahhaah
Sawbones has quit [Ping timeout: 256 seconds]
supergiel has quit [Quit: Leaving]
<porfa> i have no idea how the heck im going to join stuff from diferent sites, even though i have both sites on the same formated tables with the same column names and same number of columns….
<porfa> im thinking of making the script exporting everything into CSV, then turn the csv into html.. but maybe there’s an easier way!
<centrx> Use and ORM or SQL library like Sequel, ActiveRecord, etc.
rebcabin has joined #ruby
Rollabun_ has quit [Remote host closed the connection]
Mia has quit [Read error: Connection reset by peer]
<porfa> i have no DB expertise at all, but just by looking at the Sequel site it looks intresting and somewhat basic/perfect for my simple needs, thanks for the tip!
Rollabunna has joined #ruby
bluOxigen has joined #ruby
gkwhc has quit [Remote host closed the connection]
Loaft has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
<agent_white> Evenin'
<shevy> hey agent_white
<shevy> ready to rock the house?
<agent_white> I was only born ready! \o/
<dopie> anyone help me with st2 setup with ruby im trying to run the build but failed
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Max SendQ exceeded]
Pharaoh2 has joined #ruby
russt has quit [Quit: russt]
shakes has quit [Remote host closed the connection]
Pharaoh2 has quit [Client Quit]
Pharaoh2 has joined #ruby
timanema has joined #ruby
evanjs has joined #ruby
josephcs has joined #ruby
lampd1 has quit [Remote host closed the connection]
taiansu has joined #ruby
JoshGlzBrk has joined #ruby
Eiam_ has quit [Quit: (╯°□°)╯︵ ǝpouǝǝɹɟ]
yfeldblum has joined #ruby
timanema has quit [Ping timeout: 264 seconds]
timanema has joined #ruby
wereHamster has joined #ruby
blueOxigen has joined #ruby
brlkid has quit [Quit: ô¿ô]
jerematic has joined #ruby
russt has joined #ruby
yfeldblu_ has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 246 seconds]
sinkensabe has joined #ruby
iMe has quit [Ping timeout: 256 seconds]
jerematic has quit [Ping timeout: 245 seconds]
rebcabin has quit [Quit: Leaving.]
timanema has quit [Ping timeout: 264 seconds]
maletor has joined #ruby
iMe has joined #ruby
timanema has joined #ruby
kp666 has joined #ruby
shakes has joined #ruby
shakes has quit [Remote host closed the connection]
jusmyth has quit [Quit: Leaving.]
jusmyth has joined #ruby
jusmyth has quit [Client Quit]
sinkensabe has quit [Remote host closed the connection]
timanema has quit [Ping timeout: 245 seconds]
timanema has joined #ruby
chrishou_ has joined #ruby
patrick99e99 has quit [Ping timeout: 252 seconds]
evanjs has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
icebourg has quit []
Darryl___ has quit [Quit: Connection closed for inactivity]
lxsameer has joined #ruby
josephndenton has joined #ruby
patrick99e99 has quit [Ping timeout: 252 seconds]
Darryl___ has joined #ruby
timanema has quit [Ping timeout: 255 seconds]
ddd has joined #ruby
patrick99e99 has joined #ruby
timanema has joined #ruby
apple has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
apple is now known as Guest38593
josephndenton has quit [Ping timeout: 246 seconds]
Treyt22 has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest38593 has left #ruby [#ruby]
WishBoy has joined #ruby
Pharaoh2 has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Pharaoh2 has quit [Max SendQ exceeded]
cyberfab007 has joined #ruby
timanema has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
<cyberfab007> Hello
timanema has joined #ruby
<cyberfab007> how do I change the user permisisions on who can run a ruby script
pawprint has quit [Ping timeout: 265 seconds]
Treyt22 has quit [Quit: Leaving]
kl has joined #ruby
<shevy> why do we not have a Boolean superclass of true and false?
<shevy> cyberfab007 do you mean with ruby code itself, or unix command?
tokik has joined #ruby
<cyberfab007> unix command , I found this awesome script , I have to working and am trying to call it from a php script
djbkd has joined #ruby
<cyberfab007> but the script only runs when I run as super user
<shevy> cyberfab007 I think: chmod a+x name_of_script.rb
<cyberfab007> on ubunutu what is the file path of rubysscript
<shevy> eh?
<shevy> what is "rubysscript"
<cyberfab007> sorry , I have a touchy keybord
<shevy> take your time man
<cyberfab007> like /etc/bin/ ruby.rb
<shevy> press one key after the other :-)
<shevy> it should be at /usr/bin/ruby
rippa has joined #ruby
<cyberfab007> let me check
sevenseacat has quit [Ping timeout: 245 seconds]
<shevy> but you can always find out yourself
<shevy> cd /usr/bin/; ls ruby*
kl has quit [Ping timeout: 246 seconds]
<cyberfab007> humm not here
<shevy> have you installed ruby
<cyberfab007> yes
<shevy> can you do: "ruby -v"
<cyberfab007> script great
<shevy> can you do: "ruby -v"
<cyberfab007> ruby 2.1.2p95 (2014-05-08) [i386-linux-gnu]
<shevy> good, so you have ruby
<cyberfab007> I can only run the script as super user for some dame reason
<shevy> try to run it as a normal user
<cyberfab007> it says command not found
<shevy> go to the directory where it is and do: "ruby name_of_script.rb"
<shevy> eh?
<shevy> it can not find your ruby?
<shevy> you have a weird system ;)
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> fix $PATH setting for non-superusers first
<cyberfab007> where is that located
djbkd has quit [Ping timeout: 264 seconds]
<shevy> simply copy the same PATH to your non-superuser account; either in ~/.bashrc or somewhere else like /etc/profile
<shevy> it is a shell variable
<shevy> you can set it anywhere, you just need to source that file where it is defined
<shevy> for your superuser, do: echo $PATH
<shevy> then confirm that it is not the same for your non-superuser
<cyberfab007> l
<cyberfab007> ok
<cyberfab007> I am looking in /etc/profile
Pharaoh2 has joined #ruby
<cyberfab007> I do not see anything like that
<cyberfab007> the one file is hidden inside my home director
<cyberfab007> directory
timanema has quit [Ping timeout: 256 seconds]
<shevy> did you do echo $PATH
<cyberfab007> ok I am in the file
<ddd> as root do a 'which ruby' where does it say it's located? make sure that directory path is in your $PATH under your regular user
timanema has joined #ruby
<shevy> you should also get familiar with the *nix commandline
<ddd> as the regular user *outside the script* can you do a 'ruby -v' or no?
<ddd> i didn't see if you'd done that already or not
<cyberfab007> let me check
<ddd> shevy is on the right track, just checking a couple side issues
<cyberfab007> I can do a ruby -v as a normal user
bronak has quit [Quit: Be back later ...]
<shevy> did you not say that it says command not found
<ddd> same ruby version string as root?
<shevy> :P
<cyberfab007> yes
<ddd> shevy, sorry man, i missed that. so i asked
bronak has joined #ruby
<cyberfab007> ruby 2.1.2p95 (2014-05-08) [i386-linux-gnu]
<ddd> ok then set the first like of your ruby script to this: #!/usr/bin/env ruby
<ddd> then try again (making sure that the script is executable)
<cyberfab007> hummm, ok it is a gem I installed
<ddd> oh nm
ta_ has joined #ruby
uptownhr has joined #ruby
<shevy> ddd no need to talk to me, it's cyberfab007 who has a problem ;)
<ddd> thought this was something else. that last line i gave is useless
<shevy> I actually also meant that to cyberfab007 btw, because he said that the command was not found before
<shevy> and now suddenly it works (???)
<cyberfab007> nope
<ddd> freaky hehe
taiansu has quit [Remote host closed the connection]
CpuID has joined #ruby
CpuID has joined #ruby
<shevy> I kind of lost track anyway. does it work now cyberfab007?
timanema has quit [Ping timeout: 256 seconds]
<cyberfab007> no , does it matter if I am using RVM and it is a gem ?
<ddd> doesn't matter. he said its a gem he installed now. so now i'm umm lost
<cyberfab007> I very new to ruby
<cyberfab007> I am very old with php and c lol
<ddd> cyberfab007, yeah. rvm use <thatrubyyouinstalled>
<ddd> like for example rvm use 2.1.5 if you installed 2.1.5
timanema has joined #ruby
<shevy> ack
<shevy> you are now using rvm in addition to your system ruby?
<ddd> you did NOT use a gemset right? 'rvm install 2.1.5@username' for example
<cyberfab007> wait I will show you the instructions I followed to get the gem working
<ddd> no i think he installed rvm, didn't set a default, didn't install a ruby or didn't set a default and so both rvm AND him are getting confused
mesamoo has quit [Ping timeout: 246 seconds]
<ddd> uhhh no
<ddd> use RVM's homepage to set up rvm. not some outthere tutorial.
<ddd> rvm.io
ta_ has quit [Ping timeout: 276 seconds]
<cyberfab007> well it works fine when I am suer user lol
<cyberfab007> the gem installed and I can run it ,
<shevy> that setup sounds very confusing
<ddd> gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3 && cd $HOME && rm -rf .rvm && \curl -sSL https://get.rvm.io | bash && source ~/.bash_profile && rvm install --default 2.1.5
timanema has quit [Ping timeout: 245 seconds]
CpuID has quit [Quit: This computer has gone to sleep]
<cyberfab007> what ?
<ddd> change the 2.1.5 to whatever version you want installed
<ddd> run that entire string i just gave you at your command prompt. I'll dissect it for you before you do so you know what's happening
<ddd> first, it grabs the gpg key for RVM from a known gpg keyserver because different parts of rvm and its binary rubies are signed so you know its not tampered with
timanema has joined #ruby
WishBoy has quit [Remote host closed the connection]
<ddd> next you change to your user's homedir
<cyberfab007> k
<jacks_spleen> why are we escaping \curl nowadays? I saw that somewhere else
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ddd> then you rm the entire RVM directory, then you curl the RVM install script FROM rvm's home site and pipe it to bash so it runs
<ddd> then you source your ~/.bash_profile to make sure that rvm's script loads (which the installer put at the end of your profile)
<ddd> then you tell bash to install and make default a specific ruby. in that string i gave you I chose MRI's 2.1.5
<cyberfab007> well that first command is going anyways
Cache_Money has quit [Quit: Cache_Money]
<cyberfab007> I am gonna learn ruby cause there are some eidts I wanna make to the script
<ddd> jacks_spleen, so any aliases for curl aren't used
sinkensabe has joined #ruby
<jacks_spleen> really? well glad I asked
St1gma has quit [Quit: Leaving]
<ddd> cyberfab007, that ENTIRE command uses && between each step of the command set i gave you. what the && does is run a command before the && and if that fails do NOT run the next command. only run the next one if the one before it succeeded
<ddd> so run that ENTIRE string as i pasted it to you
bronson has joined #ruby
timanema has quit [Ping timeout: 256 seconds]
timanema has joined #ruby
Sawbones has joined #ruby
<ddd> if ANY single step fails, then no further commands will run. it also helps with debugging since each command runs in succession until either all complete or one fails. then you know what one failed
taiansu has joined #ruby
<cyberfab007> I am running the whole string
<ddd> good
<cyberfab007> it is still running
Channel6 has quit [Quit: Leaving]
<ddd> that commandset just reset your entire rvm installation, installs and sets a default ruby
jacks_spleen has quit [Quit: Leaving]
<ddd> yes, you WILL have to reinstall any gems you previously installed, but it A) ensures rvm is correctly set up and sourced and working, and B) installs a fresh clean ruby as well (ruby 2.1.5 in this case unless you changed the version number to like 1.9.3 or something)
<ddd> I highly suggest you read all our docs at http://rvm.io before you do anything else after this commandset finishes.
seal has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
<ddd> don't even install a gem. just go read our docs and see what you're doing with rvm before you start mucking with stuff. this way you'll *know* where stuff gets installed and why
<cyberfab007> k
<cyberfab007> it compiling still
<ddd> bear in mind that RVM is for those that need multiple ruby installs on a single machine, and want a fairly large commandset for working with those rubies. there are simpler toolsets out there such as chruby, rbfu and the like.
Pharaoh2 has joined #ruby
Sawbones has quit [Ping timeout: 245 seconds]
timanema has quit [Ping timeout: 256 seconds]
<cyberfab007> well I want a delvelopment enviorment
<ddd> err? it should not be compiling unless you added a .rvmrc to your homedir that directs rvm NOT to use binaries
<ddd> it defaults to using prebuilt rubies on install, not compiling
<cyberfab007> no error ,
<cyberfab007> well the command you gave me has it compliing
<ddd> the only thing it should be compiling might be one of the default gems that get installed, but i can't remember any that do
timanema has joined #ruby
<ddd> like a nokogiri or something
<ddd> but i don't think noko gets installed by default
<ddd> i need to check the repository real fast. see what default gems get installed. brb
<ddd> i run a seriously freakin custom rollout here so mine's useless to check
shellfu has quit [Remote host closed the connection]
kapil__ has joined #ruby
<cyberfab007> ok it finished
<cyberfab007> it still not running ,
<cyberfab007> that is the command I run as super user that runs the script
<ddd> ehh couldn't care less about taht. that's for you to deal with. i'm just checking your rvm install and the ruby it put in
<cyberfab007> I see
<ddd> do rvm --version && ruby -v
<cyberfab007> rvm --version && ruby -v
patric100e99 has quit [Quit: Lost terminal]
<cyberfab007> rvm 1.26.9 (master) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
<cyberfab007> ruby 2.1.2p95 (2014-05-08 revision 45877) [i686-linux]
<ddd> check 'rvm info' and make sure that the version string for ruby matches that in the ruby: section's 'version' string that 'rvm info' output
<cyberfab007> so how do I run the gem
robertt_dex has quit [Remote host closed the connection]
<ddd> you install it like any other gem. once rvm is installed, and you have a ruby installed and set as default, you run ruby, install gems, etc just exactly as you would as if rvm was not installed and in the picture
<ddd> this is where you learn ruby :)
<cyberfab007> cool
<ddd> rvm is meant specifically for installing multiple different ruby versions, and allowing you to use something called 'gemsets' to install multiple different gems into
ta_ has joined #ruby
<cyberfab007> this is the output now
hephaestus_rg has quit [Ping timeout: 264 seconds]
<ddd> and do so transparently once you've installed rvm, the rub(y|ies) you want, and created any gemsets you want to store gems in. after that, the rest is on you and is up to you and your ruby to work out :)
pdoherty has joined #ruby
<cyberfab007> ok so I did gem install linkedin-scraper again
<cyberfab007> it is running
Spami has joined #ruby
<ddd> cool. do what you have to with that gem. i did my part.
iMe has quit [Ping timeout: 244 seconds]
<cyberfab007> thank you
<ddd> the rest is up to you, your ruby knowledge, and that gem's support team
<ddd> no problem. :)
<ddd> bear in mind that the super user (root) will NOT have access to that ruby and it should NOT have access to that ruby
<cyberfab007> yes , I think where I initially screwed up was I installed all this as superuser
<ddd> i really hope you didn't install this all under root. root needs to use the system ruby for any scripts that are installed for system management.
<ddd> ok
pdoherty has quit [Ping timeout: 252 seconds]
<ddd> yeah never replace root's idea of ruby unless you *know* what you're doing and the impact of that change
patrick99e99 has quit [Ping timeout: 264 seconds]
iMe has joined #ruby
patrick99e99 has joined #ruby
<ddd> just like if you ever decide to do the 'global' install of rvm, *never* add root to the rvm group. always keep it separate unless you *know* what you're doing and the impact of that addition.
<cyberfab007> no it works under my local user
<ddd> good. with that, back to fixing this system.
<cyberfab007> wait one sec
ta_ has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
<cyberfab007> how do I add user www-data to have permissions to un this script
<ddd> ask in #linux. thats way outside the germane of rvm, ruby, or the related channels
josephcs_ has joined #ruby
<ddd> i would suggest you read the user manual for your particular distribution of linux before doing any changes like that. you need to know systems administration for that stuff
josephcs has quit [Ping timeout: 255 seconds]
<ddd> all of which most of the distribs include a handbook to teach you. like ubuntu's user manual for instance
jenrzzz has joined #ruby
josephcs_ is now known as josephcs
timanema has quit [Ping timeout: 256 seconds]
lessless has joined #ruby
<ddd> if this particular gem *requires* that you install it in such a way that a different user, not your regular user, be able to run this gem you can try emailing the author of the gem and see if they'll give you additional assistance.
kyb3r_ has joined #ruby
ta_ has joined #ruby
cyberfab007 has quit [Ping timeout: 255 seconds]
rbrs has joined #ruby
MasterPiece has joined #ruby
cyberfab007 has joined #ruby
<cyberfab007> hey I'm back
<cyberfab007> ok so ruby is installed properly
<cyberfab007> my local user can run ruby scirpts with out being super user,
<cyberfab007> but how do I give www-data permission to run the sript
<ddd> ask in #linux. thats way outside the germane of rvm, ruby, or the related channels
<ddd> i would suggest you read the user manual for your particular distribution of linux before doing any changes like that. you need to know systems administration for that stuff
hmsimha has joined #ruby
<ddd> all of which most of the distribs include a handbook to teach you. like ubuntu's user manual for instance
<ddd> if this particular gem *requires* that you install it in such a way that a different user, not your regular user, be able to run this gem you can try emailing the author of the gem and see if they'll give you additional assistance.
charliesome has quit [Quit: zzz]
<cyberfab007> where are the ruby scripts stored now
patrick99e99 has quit [Ping timeout: 252 seconds]
patrick99e99 has joined #ruby
charliesome has joined #ruby
ajaiswal has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
siggy has quit [Quit: siggy]
Fire-Dragon-DoL has quit [Quit: Leaving.]
billycravens has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
sevenseacat has joined #ruby
dyreshark has left #ruby ["WeeChat 0.4.2"]
kl has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iMe has quit [Ping timeout: 252 seconds]
kl has quit [Ping timeout: 272 seconds]
iMe has joined #ruby
davedev2_ has quit [Ping timeout: 245 seconds]
carvantes has joined #ruby
hmnhf has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
speaking1ode has quit [Ping timeout: 276 seconds]
Sawbones has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
kyb3r_ has joined #ruby
tokik has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: zzz]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hobodan has joined #ruby
anaeem1 has joined #ruby
Sawbones has quit [Ping timeout: 245 seconds]
<shevy> cyberfab007 come on man it is just a text file
<shevy> surely you will be able to find out where you put your own files!
patrick99e99 has quit [Ping timeout: 245 seconds]
oleo is now known as Guest17441
oleo__ has joined #ruby
josephndenton has joined #ruby
patrick99e99 has joined #ruby
speaking1ode has joined #ruby
Guest17441 has quit [Ping timeout: 256 seconds]
nuck has quit [Remote host closed the connection]
davedev24_ has joined #ruby
josephndenton has quit [Ping timeout: 245 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
MasterPiece has quit [Ping timeout: 264 seconds]
lessless has joined #ruby
seal has quit [Quit: Ex-Chat]
banister has joined #ruby
s2013 has quit [Ping timeout: 256 seconds]
uptownhr has quit [Quit: uptownhr]
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
jack_rabbit has quit [Ping timeout: 264 seconds]
yokel has quit [Ping timeout: 265 seconds]
ptrrr has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
patrick99e99 has joined #ruby
yokel has joined #ruby
josephcs has quit [Quit: (null)]
dc_ has quit [Remote host closed the connection]
MasterPiece has joined #ruby
anaeem1 has quit [Remote host closed the connection]
zarubin has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
zarubin has quit [Ping timeout: 256 seconds]
Rollabun_ has joined #ruby
Rollabunna has quit [Read error: No route to host]
patrick99e99 has joined #ruby
vinleod has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
carvantes has quit [Quit: WeeChat 0.3.7]
taiansu has quit [Remote host closed the connection]
vdamewood has quit [Ping timeout: 264 seconds]
vinleod is now known as vdamewood
armyriad has joined #ruby
Zai00 has joined #ruby
chrishou_ has quit [Quit: Textual IRC Client: www.textualapp.com]
govg has quit [Ping timeout: 245 seconds]
chrishough has joined #ruby
astrobunny has joined #ruby
yottanami has joined #ruby
kl has joined #ruby
hmnhf has quit [Ping timeout: 264 seconds]
<cyberfab007> still cant get this script to execute in my php script, like really ,
hobodan has quit [Quit: Leaving]
<sevenseacat> are you in the right channel?
jheg has joined #ruby
<cyberfab007> well I am still trying to underrstand the permsission settings for ruby
<cyberfab007> like even if it is sitting in my home folder, why when I set it to the group www-data wont it execute ?
<sevenseacat> execute how?
kl has quit [Ping timeout: 244 seconds]
<cyberfab007> I am trying to execute through php fucntion shell_exec($cmd) ;
<cyberfab007> the script exectues other commands for me , but this really important ruby script is being so stubborn
<apeiros> cyberfab007: ruby doesn't add anything beyond your OS's permissions/way of running exes
marr has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> so probably: make sure you have a proper shebang (that's that first line with `#!/path/to/ruby`), set +x properly etc.
<shevy> cyberfab007 you are not going in a systematic manner. Two questions: (a) What is the FULL location to the script in question? Please post it here. (b) Are you able to run that script without error as non-superuser?
armyriad has quit [Ping timeout: 244 seconds]
<shevy> cyberfab007 otherwise, the "permission settings for ruby" are 100% the same as for any other text file, such as php or perl; if you can not execute a file, you can't get it to work as a .php file either
<cyberfab007> ok
kyb3r_ has quit [Read error: Connection reset by peer]
<cyberfab007> /home/cyberfab007/.rvm/gems/ruby-2.1.2/bin/linkedin-scraper http://id.linkedin.com/pub/edri-chaniago/34/2a2/151
<shevy> cyberfab007 btw you can test with a small .rb file first: puts "hello world
Pharaoh2 has joined #ruby
<shevy> I forgot the trailing "
agent_white has quit [Quit: gewdnite.]
<cyberfab007> that is the command I put in shell_exec($cmd)
kyb3r_ has joined #ruby
<apeiros> cyberfab007: user installed rvm? does your webserver run under that user too?
<shevy> I guess your php can not access to that directory?
<cyberfab007> i have set group owner ship writes to www-data
<apeiros> cyberfab007: because if not, you'll have to make an rvm wrapper. see rvm.io for instructions.
<shevy> and btw don't you have a log file
<cyberfab007> ok
<cyberfab007> now we are getting somewhere
<cyberfab007> rvm is a user ?
<apeiros> no, rvm is the tool you obviously used to install ruby
<shevy> hehe
<apeiros> /home/cyberfab007/***.rvm***/gems/ruby-2.1.2/bin/linkedin-scraper
<cyberfab007> ok right
<apeiros> rvm loads env variables when you log-in. if you try to run that script with another user, those env variables are not present. hence -> rvm wrapper.
<cyberfab007> ok
<cyberfab007> let me check that out
SixiS has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
<cyberfab007> by the way script runs so beautiful lol
<cyberfab007> just need to put the output to my php script
<cyberfab007> no webserver runs under www-data
<cyberfab007> how can I add user www-data to rvm ?
<apeiros> cyberfab007: as said: by using an rvm wrapper.
<cyberfab007> I am googling that
<apeiros> *sob*
ptrrr has quit [Quit: ptrrr]
<apeiros> I gave you the f'ing link. no need to google. rvm.io
JohnBat26 has joined #ruby
sigurding has joined #ruby
CpuID has joined #ruby
CpuID has joined #ruby
<cyberfab007> I am looking for the wrapper doce on ther
SixiS has quit [Ping timeout: 255 seconds]
Roa has joined #ruby
mijicd has joined #ruby
wallerdev has quit [Quit: wallerdev]
<cyberfab007> apeiros, can you show me on the site where it talks about the wrapper
charliesome has joined #ruby
<cyberfab007> is it somthing like this
<cyberfab007> rvm wrapper 2.1.5@linkedin-scraper php http://us.linkedin.com/profile
iMe has quit [Ping timeout: 246 seconds]
<apeiros> hm, I expected wrapping to be a toplevel doc of rvm, but seems it only talks about it in context of other topics.
<apeiros> `rvm help wrapper` in your terminal should give some instructions too
<apeiros> the @ part is the gemset the wrapper should use. you can omit it if you don't use gemsets (which I assume you do not)
pdoherty has joined #ruby
iMe has joined #ruby
kotk_ has quit [Read error: Connection reset by peer]
kotk has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
<cyberfab007> just trying to build this command
bronson has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
wereHamster has quit [Quit: Lost terminal]
<cyberfab007> /home/cyberfab007/.rvm/gems/ruby-2.1.2@linkedin-scraper http://linkedin.com/[rofile
<cyberfab007> would that be the wrapper
pdoherty has quit [Ping timeout: 252 seconds]
maximski has joined #ruby
n008f4g_ has joined #ruby
krz has joined #ruby
maximski has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: zzz]
jheg has quit [Quit: jheg]
zzz030 has joined #ruby
jack_rabbit has joined #ruby
charliesome has joined #ruby
suffice has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
zarubin has joined #ruby
taiansu has joined #ruby
<cyberfab007> would that be the wrapper ?
Jackneill has joined #ruby
zarubin has quit [Ping timeout: 255 seconds]
russt has quit [Quit: russt]
neoxquick has joined #ruby
commmmodo has joined #ruby
amclain has quit [Quit: Leaving]
Darryl___ has quit [Quit: Connection closed for inactivity]
lkba has quit [Ping timeout: 265 seconds]
jerematic has joined #ruby
lampd1 has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
ponga has joined #ruby
mijicd has quit [Ping timeout: 256 seconds]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
bashusr has quit [Ping timeout: 264 seconds]
iMe has quit [Ping timeout: 264 seconds]
iMe has joined #ruby
jerematic has quit [Ping timeout: 252 seconds]
cpt_yossarian has joined #ruby
hmsimha has joined #ruby
sala has joined #ruby
<sala> is it possible to concatenate ranges, like eg ("a".."z" + "A".."Z").each{... ?
<cyberfab007> sala you know anything about gem wrappers
<sala> no, i do not
<arup_r> sala: Are you Indian?
<banister> sala: Enumerator.new { |y| ("a.."z")..each { |v| y << v }; ("A..Z").each { |v| y << v } }
<sala> no.. just a ruby newbie
<banister> >> Enumerator.new { |y| ("a.."z")..each { |v| y << v }; ("A..Z").each { |v| y << v } }.to_a
<eval-in_> banister => /tmp/execpad-cefaf4480ced/source-cefaf4480ced:2: syntax error, unexpected tIDENTIFIER, expecting ')' ... (https://eval.in/243703)
<arup_r> ok..
<cyberfab007> banister, you know anything about gem wrappers
<banister> >> Enumerator.new { |y| ("a".."z")..each { |v| y << v }; ("A..Z").each { |v| y << v } }.to_a
<eval-in_> banister => undefined method `each' for main:Object (NoMethodError) ... (https://eval.in/243704)
ARCADIVS has quit [Quit: ARCADIVS]
<banister> >> Enumerator.new { |y| ("a".."z").each { |v| y << v }; ("A..Z").each { |v| y << v } }.to_a
<eval-in_> banister => undefined method `each' for "A..Z":String (NoMethodError) ... (https://eval.in/243705)
Sawbones has joined #ruby
<arup_r> sala: very popular in word India
<arup_r> hehehe
<banister> >> Enumerator.new { |y| ("a".."z").each { |v| y << v }; ("A".."Z").each { |v| y << v } }.to_a
<eval-in_> banister => ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", ... (https://eval.in/243706)
<sala> yikes
<sala> i wanted soma but it was taken
<sala> lol
<banister> sala there u go ^
<sala> ahh.. nice! thanks!
<sala> sala is a bad word?? :-S
<sala> better find a new nick!
sala is now known as thuur
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<arup_r> humm bad word
<thuur> no probs now i am thuur which i'm sure means nothing
Sawbones has quit [Ping timeout: 256 seconds]
<thuur> [*'0'..'1', *'a'..'b', *'A'..'B'].each{|char| puts char}
seitensei has quit [Ping timeout: 256 seconds]
josephndenton has joined #ruby
aswen has joined #ruby
<thuur> >> [*'0'..'1', *'a'..'b', *'A'..'B'].each{|char| puts char}
<eval-in_> thuur => 0 ... (https://eval.in/243707)
yottanami has left #ruby ["PING 1421488824"]
<thuur> why does that work? is it iterating through an array of ranges..
<thuur> i thought the splat was a kind of concatenation operator
josephndenton has quit [Ping timeout: 252 seconds]
Darryl___ has joined #ruby
<apeiros> thuur: it works because [*'0'..'1'] expands to an array
lessless has joined #ruby
<apeiros> splat is not a concatenation operator. it is a "treat every item in this enumeration as a single argument"
<apeiros> >> [*1..6]
<eval-in_> apeiros => [1, 2, 3, 4, 5, 6] (https://eval.in/243708)
lemur has quit [Remote host closed the connection]
<apeiros> >> [*1..3, *10..13]
<eval-in_> apeiros => [1, 2, 3, 10, 11, 12, 13] (https://eval.in/243709)
<thuur> i see
<apeiros> and * invokes to_a on the object it applies to
<apeiros> so *1..3 --> *[1,2,3] --> 1,2,3
<apeiros> hence [*1..3] --> [1,2,3]
Spami has quit [Quit: This computer has gone to sleep]
iMe has quit [Ping timeout: 255 seconds]
tvw has joined #ruby
tujv has joined #ruby
iMe has joined #ruby
sbx has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sbx has quit [Max SendQ exceeded]
sbx has joined #ruby
Oberon4278 has joined #ruby
zorak8 has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<yxhuvud> it may not always be a good idea though, since it will create a zillion objects if you do it on a big range
commmmodo has quit [Quit: commmmodo]
otertore has joined #ruby
<apeiros> time to implement server<->client synchronization in my framework :D
commmmodo has joined #ruby
<apeiros> well, just the simplest way atm (last change wins)
thuur has quit [Quit: Lost terminal]
<Oberon4278> So, with yield... code blocks are just closures, right?
<Oberon4278> lexical closures*
jenrzzz has joined #ruby
codecop has joined #ruby
kl has joined #ruby
antgel has joined #ruby
last_staff has joined #ruby
<otertore> yes, blocks are closures
<Oberon4278> thanks
Spami has joined #ruby
kl has quit [Ping timeout: 256 seconds]
tujv has quit [Quit: leaving]
last_staff has quit [Read error: Connection reset by peer]
chinmay_dd_ has joined #ruby
taiansu has quit [Remote host closed the connection]
astrobunny has quit [Remote host closed the connection]
Hobogrammer has quit [Ping timeout: 265 seconds]
shime has joined #ruby
iMe has quit [Ping timeout: 276 seconds]
iMe has joined #ruby
neoxquick has quit [Quit: Miranda NG! Smaller, Faster, Easier. http://miranda-ng.org/]
bashusr has joined #ruby
n008f4g_ has quit [Ping timeout: 255 seconds]
zzz030 has left #ruby [#ruby]
Joufflu has quit [Read error: Connection reset by peer]
bashusr has quit [Ping timeout: 255 seconds]
bashusr has joined #ruby
cantonic has quit [Quit: cantonic]
<shevy> what exactly is a closure?
<shevy> a function without a name?
<mozzarella> no
lessless has joined #ruby
<mozzarella> for it to be a closure it must have access to the environment it was created in (have access to the local variables)
aswen has quit [Ping timeout: 245 seconds]
lolmaus has joined #ruby
nrcpts has joined #ruby
sbx has quit [Ping timeout: 245 seconds]
astrobunny has joined #ruby
<shevy> hmm
Akuma has joined #ruby
<shevy> well
Akuma has quit [Client Quit]
<shevy> a block's local environment is defined through the || right?
nrcpts has quit [Client Quit]
ghostlin_ has joined #ruby
<shevy> so that is what I don't quite understand; you can in principle redefine the || for a block or?
<mozzarella> that's not what I'm saying
<mozzarella> >> x = 1; t = ->() { x }; t.call
<eval-in_> mozzarella => 1 (https://eval.in/243717)
<apeiros_> more importantly:
<mozzarella> did they kill the robot?
<apeiros_> >> x = 1; def foo(closure); closure.call; end; closure = ->() { x + 1 }; foo(closure); x
<eval-in_> apeiros_ => 1 (https://eval.in/243718)
<mozzarella> see, the ability of t to access x is what makes it a closure
<apeiros_> >> x = 1; def foo(closure); closure.call; end; closure = ->() { x += 1 }; foo(closure); x
<eval-in_> apeiros_ => 2 (https://eval.in/243719)
<apeiros_> (whoopsie)
Trynemjoel has quit [Ping timeout: 272 seconds]
atmosx_ has joined #ruby
<apeiros_> the method foo has no access to the outside x. the closure does. and it can be passed around. it can even modify the outside x.
iMe has quit [Ping timeout: 240 seconds]
Trynemjoel has joined #ruby
iMe has joined #ruby
ghormoon has quit [Ping timeout: 255 seconds]
ghormoon has joined #ruby
ghostlin_ has quit [Quit: Textual IRC Client: www.textualapp.com]
malcolmva has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
zorak8 has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
ajaiswal has quit [Quit: Leaving]
superrorc has joined #ruby
ta_ has quit [Ping timeout: 272 seconds]
dcarmich has joined #ruby
zarubin has joined #ruby
taiansu has joined #ruby
Dolphi has joined #ruby
startupality has joined #ruby
zarubin has quit [Ping timeout: 240 seconds]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kaspertidemann has joined #ruby
MasterPiece has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
taiansu has quit [Ping timeout: 276 seconds]
vvivv has joined #ruby
atmosx_ has quit [Quit: Let him that would move the world first move himself. - Socrates]
kl has joined #ruby
keen__________35 has quit [Read error: Connection reset by peer]
djbkd has quit [Ping timeout: 245 seconds]
zacstewart has quit [Read error: Connection reset by peer]
keen__________35 has joined #ruby
sundjango has joined #ruby
roshanavand has quit [Ping timeout: 276 seconds]
josephndenton has joined #ruby
Oberon4278 has quit []
cantonic has joined #ruby
<cyberfab007> can someone assits me with understanding wrappers
<apeiros_> cyberfab007: #rvm is usually quite helpful
Dolphi has quit [Quit: Leaving]
Dolphi has joined #ruby
<apeiros_> also I only knew you were talking about *rvm* wrappers due to our previous chat. others wouldn't have a clue what you're talking about. provide context when you ask about things.
<cyberfab007> I have tried all this and I am so close
iMe has quit [Ping timeout: 276 seconds]
<cyberfab007> will try they
<cyberfab007> there
DadoCe has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
josephndenton has quit [Ping timeout: 245 seconds]
SOLDIERz has joined #ruby
iMe has joined #ruby
sinkensabe has joined #ruby
cantonic has quit [Client Quit]
cantonic has joined #ruby
MasterPiece has joined #ruby
ta_ has joined #ruby
DadoCe has quit [Ping timeout: 255 seconds]
lkba has joined #ruby
spider-mario has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
booly-yam_ has joined #ruby
booly-yam has quit [Ping timeout: 272 seconds]
iamninja has joined #ruby
DrCode has quit [Ping timeout: 250 seconds]
sundjango has quit [Ping timeout: 245 seconds]
iMe has quit [Ping timeout: 244 seconds]
nfk has joined #ruby
zarubin has joined #ruby
cantonic_ has joined #ruby
Dolphi has quit [Quit: Leaving]
iMe has joined #ruby
MasterPiece has quit [Ping timeout: 255 seconds]
ValicekB has quit []
ta_ has joined #ruby
DrCode has joined #ruby
blackoperat has joined #ruby
ponga has quit [Remote host closed the connection]
bronson has joined #ruby
ponga has joined #ruby
Trynemjoel has quit [Ping timeout: 256 seconds]
LekeFly has joined #ruby
nateberkopec has quit [Quit: Leaving...]
LekeFly has quit [Client Quit]
anaeem1 has joined #ruby
Trynemjoel has joined #ruby
startupality has quit [Quit: startupality]
bronson has quit [Ping timeout: 264 seconds]
startupality has joined #ruby
ponga has quit [Ping timeout: 256 seconds]
startupality has quit [Client Quit]
Xeago has joined #ruby
kaspertidemann has quit []
chinmay_dd_ has quit [Quit: Leaving]
ta_ has quit [Ping timeout: 252 seconds]
<guardian> how do you debug your ruby code?
<gizmore> personally i use "byebug"
sigurding has quit [Ping timeout: 264 seconds]
icbm has joined #ruby
<sevenseacat> i write code without bugs.
<gizmore> is that the reason i have never seen any code from you? :P
* gizmore runs and hides
<sevenseacat> ;)
oleo__ is now known as oleo
oleo has quit [Quit: Verlassend]
tvw has quit []
tvw has joined #ruby
MasterPiece has joined #ruby
oleo has joined #ruby
cantonic has quit [Quit: cantonic]
cantonic_ is now known as cantonic
TheKruex has joined #ruby
claymore has joined #ruby
cantonic has quit [Quit: cantonic]
ValicekB has joined #ruby
astrobunny has quit [Remote host closed the connection]
Xeago_ has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
krz has quit [Read error: Connection reset by peer]
krz has joined #ruby
C1V0 has joined #ruby
<guardian> that actually was a serious question :/
Xeago has quit [Ping timeout: 265 seconds]
<guardian> I've started playing with pry and pry-byebug but maybe there's something else
<gizmore> maybe emacs or vi is fun too for ruby
claymore has quit [Quit: Leaving]
<gizmore> there are debugger plugins available for both, iirc
kl has quit [Ping timeout: 276 seconds]
astrobunny has joined #ruby
cantonic has joined #ruby
rbrs has quit [Quit: rbrs]
cantonic has quit [Client Quit]
n008f4g_ has joined #ruby
try has joined #ruby
jack_rabbit has quit [Ping timeout: 265 seconds]
zacstewart has joined #ruby
pjaspers_ has joined #ruby
govg has joined #ruby
<shevy> sevenseacat your code may not have bugs but surely a few mice
pjaspers_ has quit [Client Quit]
jack_rabbit has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
DrCode has quit [Ping timeout: 250 seconds]
iMe has quit [Ping timeout: 276 seconds]
Sawbones has joined #ruby
codecop has quit [Remote host closed the connection]
<vvivv> hello,could u show good sample working with background job
iMe has joined #ruby
blackoperat has quit [Ping timeout: 255 seconds]
<vvivv> i have sinatra web site and want make background job which will update twenty objects
<crome> vvivv: check out sidekiq
YamakasY has joined #ruby
Sawbones has quit [Ping timeout: 244 seconds]
YamakasY has quit [Excess Flood]
astrobunny has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Deele has joined #ruby
YamakasY has joined #ruby
cpruitt has joined #ruby
keen__________36 has joined #ruby
keen__________35 has quit [Ping timeout: 256 seconds]
Spami has quit [Quit: This computer has gone to sleep]
vyorkin has joined #ruby
El3k0n has joined #ruby
DrCode has joined #ruby
j0n3 has joined #ruby
TheKruex has quit []
siaw has joined #ruby
kl has joined #ruby
j0n3 has quit [Quit: Leaving]
zorak8 has joined #ruby
j0n3 has joined #ruby
pdoherty has joined #ruby
bronson has joined #ruby
ponga has joined #ruby
taiansu has joined #ruby
pdoherty has quit [Ping timeout: 246 seconds]
lessless has joined #ruby
djbkd has joined #ruby
m8 has joined #ruby
maximski has joined #ruby
russt has joined #ruby
metadave has joined #ruby
vyorkin has quit [Quit: WeeChat 1.0.1]
cpruitt has quit [Quit: cpruitt]
j0n3 has quit [Quit: Leaving]
ponga has quit [Ping timeout: 245 seconds]
j0n3 has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
<cyberfab007> quick question , my ruby scirpt does not use a proxy to pull a webpage, is there a easy way to wrap it up so it does use a proxy ip ?
djbkd has quit [Ping timeout: 255 seconds]
metadave has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
<Cat_1> Net::HTTP::PRoxy
<Cat_1> but New should also do this
<Cat_1> depending on yuour version of Ruby
zarubin_ has joined #ruby
<cyberfab007> I am running 2.1
teddyp1cker has joined #ruby
<Cat_1> Look at the docs for HTTP module
josephndenton has joined #ruby
<cyberfab007> thanks
djbkd has quit [Ping timeout: 252 seconds]
zarubin_ has quit [Ping timeout: 245 seconds]
jack_rabbit has quit [Ping timeout: 240 seconds]
josephndenton has quit [Ping timeout: 276 seconds]
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
jack_rabbit has joined #ruby
anaeem1 has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
adriancb has quit [Remote host closed the connection]
tier has joined #ruby
adriancb has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
anaeem1 has joined #ruby
bashusr has quit [Ping timeout: 245 seconds]
cyberarm has joined #ruby
adriancb has quit [Ping timeout: 276 seconds]
anaeem1 has quit [Ping timeout: 245 seconds]
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
gomix has joined #ruby
rebcabin has joined #ruby
gwillickers has joined #ruby
djbkd has joined #ruby
TrOuBleStArTeR has joined #ruby
booly-yam_ has quit [Ping timeout: 255 seconds]
hgl has quit [Ping timeout: 276 seconds]
lukeholder has quit [Quit: Textual IRC Client: www.textualapp.com]
El3k0n has quit [Quit: Sto andando via]
_maes_ has joined #ruby
postmodern has quit [Quit: Leaving]
gwillickers has left #ruby ["spoop!"]
rkalfane has joined #ruby
crazydiamond has quit [Ping timeout: 255 seconds]
dc_ has joined #ruby
jack_rabbit has quit [Ping timeout: 264 seconds]
booly-yam_ has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
djbkd has quit [Ping timeout: 256 seconds]
hgl has joined #ruby
commmmodo has quit [Quit: commmmodo]
charliesome has quit [Quit: zzz]
Asher has joined #ruby
msgodf has joined #ruby
Asher is now known as Guest34750
siaw has quit [Quit: siaw]
Cat_1 has quit []
siaw has joined #ruby
Guest34750 has quit [Client Quit]
booly-yam_ has quit [Remote host closed the connection]
kaspertidemann has joined #ruby
jheg has joined #ruby
anaeem1_ has joined #ruby
dc_ has quit [Ping timeout: 264 seconds]
Darryl___ has quit [Quit: Connection closed for inactivity]
jerematic has joined #ruby
lifenoodles has joined #ruby
C1V0 has quit []
GeorgesLeYeti has joined #ruby
<GeorgesLeYeti> Hi
siaw has left #ruby [#ruby]
tus has joined #ruby
<GeorgesLeYeti> I want to remove every space between '.' for example ". . ." to "..." but when i try '. . .'.gsub(". .", "..") then i make ".. ."
yokel has quit [Ping timeout: 245 seconds]
TrOuBleStArTeR_ has joined #ruby
yokel has joined #ruby
<GeorgesLeYeti> Btw i don't wanna make gsub(' .', '.')
<gizmore> because it looks like a pair of ... well :P
<Mon_Ouie> You can use a regular expression with lookahead to avoid that (substituting overlapping matches can't really work well)
<Mon_Ouie> /\. (?=\.)/
<apeiros> +
TrOuBleStArTeR_ is now known as troubletsarter
TrOuBleStArTeR has quit [Ping timeout: 244 seconds]
anaeem1_ has quit [Remote host closed the connection]
troubletsarter is now known as troubletstarter
troubletstarter is now known as TrOuBLeStArTeR
<GeorgesLeYeti> Mon_Ouie: Ty
sevenseacat has quit [Remote host closed the connection]
* pontiki waves
<apeiros> hi pontiki
<pontiki> hi, apeiros
CustosL1men has joined #ruby
ponga has joined #ruby
bronson has joined #ruby
teddyp1cker has quit [Read error: Connection timed out]
GeorgesLeYeti has quit [Quit: Leaving]
zchee has joined #ruby
jerius has joined #ruby
djbkd has joined #ruby
teddyp1cker has joined #ruby
kp666 has quit [Remote host closed the connection]
jefus__ has joined #ruby
kirun has joined #ruby
Cat_1 has joined #ruby
slawrence00 has joined #ruby
blizzy has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
ponga has quit [Ping timeout: 272 seconds]
dimaursu16 has quit [Ping timeout: 276 seconds]
djbkd has quit [Ping timeout: 256 seconds]
jefus_ has quit [Ping timeout: 272 seconds]
arietis has joined #ruby
yokel has quit [Ping timeout: 276 seconds]
freerobby has joined #ruby
jerius has quit []
antonmur has joined #ruby
roshanavand has joined #ruby
<antonmur> hello! i have a class method, which uses some other utility method. i want that utility method to make class method that called him to go 'super'
<arup_r> Why not working ?
<arup_r> >> (0..2).map { |n| '?\C-'"#{n.chr}" }
<eval-in_> arup_r => ["?\\C-\u0000", "?\\C-\u0001", "?\\C-\u0002"] (https://eval.in/243763)
<arup_r> ok working it seems
MasterPiece has quit [Quit: Leaving]
<arup_r> not working :(
<arup_r> >> ?\C-a
<eval-in_> arup_r => "\u0001" (https://eval.in/243764)
<arup_r> worked
<arup_r> But (0..2).map { |n| '?\C-'"#{n.chr}" } not
Asher- has joined #ruby
<arup_r> How to fix it ?
<apeiros> arup_r: seriously, you've been long enough on irc to know how to properly ask a question
<arup_r> Look here
<apeiros> define "not working". it works perfectly.
AlexRussia has quit [Ping timeout: 245 seconds]
sundjango has joined #ruby
<arup_r> sure
<arup_r> >> ?\C-a
<eval-in_> arup_r => "\u0001" (https://eval.in/243767)
<arup_r> is correct
<arup_r> But when I am doing
<arup_r> >> '?\C-'"#{97.chr}"
<eval-in_> arup_r => "?\\C-a" (https://eval.in/243768)
sundjango has quit [Remote host closed the connection]
rurban has joined #ruby
<arup_r> not getting the correct output..
<apeiros> yes. you get the correct output.
<arup_r> apeiros: Am I clear
rurban has left #ruby [#ruby]
<apeiros> maybe instead of insisting it is not correct, you tell us what you *expect*.
<arup_r> I want the output "\u0001"
<apeiros> then why do you use single quotes?
agjacome has joined #ruby
<arup_r> Because double didn't work too
<apeiros> *sob*
<apeiros> "didn't work" is idiotic.
<apeiros> yes, it did work.
<arup_r> >> "?\C-""#{97.chr}"
<eval-in_> arup_r => "?\u0002" (https://eval.in/243769)
<apeiros> work != doing what you expect.
<IceDragon> >> eval('1')
<eval-in_> IceDragon => 1 (https://eval.in/243770)
<arup_r> apeiros: be patience
djbkd has joined #ruby
Sawbones has joined #ruby
<arup_r> >> "?\C-""#{97.chr}" == ?\C-a
<eval-in_> arup_r => "?\u0002" (https://eval.in/243771)
<IceDragon> >> eval("?\C-#{97.chr}")
<eval-in_> IceDragon => (eval):1: syntax error, unexpected '{', expecting end-of-input ... (https://eval.in/243772)
<arup_r> apeiros: You are making me confused
<apeiros> arup_r: I'll be patient when you ask a sensible question. until then, I'm gone.
<arup_r> My intention is very clear
<apeiros> no, it's not.
<arup_r> yes it is
<antonmur> stop fighting kids
<apeiros> but well, look, your answer is somewhere in here: http://www.zenspider.com/Languages/Ruby/QuickRef.html
<apeiros> very clear too.
<arup_r> Can't you see?
<apeiros> (not)
<arup_r> ?\C-a is giving correct out.. But when I am trying to get the same when I have number 97 whose character representation is "a"
<arup_r> with some string interpolation things not working... Because I was wrong
larissa has joined #ruby
<apeiros> ?\C-* is a literal. you can't use interpolation with it.
anaeem1_ has joined #ruby
<IceDragon> >> eval "?\\C-#{97.chr}"
<eval-in_> IceDragon => "\u0001" (https://eval.in/243773)
<IceDragon> Do I win?
<IceDragon> :D
<arup_r> IceDragon: +1
alex88 has joined #ruby
<apeiros> well, actually \C*
_1_kfay2 has joined #ruby
_1_kfay2 has quit [Client Quit]
<arup_r> I forgot evak :p
djbkd has quit [Ping timeout: 245 seconds]
Sawbones has quit [Ping timeout: 276 seconds]
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
<arup_r> IceDragon: Yes,, because you had patience... :)
<IceDragon> Nope, I just wanted to tinker with it :P I'm actually very impatient
kaspertidemann has quit []
* arup_r wants to shakes his hands with IceDragon: :)
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harushimo has quit [Ping timeout: 255 seconds]
<arup_r> apeiros: We are friends.. Thanks for trying to help me, :)
zorak8 has quit [Ping timeout: 276 seconds]
Oberon4278 has joined #ruby
bashusr has joined #ruby
djbkd has joined #ruby
arietis has joined #ruby
Darryl___ has joined #ruby
jefus__ is now known as jefus
ta_ has joined #ruby
timanema has joined #ruby
dimaursu16 has joined #ruby
antonmur has quit [Quit: antonmur]
AlexRussia has joined #ruby
booly-yam-9806 has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
it0a has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
apeiros has quit [Ping timeout: 256 seconds]
pdoherty has joined #ruby
ta_ has joined #ruby
wpp has joined #ruby
astrobunny has joined #ruby
djbkd has joined #ruby
j0n3 has quit [Read error: Connection reset by peer]
blizzy has quit [Ping timeout: 245 seconds]
ponga has joined #ruby
ta_ has quit [Ping timeout: 245 seconds]
pdoherty has quit [Ping timeout: 244 seconds]
josephndenton has joined #ruby
russt has quit [Quit: russt]
j0n3 has joined #ruby
tier has quit [Remote host closed the connection]
booly-yam-9806 has quit [Remote host closed the connection]
djbkd has quit [Ping timeout: 245 seconds]
j0n3_ has joined #ruby
booly-yam-5315 has joined #ruby
j0n3_ has quit [Read error: Connection reset by peer]
ponga has quit [Ping timeout: 252 seconds]
blizzy has joined #ruby
DadoCe has joined #ruby
booly-yam-5315 has quit [Remote host closed the connection]
CustosL1men has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
josephndenton has quit [Ping timeout: 272 seconds]
<shevy> we are all friends with apeiros_
<shevy> but not with apeiros
booly-yam-1412 has joined #ruby
<shevy> or vice versa
<shevy> I should park a shevy_ nick here too!
sigurding has joined #ruby
davedev2_ has joined #ruby
DadoCe has quit [Ping timeout: 245 seconds]
davedev24_ has quit [Ping timeout: 264 seconds]
rebcabin has quit [Quit: Leaving.]
zarubin_ has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
scripore has joined #ruby
mac__ has joined #ruby
FDj_ has joined #ruby
djbkd has joined #ruby
booly-yam-1412 has quit [Remote host closed the connection]
booly-yam-9109 has joined #ruby
booly-yam-9109 has quit [Remote host closed the connection]
alex88 has quit [Remote host closed the connection]
zarubin_ has quit [Ping timeout: 264 seconds]
fandi has joined #ruby
adriancb has joined #ruby
booly-yam-4658 has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
V_Ve has joined #ruby
ferr has joined #ruby
booly-yam-464 has joined #ruby
asmodlol has quit [Read error: Connection reset by peer]
oz is now known as oz`
djbkd has quit [Ping timeout: 240 seconds]
Sawbones has joined #ruby
Olipro has joined #ruby
Olipro has quit [Read error: Connection reset by peer]
booly-yam-4421 has joined #ruby
maximski has quit []
bronak has quit [Quit: Be back later ...]
Sawbones has quit [Ping timeout: 244 seconds]
booly-yam-464 has quit [Remote host closed the connection]
booly-yam-4421 has quit [Remote host closed the connection]
booly-yam-4658 has quit [Remote host closed the connection]
bronak has joined #ruby
freerobby has quit [Quit: Leaving.]
zchee has quit [Quit: Textual IRC Client: www.textualapp.com]
booly-yam-3171_ has joined #ruby
zchee has joined #ruby
bronson has joined #ruby
jerematic has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
startupality has joined #ruby
goodenough has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
zchee_ has joined #ruby
zchee has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
Jackneill has quit [Ping timeout: 244 seconds]
VictorBjelkholm has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
unreal has joined #ruby
wpp has quit [Ping timeout: 256 seconds]
tus has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
Spami has joined #ruby
Gacha has joined #ruby
tvw has quit []
leafybasil has quit [Remote host closed the connection]
Tuxero has joined #ruby
Bishop has joined #ruby
Spami has quit [Client Quit]
alex88 has joined #ruby
djbkd has quit [Ping timeout: 255 seconds]
Xeago_ has quit [Ping timeout: 264 seconds]
goodenough has quit [Read error: Connection reset by peer]
Jackneill has joined #ruby
Olipro has joined #ruby
goodenough has joined #ruby
sigurding has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
shime has quit [Ping timeout: 245 seconds]
alex88 has quit [Remote host closed the connection]
djbkd has joined #ruby
vvivv has quit [Quit: Leaving]
ndrei has quit [Ping timeout: 245 seconds]
_Andres has quit [Read error: Connection reset by peer]
_Andres has joined #ruby
zchee_ has quit [Quit: Textual IRC Client: www.textualapp.com]
sigurding has joined #ruby
russt has joined #ruby
zchee has joined #ruby
Jackneill has quit [Ping timeout: 256 seconds]
VictorBjelkholm has quit [Quit: Leaving]
djbkd has quit [Ping timeout: 265 seconds]
lemur has joined #ruby
Megtastique has joined #ruby
hiyosi has joined #ruby
freerobby has quit [Quit: Leaving.]
ponga has joined #ruby
ss_ has joined #ruby
josephndenton has joined #ruby
freerobby has joined #ruby
YamakasY has quit [Excess Flood]
MartynKeigher has joined #ruby
ponga has quit [Ping timeout: 246 seconds]
DadoCe has joined #ruby
mrmargolis has joined #ruby
djbkd has joined #ruby
rebcabin has joined #ruby
freerobby has quit [Quit: Leaving.]
Trynemjoel has quit [Ping timeout: 272 seconds]
thsig has joined #ruby
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DadoCe has quit [Ping timeout: 245 seconds]
zacstewart has joined #ruby
Trynemjoel has joined #ruby
fjfish has joined #ruby
Asher- is now known as Asher
<bradland> are literals like ?\C covered in the pickaxe book?
YamakasY has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
<bradland> programming language features are hard to search for :\
Spami has joined #ruby
Trynemjoel has quit [Ping timeout: 256 seconds]
zacstewart has quit [Ping timeout: 256 seconds]
<bradland> i mean, try searching google or ddg for 'ruby "?\C"'
djbkd has joined #ruby
Megtastique has quit []
asmodlol has joined #ruby
adriancb has quit [Remote host closed the connection]
timonv_ has joined #ruby
Trynemjoel has joined #ruby
lemur has quit []
<waxjar> bradland: ?a is a character literal. it's syntax "sugar" for "a"
zchee has quit [Quit: Textual IRC Client: www.textualapp.com]
<waxjar> there's little reason to use them, imo
iamvery has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
<bradland> ah, look like a holdover from the past
<bradland> er, sounds like
Gacha has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
PanzerModern has joined #ruby
ndrei has joined #ruby
<bradland> pry
Gacha has joined #ruby
Trynemjoel has quit [Ping timeout: 272 seconds]
KnownSyntax has quit [Quit: Connection closed for inactivity]
Trynemjoel has joined #ruby
djbkd has joined #ruby
ta_ has joined #ruby
Sawbones has joined #ruby
Joshun has joined #ruby
Joshun has left #ruby [#ruby]
cstrahan_ has quit [Ping timeout: 244 seconds]
hellschreiber has quit [Ping timeout: 276 seconds]
djbender has quit [Ping timeout: 252 seconds]
Darryl___ has quit [Ping timeout: 272 seconds]
tiagonobre__ has quit [Ping timeout: 245 seconds]
jblancett has quit [Ping timeout: 245 seconds]
casual_ has quit [Ping timeout: 245 seconds]
chrisseaton has quit [Ping timeout: 245 seconds]
OliverTynes has quit [Ping timeout: 245 seconds]
michaeldeol has joined #ruby
josephndenton has quit [Ping timeout: 255 seconds]
featheryahn_ has quit [Ping timeout: 244 seconds]
djbkd has quit [Ping timeout: 245 seconds]
maZtah has quit [Ping timeout: 276 seconds]
zarubin has quit [Quit: Leaving.]
ZucchiniZe has quit [Ping timeout: 245 seconds]
n1ftyn8 has quit [Ping timeout: 272 seconds]
debill has joined #ruby
zchee has joined #ruby
debill has quit [Max SendQ exceeded]
callenb___ has quit [Ping timeout: 244 seconds]
MiracleBlue_ has quit [Ping timeout: 244 seconds]
skmp has quit [Ping timeout: 245 seconds]
jeregrine has quit [Ping timeout: 276 seconds]
vcoinminer has quit [Ping timeout: 272 seconds]
ta_ has quit [Ping timeout: 276 seconds]
djbkd has joined #ruby
iamvery has quit [Quit: Leaving...]
mrmargolis has quit [Remote host closed the connection]
commmmodo has joined #ruby
zchee has quit [Client Quit]
scripore has quit [Quit: This computer has gone to sleep]
mac__ has quit [Quit: This computer has gone to sleep]
<shevy> >> ?a
<eval-in_> shevy => "a" (https://eval.in/243790)
<shevy> damn
antonmur has joined #ruby
<shevy> was that always so? even in ruby 1.8.x?
<shevy> hmm bot ... how do I use you for 1.8
Sawbones has quit [Remote host closed the connection]
dcarmich has joined #ruby
<antonmur> Hello! Could someone help me make that DRY - https://gist.github.com/mib32/38ffc3b871d51580fe8d ? this code monkey patches two methods, in exact same manner - they both need to either return something, either go super
diegoviola has joined #ruby
scripore has joined #ruby
mac__ has joined #ruby
<jhass> antonmur: I don't think you'll be able to improve on that
zchee has joined #ruby
<antonmur> jhass: ya i also think but maybe there's a genius in that room
rbennacer has joined #ruby
mrmargolis has joined #ruby
scripore has quit [Client Quit]
mac__ has quit [Client Quit]
zchee has quit [Client Quit]
djbkd has quit [Ping timeout: 252 seconds]
<jhass> I mean I could imagine a pseudo DSL to make that one line thingys, but the boilerplate to do that is larger than what you save
<jhass> it's just two methods
<jhass> also monkey patches should hurt ;)
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zchee has joined #ruby
timonv_ has quit [Remote host closed the connection]
<antonmur> well, i thought that it's common to modify rails engine through patches
timonv_ has joined #ruby
djbkd has joined #ruby
<antonmur> thank you though,
<jhass> I hope not!
rkalfane has joined #ruby
<timanema>
booly-yam-3171_ has quit [Ping timeout: 240 seconds]
freerobby has quit [Quit: Leaving.]
blizzy has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
djbkd has quit [Ping timeout: 264 seconds]
<arup_r> shevy: do >> rmv use 1.8.7 :)
<shevy> no there was some other syntax
<shevy> 1.9>> puts 'hi'
<shevy> hmm
timonv_ has quit [Remote host closed the connection]
Gacha has quit [Read error: No route to host]
ascarter has joined #ruby
ta_ has quit [Ping timeout: 245 seconds]
leafybasil has joined #ruby
Cat_1 has quit [Ping timeout: 255 seconds]
goodenough has quit [Remote host closed the connection]
dimaursu16 has quit [Ping timeout: 264 seconds]
<jhass> without the dot
Tuxero has quit [Remote host closed the connection]
<jhass> 18>> ?a
<eval-in_> jhass => 97 (https://eval.in/243791)
goodenough has joined #ruby
mrmargolis has quit [Remote host closed the connection]
roshanavand has quit [Ping timeout: 240 seconds]
pdoherty has joined #ruby
Cat_1 has joined #ruby
leafybasil has quit [Ping timeout: 246 seconds]
nateberkopec has joined #ruby
try has quit [Ping timeout: 265 seconds]
rebcabin has quit [Quit: Leaving.]
ponga has joined #ruby
pdoherty has quit [Ping timeout: 246 seconds]
timonv_ has joined #ruby
pusewicz has joined #ruby
vcoinminer has joined #ruby
djbkd has joined #ruby
alol_ has joined #ruby
<arup_r> jhass: where are those documented?
<arup_r> 18>>... 19 >> etc
<eval-in_> arup_r => /tmp/execpad-4cb99bfe1ea7/source-4cb99bfe1ea7:2: syntax error, unexpected tDOT3 ... (https://eval.in/243795)
OliverTynes has joined #ruby
<arup_r> Oopss! Sorry sorry
tiagonobre__ has joined #ruby
<jhass> arup_r: in the brains of a couple of dozens people that are in this channel I presume
jeregrine has joined #ruby
zchee has quit [Quit: Textual IRC Client: www.textualapp.com]
bjeanes_ has joined #ruby
featheryahn_ has joined #ruby
ponga has quit [Ping timeout: 245 seconds]
<arup_r> Ok... We can also put them channel README section if possible.. :)
Trieste has joined #ruby
<arup_r> I never knew that
<jhass> 10>> RUBY_VERSION
<eval-in_> jhass => /tmp/execpad-87c6c3ac9549/source-87c6c3ac9549:4: TypeError: can't modify frozen string (https://eval.in/243796)
<jhass> :( still broken
dimaursu16 has joined #ruby
adambeynon has joined #ruby
hellschreiber has joined #ruby
roshanavand has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
<bradland> this is quite possible the best walk through Ruby's block pattern i've ever read: http://devblog.avdi.org/2015/01/16/why-does-ruby-have-blocks/
n1ftyn8 has joined #ruby
zarubin has joined #ruby
arup_r has quit [Quit: Leaving.]
antonmur has quit [Quit: antonmur]
arup_r has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
it0a has quit [Ping timeout: 245 seconds]
ta_ has joined #ruby
Akuma has joined #ruby
maZtah has joined #ruby
nateberkopec has quit [Quit: Leaving...]
Akuma has quit [Client Quit]
zarubin has quit [Ping timeout: 276 seconds]
Fire-Dragon-DoL has joined #ruby
Fire-Dragon-DoL has quit [Max SendQ exceeded]
adriancb has joined #ruby
bronson has joined #ruby
tmoore_ has joined #ruby
dc_ has joined #ruby
djbkd has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
Sawbones has joined #ruby
timonv_ has quit [Remote host closed the connection]
sinkensabe has quit []
adriancb has quit [Ping timeout: 264 seconds]
bcavileer_ has joined #ruby
JoshGlzBrk has joined #ruby
ZucchiniZe has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
Fire-Dragon-DoL has joined #ruby
dc_ has quit [Ping timeout: 276 seconds]
djbkd has quit [Ping timeout: 255 seconds]
charles81 has joined #ruby
casual_ has joined #ruby
callenb___ has joined #ruby
arietis has joined #ruby
TrOuBLeStArTeR has quit [Quit: Going offline, see ya! (www.adiirc.com)]
rfv has joined #ruby
djbender has joined #ruby
Darryl___ has joined #ruby
skmp has joined #ruby
icebourg has joined #ruby
ascarter has joined #ruby
hackeron has joined #ruby
staticshock has joined #ruby
chrisseaton has joined #ruby
cstrahan_ has joined #ruby
bashusr has quit [Ping timeout: 256 seconds]
arup_r has quit [Read error: Connection timed out]
thsig has quit []
MiracleBlue_ has joined #ruby
arup_r has joined #ruby
TrOuBLeStArTeR has joined #ruby
djbkd has joined #ruby
timonv_ has joined #ruby
rbrs has joined #ruby
Sawbones has quit [Remote host closed the connection]
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sawbones has joined #ruby
havenwood has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
tus has joined #ruby
wallerdev has joined #ruby
sigurding has quit [Quit: sigurding]
astrobunny has quit [Remote host closed the connection]
arietis has joined #ruby
j0n3 has quit [Quit: Leaving]
j0n3 has joined #ruby
djbkd has joined #ruby
Sawbones has quit [Ping timeout: 256 seconds]
fedexo has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
V_Ve has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 245 seconds]
Channel6 has joined #ruby
V_Ve has joined #ruby
timonv_ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
jblancett has joined #ruby
athan has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
djbkd has joined #ruby
cyberarm has quit [Remote host closed the connection]
Rollabun_ has quit [Remote host closed the connection]
Rollabunna has joined #ruby
zacstewart has joined #ruby
kaspertidemann has joined #ruby
rbennacer has quit [Ping timeout: 240 seconds]
djbkd has quit [Ping timeout: 264 seconds]
ss__ has joined #ruby
djbkd has joined #ruby
nateberkopec has joined #ruby
kstuart has quit []
ash_m has quit [Quit: Page closed]
ponga has joined #ruby
xsdg has quit [Ping timeout: 246 seconds]
sigurding has joined #ruby
ss_ has quit [Ping timeout: 276 seconds]
xsdg has joined #ruby
sinkensabe has joined #ruby
djbkd has quit [Ping timeout: 265 seconds]
zchee has joined #ruby
rylev has joined #ruby
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
ponga has quit [Ping timeout: 272 seconds]
ddd has quit [Quit: leaving]
mattwildig has joined #ruby
sinkensabe has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
josephndenton has joined #ruby
andikr has joined #ruby
russt has quit [Quit: russt]
astrobunny has joined #ruby
jenrzzz has joined #ruby
johnzz has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
johnzz has quit [Client Quit]
josephndenton has quit [Ping timeout: 265 seconds]
armyriad has joined #ruby
djbkd has joined #ruby
it0a has joined #ruby
jaygen has joined #ruby
Megtastique has joined #ruby
x1337807x has joined #ruby
jheg has quit [Quit: jheg]
<arup_r> I never used MiniTest... Can you tell me what is wrong here? https://gist.github.com/aruprakshit/e709455b2e12b813f70c I am not seeing 1 test pass
jaygen_ has quit [Ping timeout: 272 seconds]
Stoge88 has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
tjohnson has joined #ruby
astrobunny has quit [Remote host closed the connection]
Stoge88 has quit [Client Quit]
<arup_r> got it.. I fixed it too
jaygen_ has joined #ruby
ndrei has joined #ruby
djbkd has joined #ruby
jefus has quit [Ping timeout: 240 seconds]
blueOxigen has quit [Ping timeout: 252 seconds]
booly-yam-3799 has joined #ruby
Ridley5 has quit [Ping timeout: 265 seconds]
rylev has quit [Remote host closed the connection]
jaygen has quit [Ping timeout: 245 seconds]
ta_ has joined #ruby
jerematic has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
pawprint has joined #ruby
rylev has joined #ruby
MartynKeigher has quit [Ping timeout: 252 seconds]
MartynKeigher has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
jerematic has quit [Ping timeout: 264 seconds]
pawprint has quit [Ping timeout: 265 seconds]
djbkd has joined #ruby
kostitas has joined #ruby
kl has quit [Ping timeout: 256 seconds]
bashusr has joined #ruby
fjfish has quit [Remote host closed the connection]
n1lo has joined #ruby
rkalfane has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
rkalfane has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
centrx has joined #ruby
Cache_Money has joined #ruby
MartynKeigher has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
bronson has joined #ruby
Sawbones has joined #ruby
<roshanavand> I can't understand how "BEGIN" works, if interpreter reads the code line by line how "BEGIN" executed before a line on top of it?
kl has joined #ruby
devdazed has joined #ruby
kyb3r_ has joined #ruby
jheg has joined #ruby
Sawbones has quit [Ping timeout: 245 seconds]
<centrx> roshanavand, I assume it does not read line-by-line
roshanavand has quit [Read error: Connection reset by peer]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
devyn has quit [Ping timeout: 246 seconds]
DadoCe has joined #ruby
cpt_yossarian has quit [Remote host closed the connection]
n1lo has quit [Quit: Leaving]
timonv_ has joined #ruby
codecop has joined #ruby
ss_ has joined #ruby
DadoCe has quit [Ping timeout: 256 seconds]
ss__ has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
dc_ has joined #ruby
pdoherty has joined #ruby
devdazed_ has joined #ruby
claymore has joined #ruby
athan has quit [Ping timeout: 256 seconds]
ss__ has joined #ruby
c355E3B has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 264 seconds]
teddyp1cker has joined #ruby
ponga has joined #ruby
devdazed has quit [Ping timeout: 265 seconds]
ss_ has quit [Ping timeout: 240 seconds]
troubadour has joined #ruby
MartynKeigher has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
rbrs has quit [Quit: rbrs]
troubadour has quit [Client Quit]
ponga has quit [Ping timeout: 255 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
teddyp1cker has quit [Ping timeout: 264 seconds]
mynameis has joined #ruby
sigurding has quit [Ping timeout: 245 seconds]
lamasnik has quit [Read error: Connection reset by peer]
<miah> code is parsed and a abstract syntax tree is constructed
<miah> sadly that igvita link is down, but you can get to it from google cache.
lamasnik has joined #ruby
<miah> you can find more info if you search around for ruby parse or ruby ast
Tricon has joined #ruby
sigurding has joined #ruby
teddyp1cker has joined #ruby
MuffinPimp_ has joined #ruby
rebcabin has joined #ruby
Hobogrammer has joined #ruby
kaspertidemann has quit []
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MuffinPimp_ has quit [Remote host closed the connection]
sinkensabe has joined #ruby
timonv_ has quit [Remote host closed the connection]
billycravens has quit [Quit: Textual IRC Client: www.textualapp.com]
sinkensabe has quit [Remote host closed the connection]
kl has quit [Ping timeout: 265 seconds]
adriancb has joined #ruby
cajone1 has quit [Remote host closed the connection]
cajone has joined #ruby
ghostlines has joined #ruby
bigmac has joined #ruby
linduxed has joined #ruby
adriancb has quit [Ping timeout: 252 seconds]
ta_ has joined #ruby
JBreit has joined #ruby
ascarter has joined #ruby
JBreit has left #ruby [#ruby]
livingstn has joined #ruby
livingstn has quit [Max SendQ exceeded]
commmmodo has quit [Quit: commmmodo]
elfuego has quit [Quit: elfuego]
MuffinPimp_ has joined #ruby
MuffinPimp has quit [Remote host closed the connection]
MuffinPimp_ is now known as MuffinPimp
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
livingstn has joined #ruby
livingstn has quit [Max SendQ exceeded]
<arup_r> >> line="XSLT programming language" ; p line[/$.+?(?= programming language)/]
<eval-in_> arup_r => nil ... (https://eval.in/243802)
<arup_r> I am expecting XSLT as output
<arup_r> what wrong I did?
Trynemjoel has quit [Ping timeout: 256 seconds]
ta_ has quit [Ping timeout: 252 seconds]
Trynemjoel has joined #ruby
Darryl___ has quit [Quit: Connection closed for inactivity]
cyberfab007 has quit [Ping timeout: 276 seconds]
zchee has quit []
arup_r has quit [Quit: Leaving.]
maximski has joined #ruby
arup_r has joined #ruby
MartynKeigher has quit [Ping timeout: 245 seconds]
astrobunny has joined #ruby
Elico has joined #ruby
MartynKeigher has joined #ruby
<ghostlines> howdy, I'm trying to understand this symbol part of this code-> numbers_array.map(&:to_s)
<ghostlines> I haven't defined :to_s anywhere why can I use it?
Elico has quit [Client Quit]
<arup_r> ghostlines: ^^
<mozzarella> this question is asked everyday
leafybasil has joined #ruby
sinkensabe has joined #ruby
commmmodo has joined #ruby
kirun has quit [Quit: Client exiting]
<Morrolan_> arup_r: $ matches end of line, what you probably want is ^, beginning of line. (Or \A for start of string).
<ghostlines> arup_r Why can't I do without colon/symbol-> numbers_array.map(&to_s)
<Morrolan_> arup_r: I'm also not sure why you are using the rather obscure `.+?` rather than `.*`
roombadaboomba has joined #ruby
<ghostlines> or am I turning to_s into a symbol I can use right on that one line?
astrobunny has quit [Ping timeout: 276 seconds]
<Morrolan_> ghostlines: `ary.map(&:to_s)` is really just a short form of `ary.map { |i| i.to_s }`
<arup_r> Morrolan_: Thanks.. I didn't notice it.. Too late.. here.. I should now go to bed :)
<Morrolan_> :)
<ghostlines> Morrolan_ I don't understand the colon/symbol part
Sawbones has joined #ruby
KnownSyntax has joined #ruby
<ghostlines> it seems to me like I'm calling a proc which is called :to_s that isn't defined anwhere
<yxhuvud> ghostlines: the elements in your array implement it.
sigurding has quit [Quit: sigurding]
postmodern has joined #ruby
<yxhuvud> ghostline: & will call to_proc on its arguemnt, which in the case of symbols will expand to what Morrolan_ wrote aboe.
havenwood has quit [Remote host closed the connection]
Cache_Money has quit [Quit: Cache_Money]
devdazed_ has quit [Quit: Computer has gone to sleep.]
arup_r has quit [Quit: Leaving.]
sinkensabe has quit [Remote host closed the connection]
^wald0 has joined #ruby
uptownhr has joined #ruby
Sawbones has quit [Ping timeout: 255 seconds]
atomi has joined #ruby
^wald0 has quit [Client Quit]
robbyoconnor has quit [Quit: Konversation terminated!]
<yxhuvud> >> class Array; def to_proc; ->(arg) {arg[*self] }; end; end; [[1,2,3],[4,5,6],[7,8,9]].map &[0]
<eval-in_> yxhuvud => [1, 4, 7] (https://eval.in/243809)
zorak8 has joined #ruby
commmmodo has quit [Quit: commmmodo]
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kostitas has quit [Quit: Leaving]
kaspertidemann has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ghostlines> yxhuvud ahh I did an object.methods and found :`to_s`. Now I understand how to_proc is called is that piece of code.
andikr has quit [Remote host closed the connection]
elfuego has joined #ruby
arietis has joined #ruby
commmmodo has joined #ruby
BenjiWater has joined #ruby
rylev has quit [Remote host closed the connection]
josephndenton has joined #ruby
lxndryng has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
m8 has quit [Quit: Sto andando via]
lxndryng has quit [Remote host closed the connection]
ponga has joined #ruby
zarubin has joined #ruby
devyn has joined #ruby
josephndenton has quit [Ping timeout: 245 seconds]
dotix has joined #ruby
dotix has joined #ruby
ponga has quit [Ping timeout: 264 seconds]
oleo has quit [Ping timeout: 240 seconds]
skinux has joined #ruby
Joufflu has joined #ruby
<skinux> I'm looking for a good tutorial for people who are new to Ruby, but NOT new to programming in general?
nclbr has joined #ruby
Cache_Money has joined #ruby
oleo has joined #ruby
davedev2_ has quit [Ping timeout: 245 seconds]
davedev24_ has joined #ruby
jefus has joined #ruby
try has joined #ruby
lxndryng has joined #ruby
ChristianDC has left #ruby ["WeeChat 1.1-dev"]
bashusr has quit [Ping timeout: 272 seconds]
<mynameis> skinus stackoverflow should have the answer for that, book-wise. as for me, codeacademy worked for me when I was a complete noob for Ruby
<mynameis> * skinux
<skinux> codeacademy isn't free, is it?
roshanavand has joined #ruby
<mynameis> It is.
<skinux> Okay
roshanavand has quit [Max SendQ exceeded]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
uptownhr has quit [Quit: uptownhr]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
bigmac has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
bigmac has joined #ruby
roshanavand has quit [Max SendQ exceeded]
zacstewart has quit [Read error: Connection reset by peer]
rpag has joined #ruby
roshanavand has joined #ruby
debill has joined #ruby
roshanavand has quit [Max SendQ exceeded]
debill has quit [Max SendQ exceeded]
maximski has quit [Ping timeout: 255 seconds]
roshanavand has joined #ruby
mac__ has joined #ruby
scripore has joined #ruby
roshanavand has quit [Max SendQ exceeded]
jheg has quit [Quit: jheg]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
roshanavand has joined #ruby
whoisjake has joined #ruby
roshanavand has quit [Max SendQ exceeded]
debill has joined #ruby
debill has quit [Max SendQ exceeded]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
roshanavand has joined #ruby
roshanavand has quit [Max SendQ exceeded]
timonv_ has joined #ruby
lxndryng has quit [Quit: Leaving]
roshanavand has joined #ruby
debill has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
debill has quit [Max SendQ exceeded]
anaeem1 has joined #ruby
debill has joined #ruby
maximski has joined #ruby
debill has quit [Max SendQ exceeded]
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
debill has joined #ruby
debill has quit [Max SendQ exceeded]
debill has joined #ruby
debill has quit [Max SendQ exceeded]
dc_ has quit [Remote host closed the connection]
goodenough has quit [Remote host closed the connection]
pawprint has joined #ruby
maximski has quit []
claymore has quit [Ping timeout: 245 seconds]
ascarter has joined #ruby
roshanavand has quit [Remote host closed the connection]
pawprint has quit [Ping timeout: 245 seconds]
claymore has joined #ruby
rebcabin has quit [Quit: Leaving.]
anaeem1 has quit [Remote host closed the connection]
djbkd has joined #ruby
Dolphi has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1]
anaeem1_ has joined #ruby
rylev has joined #ruby
x1337807x has joined #ruby
bronson has quit [Remote host closed the connection]
havenwood has joined #ruby
zzz_Ridley has joined #ruby
zzz_Ridley is now known as Ridley5
Ridley5 has quit [Changing host]
Ridley5 has joined #ruby
ohaibbq has joined #ruby
bronson has joined #ruby
Heskie has joined #ruby
pwnz0r has joined #ruby
claptor has quit [Quit: this channel is bakas]
pdoherty has joined #ruby
rbennacer has joined #ruby
sinkensabe has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iMe has quit [Ping timeout: 252 seconds]
nateberkopec has quit [Quit: Leaving...]
kyb3r_ has quit [Read error: Connection reset by peer]
pdoherty has quit [Ping timeout: 264 seconds]
CpuID has joined #ruby
CpuID has joined #ruby
rbennacer has quit [Ping timeout: 265 seconds]
goodenough has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
ponga has joined #ruby
bigmac has joined #ruby
iMe has joined #ruby
diegoviola has joined #ruby
kyb3r_ has joined #ruby
icebourg has quit []
bronson has quit [Remote host closed the connection]
zarubin has quit []
ponga has quit [Ping timeout: 244 seconds]
dc_ has joined #ruby
ss_ has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
bigmac has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
bigmac has joined #ruby
sinkensabe has quit [Remote host closed the connection]
ss__ has quit [Ping timeout: 272 seconds]
BenjiWater has quit [Quit: Konversation terminated!]
lxsameer has quit [Quit: Leaving]
bigmac has quit [Read error: Connection reset by peer]
hephaestus_rg has joined #ruby
bigmac has joined #ruby
cpt_yossarian has joined #ruby
teddyp1cker has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
c355E3B has quit [Quit: Leaving]
bigmac has quit [Read error: Connection reset by peer]
bigmac has joined #ruby
Dolphi has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
bigmac has quit [Read error: Connection reset by peer]
MartynKeigher has quit [Ping timeout: 255 seconds]
bigmac has joined #ruby
MartynKeigher has joined #ruby
mloveless has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
bigmac has joined #ruby
Sawbones has joined #ruby
bigmac has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
chrishough has joined #ruby
bigmac has joined #ruby
cvtsx has joined #ruby
hiyosi has joined #ruby
arietis has quit [Quit: Textual IRC Client: www.textualapp.com]
sea_local has quit [Remote host closed the connection]
mynameis has quit [Quit: Leaving]
mikepack has joined #ruby
goodenough has quit [Remote host closed the connection]
decoponio has quit [Read error: Connection reset by peer]
DadoCe has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
decoponio has joined #ruby
roshanavand has joined #ruby
DangerM has joined #ruby
DangerM has left #ruby [#ruby]
roshanavand has quit [Client Quit]
CpuID has quit [Quit: This computer has gone to sleep]
kyb3r_ has quit [Read error: Connection reset by peer]
DadoCe has quit [Ping timeout: 245 seconds]
MartynKeigher has quit [Ping timeout: 252 seconds]
MartynKeigher has joined #ruby
soxet has joined #ruby
ta_ has joined #ruby
soxet has quit [Client Quit]
soxet has joined #ruby
whoisjake has quit []
msgodf has quit [Ping timeout: 245 seconds]
soxet has quit [Client Quit]
soxet has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lolmaus has quit [Quit: Konversation terminated!]
BoomerBile has joined #ruby
michaeldeol has joined #ruby
lessless has quit [Quit: Textual IRC Client: www.textualapp.com]
pwnz0r has quit [Remote host closed the connection]
charliesome has joined #ruby
dotix has quit [Quit: Leaving]
startupality has quit [Quit: startupality]
startupality has joined #ruby
startupality has quit [Client Quit]
greenbagels has joined #ruby
hephaestus_rg has quit [Ping timeout: 264 seconds]
adriancb has joined #ruby
ponga has joined #ruby
adriancb has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
slacko6172 has joined #ruby
ponga has quit [Ping timeout: 264 seconds]
nateberkopec has joined #ruby
iMe has quit [Ping timeout: 276 seconds]
iMe has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
_ixti_ has joined #ruby
ixti has quit [Ping timeout: 245 seconds]
claymore has quit [Ping timeout: 245 seconds]
jerematic has joined #ruby
commmmodo has quit [Quit: commmmodo]
akhkharu has joined #ruby
sea_local has joined #ruby
timonv_ has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
claymore has joined #ruby
timonv_ has joined #ruby
monsieurp has quit [Remote host closed the connection]
Makelo has joined #ruby
<Makelo> Can someone please help me with combining an image and a link?
monsieurp has joined #ruby
charliesome has joined #ruby
Sawbones has quit [Remote host closed the connection]
timonv_ has quit [Ping timeout: 276 seconds]
kaspertidemann has quit []
MartynKeigher has quit [Ping timeout: 245 seconds]
MartynKeigher has joined #ruby
commmmodo has joined #ruby
rylev has quit [Remote host closed the connection]
Makelo has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
apeiros has joined #ruby
philwantsfish1 has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
philwantsfish has quit [Ping timeout: 256 seconds]
spicymagpie has joined #ruby
freerobby has quit [Quit: Leaving.]
shime has joined #ruby
rylev has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
sea_local has quit [Remote host closed the connection]
Tuxero has joined #ruby
commmmodo has quit [Quit: commmmodo]
sea_local has joined #ruby
Radar has joined #ruby
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
mattwildig has quit []
Radar is now known as Guest62059
helpa has joined #ruby
TrOuBLeStArTeR has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Synthbread has joined #ruby
Guest62059 is now known as Radar
C1V0 has joined #ruby
diegoviola has quit [Remote host closed the connection]
bitflipping has quit [Quit: Page closed]
Tuxero has quit [Quit: Tuxero]
gregf has quit [Quit: WeeChat 1.0.1]
antgel has quit [Ping timeout: 245 seconds]
aboudreault has quit [Ping timeout: 252 seconds]
jerematic has quit [Remote host closed the connection]
TheXP has joined #ruby
MartynKeigher has quit [Ping timeout: 252 seconds]
MartynKeigher has joined #ruby
TheXP has quit []
icebourg has joined #ruby
mloveless has quit [Remote host closed the connection]
gregf has joined #ruby
ARCADIVS has joined #ruby
Megtastique has quit []
sinkensabe has quit [Remote host closed the connection]
pdoherty has joined #ruby
chrishou_ has joined #ruby
DadoCe has joined #ruby
TgMts has joined #ruby
chrishou_ has quit [Client Quit]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
chrishough has joined #ruby
icebourg has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
lkba_ has joined #ruby
icebourg has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
ponga has joined #ruby
Tabmow has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
aboudreault has joined #ruby
DrCode has quit [Remote host closed the connection]
claymore has quit [Quit: Leaving]
ponga has quit [Ping timeout: 252 seconds]
DrCode has joined #ruby
arato has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Quit: My people need me...]
timonv_ has joined #ruby
irk has quit [Ping timeout: 244 seconds]
irk has joined #ruby
ss_ has quit [Ping timeout: 245 seconds]
sea_local has quit [Remote host closed the connection]
dc_ has quit [Remote host closed the connection]
MartynKeigher has quit [Read error: Connection reset by peer]
<porfa> hello.. im in help of installing sequel mysql gem...
<apeiros> ay, nice: [8232:0:info:2015-01-18T00:46:31.570+0100] [0.001s][200] /CheatSheet/Api/V1/CheatSheet:6.json
<apeiros> 0.001s…
zorak8 has quit [Read error: Connection reset by peer]
<porfa> i mean, gem install sequel, worked fine, now the gem install mysql it outputs me some error “could not create makefile due to some reaseon… problbaly lack of the necessarui libraries/headers. check the mkmf.log file for more details. you may need configuration options…
zorak8 has joined #ruby
<porfa> how do i know what configuration options i need? :(
teddyp1cker has joined #ruby
slacko6172 has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
<rpag> is mysql installed?
<porfa> yes and running!
<porfa> i beleive i need to input the config dir in the gem install mysql command, like “ gem install mysql -- --with-mysql-config= *path*“
<porfa> the thing is… i have noideia where’s my configuration path.. i did a locate mysql | grep cnf and it ouputd me these intresting dirs…
<porfa> etv/mysql/debian.cnf and etc/mysql/my.cnf
<porfa> etv=etc
spicymagpie has quit [Ping timeout: 245 seconds]
teddyp1cker has quit [Ping timeout: 264 seconds]
<waxjar> you probably need some sort of mysql-dev package. usually those kind of requirements are on a project page
<bradland> porfa: i think you need the mysql development headers for the mysql gem
<bradland> or maybe that's mysql2
<apeiros> grmbl, ab (apache bench) reveals that one of the native parts segfault :-S (ruby 2.2, pg gem or puma)
<bradland> so waxjar and i remember the same, chances are you need them
lxndryng has joined #ruby
<bradland> apeiros: derp
<bradland> how did ab reveal that?
<apeiros> bradland: indeed
<bradland> concurrency?
<apeiros> bradland: simple - by making the app crash with a segfault
<bradland> lol
<bradland> oh... that
<bradland> apeiros: not sure how you keep track of your ab benchmarks (shell script, whatev), but I wrote this so i could save myself some management: https://github.com/bradland/benchtool
<apeiros> heh
<porfa> i didn’t have the mysql devel stuff, installing now.. lets hope it works.. my extreme coupon projects is really being taken to a wholke new level!!! (making a ruby/sinatra that fetched me all the groupbuy platforms in my country.. so i dont miss out on any deal!!! :D )
<apeiros> I don't use too many benchmark tools
arato has quit [Quit: Leaving]
<bradland> i try to avoid it if I can :)
<apeiros> oh, I don't. I find it valuable. though, the value provided by ab in this case is somewhat unexpected :D