apeiros changed the topic of #ruby to: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org, other public logging is prohibited
DEA7TH has quit [Ping timeout: 256 seconds]
TheHodge has joined #ruby
<TheHodge> hey folks, anyone using gemfury?
ponga has joined #ruby
jefus has quit [Quit: Leaving]
ringarin has joined #ruby
r0bby_ has joined #ruby
decoponio has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
serivich has quit [Ping timeout: 245 seconds]
ponga has quit [Ping timeout: 256 seconds]
scripore has quit [Quit: This computer has gone to sleep]
andersoldahl has quit [Quit: My Mac has gone to sleep.]
mengu has quit [Ping timeout: 265 seconds]
Illusioneer has quit [Ping timeout: 264 seconds]
<musashi1> I'm having trouble getting my app working on a linux system - i've typically used osx and am trying to get it going here.. It's a sinatra app and the output when i run foreman start is here: https://gist.github.com/anonymous/0bbf820640588a8b6bcf - would someone be so kind as to offer a suggestion as to how i might fix this?
arescorpio has joined #ruby
<musashi1> or at least what what i should try? i've udpated all my gems, reinstalled ruby (I'm using RVM)
FooMunki has joined #ruby
exadeci has quit [Quit: Connection closed for inactivity]
Illusioneer has joined #ruby
PaulCapestany has quit [Read error: Connection reset by peer]
r0bby_ has quit [Remote host closed the connection]
andersoldahl has joined #ruby
vickleton has quit [Ping timeout: 272 seconds]
r0bby_ has joined #ruby
balazs has joined #ruby
PaulCapestany has joined #ruby
scottstamp has quit [Ping timeout: 245 seconds]
ged has quit [Read error: Connection reset by peer]
ged has joined #ruby
ValicekB has quit [Ping timeout: 245 seconds]
akkad has quit [Ping timeout: 245 seconds]
mary5030 has joined #ruby
mengu has joined #ruby
Gadgetoid has quit [Ping timeout: 245 seconds]
scottstamp has joined #ruby
Limix has joined #ruby
Gadgetoid has joined #ruby
emptyflask has joined #ruby
sankaber has joined #ruby
phutchins has quit [Ping timeout: 244 seconds]
DerisiveLogic has joined #ruby
mengu__ has joined #ruby
akkad has joined #ruby
fxck has quit [Read error: Connection reset by peer]
evanjs has joined #ruby
ReK2 has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
lidenskap has joined #ruby
work has joined #ruby
mengu has quit [Ping timeout: 252 seconds]
work is now known as fxck
<shevy> LoadError: cannot load such file -- sqlite3
<shevy> musashi1 you must install sqlite3 gem
<shevy> "gem install sqlite3" should suffice BUT you need the header files of sqlite3 I think
<musashi1> header files of sqlite? ok, i'll look that up. thank you.
apoplexy has quit [Ping timeout: 272 seconds]
bruno- has joined #ruby
rhg135 has quit [Remote host closed the connection]
<shevy> if you compile sqlite3 from source you will have the header files; if you have to rely on a distribution, then you need to first install a devel/dev package of the given package (sqlite3 in this case; the source URL is http://www.sqlite.org/2015/sqlite-autoconf-3080803.tar.gz for one version; look at www.sqlite.org for a newer one if you wish to compile it yourself)
ValicekB has joined #ruby
rhg135 has joined #ruby
ringarin has quit [Ping timeout: 255 seconds]
r0bby_ has quit [Remote host closed the connection]
r0bby_ has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
Musashi007 has joined #ruby
charliesome has quit [Quit: zzz]
charliesome has joined #ruby
charliesome has quit [Client Quit]
Musashi007 has quit [Client Quit]
Feyn has joined #ruby
riskish has joined #ruby
x1337807x has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
balazs has quit [Remote host closed the connection]
scripore has joined #ruby
balazs has joined #ruby
emptyflask has quit [Remote host closed the connection]
mrmargolis has joined #ruby
lidenskap has quit [Remote host closed the connection]
Musashi007 has joined #ruby
Musashi007 has quit [Client Quit]
arescorpio has quit [Ping timeout: 250 seconds]
workmad3 has joined #ruby
r0bby_ is now known as robbyoconnor
Guest83805 has joined #ruby
<musashi1> @shevy will do - I'm going to try to avoid compiling it myself if at all possible
<musashi1> @shevy thank you very much
millerti has joined #ruby
<shevy> \o/
workmad3 has quit [Ping timeout: 248 seconds]
quimrstorres has quit [Remote host closed the connection]
tus has quit [Ping timeout: 264 seconds]
iamninja_ has quit [Read error: Connection reset by peer]
gaboesquivel has joined #ruby
iamninja_ has joined #ruby
blizzy has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
jamto11 has joined #ruby
mistermocha has joined #ruby
robustus has joined #ruby
postmodern has joined #ruby
<ruboto> Technodrome, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/5a592bae4fd16bcd5be6
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
grindmodeon has left #ruby [#ruby]
<Technodrome> for the end.submit , why can’t i just do search_result.end ?
<Technodrome> it giving me an error i thought that would be the same thing
jamto11 has quit [Ping timeout: 252 seconds]
mengu__ has quit [Remote host closed the connection]
riotjones has joined #ruby
<shevy> hmm I am looking at databases
markholmes has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> and reading a passage, there is a distinction between: "relational database management systems" and "object-oriented database management systems", but I think the SQL languages are relational or? and if that is the case, then the relational databases are dominating right?
balazs has quit [Remote host closed the connection]
<shevy> Technodrome always add the error to your pastie
<shevy> and use a pastie that has syntax colouring
plutonic has joined #ruby
phutchins has joined #ruby
Azure has joined #ruby
andersoldahl has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 276 seconds]
Yzguy has quit [Quit: I'm sleeping, go away.]
andersoldahl has joined #ruby
crus has quit [Read error: Connection reset by peer]
FernandoBasso has quit [Quit: leaving]
Yzguy has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has joined #ruby
evanjs has quit [Remote host closed the connection]
balazs has joined #ruby
ftj has quit [Quit: Textual IRC Client: www.textualapp.com]
symbol has quit [Ping timeout: 246 seconds]
gaboesquivel has quit []
<Technodrome> shevy: do you see what i’m saying?
<shevy> I can see your strange code but I have no idea what you are doing or trying to do. I personally dislike using "end." chainable method calls
Guest83805 has left #ruby ["Leaving"]
<Technodrome> actually i have my question
<Technodrome> so you can call methods on blocks?
bkxd has quit [Ping timeout: 265 seconds]
balazs has quit [Remote host closed the connection]
<shevy> you can do everything inside a block
<Technodrome> the end.submit
zorak8 has joined #ruby
<Technodrome> the end is the end to the block
rhg135 has quit [Quit: WeeChat 1.1.1]
<shevy> submit() is obviously a method call
<shevy> I do not know what object is returned there
<Technodrome> end is the end of the block
<shevy> yes but you still have an object right
rhg135 has joined #ruby
<shevy> and submit() must have been defined somewhere in the code base
<Technodrome> why can you have do / end.submit but not { }.submit ?
<shevy> the two are unfortunately not fully equivalent; {} has a higher precedence, {} also would mean a Hash
<a5i> >> "hello".include? "h"
<ruboto> a5i # => true (https://eval.in/315447)
<shevy> I am nots ure if you can do {}.foo()
<shevy> *not sure
balazs has joined #ruby
<shevy> lemme try
<shevy> ok you can
<shevy> >> {}.size()
<ruboto> shevy # => 0 (https://eval.in/315448)
bkxd has joined #ruby
<shevy> ah, but perhaps not to a method call
<shevy> lemme try again...
<shevy> >> def foo; p yield if block_given?; end; foo {'yoo'}.size()
<ruboto> shevy # => "yoo" ...check link for more (https://eval.in/315449)
<shevy> I am temporarily confused now
<Technodrome> hmmmm
<Technodrome> in my code end.submit works, { }.submit does not
<shevy> yeah
<shevy> not sure why the parser does not like it
coinrookie has joined #ruby
<shevy> but I am sure that, if it would have been possible otherwise, the parser would not choke on it
<a5i> how do I read a file and get the first line?
<shevy> a5i File.readlines().first
<a5i> ty
emptyflask has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Technodrome> this is weird shevy
<Technodrome> but for you {}.method worked right?
krisquigley has joined #ruby
<shevy> only in the above example
Yzguy has quit [Quit: I'm sleeping, go away.]
<shevy> I can't come up with an example right now where it fails, but I am sure it fails
mistermocha has quit [Ping timeout: 245 seconds]
<Technodrome> oops sorry it actually does owrk
<Technodrome> typo on my end
<shevy> it does?
<shevy> well strange...
<Technodrome> sorry about that
<shevy> I could swear it would not work
<shevy> you confuse me ;)
rgb-one has joined #ruby
<Technodrome> {}.submit worked
<Technodrome> i was just putting the firtst { on the wrong block
<shevy> aha but in the context of a block to the method, right?
<Technodrome> there is 2 nested blocks in that example
<shevy> yeah... I like to have very simple code, which is one reason why I don't chain stuff onto 'end'
<shevy> OptionParser has this syntax:
<shevy> end.parse! ARGV
<shevy> I absolutely hate that
Guest49939 has quit [Remote host closed the connection]
greenbagels has joined #ruby
bim has joined #ruby
<Technodrome> i was putting the first { on the line 8 instead of line 9
<havenwood> File.open 'example.txt', &:readline
<shevy> your code really works?
<Technodrome> stupid me
<Technodrome> yes
<shevy> ok
bim is now known as Guest28035
<Technodrome> but now i still wonder , and this is dumb i know
r0bby_ has joined #ruby
Guest28035 has quit [Remote host closed the connection]
chipotle has quit [Remote host closed the connection]
<Technodrome> but i didn’t really realize blocks had return values
swgillespie has joined #ruby
<Technodrome> i thought you just did whatever you did inside the block and that was it
mengu has joined #ruby
mengu has joined #ruby
MXfive has joined #ruby
chipotle has joined #ruby
krisquigley has quit [Ping timeout: 250 seconds]
havenwood has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 256 seconds]
mary5030 has quit [Remote host closed the connection]
lkba_ has quit [Ping timeout: 245 seconds]
<shevy> hmm
<shevy> via yield you can tap into a block
<shevy> Technodrome http://pastie.org/10100832
mengu has quit [Ping timeout: 244 seconds]
symbol has joined #ruby
<Technodrome> i just didn’t realize that a block could actually return something
tus has joined #ruby
<shevy> hmmm
mrmargolis has quit [Remote host closed the connection]
<shevy> I guess everything in ruby must return something
<shevy> even if it is just a nil
r0bby_ has quit [Remote host closed the connection]
<Technodrome> so wait, was 5 returned in your example?
<Technodrome> why rename puts , i mean come on :P
<Technodrome> e in smalltalk lbiraries means something different
<Technodrome> thank you
r0bby_ has joined #ruby
bigmac_ has quit [Ping timeout: 245 seconds]
n008f4g_ has quit [Ping timeout: 264 seconds]
balazs has quit [Remote host closed the connection]
<shevy> it's way too long to type it
<shevy> look that we have Kernel#p
<shevy> p foo
<shevy> then we have require 'pp'; pp foo
<shevy> don't make me write "puts" or "print"
<shevy> :)
<shevy> the only thing that annoys me about pp is that I have to require it
<shevy> you are coming from the smalltalk world?
Stalkr_ has quit [Quit: Leaving...]
havenwood has joined #ruby
balazs has joined #ruby
jamto11 has joined #ruby
RegulationD has joined #ruby
r0bby_ has quit [Ping timeout: 245 seconds]
ponga has quit [Quit: Leaving...]
Rickmasta has joined #ruby
dimasg has joined #ruby
MyGreenP1 has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 255 seconds]
dimasg has quit [Client Quit]
bigmac has joined #ruby
pika_pika has quit [Ping timeout: 245 seconds]
hiyosi has joined #ruby
arescorpio has joined #ruby
MyGreenP1 has joined #ruby
jottr has joined #ruby
hiyosi has quit [Read error: Connection reset by peer]
jrp has joined #ruby
jrp has quit [Client Quit]
ponga has joined #ruby
pontiki has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
mgberlin_ has quit [Remote host closed the connection]
Igorshp has joined #ruby
MyGreenP1 has quit [Ping timeout: 256 seconds]
ponga has quit [Remote host closed the connection]
bkxd_ has joined #ruby
dash0 has joined #ruby
Igorshp has quit [Ping timeout: 245 seconds]
Limix has quit [Quit: Limix]
blizzy is now known as _blizzy_
bkxd has quit [Ping timeout: 264 seconds]
ujihisa has joined #ruby
robbyoconnor has joined #ruby
dash0 is now known as juro
robbyoconnor has joined #ruby
robbyoconnor has quit [Changing host]
juro is now known as dash0
spicerack has joined #ruby
doodlehaus has joined #ruby
spicerack has quit [Changing host]
spicerack has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
dash0 has left #ruby [#ruby]
balazs has quit [Remote host closed the connection]
afrianska has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
kstuart_ has quit [Read error: Connection reset by peer]
swgillespie has quit [Read error: Connection reset by peer]
doodlehaus has quit [Remote host closed the connection]
mistermocha has joined #ruby
kstuart_ has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
Rollabunna has quit [Remote host closed the connection]
swgillespie has joined #ruby
zzing has joined #ruby
havenwood has quit [Changing host]
Rollabunna has joined #ruby
havenwood has joined #ruby
mgberlin has joined #ruby
symbol has quit [Quit: WeeChat 1.1]
tubuliferous_ has quit [Ping timeout: 276 seconds]
bim has joined #ruby
justin_pdx has joined #ruby
bim is now known as Guest33889
MyGreenP1 has joined #ruby
Guest33889 has quit [Ping timeout: 250 seconds]
ujihisa has quit [Ping timeout: 264 seconds]
ramfjord has joined #ruby
tus has quit []
pwattste has quit [Quit: Textual IRC Client: www.textualapp.com]
riskish has quit [Quit: Textual IRC Client: www.textualapp.com]
Rickmasta has joined #ruby
justin_pdx has quit [Quit: justin_pdx]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd_ has quit [Ping timeout: 245 seconds]
tubuliferous_ has joined #ruby
zzing has quit [Quit: Textual IRC Client: www.textualapp.com]
havenwood has quit [Remote host closed the connection]
michael_mbp has quit [Excess Flood]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
michael_mbp has joined #ruby
discypher has quit [Quit: Leaving.]
riotjones has joined #ruby
freerobby has quit [Quit: Leaving.]
riotjones has quit [Ping timeout: 250 seconds]
chipotle has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
justin_pdx has joined #ruby
mistermocha has quit [Ping timeout: 245 seconds]
Phagus has joined #ruby
<Phagus> What range would express all possible characters?
<Phagus> is it ("0".."~")?
balazs has joined #ruby
mostlybadfly has joined #ruby
balazs has quit [Remote host closed the connection]
balazs has joined #ruby
braincrash has quit [Quit: bye bye]
byprdct has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
justin_pdx has quit [Quit: justin_pdx]
byprdct has joined #ruby
byprdct has quit [Client Quit]
ujihisa has joined #ruby
braincrash has joined #ruby
Illusioneer has left #ruby [#ruby]
mitchellhenke has joined #ruby
multi_io has quit [Ping timeout: 256 seconds]
swgillespie has quit [Read error: Connection reset by peer]
multi_io has joined #ruby
krisquigley has joined #ruby
ujihisa has quit [Ping timeout: 265 seconds]
zorak8 has quit [Remote host closed the connection]
krisquigley has quit [Ping timeout: 252 seconds]
hgl- has joined #ruby
icebourg has joined #ruby
hgl has quit [Read error: Connection reset by peer]
hgl- is now known as hgl
x77686d has joined #ruby
cina has joined #ruby
Limix has joined #ruby
<a5i> "<title> hello </title>\n<title> world </title>".scan(/<title>(.*?)<\/title>/)
<a5i> >> "<title> hello </title>\n<title> world </title>".scan(/<title>(.*?)<\/title>/)
<ruboto> a5i # => [[" hello "], [" world "]] (https://eval.in/315450)
<a5i> ok
MXfive has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
makepkgnotwar has joined #ruby
makepkgnotwar has quit [Client Quit]
swgillespie has joined #ruby
ponga has joined #ruby
Zackio has quit [Remote host closed the connection]
Hijiri has joined #ruby
lessless has joined #ruby
sevvie has quit [Read error: Connection reset by peer]
sevvie has joined #ruby
rhg135 has quit [Quit: WeeChat 1.1.1]
rhg331 has joined #ruby
Zackio has joined #ruby
RegulationD has joined #ruby
balazs has quit [Remote host closed the connection]
agent_white has joined #ruby
endash has quit [Quit: endash]
RegulationD has quit [Ping timeout: 255 seconds]
rkazak has quit [Quit: Sleep.....ing....]
<shevy> Phagus: hmm .. A-Za-z should cover the alphabetical ones
<shevy> Phagus: perhaps this has some helpful stuff? http://stackoverflow.com/questions/3203190/regex-any-ascii-character
<shevy> ohhh
<shevy> [[:ascii:]]
<shevy> I think ruby supports it as well
<shevy> not sure if you can iterate over the same with a single range
dfinninger has joined #ruby
swgillespie has quit [Read error: Connection reset by peer]
lidenskap has joined #ruby
Filete has joined #ruby
x1337807x has quit [Ping timeout: 256 seconds]
afrianska has quit [Quit: Leaving]
Rarikon has joined #ruby
dfinninger has quit [Remote host closed the connection]
Azure has joined #ruby
FDj_ has joined #ruby
nyuszika7h has quit [Remote host closed the connection]
mistermocha has joined #ruby
WhereIsMySpoon__ has quit [Quit: No Ping reply in 180 seconds.]
[diecast] has quit [Ping timeout: 272 seconds]
soosfarm has quit [Ping timeout: 272 seconds]
Rapier- has joined #ruby
nyuszika7h has joined #ruby
kobain has quit [Ping timeout: 272 seconds]
FDj has quit [Ping timeout: 272 seconds]
WhereIsMySpoon has joined #ruby
bashusr has quit [Ping timeout: 272 seconds]
Xoro has quit [Ping timeout: 272 seconds]
[diecast] has joined #ruby
Melpaws has quit [Remote host closed the connection]
soosfarm has joined #ruby
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
CloCkWeRX has joined #ruby
kobain has joined #ruby
xploshioon has joined #ruby
x77686d has quit [Quit: x77686d]
x1337807x has joined #ruby
lidenskap has quit [Remote host closed the connection]
Dreamer3 has joined #ruby
Deele has joined #ruby
charliesome has joined #ruby
lidenskap has joined #ruby
A205B064 has quit [Ping timeout: 246 seconds]
platosha__ has quit [Read error: Connection reset by peer]
xploshioon has quit [Quit: Leaving]
hannahkoala has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
MyGreenP1 has quit [Ping timeout: 272 seconds]
amdbcg has quit [Ping timeout: 264 seconds]
robbyoconnor has joined #ruby
scripore has joined #ruby
mleung has joined #ruby
platosha has joined #ruby
mary5030 has joined #ruby
workmad3 has joined #ruby
doodlehaus has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
Limix has quit [Quit: Limix]
arescorpio has quit [Excess Flood]
agent_white has joined #ruby
mistermocha has quit [Ping timeout: 245 seconds]
ag4ve_ has quit [Ping timeout: 245 seconds]
doodlehaus has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 276 seconds]
Crypt0r has joined #ruby
ag4ve_ has joined #ruby
jamto11 has quit [Remote host closed the connection]
bim has joined #ruby
bim is now known as Guest42435
Phagus has quit [Ping timeout: 240 seconds]
Guest42435 has quit [Ping timeout: 248 seconds]
yh has quit [Ping timeout: 250 seconds]
riotjones has joined #ruby
<shevy> Is data objects?
hannahkoala has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<shevy> "IRC has lost 60% of its users since 2003"
<shevy> We are dying people!
hannahkoala has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
rshetty has joined #ruby
<agent_white> D:
lxsameer has joined #ruby
mgberlin has quit [Remote host closed the connection]
rshetty has quit []
hannahkoala has quit [Quit: My computer has gone to sleep. ZZZzzz…]
mengu has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
plutonic has quit [Quit: plutonic]
lavros has joined #ruby
krisquigley has joined #ruby
mengu has quit [Ping timeout: 264 seconds]
krisquigley has quit [Ping timeout: 272 seconds]
sameerynho has joined #ruby
pacMakaveli has quit []
ebbflowgo has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
lidenskap has quit [Remote host closed the connection]
mengu has joined #ruby
dj_zubehoer has joined #ruby
PhaseCode has joined #ruby
<PhaseCode> Hi guys, I have a binary string which I figured has to be parsed with .unpack("B*"), but I also want to get the first 16 bits of the string and remove it
<PhaseCode> Or the first 2 bytes
_whitelogger has quit [Ping timeout: 272 seconds]
_whitelogger has joined #ruby
<pontiki> you've probably set some flag
<pontiki> notify list or som'n
moeabdol has quit [Ping timeout: 240 seconds]
lele has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<shevy> is it possible to query ruboto about available commands?
<shevy> I know that ruboto responds to >>
parduse has quit []
ndrei has quit [Ping timeout: 240 seconds]
quimrstorres has joined #ruby
<pontiki> actually, i'm sorta the opposite of drunk
<pontiki> slightly manic, no biggie
parduse has joined #ruby
<pontiki> means i got enough sleep :)
ArchRogem has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<jhass> shevy: no
quimrstorres has joined #ruby
giuseppesolinas has joined #ruby
<shevy> pontiki you are hyperactive right now
<shevy> and scaring me
<shevy> you typed more just now than the last 3 months combined!
<pontiki> it's how it is
<pontiki> more typing, less words of any value or consequence
plutonic has joined #ruby
Crisix has joined #ruby
Crisix has quit [Max SendQ exceeded]
dideler has quit [Remote host closed the connection]
sdothum has joined #ruby
crus has joined #ruby
turtil has quit [Quit: WeeChat 1.1.1]
<apeiros> man, those were some mean onions
<apeiros> if I ever make a fantasy RPG, the first level enemies will be some kind of onions
mengu has joined #ruby
<hanmac> apeiros: i would Fav that!! xD .. maybe with a skill that makes your charas shed tears ;P
<shevy> people can be allergic to onions
allcentury has quit [Ping timeout: 255 seconds]
<hanmac> shevy you mean add it as a trait in the RPG: like "50% more damage from onions"? ;P
asmodlol has joined #ruby
<jhass> apeiros: sounds like you got a bad knife ;P
RegulationD has joined #ruby
FernandoBasso has quit [Quit: leaving]
asmodlol has quit [Read error: Connection reset by peer]
<ytti> knives get dull pretty fast
quimrstorres has quit [Remote host closed the connection]
<jhass> sure, I sharpen mine for like every second usage
<pontiki> a good knife needs a steel
<ytti> ceramic bit less, but those you pretty much cannot sharpen yourself
<apeiros> jhass: how does a sharp knife make an onion less aggressive?
<pontiki> i haven't tried a ceramic knife
<apeiros> or do you just mean faster cutting?
FernandoBasso has joined #ruby
<jhass> you cut and no longer squeeze out the cells
<apeiros> friend tried and says use a good sharpened steel one
<pontiki> dull knife: crushes more than slices
<jhass> so you have far less sprinkles if you want to call it that
<apeiros> ok. my knifes are pretty bad. maybe I should finally get some good ones :)
quimrstorres has joined #ruby
<apeiros> + sharpening tool oc
<pontiki> or just get them sharpened
<jhass> yeah, the zwilling ones have a pretty good price
mistermocha has quit [Ping timeout: 245 seconds]
<apeiros> pontiki: my knifes are cheap. I wanted to get decent ones for ages. just never could be bothered to spend time researching.
RegulationD has quit [Ping timeout: 244 seconds]
<pontiki> are they straight edges, not serated?
<pontiki> ah, i don't want to stop you from getting good knives, never mind
<apeiros> :D
quimrstorres has quit [Remote host closed the connection]
<apeiros> I've got a great kitchen. but there's still so much stuff missing. and I don't know where to put all that missing stuff once I got it :-S
WildBamboo-Josh has quit [Read error: Connection reset by peer]
WildBamboo-Josh has joined #ruby
quimrsto_ has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
lkba has joined #ruby
lkba_ has quit [Read error: Connection reset by peer]
chiel has quit [Ping timeout: 252 seconds]
<jhass> apeiros: I find sharpening with a stone easier than with a steel btw, makes it easier to get the angle right
chiel has joined #ruby
riotjones has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
giuseppesolinas has joined #ruby
<apeiros> jhass: ok
ponga has joined #ruby
Macaveli has joined #ruby
riotjones has quit [Ping timeout: 264 seconds]
Macaveli has quit [Client Quit]
bkxd has quit [Ping timeout: 264 seconds]
sagittarian|2 has joined #ruby
Macaveli has joined #ruby
pika_pika has joined #ruby
Macaveli has quit [Client Quit]
krisquigley has joined #ruby
psy_ has quit [Ping timeout: 240 seconds]
lanemeyer has quit []
Narzew has quit [Ping timeout: 240 seconds]
krisquigley has quit [Ping timeout: 246 seconds]
xybre has joined #ruby
xybre has quit [Changing host]
doodlehaus has joined #ruby
doodlehaus has quit [Ping timeout: 245 seconds]
codecop has joined #ruby
codecop_ has joined #ruby
Technodrome has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
phutchins has joined #ruby
robbyoconnor has joined #ruby
keen____ has joined #ruby
psy has joined #ruby
keen___ has quit [Ping timeout: 264 seconds]
jottr has quit [Read error: Connection reset by peer]
jottr has joined #ruby
shoutsid has quit [Remote host closed the connection]
shoutsid has joined #ruby
quimrsto_ has quit [Remote host closed the connection]
quimrstorres has joined #ruby
quimrsto_ has joined #ruby
quimrstorres has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
pagios has quit [Ping timeout: 276 seconds]
BTRE has quit [Quit: Leaving]
codecop has quit [Quit: Išeinu]
Technodrome has quit [Quit: Technodrome]
<shevy> a great kitchen
<shevy> and the laptop in the kitchen
BTRE has joined #ruby
<ponga> shevy: you cooking?
havenwood has joined #ruby
<ponga> hi haven
<shevy> ponga not really... I am a bad cook
stef204 has quit [Ping timeout: 265 seconds]
lessless has joined #ruby
<havenwood> g'mornin
mistermocha has joined #ruby
davedev24_ has quit [Remote host closed the connection]
lanemeyer has joined #ruby
Conner_A has quit [Write error: Connection reset by peer]
kaspernj has quit [Remote host closed the connection]
Conner_A has joined #ruby
lanemeyer has quit [Client Quit]
decoponyo has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
pontiki has quit [Ping timeout: 256 seconds]
decoponio has quit [Ping timeout: 272 seconds]
Narzew has joined #ruby
lanemeyer has joined #ruby
bruno- has joined #ruby
pagios has joined #ruby
lxsameer_ has quit [Quit: Leaving]
millerti has joined #ruby
lidenskap has joined #ruby
dseitz has joined #ruby
Dakuan has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
EasyCo has quit [Quit: Connection closed for inactivity]
jamto11 has joined #ruby
MXfive has quit [Quit: Textual IRC Client: www.textualapp.com]
ebbflowgo has joined #ruby
lanemeyer has quit [Quit: ZNC - 1.6.0 - http://znc.in]
zotherstupidguy has quit [Ping timeout: 250 seconds]
lidenskap has quit [Ping timeout: 272 seconds]
zotherstupidguy has joined #ruby
lanemeyer has joined #ruby
Rajuk1984 has joined #ruby
grr_ has joined #ruby
lanemeyer has quit [Client Quit]
grr_ has quit [Remote host closed the connection]
Rajuk1984 has quit [Client Quit]
dorei has joined #ruby
sevenseacat has joined #ruby
mengu__ has joined #ruby
zotherstupidguy has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
mengu has quit [Ping timeout: 246 seconds]
thebastl has quit [Quit: Leaving...]
RegulationD has joined #ruby
zotherstupidguy has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has quit [Ping timeout: 245 seconds]
lanemeyer has joined #ruby
cina has quit [Quit: leaving]
plutonic has quit [Quit: plutonic]
RegulationD has quit [Ping timeout: 245 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
havenn has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba_ has joined #ruby
haxrbyte has quit [Remote host closed the connection]
Narzew has quit [Ping timeout: 264 seconds]
havenwood has quit [Ping timeout: 264 seconds]
bkulbida has joined #ruby
pagios has quit [Remote host closed the connection]
Igorshp has quit [Remote host closed the connection]
zotherstupidguy has quit [Ping timeout: 256 seconds]
mengu has joined #ruby
mengu has joined #ruby
zotherst1pidguy has joined #ruby
mengu__ has quit [Ping timeout: 244 seconds]
Limix has joined #ruby
bkulbida has quit [Ping timeout: 244 seconds]
suman has joined #ruby
giuseppesolinas has quit [Quit: Leaving]
dfinninger has joined #ruby
doodlehaus has joined #ruby
Rollabun_ has joined #ruby
droidburgundy has quit [Ping timeout: 272 seconds]
moted has quit [Ping timeout: 272 seconds]
Trynemjoel has quit [Ping timeout: 272 seconds]
zorak8 has joined #ruby
mhenrixon has quit [Ping timeout: 272 seconds]
fgo has joined #ruby
<suman> Anya Soft India Private Limited requires professional Ruby developers. Please contact reddy150@gmail.com
Rollabunna has quit [Ping timeout: 272 seconds]
<sevenseacat> good to know.
Trynemjoel has joined #ruby
mhenrixon has joined #ruby
felltir has quit []
<suman> Hi sevenseacat. You can ask me any questions if you have regarding the job.
<sevenseacat> i have no questions.
<sevenseacat> however, i dislike your advertising here.
<suman> I regret being a spoil sport. I am looking for Md Ahmed
bkulbida has joined #ruby
davedev24_ has joined #ruby
suman has quit [Quit: Bye]
kanishka has joined #ruby
Igorshp has joined #ruby
enebo has joined #ruby
doodlehaus has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
riotjones has joined #ruby
AlphaAtom has quit [Ping timeout: 250 seconds]
sleepee has joined #ruby
AlphaAtom has joined #ruby
lkba_ has quit [Read error: Connection reset by peer]
lkba has joined #ruby
Igorshp has quit [Remote host closed the connection]
stef204 has joined #ruby
jeffleeismyhero has joined #ruby
evanjs has joined #ruby
hiyosi has joined #ruby
<jeffleeismyhero> I’m trying to find a succinct way to capture a date window as follows: https://gist.github.com/jeffleeismyhero/a26bb994d7d3d9e86fd9
<jeffleeismyhero> It should include all dates before and including the current date but none before
dfinning_ has joined #ruby
dfinning_ has quit [Read error: Connection reset by peer]
dfinninger has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
riotjones has quit [Ping timeout: 256 seconds]
zotherst1pidguy has quit [Ping timeout: 256 seconds]
dfinninger has quit [Read error: Connection reset by peer]
AlphaAtom has quit [Ping timeout: 244 seconds]
dfinninger has joined #ruby
emptyflask has joined #ruby
krisquigley has joined #ruby
<waxjar> jeffleeismyhero: you can just use a Range
<yh> Does Module#define_method *always* make a method public?
<waxjar> >> today = Date.today; next_week = Date.today.next_day(7); today..next_week
doodlehaus has joined #ruby
<ruboto> waxjar # => uninitialized constant Date (NameError) ...check link for more (https://eval.in/315555)
<waxjar> ah, imagine a require "date" there
<jeffleeismyhero> the range start and end are defined externally. I need to capture all dates prior to and including the current date.
gluten_hell has quit [Quit: Lingo - http://www.lingoirc.com]
<apeiros> yh: sure, just like def
<ytti> create Date objects of them, with Date#strptime and compare with <
Beoran_ has joined #ruby
<jeffleeismyhero> something like this: dates.collect(&:less_than_or_equal_to_current_day)
zotherst2pidguy has joined #ruby
krisquigley has quit [Ping timeout: 256 seconds]
<ytti> dates.select { |date| date < Time.today }
<ytti> uhh
<ytti> Date.today
<waxjar> i'm pretty sure Date is a Comparable already, so <= should work
ponga has quit [Remote host closed the connection]
<ytti> i woner which is more efficient
<dorei> >> a = Date.parse('15/04/2011', "%d/%m/%Y") ; b = Date.parse('16/04/2011', "%d/%m/%Y") ; b > a
<ruboto> dorei # => uninitialized constant Date (NameError) ...check link for more (https://eval.in/315556)
<ytti> date <= Date.today
<ytti> or date < Date.today+1
<dorei> >> require 'time' ; a = Date.parse('15/04/2011', "%d/%m/%Y") ; b = Date.parse('16/04/2011', "%d/%m/%Y") ; b > a
<ruboto> dorei # => true (https://eval.in/315557)
michael_mbp has quit [Excess Flood]
ponga has joined #ruby
ponga has quit [Remote host closed the connection]
<ytti> i guess creating two Date objects at every iteration would be bad
ponga has joined #ruby
Beoran has quit [Ping timeout: 255 seconds]
lifenoodles has quit [Ping timeout: 240 seconds]
psy has quit [Read error: Connection reset by peer]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lifenoodles has joined #ruby
michael_mbp has joined #ruby
psy has joined #ruby
Feyn has quit [Quit: Leaving]
psy has quit [Max SendQ exceeded]
<yh> apeiros: but if there's a private above - does that make it private: just like def?
psy has joined #ruby
Pupeno has quit [Quit: Leaving...]
<apeiros> yh: I think not
<apeiros> you have to use private in the form with an argument
evanjs has quit [Remote host closed the connection]
* hanmac likes the form of "private def meth; end" ;P
<ytti> such a small but obvious change
Pupeno has joined #ruby
sleepee has quit [Quit: Leaving]
mengu has quit [Remote host closed the connection]
mengu has joined #ruby
lifenoodles has quit [Ping timeout: 256 seconds]
lifenoodles has joined #ruby
bruno- has joined #ruby
doodlehaus has quit [Remote host closed the connection]
mengu has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
lifenoodles has quit [Ping timeout: 265 seconds]
lifenoodles has joined #ruby
<jhass> jeffleeismyhero: Date also has the between? method
haxrbyte has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
mengu has joined #ruby
thumpba has joined #ruby
scripore has joined #ruby
thumpba has quit [Remote host closed the connection]
ndrei has joined #ruby
<jeffleeismyhero> Using dates.select { |date| date <= Date.today } seems to meet all of the criteria
pontiki has joined #ruby
dfinninger has quit [Remote host closed the connection]
sankaber has joined #ruby
mgberlin has joined #ruby
pontiki has quit [Ping timeout: 264 seconds]
haxrbyte has quit [Remote host closed the connection]
sankaber has quit [Client Quit]
mary5030 has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
lessless has joined #ruby
mlev has quit [Ping timeout: 248 seconds]
mistermocha has quit [Ping timeout: 245 seconds]
lidenskap has joined #ruby
niKeITA has joined #ruby
<waxjar> with ruby-install, `ruby-install ruby` is supposed to install the latest version, isn't it?
<havenn> waxjar: there's no auto-update for version definitions yet
<havenn> waxjar: you can `make update` and reinstall ruby-install for latest definitions
mary5030 has quit [Remote host closed the connection]
rshetty has joined #ruby
unreal has quit [Ping timeout: 248 seconds]
Igorshp has joined #ruby
<waxjar> hmm, i just freshly installed it ruby-install trough homebrew. probably an older version on there then?
Xiti has quit [Quit: Xiti]
<havenn> waxjar: Homebrew has the latest release of ruby-install, with whatever definitions shipped with it. `brew install ruby-install --HEAD` would get more recent.
<havenn> waxjar: With whatever version of ruby-install you can: ruby-install ruby 2.2.2 --sha1 de97ec6132ac76bb7c0f92b5ca4682138093af1b
bkulbida has quit [Ping timeout: 246 seconds]
sevenseacat has quit [Quit: Me dun like you no more.]
lidenskap has quit [Ping timeout: 264 seconds]
<havenn> waxjar: There are plans for an --update or auto-update of definitions to sync with ruby-versions definitions like `make update` does now.
DerisiveLogic has joined #ruby
<havenn> waxjar: All the versions and checksums live here: https://github.com/postmodern/ruby-versions
rshetty has quit [Remote host closed the connection]
unreal has joined #ruby
<havenn> jhass: you can provide md5, sha1, sha256 and sha512 and ruby-install will check all four
<jhass> yah, just saying maybe update your copy paste notes to sha256 ;)
<havenn> ruby-install ruby 2.2.2 --sha512 d6693251296e9c6e8452786ce6b0447c8730aff7f92d0a92733444dbf298a1e7504b7bd29bb6ee4f2155ef94ccb63148311c3ed7ac3403b60120a3ab5c70a162
<waxjar> havenn: ah i see, intalling HEAD will work nicely. thx.
zotherst2pidguy has quit [Remote host closed the connection]
<waxjar> i'm writing a bash script to set up a basic environment on a new machine, can't really provide a checksum unfortunately
zotherst2pidguy has joined #ruby
Igorshp has quit [Ping timeout: 250 seconds]
vim_shimm has joined #ruby
endash has joined #ruby
niKeITA has quit [Quit: ZZZzzz…]
<shevy> ack
<shevy> a bash script
<shevy> write it in ruby!
<havenn> shevy: ack, an ack script!
<waxjar> i'd have to shell out basically every line then shevy :p
scripore has quit [Quit: This computer has gone to sleep]
naftilos76 has quit [Remote host closed the connection]
Xiti has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
scripore has joined #ruby
scripore has quit [Client Quit]
<shevy> one day we'll have the mother of all virtual machines
Mon_Ouie has quit [Ping timeout: 256 seconds]
zotherst2pidguy has quit [Remote host closed the connection]
zotherst2pidguy has joined #ruby
jeramy_s has joined #ruby
kanishka has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 246 seconds]
enebo has quit [Quit: enebo]
jeffleeismyhero has quit [Quit: jeffleeismyhero]
bkulbida has joined #ruby
mitchellhenke has joined #ruby
tmtwd has joined #ruby
Conner_A has quit [Ping timeout: 250 seconds]
Narzew has joined #ruby
lukec has joined #ruby
zorak8 has quit [Ping timeout: 250 seconds]
<jhass> shevy: the entire universe is a big virtual machine. Disprove me!
<shevy> it is true
<shevy> it's full of bugs
lifenoodles has quit [Ping timeout: 250 seconds]
lukec has quit [Client Quit]
unshadow has joined #ruby
lifenoodles has joined #ruby
Guest98654 has quit [Remote host closed the connection]
lukec has joined #ruby
vim_shimm has quit [Ping timeout: 250 seconds]
<ytti> that problem recurses
<ytti> if we are being simulated then it's almost certain that the people running the simulation are in another simulation
<havenn> jhass: FPS is too high, must be compiled.
Narzew has quit [Ping timeout: 248 seconds]
<unshadow> We just got a new R&D Manager in the company, I'm the only Ruby programmer there (2 other using C#), he asked me if Ruby is still a thing, I told him the languge is alive and kicking and not only ROR, but, looking at http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html it seems that Ruby is not that popular
<unshadow> what do you guys think ?
<havenn> unshadow: TIOBE is bizarre and not to be used for any sane decision making.
<ytti> unshadow, popularity may not be very useful metric
<havenn> unshadow: Here's something that's not based on reading chicken bones in search ranking soup: http://redmonk.com/sogrady/2015/01/14/language-rankings-1-15/
<ytti> unshadow, it's probably more relevant to consider what are your developers already comfortable with, and what is required from the software
MyGreenP1 has joined #ruby
<havenn> unshadow: Anything in the upper right isn't going away anytime soon.
lukec has quit [Client Quit]
lifenoodles has quit [Ping timeout: 252 seconds]
<havenn> The top ten langs are quite stable on their throne.
<unshadow> I see, thank you guys ! I needed that, I'll send him those graphs
lifenoodles has joined #ruby
<unshadow> Ruby is the only languge which I took above "Hello World", so seeing that it is not "dead" or "faiding" is good :)
blt has joined #ruby
<havenn> unshadow: It's a growing language. Every year RubyConf is bigger than the last.
<havenn> unshadow: And lots of interesting stuff going on right now. The future looks bright.
shoutsid has quit [Remote host closed the connection]
MyGreenP1 has quit [Ping timeout: 264 seconds]
<havenn> unshadow: Good to learn other langs though!
scripore has joined #ruby
lifenoodles has quit [Ping timeout: 252 seconds]
amclain has joined #ruby
kblake has joined #ruby
quimrsto_ has quit [Remote host closed the connection]
mlev has joined #ruby
shoutsid has joined #ruby
lifenoodles has joined #ruby
MyGreenP1 has joined #ruby
mleung has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
tmtwd_ has joined #ruby
lifenoodles has quit [Ping timeout: 252 seconds]
sohrab has joined #ruby
tmtwd has quit [Ping timeout: 246 seconds]
lifenoodles has joined #ruby
freerobby has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
lukec has joined #ruby
kappy has quit [Remote host closed the connection]
sriehl has joined #ruby
cefkamcau has joined #ruby
Narzew has joined #ruby
riotjones has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
mlev has quit [Read error: Connection reset by peer]
lifenoodles has quit [Ping timeout: 245 seconds]
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
robbyoconnor has joined #ruby
vim_shimm has joined #ruby
jamto11 has quit [Remote host closed the connection]
lifenoodles has joined #ruby
FernandoBasso has quit [Quit: leaving]
riotjones has quit [Ping timeout: 264 seconds]
ta has quit [Remote host closed the connection]
ta has joined #ruby
mistermocha has joined #ruby
mitchellhenke has quit [Quit: Textual IRC Client: www.textualapp.com]
ta has quit [Remote host closed the connection]
krisquigley has joined #ruby
lifenoodles has quit [Ping timeout: 246 seconds]
Pupeno has quit [Remote host closed the connection]
Spami has joined #ruby
lavros has quit [Ping timeout: 245 seconds]
lukec has quit [Quit: lukec]
lifenoodles has joined #ruby
hellome has joined #ruby
quimrstorres has joined #ruby
lavros has joined #ruby
kubunto has joined #ruby
krisquigley has quit [Ping timeout: 256 seconds]
lifenoodles has quit [Ping timeout: 248 seconds]
ujihisa has joined #ruby
edwinvdgraaf has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
rdark has joined #ruby
Rickmasta has joined #ruby
FooMunki has quit [Read error: Connection reset by peer]
mitchellhenke has joined #ruby
bim has joined #ruby
bim is now known as Guest60433
lifenoodles has joined #ruby
<kubunto> could someone take a look at this to see if i can write it better https://github.com/sammarder/Ruby-Log-Reader
blt has quit [Ping timeout: 264 seconds]
mlev has joined #ruby
panga has joined #ruby
haxrbyte has quit [Remote host closed the connection]
lifenoodles has quit [Ping timeout: 272 seconds]
greenbagels has joined #ruby
hellome has quit [Read error: Connection reset by peer]
ponga has quit [Ping timeout: 256 seconds]
lifenoodles has joined #ruby
hellome has joined #ruby
dcarper has joined #ruby
redlegion has joined #ruby
Rollabun_ has quit [Quit: Leaving...]
lukec has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
twistedpixels is now known as zz_twistedpixels
MyGreenP1 has quit [Ping timeout: 245 seconds]
robbyoconnor has joined #ruby
claptor has joined #ruby
ujihisa has quit [Ping timeout: 248 seconds]
lifenoodles has quit [Ping timeout: 265 seconds]
lifenoodles has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
panga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
lifenoodles has quit [Ping timeout: 244 seconds]
www-BUKOLAY-com has joined #ruby
nahtnam has joined #ruby
zotherst2pidguy has quit [Ping timeout: 256 seconds]
lifenoodles has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
lukec has quit [Quit: lukec]
sriehl has quit []
zotherst2pidguy has joined #ruby
hackeron_ has joined #ruby
yh has quit [Ping timeout: 272 seconds]
<havenn> kubunto: consider `return unless line.start_with? '---'` instead of: https://github.com/sammarder/Ruby-Log-Reader/blob/master/parser.rb#L39-L41
quimrstorres has quit [Remote host closed the connection]
<havenn> kubunto: use the falseyness of `nil` instead of the nil checks
robbyoconnor has quit [Ping timeout: 256 seconds]
hackeron has quit [Ping timeout: 246 seconds]
quimrstorres has joined #ruby
rshetty has joined #ruby
<havenn> kubunto: drop all the returns other than the line ~39 one. they do nothing.
redlegion has quit [Quit: leaving]
Pupeno has quit [Remote host closed the connection]
balazs_ has joined #ruby
lifenoodles has quit [Ping timeout: 256 seconds]
edwinvdgraaf has joined #ruby
<havenn> kubunto: the `for` loop in main.rb isn't idiomatic. i'd use the Slop gem for option parsing, or if you prefer OptionParser in the stdlib.
<havenn> kubunto: like i said i'd use Slop, but just for an example: if ARGV.any? { |param| %w[-f --file].include? param } ...
<jhass> kubunto: don't prefix accessor methods with get_ or set_, name them foo and foo=
yh has joined #ruby
mistermocha has quit [Ping timeout: 245 seconds]
lifenoodles has joined #ruby
quimrstorres has quit [Ping timeout: 244 seconds]
ych has joined #ruby
Pupeno has joined #ruby
ych is now known as Guest7525
Channel6 has joined #ruby
shellfu_afk has quit [Remote host closed the connection]
rocco88 has joined #ruby
<kubunto> ok i put in the return unless on my end and choped off get from get_state
mary5030 has joined #ruby
<kubunto> what do you mean exactly by not idiomatic?
thumpba has joined #ruby
<yh> get return outta my ruby
ramfjord has joined #ruby
mgberlin has quit [Remote host closed the connection]
colorados has quit [Ping timeout: 264 seconds]
<kubunto> then how do i refactor them out?
lifenoodles has quit [Ping timeout: 240 seconds]
<yh> kubunto: if you only have one exit point from a method, remove "return" and just have its final line evaluate to the value you'd like returned
<yh> if you have multiple exit points, extract methods such that they do not
pontiki has joined #ruby
lifenoodles has joined #ruby
mengu has quit [Remote host closed the connection]
<havenn> kubunto: We don't use `for` loops for a couple sundry reasons. Try `3.times { |i| puts i }` or `0.upto(2) { |i| puts i }`. But where you used the `for` loop we'd not use the index at all. Look at the #any? example I gave above.
Morrolan has quit [Quit: ZNC: Shutting down.]
mgberlin has joined #ruby
_2_nel has joined #ruby
<kubunto> havenn: i pulled up the slop doc and it looks pretty awesome
_2_nel has quit [Quit: WhatsChat IRC Android APP]
zz_twistedpixels is now known as twistedpixels
Morrolan has joined #ruby
NoNMaDDeN has joined #ruby
<kubunto> yh: could you give me an example using one of the methods?
Narzew has quit [Ping timeout: 250 seconds]
Naypalm has joined #ruby
antgel has quit [Ping timeout: 265 seconds]
<Naypalm> having problems with 'nokogiri' on centos 6. it will not install with bundle install, but it will with the package manager
<Naypalm> but then the app doesn't load if it's the system's version
The_Phoenix has quit [Read error: Connection reset by peer]
<havenn> Naypalm: What's the failure with `bundle install`?
scripore has joined #ruby
<yh> kubunto: where is the code
<yh> btw i probably don't have time anyway
<kubunto> yh: gotcha
lifenoodles has quit [Ping timeout: 256 seconds]
pontiki has quit [Ping timeout: 264 seconds]
_2_nel has joined #ruby
Pupeno has quit [Remote host closed the connection]
<havenn> Naypalm: "You have to install development tools first."
_2_nel has quit [Client Quit]
Kurisu has joined #ruby
lifenoodles has joined #ruby
Morrolan has quit [Client Quit]
<havenn> Naypalm: sudo yum install -y gcc ruby-devel zlib-devel
Pupeno_ has joined #ruby
toma678 has joined #ruby
vim_shimm has quit [Ping timeout: 265 seconds]
<Naypalm> I have all of those installed
<Naypalm> as well as the development tools group
<havenn> Naypalm: Hrm.
<toma678> Hi guys, I was wondering why this code doesn't wait for user input before it exits.. https://gist.github.com/toma678/527ed0d11561699cddc9
<toma678> Oops
<havenn> Naypalm: Using EPEL?
mleung has quit [Quit: mleung]
<toma678> I was wondering why that doesn't wait for input before it exits, anyone?
<jhass> Naypalm: dig out mkmf.log please
<Kurisu> Usually takes time for an answer toma678
Morrolan has joined #ruby
<Naypalm> yeah I am havenn
zotherst2pidguy has quit [Ping timeout: 252 seconds]
<havenn> Naypalm: So the one that works is the rubygem-nokogiri package? Like jhass said, show us the mkmf.log.
sohrab has quit [Ping timeout: 246 seconds]
twistedpixels is now known as zz_twistedpixels
zorak8 has joined #ruby
<Naypalm> yeah it's rubygem-nokogiri
zotherstupidguy has joined #ruby
colorados has joined #ruby
<Naypalm> "sh: /usr/bin/gcc: Permission denied" sticks out?
<jhass> yeah
<jhass> sounds like your user isn't allowed to execute it?
sohrab has joined #ruby
lukequaint has joined #ruby
bkulbida has quit [Ping timeout: 256 seconds]
<Naypalm> hmmm
<Naypalm> that'd be it, gcc's not executable for me
Narzew has joined #ruby
AlphaAtom has joined #ruby
<jhass> so stable! so secure!
<jhass> scnr
mgberlin has quit [Remote host closed the connection]
<Naypalm> yeah...
<Naypalm> I love centos, woo
<Naypalm> apparently there's a compilers group
x1337807x has joined #ruby
<Naypalm> boink
jamto11 has joined #ruby
blt has joined #ruby
rocco88 has quit [Quit: rocco88]
Igorshp has joined #ruby
beat_ has joined #ruby
hannahkoala has joined #ruby
<Naypalm> still the same error?!
lnr has quit [Ping timeout: 245 seconds]
mkode has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
mkode has quit [Client Quit]
<Naypalm> what.
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
ta has joined #ruby
jamto11 has quit [Ping timeout: 252 seconds]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
Technodrome has joined #ruby
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
vim_shimm has joined #ruby
<Narzew> Naypalm: do you have dev tools installed ?
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
<Naypalm> yep
<Naypalm> not every one, I don't think sbcl is there
<Naypalm> but the good ones
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
gregf has joined #ruby
edwinvdgraaf has joined #ruby
lnr has joined #ruby
Igorshp has quit [Ping timeout: 245 seconds]
lnr has quit [Max SendQ exceeded]
Narzew has quit [Quit: Leaving]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
<havenn> Naypalm: mkmf.log?
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
sohrab has quit [Ping timeout: 244 seconds]
|insufficientfun has joined #ruby
|insufficientfun has left #ruby [#ruby]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
lnr has joined #ruby
lnr has quit [Max SendQ exceeded]
sohrab has joined #ruby
RegulationD has joined #ruby
<havenn> Naypalm: Is that a success? Show for the bundle fail.
<Naypalm> but there isn't one
<Naypalm> it's the same output as before
<havenn> oh, the permissions issue?
<Naypalm> "Make sure that `gem install nokogiri -v '1.4.4'` succeeds before bundling."
<Naypalm> I then do gem install bla bla
<Naypalm> it works
<Naypalm> I do bundle install again
<Naypalm> it tells me to check if it works, which it does
vhlfd has quit [Quit: ZNC - http://znc.in]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
scripore has quit [Quit: This computer has gone to sleep]
amdbcg has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
<havenn> Naypalm: So you're getting a permissions issue with gcc but only with bundler?
<toma678> Any reason why this isn't waiting for the gets at the end? https://gist.github.com/toma678/527ed0d11561699cddc9
<Naypalm> oh does bundler not run as the caller?
<kubunto> havenn: does slop automatically parse arguments or do i have to give it the argument string?
RegulationD has quit [Ping timeout: 240 seconds]
<Naypalm> "find ~ -name mkmf.log" has only one file, the successful build of nokogiri
ta has quit [Ping timeout: 252 seconds]
<jhass> Naypalm: is there a mkmf.log somewhere in /tmp/bundler20150419-12461-rky3qq ?
pika_pika has quit [Ping timeout: 245 seconds]
<kubunto> havenn: nvm
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
A205B064 has joined #ruby
<Naypalm> I'm not seeing any /tmp/bundler*
vim_shimm has quit [Ping timeout: 246 seconds]
quimrstorres has joined #ruby
bruno- has quit [Quit: Lost terminal]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
scripore has joined #ruby
kblake has quit [Remote host closed the connection]
<havenn> Naypalm: There's not a?: /tmp/bundler20150419-12461-rky3qq/
bkulbida has joined #ruby
<Naypalm> stat: cannot stat `/tmp/bundler20150419-12461-rky3qq/': No such file or directory
<havenn> I guess it was *really* temporary. :P
<Naypalm> oh rather
quimrstorres has quit [Ping timeout: 245 seconds]
mary5030 has quit [Read error: Connection reset by peer]
<Naypalm> yeah that is odd
mary5030 has joined #ruby
<havenn> toma678: What do you mean it isn't waiting for it?
emptyflask has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 276 seconds]
<Naypalm> doing a strace it opens the directory, then removes the directory immediately without doing anything
Rickmasta has joined #ruby
Rickmasta has quit [Max SendQ exceeded]
<Naypalm> futex(0x7f971d3789d0, FUTEX_WAIT, 17132, NULL) = -1 EAGAIN (Resource temporarily unavailable)
kerframil has quit [Ping timeout: 272 seconds]
<Naypalm> and whatever that is is near the end of the strace
rshetty has quit [Remote host closed the connection]
<toma678> havenn, it closes before any input is received, it just goes past
<havenn> Naypalm: Does it not have permission to write to /tmp/ or something?
Rickmasta has joined #ruby
rshetty has joined #ruby
<havenn> toma678: So it gets to line 23 but doesn't pause for input on line 24?
rshetty has quit [Remote host closed the connection]
<toma678> havenn, Yeah, it just ends the program and so closes the prompt
<havenn> toma678: What happens if you remove line 21 and above?
<havenn> toma678: Does it still just close?
scripore has quit [Quit: This computer has gone to sleep]
rshetty has joined #ruby
MasterPiece has joined #ruby
ujihisa has joined #ruby
bradleyprice has joined #ruby
adam| is now known as adam12
<toma678> havenn, Yeah, it waits for a response there. Must be due to the system command I'm running...
MasterPiece has quit [Max SendQ exceeded]
<Kurisu> sass is being broke toma678 ¯\_(ツ)_/¯ ?
MasterPiece has joined #ruby
<havenn> Naypalm: More permissions issues?
<Naypalm> but Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root)
<Naypalm> on /tmp
edwinvdgraaf has quit [Remote host closed the connection]
<Naypalm> which is normal
mistermocha has joined #ruby
edwinvdgraaf has joined #ruby
tubuliferous_ has joined #ruby
<Naypalm> unless there's some kind of temp-destroyer
Dakuan has quit [Remote host closed the connection]
MasterPiece has quit [Max SendQ exceeded]
MasterPiece has joined #ruby
tommylommykins has joined #ruby
Technodrome has quit [Quit: Technodrome]
kubunto has quit [Quit: Hack the world, one step at a time]
MasterPiece has quit [Max SendQ exceeded]
MasterPiece has joined #ruby
MasterPiece has quit [Changing host]
MasterPiece has joined #ruby
haxrbyte has joined #ruby
hannahkoala has quit [Quit: My computer has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
red_menace has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
MasterPiece has quit [Max SendQ exceeded]
MasterPiece has joined #ruby
MasterPiece has quit [Max SendQ exceeded]
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Naypalm> okay but does bundler run as a different user?
<Naypalm> bundle*
serivich has quit [Quit: Leaving]
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby
balazs_ has quit [Remote host closed the connection]
revoohc has joined #ruby
riotjones has joined #ruby
balazs_ has joined #ruby
<havenn> Naypalm: So it seems Bundler is just nuking the tmp file it created and is pointing you to in the log?
<Naypalm> yep
jamto11 has joined #ruby
<Naypalm> creates a directory, deletes the directory
<Naypalm> nothing happens inbetween
gmas has quit [Ping timeout: 272 seconds]
<havenn> Naypalm: What version of bundler?
colorados has quit [Ping timeout: 252 seconds]
<Naypalm> Bundler version 1.9.4
<havenn> yeah, so it looks like you're running into a new bundler 'feature' :P
<Naypalm> > 28 Nov 2014
<Naypalm> that'll be in centos 6 then
<Naypalm> hooooo
<Naypalm> -.-
<Naypalm> guess I'm building bundler!
lukequaint has quit [Quit: Bye!]
charliesome has quit [Quit: zzz]
riotjones has quit [Ping timeout: 264 seconds]
gkra has joined #ruby
Dakuan has joined #ruby
<Naypalm> so if I clone the bundler repo how would I go about installing it locally?
krisquigley has joined #ruby
a5i has quit []
ujihisa has quit [Ping timeout: 264 seconds]
<havenn> Naypalm: gem install bundler --version 1.7.7
ta has joined #ruby
colorados has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
<havenn> I don't know where in that code they think it's checking for an empty dir...?
krisquigley has quit [Ping timeout: 265 seconds]
balazs_ has quit [Remote host closed the connection]
<Naypalm> why install an older version?
<havenn> They forgot an: && Dir.entries(@tmp).empty?
timonv has quit [Ping timeout: 248 seconds]
allcentury has joined #ruby
<havenn> Naypalm: So you can see the log of the failure. Since they're nuking the log in newer versions of bundler it appears.
zotherstupidguy has quit [Ping timeout: 272 seconds]
zotherstupidguy has joined #ruby
<Naypalm> installed, how do I make sure I'm using it?
<havenn> Naypalm: You could just fix the issue in the current version of bundler. You can just edit the gem, it's just text. However you want to do it.
bruno- has joined #ruby
<Naypalm> ok
<Naypalm> I was going to build it from source
<havenn> Naypalm: Uninstalling the other versions of bundler is one way.
<Naypalm> I ran `rake bla:bla` but not sure how ruby modules work
<havenn> Naypalm: You can just `gem open bundler` and go edit it.
<havenn> Naypalm: However you want to do it.
zz_Outlastsheep has quit [Remote host closed the connection]
<havenn> Naypalm: If you edit a gem, you can restore it to factory conditions with `pristine`, e.g.: gem pristine bundler
fxck has quit [Read error: Connection reset by peer]
scripore has joined #ruby
jamto11 has quit [Remote host closed the connection]
swgillespie has joined #ruby
<havenn> Naypalm: I would just `gem open bundler`, add `&& Dir.entries(@tmp).empty?` to `lib/bundler.rb` line 220, then try it. Then go back to pristine.
totimkopf has joined #ruby
<havenn> So you don't forget and leave a modified bundler laying around!
charliesome has joined #ruby
mistermocha has quit [Ping timeout: 264 seconds]
Technodrome has joined #ruby
edwinvdgraaf has joined #ruby
a5i has joined #ruby
bkulbida has quit [Ping timeout: 248 seconds]
towski_ has joined #ruby
hannahkoala has joined #ruby
unshadow has quit [Ping timeout: 244 seconds]
rshetty has quit [Remote host closed the connection]
zorak8 has quit [Quit: Leaving]
bkulbida has joined #ruby
freerobby has quit [Quit: Leaving.]
edwinvdgraaf has quit [Remote host closed the connection]
bruno- has quit [Quit: Lost terminal]
ta_ has joined #ruby
bruno- has joined #ruby
lukequaint has joined #ruby
<sohrab> i just started fooling around with the socket library. you can pretty much create a lightweight api with it, right? why bother with sinatra?
Dakuan has quit [Remote host closed the connection]
bruno- has quit [Client Quit]
ta_ has quit [Ping timeout: 252 seconds]
SHyx0rmZ has joined #ruby
bruno- has joined #ruby
claptor has quit [Quit: this channel is bakas]
<Naypalm> deary me
hellome has quit [Read error: Connection reset by peer]
Nahra has joined #ruby
hellome has joined #ruby
SouL_|_ has joined #ruby
quimrstorres has joined #ruby
tus has joined #ruby
totimkopf has quit [Quit: leaving]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
hellome has quit [Read error: Connection reset by peer]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hellome has joined #ruby
MXfive has joined #ruby
NoNMaDDeN has quit [Quit: Leaving...]
ag4ve_ has quit [Ping timeout: 245 seconds]
hellome has quit [Remote host closed the connection]
hellome has joined #ruby
<jhass> sohrab: because of rack. sinatra is basically a nice DSL for a rack app
quimrstorres has quit [Ping timeout: 240 seconds]
ag4ve_ has joined #ruby
<apeiros> sohrab: socket? so you want to write the webserver yourself too?
<jhass> of course! all the other ones suck and do stuff I don't want!
MXfive has quit [Read error: Connection timed out]
<sohrab> hm, i don't have any specific goal. i'm just trying to learn how it works at the lower level
lavros has quit [Quit: leaving]
lidenskap has joined #ruby
dj_zubehoer has joined #ruby
MXfive has joined #ruby
<havenn> sohrab: Have you tried making a plain vanilla Rack app?
DerisiveLogic has quit [Ping timeout: 252 seconds]
<sohrab> havenn, no, do you recommend that? maybe i'll try it out now
mrmargolis has joined #ruby
balazs_ has joined #ruby
emptyflask has joined #ruby
pontiki has joined #ruby
hannahkoala has quit [Quit: My computer has gone to sleep. ZZZzzz…]
balazs_ has quit [Ping timeout: 256 seconds]
mary5030 has quit [Remote host closed the connection]
<sohrab> huh... that was easy
balazs_ has joined #ruby
<havenn> sohrab: Now you can use any Rack webserver, so try `gem install puma` then: rackup -s puma
MXfive has quit [Quit: Textual IRC Client: www.textualapp.com]
hannahkoala has joined #ruby
pontiki has quit [Ping timeout: 255 seconds]
<havenn> sohrab: Hobbit is a good simple, Sinatra-like example of how a Rack adapter can add some sugar: https://github.com/patriciomacadden/hobbit
<havenn> sohrab: ^ Not much code to read.
ramfjord has quit [Ping timeout: 252 seconds]
lolmaus has quit [Ping timeout: 256 seconds]
<havenn> sohrab: Another Rack adapter I'd suggest looking at is Roda. Good stuff!: https://github.com/jeremyevans/roda
Pupeno_ has quit [Quit: Leaving...]
<havenn> sohrab: Here are some examples of Hello, world! in various Rack adapters: https://github.com/luislavena/bench-micro
balazs_ has quit [Ping timeout: 256 seconds]
MatthewsFace has quit [Remote host closed the connection]
<havenn> sohrab: Just an aside, but here's a code spike for Rack 2 ideas: https://github.com/tenderlove/the_metal#synopsis
ta has quit [Remote host closed the connection]
Filete has joined #ruby
hannahkoala has quit []
hackeron_ has quit [Remote host closed the connection]
<sohrab> cool
fgo has quit [Quit: WeeChat 1.1.1]
nhhagen has joined #ruby
<sohrab> so the components are: (a) rack-compatible web server (unicorn, pump, etc), (b) rack, (c) rack adapter (sinatra, hobbit, roda, ete) ?
FernandoBasso has joined #ruby
<havenn> sohrab: yup
bMalum has joined #ruby
BradPitt has quit [Ping timeout: 245 seconds]
<havenn> sohrab: Rack webserver (Puma, Unicorn, Rainbows!, Thin, Passenger, Reel-Rack, etcetera or default WEBrick.) -> Rack and optional Rack Middleware -> optional Rack adapter (Rails, Roda, Cuba, Lotus, Sinatra, Padrino, NYNY, Hobbit, Ramaze, Camping, Scorched, etcetera.)
DerisiveLogic has joined #ruby
zotherstupidguy has quit [Ping timeout: 276 seconds]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zotherstupidguy has joined #ruby
<havenn> sohrab: More webserver options on JRuby or other engines.
<sohrab> k, ty. creating a simple server with the socket library is probably a bad idea, but why? is it error prone? insecure?
jheg has joined #ruby
red_menace has left #ruby ["leaving..."]
lidenskap has quit [Remote host closed the connection]
hackeron has joined #ruby
toma678 has quit [Quit: Leaving]
<sohrab> wow hobbit is tiny
gmas has joined #ruby
<havenn> sohrab: What are you going to use for HTTP parsing? How are you going to handle parallel requests?
<havenn> sohrab: Rack is just what the community has concentrated efforts around.
<sohrab> got it
jeramy_s has joined #ruby
<jhass> that said it's not wasted effort to learn the protocol, just don't expect to end up with anything you'd really want to use ;)
jeramy_s has quit [Client Quit]
workmad3 has joined #ruby
jeramy_s has joined #ruby
<havenn> sohrab: If you control it and have Ruby on both sides look at DRb (dRuby) in the stdlib.
centrx has joined #ruby
centrx has quit [Client Quit]
RegulationD has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<sohrab> whoa @ druby
Guest60433 has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
doodlehaus has joined #ruby
ponga has quit [Quit: Leaving...]
freerobby has joined #ruby
hollywood has quit [Quit: Leaving]
rkazak has joined #ruby
elaptics_away is now known as elaptics
lolmaus has joined #ruby
<havenn> >> require 'rinda/tuplespace'; space = Rinda::TupleSpace.new; space.write [42, :the_answer_to_life_the_universe_and_everything]; space.read [nil, :the_answer_to_life_the_universe_and_everything], 0.00001
<ruboto> havenn # => (https://eval.in/315588)
<havenn> forbidden!
<havenn> #=> [42, :the_answer_to_life_the_universe_and_everything]
RegulationD has quit [Ping timeout: 256 seconds]
havenn is now known as havenwood
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
mistermocha has joined #ruby
iamjarvo has joined #ruby
quimrstorres has joined #ruby
babykosh has joined #ruby
charliesome has quit [Quit: zzz]
quimrstorres has quit [Ping timeout: 252 seconds]
pontiki has joined #ruby
ta has joined #ruby
<Technodrome> anyone here use mechanize alot?
<havenwood> I guess a better example would be: read [Integer, /answer/] #=> [42, :the_answer_to_life_the_universe_and_everything]
zz_twistedpixels is now known as twistedpixels
haxrbyte has quit [Ping timeout: 250 seconds]
codefo has quit [Quit: Textual IRC Client: www.textualapp.com]
kracker has joined #ruby
<jhass> ?anyone Technodrome
<ruboto> Technodrome, Just ask your question, if anyone has, they will respond.
<Technodrome> er sorry yeah
allcentury has quit [Ping timeout: 265 seconds]
<adaedra> eh
<Technodrome> i believe the mechanize module overrides .at but i can’t find it
doodlehaus has quit [Remote host closed the connection]
<jhass> .method(:at).source_location
<jhass> .owner can help too
<certainty> [_emacs
<certainty> meh
balazs_ has joined #ruby
<adaedra> [_vim
<jhass> certainty: nice troll
ta has quit [Ping timeout: 276 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
<kracker> Hello everyone, I'm very new to ruby but not programing in general, I'm trying to authorize my ruby based shell script oath application but i'm failing to understand how to do this as the docs are very unclear (to me). I am trying to follow this step in the Readme.md, https://github.com/peter-murach/github#34-application-oauth
<kracker> I'm just not clear how to get the authorization_code variable mentioned in the docs
mengu__ has joined #ruby
<kracker> i'm happy to answer any questions on how i'm doing exactly what i'm doing and as always any help would be greatly appreciated
<jhass> you probably ask the user for it
<jhass> that's why I still used the token API besides it being deprecated as I understood it
<certainty> jhass: nah my keyboard didn't seem to respond
nettoweb has joined #ruby
dj_zubehoer has quit [Remote host closed the connection]
lidenskap has joined #ruby
<adaedra> kracker: do you understand how oauth works?
dj_zubehoer has joined #ruby
dj_zubehoer has quit [Remote host closed the connection]
<kracker> jhass: i'm wrtting a shell script ..
<kracker> adaedra: yes, a little, i've done oauth integrations before but they were all browser based
<adaedra> ah
<jhass> kracker: kracker yeah, the authorization API you linked to is more suited for browser applications where you can redirect the user and github can redirect back
<kracker> fg
<kracker> oops :\
BTRE has quit [Quit: Leaving]
<adaedra> so, if I understand correctly, it’s the code you’re supposed to get from the user, yes
<kracker> jhass: thank you for this response, i did wonder
<adaedra> you will give him the address generated by the code snippet, he opens it, follow directions, and get the code he gives back to you
ismaelga has joined #ruby
oddskill is now known as oddskill_away
spider-mario has joined #ruby
towski_ has quit [Remote host closed the connection]
<kracker> jhass: i'm just trying to write a github api using shell script to query github for the most basic information (read-only), any suggestions on an alternative? i started rewriting my script to use oath and the above linked library because i was getting 403 responses to my existing script i guess because i was making to many unauthenticated requests (as I was debugging and extending the script)
pika_pika has joined #ruby
<adaedra> yeah, github api has a low limit on unauth requests iirc
babykosh has quit [Quit: babykosh]
<adaedra> I hit it with homebrew the other day
<kracker> adeponte: can i do this via cli lynx and re-use the authorization_code in my app?
lidenskap has quit [Remote host closed the connection]
<jhass> kracker: https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization not sure if/how the gem exposes that
<jhass> note that client_id/client_secret are optional there
mengu__ has quit [Read error: Connection reset by peer]
mengu__ has joined #ruby
<adaedra> kracker: it’s not something I already did, I’m guessing from experience on oauth as user
<kracker> hmm, i've already started going down the github application path btw
workmad3 has quit [Ping timeout: 250 seconds]
allcentury has joined #ruby
<adaedra> kracker: but I think you’ll have explcitely to ask the user to go there (by opening a web brower maybe, but I’m not sure lynx is a good idea for this) and get back the code by input from the user, which will get it from website
<adaedra> are you writing something that will be executed in cli-only environment?
<kracker> yes
<adaedra> that may be a problem then
BTRE has joined #ruby
<kracker> i previously tried to do what you suggest adaedra but was afraid my different server ip my be a problem
<jhass> I still didn't grasp what the new flow should be for CLI apps either, but the one I implemented there still works well and without a browser
<kracker> and it didn't work
bmn has quit [Quit: obai]
sriehl has joined #ruby
<Naypalm> is there an alternative to 'pg' that works with ruby 1.9.3?
<Naypalm> I am migrating this client's site and the headaches I'm experiencing are out of this world
<adaedra> an older pg ?
riotjones has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mistermocha has quit [Ping timeout: 255 seconds]
<jhass> kracker: so if I follow https://developer.github.com/changes/2014-12-08-removing-authorizations-token/ correctly they just remove fetching the token, creating and using one should still be possible after tomorrow, so I'd recommend that flow
Matachines has joined #ruby
<jhass> Naypalm: pg readme still says it supports Rub 1.9.3+
balazs_ has quit [Remote host closed the connection]
willharrison has joined #ruby
<jhass> Naypalm: so what makes you imply it's not compatible
<jhass> ?
lolmaus has quit [Ping timeout: 256 seconds]
MatthewsFace has joined #ruby
<sohrab> does the environment hash that rack accepts come from the web server?
<Naypalm> oops yeah jhass, it was not finding my pg_config
<Naypalm> well I just don't really expect packages to be maintained for ancient versions of ruby, jhass
bmn has joined #ruby
charliesome has joined #ruby
<jhass> hehe
longfeet has joined #ruby
riotjones has quit [Ping timeout: 255 seconds]
<Naypalm> I mean we're on 2.2.2, if I decide to use 1.8 I don't expect everything to work
DerisiveLogic has quit [Ping timeout: 246 seconds]
krisquigley has joined #ruby
lukequaint has quit [Quit: Bye!]
sriehl has quit []
zotherstupidguy has quit [Ping timeout: 240 seconds]
<jhass> 1.8 -> 1.9 was a much bigger step than 1.9 -> 2.2 still is though
<jhass> 2.0-2.2 mostly added new features
<jhass> the most breaking changes are things like .chars returning arrays instead of enumerators
<kracker> special thanks to jhass and adaedra ... i think i finally figured out how to 'manually' authorize my application and get my access_token. i think i'm good to go .. for now at least ;D
<adaedra> good
zotherstupidguy has joined #ruby
<Naypalm> the only change I remember was 1.7 to 1.8, then I moved to Python haha
<Technodrome> undefined method `instance_methods' doesn’t every method have this?
<Naypalm> before that I was a Perler
MatthewsFace has quit [Ping timeout: 256 seconds]
<Naypalm> the good old 1.8 days
<Naypalm> find_executable: checking for pg_config... -------------------- no
<Naypalm> arrrr die y'bastard
<jhass> Technodrome: no, only classes and modules
<jhass> which makes sense if you look the methods names
<jhass> *name
krisquigley has quit [Ping timeout: 264 seconds]
<jhass> what would be the instance methods an object contains? it's not a Module or Class that would contain a list of methods
anthony has joined #ruby
<jhass> all objects respond to .methods though, which lists all methods the object itself responds to
anthony is now known as Guest25720
balazs_ has joined #ruby
odin22 has joined #ruby
zotherstupidguy has quit [Ping timeout: 245 seconds]
phpmaster has left #ruby [#ruby]
CatMartyn has joined #ruby
rgb-one has joined #ruby
thumpba has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 276 seconds]
shevy has joined #ruby
codecop_ has quit [Remote host closed the connection]
sohrab has quit [Ping timeout: 255 seconds]
sohrab has joined #ruby
rgb-one has quit [Remote host closed the connection]
<Naypalm> Can't handle 1.9.x yet
Technodrome has quit [Quit: Technodrome]
<Naypalm> -.-
<Naypalm> bloody ruby-debug-base
zotherstupidguy has joined #ruby
<jhass> Naypalm: get pry
Technodrome has joined #ruby
bim has joined #ruby
<jhass> Naypalm: on 1.9 pry-debugger makes it a full debugger, on 2.0+ use pry-byebug. Add pry-stack_explorer on both
bim is now known as Guest91367
yfeldblum has joined #ruby
yqt has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rombocua has joined #ruby
<rombocua> 1-2+3-4+5-6 ...
nettoweb has joined #ruby
<jhass> rombocua: it's getting boring
<rombocua> jhass: why?
<jhass> because nobody really reacts to it anymore (so it's offtopic and no conversation) and not a Ruby topic
odin22 has quit [Quit: Leaving]
<jhass> just say "hi"
<jhass> and maybe decide on a nick ;)
<rombocua> I just trying to be original!
Timba-as has joined #ruby
banister has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
banister has quit [Max SendQ exceeded]
<Naypalm> ty jhass
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Guest91367 has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
quimrstorres has joined #ruby
<rombocua> bye
bMalum_ has joined #ruby
rombocua has left #ruby [#ruby]
jheg has quit [Quit: jheg]
<havenwood> >> 1.upto(Float::INFINITY).with_object(['-', '+'].cycle).lazy.flat_map { |n, sign| [n, sign.next] }.first(11).join
<ruboto> havenwood # => "1-2+3-4+5-6" (https://eval.in/315592)
RegulationD has quit [Remote host closed the connection]
dc has joined #ruby
bMalum has quit [Ping timeout: 256 seconds]
bMalum_ is now known as bMalum
eshiffob has joined #ruby
iamjarvo has joined #ruby
mengu_ has joined #ruby
mengu_ has joined #ruby
zotherstupidguy has quit [Ping timeout: 265 seconds]
Matachines has quit [Quit: Textual IRC Client: www.textualapp.com]
ujihisa has joined #ruby
quimrstorres has quit [Ping timeout: 265 seconds]
nhhagen has quit [Remote host closed the connection]
mengu__ has quit [Ping timeout: 256 seconds]
zotherstupidguy has joined #ruby
cefkamcau has quit [Ping timeout: 250 seconds]
jheg has joined #ruby
freerobby has quit [Quit: Leaving.]
cuaromboide has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mitchellhenke has joined #ruby
lolmaus has joined #ruby
scripore has joined #ruby
sigurding has joined #ruby
lolmaus has quit [Client Quit]
mengu_ has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
lidenskap has joined #ruby
colorisco has quit [Ping timeout: 264 seconds]
hanmac has quit [Quit: Leaving.]
gkra_ has joined #ruby
mengu__ has joined #ruby
gkra has quit [Ping timeout: 250 seconds]
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dj_zubehoer has joined #ruby
colorisco has joined #ruby
hanmac has joined #ruby
dj_zubehoer has quit [Ping timeout: 264 seconds]
kyrylo has quit [Ping timeout: 244 seconds]
dc has quit [Read error: Connection reset by peer]
stef204 has joined #ruby
sigurding has quit [Quit: sigurding]
dc has joined #ruby
Dakuan has joined #ruby
lkba_ has joined #ruby
towski_ has joined #ruby
blt has quit [Ping timeout: 250 seconds]
lkba has quit [Ping timeout: 252 seconds]
gkra_ has quit [Remote host closed the connection]
gkra has joined #ruby
codefo has joined #ruby
aphprentice_ has quit [Remote host closed the connection]
michaeldeol has joined #ruby
hanmac has quit [Quit: Leaving.]
Narzew has joined #ruby
pontiki has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
Dakuan has quit [Remote host closed the connection]
platzhirsch has joined #ruby
<Technodrome> jhass: I see
<Technodrome> i would just love to see what methods this object responds to without all the buit in crap
<pipework> Sounds like a job for exploring ruby!
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elaptics is now known as elaptics_away
<havenwood> ?pry Technodrome
<ruboto> Technodrome, Pry, the better IRB. Includes easy object inspection via `ls`, `history`, docs view with `?`, source view with `$` and syntax highlighting, among other features (see `help` for more). It can also be used for easy debugging by putting ’binding.pry’ directy in your source code. Visit https://pryrepl.org/ or get it now with gem install pry pry-doc
bMalum has quit [Ping timeout: 246 seconds]
MatthewsFace has joined #ruby
Guest7525 has quit [Quit: Textual IRC Client: www.textualapp.com]
lidenskap has quit [Remote host closed the connection]
<havenwood> >> File.instance_methods false
edwinvdgraaf has joined #ruby
<ruboto> havenwood # => [:lstat, :atime, :mtime, :ctime, :birthtime, :size, :chmod, :chown, :truncate, :flock, :path, :to_pa ...check link for more (https://eval.in/315599)
<havenwood> >> File.public_methods false
<ruboto> havenwood # => [:directory?, :exist?, :exists?, :readable?, :readable_real?, :world_readable?, :writable?, :writabl ...check link for more (https://eval.in/315600)
decoponyo has quit [Quit: Leaving...]
<havenwood> Technodrome: ^
longfeet has quit [Ping timeout: 255 seconds]
Channel6 has quit [Quit: Leaving]
<havenwood> Technodrome: But in Pry you can just: ls File
dfinninger has joined #ruby
mary5030 has joined #ruby
MatthewsFace has quit [Ping timeout: 272 seconds]
bMalum has joined #ruby
hellome has quit [Remote host closed the connection]
hellome has joined #ruby
lidenskap has joined #ruby
colorisco has quit [Ping timeout: 264 seconds]
lidenskap has quit [Remote host closed the connection]
ujihisa has quit [Ping timeout: 250 seconds]
colorisco has joined #ruby
<Technodrome> when i do an inspect on the object i want to know about, i am getting the to_s method i am guessing of that object
<Technodrome> #<Mechanize::Page::Link "English" "./en/index.html">
<Technodrome> i want to know whats in that object, all the attributes
bruno- has quit [Quit: Lost terminal]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
bruno- has joined #ruby
hanmac has joined #ruby
dc has quit [Ping timeout: 264 seconds]
codefo has quit [Ping timeout: 245 seconds]
lidenskap has joined #ruby
keen_____ has joined #ruby
zacts has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
dc has joined #ruby
dseitz has joined #ruby
lidenskap has quit [Remote host closed the connection]
workmad3 has joined #ruby
keen____ has quit [Ping timeout: 245 seconds]
<cuaromboide> a quick SO gives: puts variable.inspect
<apeiros> cuaromboide: you can shorten that to `p variable`
iamjarvo has joined #ruby
<cuaromboide> I thought p was like put
<apeiros> no
<apeiros> puts calls to_s
<apeiros> p calls inspect
ClosedGL has joined #ruby
<cuaromboide> thanks, I learned something new
<apeiros> and there's also pp in stdlib: require 'pp'; pp obj
<cuaromboide> pp = print print?
<cuaromboide> pretty print
<apeiros> yes
<apeiros> the latter
<cuaromboide> in lisp there is also pretty print
<cuaromboide> print_r in php
<cuaromboide> I have to try the irb, Pry
<apeiros> better use pry than irb
<cuaromboide> what's p for in pry, profound?
dfinninger has quit [Remote host closed the connection]
platzhirsch has left #ruby [#ruby]
<cuaromboide> ok p if for powerful
workmad3 has quit [Ping timeout: 245 seconds]
<cuaromboide> now we have jupiter, I think is like a shell that can be tailored for other systems, perhaps it works with ruby?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
a5i has quit []
mlev has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
dfinninger has joined #ruby
mlev has joined #ruby
<cuaromboide> it seems that jupyter is a new system yet not ready for ruby
pontiki has joined #ruby
DEA7TH has joined #ruby
last_staff has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 245 seconds]
quimrstorres has joined #ruby
Soda has joined #ruby
Soda has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
<cuaromboide> iruby, jupyter and pry things to play. By to all.
cuaromboide has left #ruby [#ruby]
zotherstupidguy has quit [Ping timeout: 276 seconds]
elaptics_away is now known as elaptics
mitchellhenke has joined #ruby
amdbcg has quit [Read error: Connection reset by peer]
amdbcg1 has joined #ruby
rshetty has joined #ruby
zotherstupidguy has joined #ruby
quimrstorres has quit [Ping timeout: 256 seconds]
nhhagen has joined #ruby
jeramy_s has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
michael_mbp has quit [Excess Flood]
bMalum has quit [Quit: bMalum]
kharma1 has joined #ruby
emptyflask has quit []
rshetty has quit [Ping timeout: 265 seconds]
michael_mbp has joined #ruby
nhhagen has quit [Remote host closed the connection]
nhhagen has joined #ruby
kubunto has joined #ruby
relopez has joined #ruby
jheg has quit [Quit: jheg]
scripore has quit [Quit: This computer has gone to sleep]
codefo has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<jhass> apeiros: you're really telling me we got ^ these all the time? :(
<jhass> I want to believe they increased :/
<Technodrome> i swear this mechanize isn’t the most documentd thing
dj_zubehoer has joined #ruby
<apeiros> jhass: hm?
<jhass> odd people
<apeiros> you haven't seen half of it :D
<apeiros> and #ruby is harmless
mrmargolis has quit [Remote host closed the connection]
mrmargolis has joined #ruby
musashi1 has joined #ruby
allcentury has quit [Ping timeout: 256 seconds]
<Technodrome> how can i open a ruby gem in my text editor from the command line, i’ve seen people do this before?
<apeiros> Technodrome: a .gem file or an installed gem?
balazs__ has joined #ruby
<Technodrome> installed one
relopez has left #ruby [#ruby]
<apeiros> gem which GEMNAME
dj_zubehoer has quit [Ping timeout: 272 seconds]
<jhass> gem open gemname
<Technodrome> i’m literally going to have to read this mechnaize library to get what i want
<havenwood> gem open GEMNAME
<apeiros> oh, we have open? what does it use to open the gem?
<jhass> $EDITOR I guess
<havenwood> $EDITOR
scripore has joined #ruby
<havenwood> i think
<jhass> havenwood: ^5
<apeiros> ah, not `open`, I see
doodlehaus has joined #ruby
<dorei> gem open?
mrmargolis has quit [Ping timeout: 264 seconds]
krisquigley has joined #ruby
<apeiros> just to put this straight - it'd be `gem which GEM_REQUIRE`, not GEMNAME
<havenwood> gem open GEMNAME [-e EDITOR] [options]
<dorei> ERROR: While executing gem ... (Gem::CommandLineError)
<dorei> Unknown command open
<jhass> gem update --system
<Technodrome> you would think this thing would make it easy to get a certain part of the HTML and pull all link out of it , but it doesn’t
<jhass> doesn't mechanize return nokogiri nodes?
ta has joined #ruby
balazs__ has quit [Ping timeout: 244 seconds]
<Technodrome> it seems like it does yes
<jhass> so just use .css or .xpath
DerisiveLogic has joined #ruby
<Technodrome> but it returns its own instances of things too
<Technodrome> #<Mechanize::Page::Link "English" "./en/index.html">
elaptics is now known as elaptics_away
<apeiros> Technodrome: you're in pry?
<apeiros> ls obj
<apeiros> it's usually easy to explore an API
krisquigley has quit [Ping timeout: 246 seconds]
<Technodrome> i like the idea behind pry, sorta like ipython
<Technodrome> question though, how can i run the file once i have pry running?
<apeiros> Kernel#load
<apeiros> alternatively one of all the various evals. depends on your specifics.
<jhass> you could load it, or you could just load pry at any point in the file: require "pry"; binding.pry
mary5030 has quit [Remote host closed the connection]
kharma1 has quit [Quit: leaving]
<Technodrome> it just brings me out to the command line
zubov_ has joined #ruby
basiclaser has joined #ruby
<jhass> "it"?
<Technodrome> ipython i could just do, ipython then do a load somefile.py
ujihisa has joined #ruby
<Technodrome> pry scraper.rb
DerisiveLogic has quit [Ping timeout: 244 seconds]
<jhass> try my latter suggestion
<jhass> add that line where you want to break and run it normally
longfeet has joined #ruby
Matachines has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doodlehaus has quit [Remote host closed the connection]
shoutsid has quit [Remote host closed the connection]
Channel6 has joined #ruby
dfinninger has quit [Remote host closed the connection]
Timba-as has quit [Quit: Be back later ...]
plashchynski has joined #ruby
kubunto has quit [Quit: leaving]
plashchynski has quit [Client Quit]
dc has quit [Remote host closed the connection]
a5i has joined #ruby
Igorshp has joined #ruby
zotherstupidguy has quit [Ping timeout: 240 seconds]
zotherstupidguy has joined #ruby
evanjs has joined #ruby
DerisiveLogic has joined #ruby
ta has quit [Remote host closed the connection]
scripore has quit [Quit: Leaving]
scripore has joined #ruby
workmad3 has joined #ruby
musashi1 has quit [Ping timeout: 276 seconds]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
lidenskap has joined #ruby
scripore has quit [Client Quit]
scripore has joined #ruby
scripore has quit [Client Quit]
scripore has joined #ruby
ramfjord has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
iamjarvo has joined #ruby
bim has joined #ruby
bim is now known as Guest23606
lidenskap has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
badhatter has quit [Read error: Connection reset by peer]
ag4ve_ has quit [Ping timeout: 245 seconds]
badhatter has joined #ruby
jottr has joined #ruby
ag4ve_ has joined #ruby
quimrstorres has joined #ruby
yh has quit [Ping timeout: 272 seconds]
CustosLimen has joined #ruby
sevvie has quit [Quit: leaving]
iamninja_ has quit [Read error: Connection reset by peer]
iamninja_ has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zubov_ has quit [Quit: Leaving]
zubov has joined #ruby
Jamo__ has quit [Ping timeout: 245 seconds]
quimrstorres has quit [Ping timeout: 248 seconds]
Jamo__ has joined #ruby
quimrstorres has joined #ruby
zotherstupidguy has quit [Ping timeout: 245 seconds]
Technodrome has quit [Quit: Technodrome]
zotherstupidguy has joined #ruby
x1337807x has joined #ruby
evanjs has quit [Remote host closed the connection]
dfinninger has joined #ruby
<Igorshp> Hello. I'm trying to find a way to check if a given xml block is included in a large xml file. what's the best way to do that?
HanaNix has joined #ruby
yh has joined #ruby
zotherstupidguy has quit [Ping timeout: 265 seconds]
jack_rabbit has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
dj_zubehoer has joined #ruby
ohaibbq has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vdamewood has joined #ruby
mitchell_ has joined #ruby
sudog has quit [Ping timeout: 276 seconds]
iamjarvo has joined #ruby
turtil has joined #ruby
DavidDudson has joined #ruby
zotherstupidguy has joined #ruby
tmtwd__ has joined #ruby
MatthewsFace has joined #ruby
ClosedGL has quit [Quit: Leaving]
dj_zubehoer has quit [Ping timeout: 256 seconds]
AlphaAtom has quit [Ping timeout: 244 seconds]
tmoor has joined #ruby
tmtwd_ has quit [Ping timeout: 264 seconds]
dc has joined #ruby
plashchynski has joined #ruby
MatthewsFace has quit [Ping timeout: 255 seconds]
SouL_|_ has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
plashchynski has quit [Client Quit]
sudog has joined #ruby
Matachin_ has joined #ruby
mistermocha has quit [Ping timeout: 245 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
allcentury has joined #ruby
Limix has quit [Quit: Limix]
Matachines has quit [Ping timeout: 245 seconds]
Matachin_ has quit [Client Quit]
plashchynski has joined #ruby
plashchynski has quit [Client Quit]
Filete has joined #ruby
TheHodge has joined #ruby
pontiki has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
roolo has quit [Remote host closed the connection]
yh has quit [Ping timeout: 250 seconds]
Timba-as has joined #ruby
beat_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pen has joined #ruby
yh has joined #ruby
zotherstupidguy has quit [Ping timeout: 246 seconds]
zotherst1pidguy has joined #ruby
jack_rabbit has quit [Ping timeout: 250 seconds]
arescorpio has joined #ruby
jack_rabbit has joined #ruby
Stalkr_ has quit [Quit: Leaving...]
babykosh has joined #ruby
Limix has joined #ruby
nhhagen has quit [Remote host closed the connection]
pika_pika has quit [Ping timeout: 245 seconds]
EasyCo has joined #ruby
anaeem1 has joined #ruby
icebourg has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
centrx has joined #ruby
kubunto has joined #ruby
idealexit has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
willharrison has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
davedev2_ has joined #ruby
mengu__ has quit [Remote host closed the connection]
dc has quit [Remote host closed the connection]
ujihisa has quit [Ping timeout: 244 seconds]
colorisco has quit [Ping timeout: 244 seconds]
moeabdol1 has quit [Ping timeout: 244 seconds]
mocha has joined #ruby
zotherst1pidguy has quit [Ping timeout: 240 seconds]
kirun has quit [Quit: Client exiting]
allcentury has quit [Ping timeout: 264 seconds]
zotherstupidguy has joined #ruby
workmad3 has joined #ruby
pika_pika has joined #ruby
RegulationD has joined #ruby
vim_shimm has joined #ruby
predator217 has joined #ruby
bigmac has quit [Ping timeout: 272 seconds]
iamninja_ has quit [Read error: Connection reset by peer]
iamninja_ has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
riotjones has joined #ruby
predator117 has quit [Ping timeout: 246 seconds]
soulcake has quit [Ping timeout: 276 seconds]
ujihisa has joined #ruby
apoplexy has joined #ruby
zotherst3pidguy has joined #ruby
zotherstupidguy has quit [Read error: Connection reset by peer]
krisquigley has joined #ruby
soulcake has joined #ruby
riotjones has quit [Ping timeout: 265 seconds]
arescorpio has quit [Ping timeout: 248 seconds]
sn0wb1rd has quit [Ping timeout: 245 seconds]
krisquigley has quit [Ping timeout: 245 seconds]
Igorshp has quit [Remote host closed the connection]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
dj_zubehoer has joined #ruby
zotherst3pidguy has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
Scub has joined #ruby
<Scub> any hackers about?
anaeem1 has quit [Remote host closed the connection]
<Radar> y35 I am ub3r 1337 hax00r
dj_zubehoer has quit [Ping timeout: 276 seconds]
<Scub> git clone https://github.com/scub/vagrant-linode.git vagrant-linode && cd $_ && bundle
<Scub> is there a way to install a specific version of bundler?
<Radar> gem install bundler -v 1.whatever
sn0wb1rd has joined #ruby
<Scub> thank you sir
<Scub> you are a gentleman and a scholar :)
bigmac has joined #ruby
<Radar> and a hax00r
<Scub> is there any special magic to make it be the default - or is it smart enough to use the right version if installed
<Scub> and hax0rz
zotherstupidguy has quit [Ping timeout: 250 seconds]
dc has joined #ruby
<Scub> doesn't look to be that way
freerobby has joined #ruby
freerobby has quit [Client Quit]
doodlehaus has joined #ruby
* Scub nukes em all
* Scub starts over
<Scub> whew!
doodlehaus has quit [Remote host closed the connection]
mistermocha has joined #ruby
freerobby has joined #ruby
<workmad3> Scub: alias bundle="bundle _<version>_"
zotherstupidguy has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
<Scub> hax
<Scub> can I alias it in the Gemfile itself? :o
<Scub> or would that be too hax
longfeet has quit [Ping timeout: 255 seconds]
<workmad3> Scub: that would be a bit too OTT :P
<workmad3> Scub: tbh, using that alias would be going a bit too far unless you had a very specific reason for fixing to a version
mitchell_ has quit [Quit: Computer has gone to sleep.]
hiyosi has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
gigetoo has joined #ruby
dfinninger has quit [Remote host closed the connection]
Narzew has quit [Remote host closed the connection]
<Scub> workmad3: im working on a vagrant plugin which is dependant on a bundler version between x and y
<Scub> it looks to be related to vagrants deps
<Scub> Could not find gem 'bundler (< 1.7.0, >= 1.5.2) ruby', which is required by gem 'vagrant (>= 0) ruby', in any of the sources.
zotherstupidguy has quit [Ping timeout: 245 seconds]
doodlehaus has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
sohrab has quit [Ping timeout: 264 seconds]
vim_shimm has quit [Ping timeout: 272 seconds]
nhhagen has joined #ruby
sohrab has joined #ruby
zotherstupidguy has joined #ruby
zotherstupidguy has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Igorshp has joined #ruby
quimrstorres has joined #ruby
basiclaser has quit [Quit: Connection closed for inactivity]
shellfu_afk has joined #ruby
lidenskap has joined #ruby
doodlehaus has quit [Remote host closed the connection]
nhhagen has quit [Ping timeout: 245 seconds]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
pontiki has joined #ruby
revoohc has quit [Quit: revoohc]
icebourg has quit []
pwattste has joined #ruby
Igorshp has quit [Ping timeout: 256 seconds]
quimrstorres has quit [Ping timeout: 272 seconds]
zubov has quit [Remote host closed the connection]
sankaber has joined #ruby
lidenskap has quit [Ping timeout: 272 seconds]