<arthurl>
hi guys- i'm somewhat new to ruby/rvm/gems etc - attempting to deploy our app via capistarno- seeing a failure: 'An error occurred while installing ZenTest (4.9.2), and Bundler cannot continue.'
<arthurl>
not sure how to go about debugging this issue- any help or insight would be much appreciated
<al2o3-cr>
or lasagne or tandoori chicken or anything really hehe
speaking1ode has quit [Ping timeout: 255 seconds]
<shevy>
al2o3-cr yeah... because of riceandbeans right?
DanKnox_ has joined #ruby
DanKnox has joined #ruby
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
thankfully I already ate so I have no thoughts for food right now
<shevy>
arthurl well that is not a very specific error message
juanpablo_ has joined #ruby
hellschreiber has joined #ruby
twintail has quit [Remote host closed the connection]
speaking1ode has joined #ruby
<al2o3-cr>
shevy: haha breakfast you will :P
idefine has quit [Remote host closed the connection]
bb010g has joined #ruby
ruurd has joined #ruby
ruurd has quit [Client Quit]
intrigueD has joined #ruby
blur3d has quit [Quit: blur3d]
juanpablo_ has quit [Ping timeout: 244 seconds]
DanKnox_ has quit [Ping timeout: 255 seconds]
DanKnox has quit [Ping timeout: 255 seconds]
evidex has quit [Remote host closed the connection]
weemsledeux has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
rbennacer has quit [Remote host closed the connection]
roshanavand has quit [Remote host closed the connection]
dexter_ has quit [Ping timeout: 248 seconds]
Guest85892 is now known as BLuEGoD
BLuEGoD is now known as Guest82974
arlek has quit [Ping timeout: 244 seconds]
lucasb has quit [Quit: leaving]
firstdayonthejob has joined #ruby
Rickmasta has joined #ruby
vdamewood has joined #ruby
dlitvak has quit [Remote host closed the connection]
rbennacer has joined #ruby
aaeron has quit [Quit: aaeron]
Guest16234 is now known as jud
jud has quit [Changing host]
jud has joined #ruby
railsForDaiz has quit [Ping timeout: 276 seconds]
symm- has joined #ruby
volty has joined #ruby
eregi has joined #ruby
aryaching_ has joined #ruby
aryaching_ has quit [Client Quit]
aryaching has quit [Ping timeout: 244 seconds]
rbennacer has quit [Ping timeout: 250 seconds]
aaeron has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
weaksauce has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.4 %t]
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
trinaldi has quit [Quit: bye!]
moeabdol1 has joined #ruby
finisherr has quit [Ping timeout: 250 seconds]
shanemcd has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
moeabdol has quit [Ping timeout: 255 seconds]
cschneid has quit [Remote host closed the connection]
tulak has quit [Remote host closed the connection]
moeabdol2 has joined #ruby
Youngmathimus0 has joined #ruby
<eregi>
quit
baweaver has joined #ruby
<Ox0dea>
No.
<eregi>
;(
<riceandbeans>
you can check out any time you want, but you can never leave
<SweetSoulBro>
I suppose my question is "If I have 3 feat trees, and I wanted to pick 3 at random, while still staying true to the tree structure"
<SweetSoulBro>
Lets say it goes the 1st and the 2nd from the first tree
<SweetSoulBro>
and then the 1st from the third tree
frudo has joined #ruby
juanpablo_ has joined #ruby
hostess has quit [Quit: No Ping reply in 180 seconds.]
Y_Ichiro has quit [Quit: No Ping reply in 180 seconds.]
Sucks has quit [Read error: Connection reset by peer]
Y_Ichiro_ has joined #ruby
aaeron has quit [Ping timeout: 244 seconds]
aaeron_ is now known as aaeron
epochwolf has quit [Ping timeout: 240 seconds]
<djellemah>
SweetSoulBro: what do you mean by "staying true to the tree structure"?
cschneid_ has quit [Ping timeout: 240 seconds]
<SweetSoulBro>
Not picking the feats literally at random where you'll have just 3 randomly selected trees.
<SweetSoulBro>
Like
epochwolf has joined #ruby
<SweetSoulBro>
Feat C requires Feat B, which requires Feat A.
GGMethos has quit [Ping timeout: 268 seconds]
cschneid has joined #ruby
hostess has joined #ruby
pawnbox_ has quit [Ping timeout: 250 seconds]
<SweetSoulBro>
And you have Feat tree alpha, beta, and Charlie
<SweetSoulBro>
I don't want it to pick Charlie C, Alpha C, and Beta C
GGMethos has joined #ruby
<SweetSoulBro>
I want it to go in order.
juanpablo_ has quit [Ping timeout: 250 seconds]
jidar has quit [Quit: stuff.]
jidar has joined #ruby
william3 has joined #ruby
<djellemah>
Sounds like you want to pick a Feat C from one tree, then randomly choose a dependency (child) of C to get B, and likewise for A.
lxsameer has joined #ruby
<SweetSoulBro>
..that's backwards but yes.
<SweetSoulBro>
Let me see if I can explain what I want without sounding dumb
<SweetSoulBro>
okay
<SweetSoulBro>
so
<SweetSoulBro>
Bot has a choice of 4 feats total. He has 3 Feat trees; 1,2,and 3
<SweetSoulBro>
Of those Trees, he can only take the A of any of them, because he does not have the prerequisties
boogibugs has quit [Quit: Leaving]
<SweetSoulBro>
so he choses A1.
<SweetSoulBro>
Next goround, he has the choice of the following: B1, A2 or A3
mwlang has joined #ruby
<SweetSoulBro>
So he choses B1
<SweetSoulBro>
Next goround, he has the choice of C1, A2 or A3
william3 has quit [Ping timeout: 240 seconds]
blackgoat has quit [Quit: WeeChat 1.3]
<SweetSoulBro>
So this goround, he choses A3
<SweetSoulBro>
The final feat selection leaves him with C1, A2 or B3
darkf has quit [Ping timeout: 250 seconds]
<SweetSoulBro>
That's what I'm trying to do.
darkf has joined #ruby
darkf_ has joined #ruby
<djellemah>
You're just described your algorithm. All you need now is to keep track of how Bot got to eg C1. That thing is called a path eg [:A1, :B1, :C1]
Guest18371 is now known as BLuEGoD
<djellemah>
s/You're/You've/
BLuEGoD is now known as Guest77405
ta has joined #ruby
<SweetSoulBro>
Oh.
<SweetSoulBro>
Awesome.
<SweetSoulBro>
A path
darkf has quit [Ping timeout: 240 seconds]
ruby-lang174 has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
darkf_ is now known as darkf
<SweetSoulBro>
Hmn.
AlphaAtom has joined #ruby
TDJACR has joined #ruby
voidDotClass has joined #ruby
<voidDotClass>
I'm getting a cryptic error: " There was an error while trying to load the gem 'acts_as_paranoid'. (Bundler::GemRequireError)"
<voidDotClass>
How do I find the trace of this error, or exactly why it didn't work?
GriffinHeart has joined #ruby
infra-red has quit [Remote host closed the connection]
bronson has joined #ruby
ta has quit [Ping timeout: 250 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruby-lang174 has quit [Client Quit]
fullofcaffeine has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
kknight has joined #ruby
SweetSoulBro has quit [Ping timeout: 248 seconds]
kirillzh has joined #ruby
<djellemah>
voidDotClass: try loading that gem by itself from irb or pry
SweetSoulBro has joined #ruby
<SweetSoulBro>
okay
<SweetSoulBro>
so a path
<voidDotClass>
what's the command for that?
Macaveli has joined #ruby
toretore has joined #ruby
<djellemah>
SweetSoulBro: you can model a path using an Array
bronson has quit [Ping timeout: 244 seconds]
<SweetSoulBro>
Ah
<SweetSoulBro>
so just << the names of the feats to the array?
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jazo>
hi, im trying to use logstash ruby to convert timestamp to "2016-02-05T00:32:41.792Z" but its giving me: "2016-02-18T02:04:52+00:00". using Time.at(item.first.to_i).iso8601 can someone here help me with time formatting
<SweetSoulBro>
if I push a string with spaces, from a yaml, will it do it properly?
<SweetSoulBro>
Like if I push somethign that says "Archaic Weapon Proficiency (Combat Swords)"
<ruby[bot]>
Why don't you try it and see for yourself?
<jazo>
allright ill try thanks
<toretore>
check Time#strftime docs for how to add ms
Abrin has quit [Ping timeout: 240 seconds]
x77686d has quit [Quit: x77686d]
<jazo>
i just put in Time.parse(1455778587).strftime('%Y-%d-%mT%H:%M:%SZ') into eval.in, and it threw an error Time.parse(1455778587).strftime('%Y-%d-%mT%H:%M:%SZ')
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea>
jazo: You want Time.at there, not Time.parse.
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
<jazo>
ah excelent
<jazo>
so parse deals with strings?
<Ox0dea>
Aye.
<jazo>
it doesnt like Time.parse("1455778587")
<Ox0dea>
Why should it?
<jazo>
its a string?
<jazo>
im really new to ruby, sorry for asking stupid questions
<SweetSoulBro>
This is kinda what I was trying to do
<SweetSoulBro>
but I think I cocked it up
roshanavand has joined #ruby
solocshaw has quit [Ping timeout: 250 seconds]
Youngmathimus0 has quit [Ping timeout: 240 seconds]
DanKnox_ has quit [Ping timeout: 250 seconds]
Youngmathimus0_ is now known as Youngmathimus0
binaryplease has joined #ruby
DanKnox has quit [Ping timeout: 276 seconds]
bluOxigen_ has joined #ruby
bluOxigen has quit [Ping timeout: 255 seconds]
roshanavand has quit [Ping timeout: 250 seconds]
asprillia has joined #ruby
jcdesimp has quit [Remote host closed the connection]
bruce_lee has joined #ruby
Don_John has quit [Read error: Connection reset by peer]
Guest77405 is now known as BLuEGoD
BLuEGoD is now known as Guest61685
kmckelvi1 has quit [Ping timeout: 255 seconds]
intrigueD has quit [Remote host closed the connection]
ta has joined #ruby
toretore has quit [Ping timeout: 250 seconds]
DanKnox_ has joined #ruby
DanKnox has joined #ruby
kmckelvi1 has joined #ruby
<jazo>
Doing Time.at(1455780052882).strftime('%Y-%d-%mT%H:%M:%S.%LZ') is giving me a huge date, "48101-29-10T18:37:39.000Z", i was just trying to get the milliseconds. That number is obtained from javascript d.getTime();
sandstrom has quit [Quit: My computer has gone to sleep.]
weemsledeux has joined #ruby
<djellemah>
havenwood: Noice.
lsmola has joined #ruby
<djellemah>
>>20.times.map{rand 1/2r .. 5/2r}
<ruby[bot]>
djellemah: # => [(3/2), (1/2), (5/2), (1/2), (1/2), (3/2), (5/2), (1/2), (3/2), (1/2), (1/2), (5/2), (3/2), (1/2), ( ...check link for more (https://eval.in/520818)
<djellemah>
which is not exactly how I thought it would work.
<Ox0dea>
djellemah: Hm?
<Ox0dea>
That it simplifies?
<djellemah>
>>20.times.map{rand 0.5 .. 2.5}
<ruby[bot]>
djellemah: # => [1.82320194576102, 2.0133054990597827, 2.1830855355838343, 1.7108183808144806, 0.8909010316295789, 1 ...check link for more (https://eval.in/520819)
mdw_ has quit [Quit: Sleeping Zzzzz]
the_drow has joined #ruby
bronson has quit [Remote host closed the connection]
<pizzaops>
Specifically, I want to end up with the quotes actually part of the value, as per the final example of desired result.
<djellemah>
Also 2/2 and 4/2 are missing. Hm. Interesting.
<steffkes>
hey guys, giving it another try since the conversation yesterday stalled a bit :)
SCHAAP137 has joined #ruby
<steffkes>
i'm looking for something and i'm not sure how it's called in the ruby world nor where i could find something like it. i'd like execute a test multiple times with a different context. currently using minitest, i'm doing a hack where i'm defining a array as class variable, iterating over the array using define_method to get what i want
<pizzaops>
Ah apparently it's not doable. Never mind hah.
<apeiros>
steffkes: if you can't get a satisfying answer here, the ML and stackoverflow are good places to escalate.
bluOxigen has quit [Ping timeout: 240 seconds]
<flughafen>
oi!
<Ox0dea>
djellemah: It's not doing the right thing.
baweaver has quit [Remote host closed the connection]
<Ox0dea>
There's nothing in rand_range() about Rationals, anyway.
<steffkes>
thanks apeiros, should have known that ;) will give the list a try if needed. don't even have a SO account :D
<apeiros>
pizzaops: `:foo: "bar"` would be {foo: "bar"}, not {foo: '"bar"'}
skade has quit [Quit: Computer has gone to sleep.]
<djellemah>
I'm not even sure what the right thing here is.
skade has joined #ruby
Guest61685 is now known as BLuEGoD
<pizzaops>
>> puts ({foo: "bar"}.to_yaml)
<ruby[bot]>
pizzaops: # => undefined method `to_yaml' for {:foo=>"bar"}:Hash ...check link for more (https://eval.in/520822)
<pizzaops>
>> ({foo: "bar"}.to_yaml)
<ruby[bot]>
pizzaops: # => undefined method `to_yaml' for {:foo=>"bar"}:Hash ...check link for more (https://eval.in/520823)
<pizzaops>
ah... i need to require yaml hah
BLuEGoD is now known as Guest45448
<Ox0dea>
djellemah: Right. :P The only sensible last resort is to add 1 between the beginning and the end, and that's what MRI does.
fedexo has quit [Read error: Connection reset by peer]
<pizzaops>
@apeiros note the lack of quotes around `bar` in the output.
<apeiros>
pizzaops: yes. I noticed. that doesn't mean that it's different from bar with quotes around it.
<pizzaops>
I realize in YAML-land that `foo: bar` and `foo: "bar"` are equivalent, but not in hiera-land.
<saush>
I have installed ruby version 2.2.4 from source. Now I need to reinstall ruby, what should I do?
<pizzaops>
I'm asking the question for a reason.
kknight has quit [Ping timeout: 255 seconds]
<apeiros>
pizzaops: then maybe start with the reason, otherwise you do bad old xy questions.
<pizzaops>
Hiera uses YAML but treats quoted strings as a special case for interpolating variables that come from puppet.
huyderman has quit [Remote host closed the connection]
<pizzaops>
So I need to output certain parts of my generated yaml file with quotes around them
<apeiros>
then you probably need a Hiera specific gem
<pizzaops>
mm indeed.
the_drow has quit [Quit: Leaving]
TomyLobo has quit [Ping timeout: 250 seconds]
<saush>
I have installed ruby version 2.2.4 from source. Now I need to reinstall ruby, what should I do?
huyderman has joined #ruby
<pizzaops>
saush: used rbenv/rvm :)
<pizzaops>
Eh, I'm sorry I said that unhelpful thing.
<saush>
pizzaops: I did not use rvm initially while installing ruby
<djellemah>
Ox0dea: So it defaults to using 1 as the step between possible values? Maybe the step could be the gcd (or one of those, I can never remember which is which) of the divisors of the two endpoints. That kinda makes sense in my head.
<pizzaops>
Yeah, that's why I apologized for that comment.
<havenwood>
saush: from the ruby src dir you installed from, maybe something along the lines of: make clean && make distclean && make clean-platform
<solars>
quick question: why does system "bash", "-c", "ls -Frt /var/log/apache2/access-export*" output /var/log/apache2/access-export.log* (with a trailing star)?
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros>
solars: because it doesn't go via the shell
<apeiros>
that shell expansion happens before it reaches bash
<solars>
apeiros, it still seemed to work
<solars>
the expansion
jaiks has joined #ruby
AlphaAtom has joined #ruby
elifoster has quit [Ping timeout: 240 seconds]
skade has joined #ruby
<apeiros>
solars: why do you shell out to ls at all?
<apeiros>
btw., from `man ls`: "Display a slash (`/') immediately after each pathname that is a directory, an asterisk (`*') after each that is executable"
<apeiros>
so sounds like your access-export.log has its x flag set
<solars>
apeiros, thanks, I've found that already
<Ox0dea>
apeiros: Why reinvent the -F, -r, and -t flags' behavior?
<solars>
apeiros, the actual command is much longer, the above war only for demonstration, I need to grep and do some awk'ing
joonty has joined #ruby
firstdayonthejob has quit [Ping timeout: 240 seconds]
<apeiros>
Ox0dea: why write ruby at all? you can write bash too.
skade has quit [Client Quit]
<Ox0dea>
You're usually so reasonable...
<apeiros>
that's the response you get for unreasonable questions.
<Ox0dea>
You seem to be insinuating that it's never appropriate to shell out from Ruby.
sinkensabe has quit []
<apeiros>
Ox0dea: I don't.
<Ox0dea>
You don't... what?
<apeiros>
seriously?
<apeiros>
I don't insinuate that it's never appropriate to shell out.
blackmesa has joined #ruby
<Ox0dea>
Then you wanted "I'm not.".
<apeiros>
Ox0dea: I asked why they shell out. the question "why not" is pointless.
<Ox0dea>
Nobody asked that question.
bluOxigen has joined #ruby
<apeiros>
dude
<pizzaops>
#hashtag #ircfight
PedramT has joined #ruby
mwlang has quit [Quit: mwlang]
Liam` has quit [Ping timeout: 240 seconds]
mondok has joined #ruby
* adaedra
waves
Oog has quit []
DeaDSouL has joined #ruby
<apeiros>
Ox0dea: I guess next time I talk to you it'll be in german and I'll willfully not understand you unless you write it perfectly. welcome on my mental ignore until then.
blackmesa has quit [Ping timeout: 265 seconds]
<Ox0dea>
apeiros: It was perfectly reasonable for me to assume that by "I don't.", you meant that you don't shell out from Ruby.
<Ox0dea>
You chose the wrong tense and it made your response unambiguous; I simply asked for clarification.
ur5us has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 250 seconds]
<apeiros>
Ox0dea: I don't understand your english. you can talk german in #ruby-ch with me.
DanKnox has joined #ruby
<Ox0dea>
This is really weird.
sandstrom has quit [Quit: My computer has gone to sleep.]
<raldu>
hello. I have a quick and easy question. native extensions can be compiled with `gem` just fine. however, the extensions do not compile when I try to install them with bundler. I have tried switching some bundler config variables with no success. PATHs are also fine. any ideas?
johnmilton has joined #ruby
Snowy has joined #ruby
<pizzaops>
raldu: share the errors, probably :)
ruurd has quit [Read error: Connection reset by peer]
<Ox0dea>
apeiros: You've been nothing shy of a paragon of levelheadedness in virtually every other interaction I've had with you. I'm just going to chalk this debacle up to having caught you at a bad time. :/
fontain has joined #ruby
<pizzaops>
Ox0dea: your comment reminded me that I work at a company founded entirely on the premise of shelling out from ruby :D
adgtl has joined #ruby
crowell has quit [Quit: No Ping reply in 180 seconds.]
<Ox0dea>
pizzaops: It's a perfectly reasonable thing to do, of course.
<pizzaops>
(Puppet Labs)
fontain has quit [Remote host closed the connection]
<pizzaops>
Right, but in my case it's almost the entire premise of our software, which lolz
DanKnox_ has joined #ruby
<Ox0dea>
A little. :P
PedramT has quit [Remote host closed the connection]
<pizzaops>
Of course in reality we use APIs and all that whenever possible.
<pizzaops>
But we definitely shell out a *ton*
crowell has joined #ruby
<Ox0dea>
I can think of no better scaffold language than Ruby.
<pizzaops>
Largely because we want managing something with Puppet to not behave differently than managing it with the tools you're used to.
djbkd_ has quit []
GriffinHeart has quit [Remote host closed the connection]
mlehrer has joined #ruby
<raldu>
pizzaops: the errors are of typical failures with building native extensions with mkmf.log showing nothing but compiler flags and a few lines of C code. again, I can build native extensions for the very same package by using `gem`, but fail with `bundle.`
sandstrom has joined #ruby
PedramT has joined #ruby
devbug has joined #ruby
<pizzaops>
Where does your Ruby come from, out of curiosity?
PedramT has quit [Remote host closed the connection]
adgtl has quit [Ping timeout: 250 seconds]
rkazak has quit [Quit: Sleep.....ing....]
zz_denym_ is now known as denym_
adgtl has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jazo has quit []
kmckelvi1 has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
mark4 has joined #ruby
<raldu>
pizzaops: it is the default Ruby installed in my system with version 2.1.the point of my question is that, wouldn't there be a way to make use of the native extensions that I have "already" built with `gem` within the context of the project I am working on with bundler?
last_staff has joined #ruby
<djellemah>
Ox0dea: (1/2r .. 5/2r).size == 5 makes sense.
<pizzaops>
Yup, raldu, it normally would do that.
PedramT has joined #ruby
<djellemah>
Ox0dea: when I think about it, a range of Rationals with integer divisors is finite. So why not iterable?
<pizzaops>
The fact that it's trying to reinstall them at all means that, at a minimum, the project's gemfile specifies a different version of those gems, but possibly that it's using a different directory to store them entirely, also
<pizzaops>
normally the different version is the usual culprit, but your compilation failure makes me think differnetly
<Ox0dea>
djellemah: Well, but, how do you define Rational#succ?
<pizzaops>
raldu: do you see any difference between `gem env` and `bundle exec gem env`?
jds has joined #ruby
<Ox0dea>
djellemah: Oh, you meant if both ends of the Range have the same denominator.
<raldu>
pizzaops: still thinking and tinkering on your reply. let me check that difference also.
<adaedra>
Hi
<Ox0dea>
djellemah: That could certainly be made to do The Right Thing, for some subjective definition thereof.
DeaDSouL has quit [Quit: leaving]
GriffinHeart has joined #ruby
<djellemah>
Ox0dea: That would work. But if they're different denominators, succ would have to take them both into account. gcd or lcd or one of those.
william3 has joined #ruby
<Ox0dea>
djellemah: Then we'd have to have (0.1..0.9).size == 9, no?
<Ox0dea>
This particular slope is a little slippery.
<pizzaops>
raldu: another thing to try - open up irb, `require 'bundler/cli' and then `Bundler.rubygems.find_name('some_gem_you_installed').first.full_gem_path`
<djellemah>
Ox0dea: 0.1 and 0.9 don't have a clear definition of what their step size is. Except for IEEE 754.
<djellemah>
Ox0dea: But 1/10r and 9/10r do.
<Ox0dea>
djellemah: I suppose that's fair, but the asymmetry squicks a little.
<raldu>
pizzaops: first, `bundle exec gem env` does not show environment information. it just reports missing gems.
<pizzaops>
raldu: if it's not the same as the install path from gem env you're in troule
<pizzaops>
raldu: yeah I figured that might happen
<djellemah>
Ox0dea: which asymmetry?
karapetyan has quit [Remote host closed the connection]
<Ox0dea>
djellemah: Well, that Rationals would "magically" work in Ranges while Floats wouldn't.
karapetyan has joined #ruby
<Ox0dea>
Every other iterable simply relies on a suitable definition of #succ, but Rational would have to take the end of the Range into account in order to do so.
patchedmonkey has joined #ruby
blaxter has joined #ruby
karapetyan has quit [Remote host closed the connection]
<pizzaops>
I would do that test for a gem you are able to succesfully install via both `gem install` and bundler
nej has joined #ruby
william3 has quit [Ping timeout: 265 seconds]
<pizzaops>
I'm guessing that somehow, you'll get two different install dirs
<raldu>
pizzaops: full_gem_path showd "/var/..."
<raldu>
what?
<pizzaops>
literally "/var/..."?
<djellemah>
Ox0dea: I can't disagree with that. Although integers are rationals with divisor 1. Which is the assumption succ for integers is founded on.
<raldu>
no, like '/var/lib/gems...' etc
<Ox0dea>
djellemah: Certainly, but it still admits a unary definition of successor.
<pizzaops>
raldu: can I see the actual value?
<pizzaops>
and the output of the grep
<Ox0dea>
Rational#succ would be the only binary one, and that would be surprising.
Xeago has quit [Remote host closed the connection]
<raldu>
/var/lib/gems/2.1.0
<pizzaops>
and the complete full_gem_path output from irb?
niko has quit [Changing host]
niko has joined #ruby
<djellemah>
Ox0dea: Igzakly. succ works fine for elements of ranges, provided it can have a unary definition.
<Ox0dea>
Well, there it is. :P
niko has quit [Quit: leaving]
elaptics`away is now known as elaptics
dn5 has joined #ruby
<Ox0dea>
djellemah: My immediate response was to read that as a citation.
<raldu>
/var/lib/gems/2.1.0/gems/unf_ext...
<pizzaops>
Ah, so much for my theory.
<pizzaops>
Sorry :/
<Ox0dea>
"Igzakly et. al. 1973"
bronson has quit [Ping timeout: 244 seconds]
<raldu>
so everything is installed in the right place?
slackbotgz has joined #ruby
jottr has joined #ruby
<raldu>
it was a quite plausible theory to admit.
<djellemah>
Ox0dea: My American isn't good enough to understand that ;-)
baweaver has joined #ruby
<pizzaops>
Yeah, Iwas thinking that maybe bundler was somehow using a different parent installation_directory, causing it to reinstall gems you already installed
<Ox0dea>
djellemah: "Igzakly" struck me as a foreign name before I properly interpreted it.
<pizzaops>
dn5: ^^
<pizzaops>
note the use of !
Xeago has joined #ruby
<raldu>
pizzaops: thanks for following along and the very useful gist. see you around.
<djellemah>
Ox0dea: Ah, ok. No, I was just thinking about it. Igzakly is the guy who agrees with stuff. Apparently he's called Genow in german. :-D
<dn5>
pizzaops: ah, that make sense. Is ! for other methods too to return value for the method?
<pizzaops>
In ruby, dn5, by convention, .method returns the new value but leaves the original alone, and .method! actually modifies the original, but be careful because typically it will return nil if it doesn't make a modification.
<pizzaops>
raldu: sorry I couldn't be of more help. I'm definitely no expert on ruby environment setup
FooMunki has joined #ruby
<dn5>
pizzaops: Great explanation, appreciated it.
PedramT has quit [Remote host closed the connection]
<pizzaops>
dn5: and not all methods have !. ! isn't something you just add to any method. .method! is totally its own method
<raldu>
You have been very helpful. I'll try to hack something together.
<pizzaops>
I typically avoid ! though, and return the changed value when necessary
<pizzaops>
That's my preferred implementation over using ! in most cases, because updating an existing variable can make things more confusing.
william3 has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
<dn5>
So, is there equivalent fallback incase nil on !
<Ox0dea>
How do you mean?
<dn5>
like to use old value that we compare
blackmesa has joined #ruby
patchedmonkey has quit [Read error: Connection reset by peer]
<Ox0dea>
Oh, well, you can use `tap(&:bang!)`, if you're really keen.
<dn5>
Ox0dea: if value not equal, the gsub! returns nil, right?
<dn5>
aha
marr has joined #ruby
<Ox0dea>
dn5: No, it returns `nil` if it didn't make any change.
<dn5>
Ox0dea: Oupps, yes.
<pizzaops>
dn5: yeah it returns nil but the original variable is untouched so you can still just return day like you're doing now
<dn5>
Gotcha.
<pizzaops>
E.g. take `puts 'foo'` - it will print out foo, but the *return value* is nil
<pizzaops>
e.g. myvar = puts 'foo' results in myvar == nil
<Ox0dea>
dn5: `nil` is arguably a more useful return value if a bang method didn't make any change, since hey, you've obviously got a reference to the object in question.
<pizzaops>
right and if you're using bang you plan to reuse the original variable anyway
<pizzaops>
so the return value can be nil, just as a way to know if ti did anything
<Ox0dea>
^
<dn5>
Awesome
woo has joined #ruby
<raldu>
pizzaops: well, it turns out that the project had an alternative `BUNDLE_PATH` defined in `.bundle/config`, causing everything to go inside that path. probably to make the project more "portable" perhaps...
<pizzaops>
aha
<pizzaops>
raldu: that doesn't explain why they failed to compile though, only while they were being reinstalled.
<pizzaops>
s/while/why
PedramT has joined #ruby
kmckelvi1 has joined #ruby
<pizzaops>
I hope you figure it out!
<pizzaops>
Bed time for me. Goodnight, dirty non-functional-programming-language users <3
<raldu>
have a nice sleep
Dimik has quit [Ping timeout: 244 seconds]
skade has joined #ruby
skade has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
frudo has joined #ruby
blur3d has joined #ruby
karapetyan has joined #ruby
skade has joined #ruby
chipotle has quit [Quit: cheerio]
blaxter has joined #ruby
Spami has joined #ruby
shanemcd has joined #ruby
aupadhye has quit [Quit: Leaving]
nofxx has quit [Remote host closed the connection]
adgtl has quit []
Liam` has joined #ruby
shanemcd has quit [Ping timeout: 244 seconds]
bahar_ has quit [Ping timeout: 255 seconds]
evidex has joined #ruby
Kryptonic has quit [Ping timeout: 240 seconds]
zapata has joined #ruby
roshanavand has joined #ruby
riotjones has joined #ruby
jackjackdripper has joined #ruby
LoneHermit has joined #ruby
bahar has joined #ruby
johnmilton has quit [Ping timeout: 240 seconds]
PedramT has quit [Remote host closed the connection]
Prira has quit [Quit: No Ping reply in 180 seconds.]
lukebyrne_ has quit [Quit: lukebyrne_]
vasilakisfil has joined #ruby
celly has joined #ruby
bruce__lee has joined #ruby
slackbotgz has quit [Remote host closed the connection]
slackbotgz has joined #ruby
roshanavand has quit [Ping timeout: 250 seconds]
Prira has joined #ruby
mfb2 has joined #ruby
hayden_ has joined #ruby
dmolina has joined #ruby
LoneHermit has quit [Ping timeout: 240 seconds]
asprillia has joined #ruby
G has joined #ruby
bruce_lee has quit [Ping timeout: 244 seconds]
PedramT has joined #ruby
celly has quit [Ping timeout: 250 seconds]
woo has quit [Ping timeout: 265 seconds]
dtordable has joined #ruby
mfb2 has quit [Ping timeout: 250 seconds]
rodfersou has joined #ruby
atmosx has joined #ruby
woo has joined #ruby
Xeago has quit [Remote host closed the connection]
hamed_r has joined #ruby
pandaant has joined #ruby
nettoweb has joined #ruby
andrewvos has joined #ruby
lurch_ has joined #ruby
trinaldi has joined #ruby
vasilakisfil has quit [Read error: Connection timed out]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
auzty has quit [Quit: Leaving]
lukebyrne_ has joined #ruby
shredding has joined #ruby
DeaDSouL has joined #ruby
Youngmathimus0 has quit [Ping timeout: 240 seconds]
UtkarshRay has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
jottr has quit [Ping timeout: 240 seconds]
woo has quit [Ping timeout: 250 seconds]
AlphaAtom has joined #ruby
UtkarshRay has joined #ruby
DanKnox_ has joined #ruby
DanKnox has joined #ruby
Xeago has joined #ruby
kmckelvi1 has quit [Ping timeout: 250 seconds]
kknight has joined #ruby
PedramT has quit [Remote host closed the connection]
jottr has joined #ruby
woo has joined #ruby
Guest1844 is now known as BLuEGoD
patchedmonkey has joined #ruby
BLuEGoD is now known as Guest88731
andrewvos has quit [Ping timeout: 250 seconds]
karapetyan has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 255 seconds]
dtordable has quit [Remote host closed the connection]
Damien22 is now known as Flakes
irick has joined #ruby
PedramT has joined #ruby
slackbotgz has quit [Remote host closed the connection]
maxiu has quit [Ping timeout: 265 seconds]
vasilakisfil has joined #ruby
kmckelvi1 has joined #ruby
tatsuo has quit [Remote host closed the connection]
karapetyan has joined #ruby
ldnunes has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
mikecmpbll has joined #ruby
tatsuo has joined #ruby
andrewvos has joined #ruby
blackmesa has joined #ruby
sepp2k has joined #ruby
stannard has joined #ruby
ocbtec has joined #ruby
krz has quit [Ping timeout: 240 seconds]
vdamewood has joined #ruby
darkf has quit [Quit: Leaving]
DoubleMalt has joined #ruby
baweaver has joined #ruby
stannard has quit [Ping timeout: 276 seconds]
jottr has quit [Ping timeout: 250 seconds]
Snowy is now known as SnOooohwy
dlitvak has joined #ruby
timmyBsd has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
baweaver has quit [Ping timeout: 244 seconds]
<timmyBsd>
Heyho, i have a question related to ruby pipes. I tried to spawn a pty by using ruby PTY. Therefore i tried to use the sample from ruby-doc page. It works as expected after correcting the typo in begin section
<timmyBsd>
so my proble is, that i want to read until gets returns nil
karapetyan has quit [Remote host closed the connection]
lukebyrne_ has quit [Quit: lukebyrne_]
<timmyBsd>
but this works only if the writer is closed
LoneHerm_ has joined #ruby
last_staff1 has joined #ruby
toretore has joined #ruby
rikkipitt has joined #ruby
last_staff has quit [Ping timeout: 244 seconds]
last_staff1 is now known as last_staff
<timmyBsd>
unless the writer is closed it hangs
andrewvos has quit [Ping timeout: 250 seconds]
DanKnox_ has quit [Ping timeout: 276 seconds]
DanKnox has quit [Ping timeout: 276 seconds]
skade has quit [Quit: Computer has gone to sleep.]
dtordable has joined #ruby
<timmyBsd>
in short, i want spawn a process and stream commands into
lurch_ has left #ruby [#ruby]
LoneHerm_ has quit [Ping timeout: 244 seconds]
Flakes has quit [Ping timeout: 265 seconds]
htmldrum has joined #ruby
Tempesta_ has quit [Quit: See ya!]
Tempesta has joined #ruby
patchedmonkey has quit [Ping timeout: 250 seconds]
lubekpl has joined #ruby
htmldrum has quit [Ping timeout: 248 seconds]
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
myntcake has joined #ruby
CloCkWeRX has quit [Ping timeout: 255 seconds]
FernandoBasso has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
woo has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
<djellemah>
timmyBsd: maybe you need non-blocking reads, or threads?
hays_ has joined #ruby
andrewvos has joined #ruby
Xat` has left #ruby [#ruby]
AlphaAtom has joined #ruby
jam__ has quit [Remote host closed the connection]
sepp2k has quit [Quit: Leaving.]
sepp2k has joined #ruby
hays_ has quit [Client Quit]
shanemcd has joined #ruby
charlemagne has joined #ruby
blackgoat has joined #ruby
<mikecmpbll>
probably a silly question, but why can't i insert at the front of a Queue?
ReK2 has quit [Ping timeout: 264 seconds]
<j416>
mikecmpbll: it's a queue so its order is defined
<j416>
mikecmpbll: FIFO
<mikecmpbll>
hmpf.
<j416>
mikecmpbll: can't go before someone in a queue, that is against the concept of the queue. :)
<mikecmpbll>
:D
shanemcd has quit [Ping timeout: 244 seconds]
gerjomarty has joined #ruby
CloCkWeRX has joined #ruby
Guest88731 is now known as BLuEGoD
djellemah_ has joined #ruby
BLuEGoD is now known as Guest38592
<Ox0dea>
mikecmpbll: Sounds like you want a deque?
<mikecmpbll>
Ox0dea: ah—perhaps.
<Ox0dea>
timmyBsd: Something like this might do if your use case is sufficiently simple: https://eval.in/520960
askhat has joined #ruby
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
patchedmonkey has joined #ruby
juanpablo__ has joined #ruby
andrewvos has quit [Ping timeout: 250 seconds]
kmckelvi1 has quit [Ping timeout: 250 seconds]
juanpablo__ has quit [Ping timeout: 276 seconds]
toretore has quit [Ping timeout: 276 seconds]
msosa has joined #ruby
siaw has joined #ruby
devbug has quit [Ping timeout: 248 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
msosa has quit [Read error: Connection reset by peer]
<siaw>
hello, i want to be able to pass an argument from the command line to this method, so that i can write something like what i’ve writting in the comment https://gist.github.com/siaw23/6634f530a29c8002f22e
<siaw>
thinking of making use of ARGV
<siaw>
how can i do that?
gerjomarty has left #ruby [#ruby]
<apeiros>
mikecmpbll: priority-queue might be another concept of interest to you
sgambino has joined #ruby
<apeiros>
not quite the same as "inserting at the front", but somewhat similar
<apeiros>
siaw: yes, you'd have to use ARGV
<siaw>
apeiros: i know. but how?
<apeiros>
with `ruby script.rb 4000`, ARGV would be == ["4000"]
<siaw>
apeiros: where do i put ARGV?
<apeiros>
where should the 4000 go?
kknight has quit [Ping timeout: 240 seconds]
<siaw>
yes, i was thinking of putting it like this: fib_up_to(ARGV)
<apeiros>
ok, close
<apeiros>
it's the right place
<apeiros>
but remember, ARGV is an array of strings
<apeiros>
and you want a single integer
rikkipitt has quit [Remote host closed the connection]
Tempesta has quit [Quit: AdiIRC is updating to v2.3 Beta Build (2016/02/17) 32 Bit]
<siaw>
apeiros: so i could do ARGV.first
<siaw>
apeiros: maybe?
<apeiros>
yes. now you have a single string. last step would be to convert that string to an integer.
<siaw>
apeiros: ARGV.first.to_i
<apeiros>
bingo :)
<siaw>
apeiros: ok me trye
<apeiros>
alternatively: Integer(ARGV.first)
<siaw>
apeiros: ok
Tempesta has joined #ruby
<apeiros>
that one will raise an exception if ARGV.first is not really an integer
<Ox0dea>
siaw: In general, feel free to stick a `p foo` anywhere at any time to check your assumptions.
freerobby has joined #ruby
<adaedra>
Or a binding.pry if you need advanced inspections.
_sky has quit [Quit: Page closed]
<siaw>
Ox0dea: yeap. that’s good
andrewvos has joined #ruby
<siaw>
adaedra: i never got to understood pry
<Ox0dea>
It's just irb with love.
Rickmasta has joined #ruby
<adaedra>
That would be good to. It's an amazing tool.
<siaw>
what do do with it?
<Ox0dea>
Explore your programs.
<siaw>
yeah ok but how?
<siaw>
for instance in this case how could it help?
bahar has quit [Changing host]
bahar has joined #ruby
godzillaenlacasa has quit [Client Quit]
<Ox0dea>
This one was a fine case for "puts debugging".
Vingador has quit [Read error: Connection reset by peer]
<adaedra>
siaw: you could have put `binding.pry` between your two lines; this would have put you in a pry console where you could have printed str and see it wasn't modified.
fourq|away is now known as fourq
fourq is now known as fourq|away
htmldrum has quit [Ping timeout: 255 seconds]
<adaedra>
Agreed, on this one, it'd have been overkill.
graffix has joined #ruby
Zai00 has joined #ruby
twintail has joined #ruby
y2mq37 has quit [Ping timeout: 240 seconds]
tesuji has quit [Ping timeout: 240 seconds]
JDiPierro has joined #ruby
AckZ has quit []
hamed_r has quit [Read error: Connection reset by peer]
sandstrom has joined #ruby
plsk has left #ruby [#ruby]
sandstrom has quit [Client Quit]
Macaveli has joined #ruby
sandstrom has joined #ruby
JakFrist has joined #ruby
DanKnox has joined #ruby
djellemah_ has quit [Ping timeout: 276 seconds]
jottr_ is now known as jottr
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DanKnox_ has joined #ruby
jam_ has joined #ruby
vdamewood has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
voidDotClass has quit [Read error: Connection reset by peer]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
JDiPierro has joined #ruby
sdothum has joined #ruby
jtnegrotto has joined #ruby
blackmesa has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
umdstu has joined #ruby
roshanavand has joined #ruby
roshanavand has quit [Remote host closed the connection]
sergey_makagon has joined #ruby
<umdstu>
what's the best way to install ruby on centos without rbenv/rvm/etc
roshanavand has joined #ruby
<umdstu>
to replace the sytem ruby (1.8.6)
<adaedra>
centos 6?
AlphaAtom has joined #ruby
<hanmac>
umdstu: i think the best way is to replace centos itself XD ... imo the most easy way ARE rbenv or rvm .... otherwise try this: https://github.com/postmodern/ruby-install
<umdstu>
hanmac: i agree they are super easy, i use them for dev. but its not easy to put it on a non networked machine
<adaedra>
Maybe if you start by telling us that we would be able to find you a better solution.
Guest2313 is now known as BLuEGoD
<umdstu>
adaedra: thanks, i saw that domain pop up in an earlier search but hadn't clicked it yet
<hanmac>
... trying to install something on a non-network system is always funky because you might not know all dependencies you might need
BLuEGoD is now known as Guest61619
<umdstu>
adaedra: well i already said I wasn't interested in a ruby manager, sorry
<adaedra>
"put it on a non networked machine" was the missing piece.
<umdstu>
that's true
<adaedra>
There's also a COPR thing for 2.3, but it's CentOS 7 only
<adaedra>
Also, what hanmac said.
lipoqil has joined #ruby
<hanmac>
umdstu: also when you install your stuff for ruby, you might consider C/C++ stuff too (dev tools) because they might needed when you want to install ruby gems later
<umdstu>
dev stuff is installed already, dependencies are still handled through yum, with an internal mirror i guess. not up to date but its there
kies^ has quit [Ping timeout: 240 seconds]
fullofcaffeine has joined #ruby
PedramT has quit [Remote host closed the connection]
charlemagne has quit [Remote host closed the connection]
<adaedra>
You'll have a problem of trust, too
andrewvos has joined #ruby
nettoweb has joined #ruby
dajobat has joined #ruby
<shevy>
nobody trusts anyone anymore!
<dajobat>
Afternoon everyone.
ropeney has joined #ruby
Axy has quit [Ping timeout: 244 seconds]
JDiPierro has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
xrlabs has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
idefine has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
PedramT has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
<umdstu>
adaedra: good point
babblebre has joined #ruby
DanKnox has quit [Ping timeout: 240 seconds]
DanKnox_ has quit [Ping timeout: 250 seconds]
DanKnox_ has joined #ruby
DanKnox has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aaeron has joined #ruby
lxsameer has quit [Quit: Leaving]
AlexJakeGreen has joined #ruby
vdamewood has quit [Quit: Life beckons.]
Mia has quit [Ping timeout: 240 seconds]
myntcake has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
JDiPierro has joined #ruby
weemsledeux has joined #ruby
TomPeed has joined #ruby
ta has quit [Remote host closed the connection]
sdothum has joined #ruby
shanemcd has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
tvon has quit [Quit: tvon]
PedramT has quit [Read error: Connection reset by peer]
herminiotorres has joined #ruby
bweston92 has quit [Remote host closed the connection]
floatingpoint has joined #ruby
rippa has joined #ruby
cdg has quit [Ping timeout: 244 seconds]
shanemcd has quit [Ping timeout: 244 seconds]
zotherstupidguy has quit [Ping timeout: 240 seconds]
Chau has joined #ruby
DanKnox_ has quit [Ping timeout: 240 seconds]
DanKnox has quit [Ping timeout: 240 seconds]
flaguy48 has joined #ruby
beanHolez has joined #ruby
diego2 has joined #ruby
diego2 is now known as diegoviola
TheHodge has joined #ruby
nofacade has joined #ruby
saneax is now known as saneax_AFK
coyo has joined #ruby
BaroMeter has joined #ruby
arthurl has joined #ruby
DanKnox_ has joined #ruby
DanKnox has joined #ruby
Rodya_ has quit [Remote host closed the connection]
schuc has quit [Ping timeout: 250 seconds]
aaeron has quit [Quit: aaeron]
sandstrom has quit [Quit: My computer has gone to sleep.]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
celly has joined #ruby
stannard has joined #ruby
mfb2 has joined #ruby
DmitryBochkarev has joined #ruby
tvon has joined #ruby
polishdub has joined #ruby
jam_ has joined #ruby
johnnyt has quit [Ping timeout: 264 seconds]
BaroMeter has quit [Remote host closed the connection]
rdark has joined #ruby
tulak has quit [Remote host closed the connection]
rdark has quit [Changing host]
rdark has joined #ruby
tulak has joined #ruby
DanKnox_ has quit [Ping timeout: 248 seconds]
DanKnox has quit [Ping timeout: 248 seconds]
CloCkWeRX has quit [Quit: Leaving.]
schuc has joined #ruby
mfb2 has quit [Ping timeout: 244 seconds]
pdoherty has joined #ruby
x77686d has joined #ruby
jam_ has quit [Ping timeout: 255 seconds]
hamed_r has joined #ruby
mikecmpbll has quit [Ping timeout: 244 seconds]
herminiotorres has quit [Ping timeout: 276 seconds]
dopamean1 has quit [Ping timeout: 240 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sgambino has joined #ruby
Zai00 has quit [Read error: Connection reset by peer]
Zai00_ has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
herminiotorres has joined #ruby
<hanmac>
hey shevy i got something for you: check this out: https://github.com/Hanmac/rpg_gamedata (readme, testcases and other stuff will be added later)
Sucks has joined #ruby
<shevy>
no readme!
Guest61619 is now known as BLuEGoD
yatish27 has joined #ruby
<hanmac>
shevy that was the first commit, readme and other stuff will be added later (today)
BLuEGoD is now known as Guest12742
mary5030 has joined #ruby
sergey_makagon has quit []
godzillaenlacasa has joined #ruby
allcentury has joined #ruby
bruce__lee has quit [Changing host]
bruce__lee has joined #ruby
Macaveli has joined #ruby
johnnyt has joined #ruby
wprice has joined #ruby
zast has joined #ruby
zackzorman has joined #ruby
siaw has quit [Quit: siaw]
casadei has quit [Remote host closed the connection]
celly has quit []
mdw has joined #ruby
dopamean1 has joined #ruby
cdg has joined #ruby
failshell has joined #ruby
chouhoulis has quit [Remote host closed the connection]
<shevy>
my projects sucked so much time away, I feel dead :(
jottr has quit [Ping timeout: 276 seconds]
decoponio has joined #ruby
consolejazz has joined #ruby
consolejazz has left #ruby [#ruby]
platzhirsch has joined #ruby
dopamean1 has quit [Ping timeout: 255 seconds]
FooMunki has quit [Quit: FooMunki]
dopamean1 has joined #ruby
FooMunki has joined #ruby
einarj has quit [Remote host closed the connection]
cout has joined #ruby
yardenbar has quit [Ping timeout: 255 seconds]
frudo has joined #ruby
nogic has quit [Ping timeout: 248 seconds]
yardenbar has joined #ruby
infra-red has quit [Remote host closed the connection]
infra-red has joined #ruby
dlitvak_ has joined #ruby
andrewvos has quit [Ping timeout: 248 seconds]
bweston92 has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
malconis_ has joined #ruby
infra-red has quit [Ping timeout: 240 seconds]
crowell has quit [Ping timeout: 240 seconds]
anisha has quit [Quit: Leaving]
coyo has quit []
yatish27 has quit [Remote host closed the connection]
krobzaur has joined #ruby
crowell has joined #ruby
crowell has quit [Changing host]
crowell has joined #ruby
malconis_ has quit [Remote host closed the connection]
<hanmac>
TheBrayn: i know rubocop, but most of the problems are stupid and are wrong setted ... or what exaclty is your problem ?
aganov has quit [Remote host closed the connection]
darix has quit [Remote host closed the connection]
DanKnox_ has joined #ruby
DanKnox has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has quit []
darix has joined #ruby
PlasmaStar has quit [Ping timeout: 264 seconds]
BrunoSaboia has joined #ruby
mhoungbo has quit [Ping timeout: 240 seconds]
terlar has quit [Ping timeout: 265 seconds]
chipotle has quit [Quit: cheerio]
nogic has joined #ruby
nofacade has quit [Read error: Connection reset by peer]
BSaboia has quit [Ping timeout: 244 seconds]
_deezCodez has joined #ruby
PlasmaStar has joined #ruby
<_deezCodez>
Does anyone know why people always overcomplicate simple things to teach more indepth concepts? It just makes it more confusing for me.
aufi has quit [Ping timeout: 240 seconds]
Abrin has joined #ruby
Rodya_ has joined #ruby
mfb2 has joined #ruby
<hanmac>
_deezCodez: i dont know, maybe because they have no other problems?
<dajobat>
_deezCodez: Example?
steffkes has quit [Ping timeout: 244 seconds]
nofacade has joined #ruby
denym_ is now known as zz_denym_
ping-pong has quit [Ping timeout: 276 seconds]
ruurd has joined #ruby
ruurd is now known as Guest33237
vasilakisfil has quit [Quit: Konversation terminated!]
ss_much has joined #ruby
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
St1gma has quit [Quit: laters]
xrlabs has quit [Quit: This computer has gone to sleep]
mark4 has quit [Quit: Leaving.]
Jardayn has joined #ruby
kmckelvin has joined #ruby
graffix has quit [Ping timeout: 265 seconds]
kmckelvi1 has quit [Read error: Connection reset by peer]
xrlabs has joined #ruby
Guest38 has joined #ruby
skade has joined #ruby
rkazak has joined #ruby
krobzaur has quit [Quit: WeeChat 0.4.2]
xapak has joined #ruby
<xapak>
Hello.
graffix has joined #ruby
ping-pong has joined #ruby
krobzaur has joined #ruby
casadei has joined #ruby
shredding has joined #ruby
nopolitica has joined #ruby
Guest12742 is now known as BLuEGoD
vod has joined #ruby
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rickmasta has joined #ruby
BLuEGoD is now known as Guest37323
Rickmasta has quit [Max SendQ exceeded]
Rickmasta has joined #ruby
RegulationD has quit [Remote host closed the connection]
sneakerhax has quit [Ping timeout: 248 seconds]
siaw has joined #ruby
rkazak has quit [Ping timeout: 255 seconds]
cfjk has quit [Quit: Leaving]
aegis3121 has joined #ruby
pandaant has quit [Remote host closed the connection]
krobzaur has quit [Quit: WeeChat 0.4.2]
<_deezCodez>
Sorry, I got distracted. I was thinking about people talking about blocks. I diving down the rabbit hole and a lot of people to teach blocks are forcing in blocks where I feel blocks wouldn't normally be used.
sepp2k has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
krobzaur has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
karapetyan has joined #ruby
jaiks has quit [Ping timeout: 240 seconds]
frudo has quit [Ping timeout: 240 seconds]
failshell has quit []
blandflakes has joined #ruby
nopolitica has quit [Quit: leaving]
frudo has joined #ruby
karapetyan has quit [Remote host closed the connection]
tildes has joined #ruby
AlexJakeGreen has quit [Quit: Leaving]
_deezCodez has quit [Ping timeout: 252 seconds]
siaw has quit [Quit: siaw]
Sucks has quit [Quit: No Ping reply in 180 seconds.]
chouhoulis has joined #ruby
PhoenixBird has joined #ruby
rakm has joined #ruby
infra-red has joined #ruby
sandstrom has joined #ruby
PhoenixBird has left #ruby [#ruby]
rcvalle has joined #ruby
Rodya_ has quit [Remote host closed the connection]
siaw has joined #ruby
Sucks has joined #ruby
Rodya_ has joined #ruby
sandstrom has quit [Max SendQ exceeded]
maikowblue has joined #ruby
sandstrom has joined #ruby
Yiota has quit [Ping timeout: 244 seconds]
maletor has joined #ruby
symm- has joined #ruby
frudo has quit [Ping timeout: 240 seconds]
bweston92 has quit [Remote host closed the connection]
blackmesa has joined #ruby
ljames has joined #ruby
<haylon>
with Gem, can I do an install command like gem install gem -v ~> 2.2 ?
Xeago has quit [Remote host closed the connection]
Jardayn has quit [Ping timeout: 244 seconds]
zacstewart has quit [Ping timeout: 250 seconds]
<apeiros>
seems like. but you have to quote the version spec. otherwise it's 2 args instead of 1
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amclain has joined #ruby
<haylon>
gem install gem -v "~> 2.2"
TomPeed has joined #ruby
<darix>
maybe put the gemname after the version
<haylon>
I'll give it a whack
Rodya_ has quit [Remote host closed the connection]
Jardayn has joined #ruby
Snowy has quit [Remote host closed the connection]
<haylon>
That did work, I just need not the newest gem version.
xrlabs has quit [Quit: This computer has gone to sleep]
aegis3121 has quit [Ping timeout: 240 seconds]
arthropododo has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kmckelvin has quit [Ping timeout: 240 seconds]
fedexo has joined #ruby
karapetyan has joined #ruby
mfb2 has quit [Remote host closed the connection]
Rodya_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
msosa has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
karapetyan has joined #ruby
<havenwood>
hanmac: How didn't it work? Error?
<havenwood>
hanmac: oops, but hi!
<havenwood>
haylon: ^
lurch_ has quit [Quit: lurch_]
yardenbar has quit [Ping timeout: 248 seconds]
p1k has quit [Ping timeout: 250 seconds]
mfb2 has joined #ruby
Macaveli has joined #ruby
<haylon>
havenwood, it worked, but I wanted one of the 2.2.* versions of Zabbix API, supposedly version 2.4* won't work with Zabbix 2.2
<haylon>
its a weird versioning/tagging system he's got going on
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<timwis>
Hey guys, I'm trying to write a jekyll plugin and I have an array of "jekyll documents". I'm trying to group them by a particular attribute (category), but it's breaking when a document doesn't have a "category" attribute. So I figured I'd run a .reject() on them first. But I can't figure out how to test whether the "jekyll document" object has an attribute. .has_key, has_attribute, .category? .category.nil? all throw errors. Any ideas?
BSab has quit [Client Quit]
BrunoSaboia has quit [Ping timeout: 244 seconds]
xrlabs has joined #ruby
fedexo has quit [Ping timeout: 250 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
kirillzh has joined #ruby
<arthurl>
hi guys- quick question- how do i install bundler to a specific ruby env, for example i see bundle and bundler is NOT currently in '/usr/local/rvm/gems/ruby-1.9.3-p448@global/bin'
DanKnox_ has quit [Ping timeout: 276 seconds]
DanKnox has quit [Ping timeout: 276 seconds]
<arthurl>
and i'd like it to be
<arthurl>
them* to be
bb010g has quit [Quit: Connection closed for inactivity]
Guest37323 is now known as BLuEGoD
maletor has joined #ruby
B1n4r10 has quit [Ping timeout: 250 seconds]
BLuEGoD is now known as Guest87153
maletor has quit [Client Quit]
shredding has quit [Ping timeout: 255 seconds]
RegulationD has joined #ruby
<haylon>
grrr. Now I'm running into a type casing issue. ZabbixApi thinks I'm sending it a string when I put a .to_i after the value.
saneax_AFK is now known as saneax
<haylon>
keeps complaining about Conversion from string to Integer, and the string is a number
maletor has joined #ruby
aryaching has quit [Remote host closed the connection]
<haylon>
nvm. gotta convert it into a hash.
DanKnox has joined #ruby
aryaching has joined #ruby
DanKnox_ has joined #ruby
babblebre has joined #ruby
dhollinger has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
lubekpl has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
Chau has quit [Ping timeout: 240 seconds]
stannard_ has quit [Remote host closed the connection]
<xapak>
Hello.
<xapak>
Do you know what does $LOAD_PATH read in the the paths? All .rb files or what?
<xapak>
Is it recursive with children paths?
ohaibbq has joined #ruby
stannard has joined #ruby
arlek has joined #ruby
Rodya_ has joined #ruby
bb010g has joined #ruby
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam>
xapak: it's the search path for require()
RegulationD has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam>
require 'foo/bar' will look for foo/bar.rb in each $LOAD_PATH
<eam>
very similar to $PATH
VeryBewitching has joined #ruby
<eam>
note: rubygems has a different load mechanism
<xapak>
Hmm, got it. That’s why it’s not working for my use case. :p
<VeryBewitching>
G'day folks.
<xapak>
o/
<xapak>
eam, thamks.
<xapak>
thanks, rather
<eam>
np
tvon has quit [Quit: tvon]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
Guest33237 is now known as ruurd
blackmesa has quit [Ping timeout: 240 seconds]
davedev24 has joined #ruby
<vod>
hello everyone
kmckelvin has joined #ruby
symm- has quit [Ping timeout: 244 seconds]
dravine has joined #ruby
Xeago has quit [Ping timeout: 276 seconds]
baweaver has quit [Remote host closed the connection]
goodcodeguy has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
zacstewart has quit [Ping timeout: 250 seconds]
swills has joined #ruby
goodcodeguy has quit [Client Quit]
lubekpl has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
sdothum has joined #ruby
_djbkd has joined #ruby
idefine has quit [Remote host closed the connection]
terminalrecluse has joined #ruby
vod has quit [Quit: bye]
Rodya_ has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 240 seconds]
voobscout has joined #ruby
Zai00_ has quit [Ping timeout: 240 seconds]
goodcodeguy has joined #ruby
skade has joined #ruby
Rodya_ has joined #ruby
aryaching has quit [Ping timeout: 240 seconds]
<umdstu>
whats the difference between using a fixture to create an object, item = items(:item), and using AR, item = Item.new() in a model test?
fontain has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
<umdstu>
are fixtures immutable ?
freerobby has quit [Quit: Leaving.]
patchedmonkey has quit [Ping timeout: 248 seconds]
idefine has joined #ruby
mfb2 has joined #ruby
<drale2k>
i have a socket and need to send back 1 byte (01). Currently i am trying > client.puts "\x01" but it does not work (the gps device is not responding to this). How else would i send back 1 byte ?
<apeiros>
drale2k: puts appends a newline
<apeiros>
you should probably use write
aryaching has joined #ruby
<apeiros>
and potentially flush the data out (ruby usually buffers IOs)
tvon has joined #ruby
<drale2k>
hm write seems to create a new line too
pdoherty has quit [Ping timeout: 255 seconds]
firstdayonthejob has joined #ruby
kmckelvi1 has joined #ruby
freerobby has joined #ruby
benlieb has joined #ruby
Eiam_ has joined #ruby
idefine has quit [Ping timeout: 250 seconds]
kmckelvin has quit [Ping timeout: 240 seconds]
mhoungbo has joined #ruby
marxarelli has joined #ruby
mfb2 has quit []
codecop has joined #ruby
charlemagne has joined #ruby
zacstewart has joined #ruby
justbleed has joined #ruby
TomPeed has quit [Read error: Connection reset by peer]
voobscout has quit [Quit: bye]
justbleed is now known as pdev_memories
kmckelvi1 has quit [Ping timeout: 255 seconds]
eregi has joined #ruby
dajobat has quit [Ping timeout: 248 seconds]
Sucks has quit [Quit: No Ping reply in 180 seconds.]
pawnbox has joined #ruby
SCHAAP137 has joined #ruby
Sucks has joined #ruby
Rodya_ has quit [Remote host closed the connection]
_djbkd has quit [Remote host closed the connection]
kmckelvi1 has joined #ruby
evidex has quit [Ping timeout: 240 seconds]
voobscout has joined #ruby
Silox| has joined #ruby
sepp2k has joined #ruby
benlieb has quit [Quit: benlieb]
saneax is now known as saneax_AFK
aegis3121 has joined #ruby
hays has quit [Ping timeout: 268 seconds]
diegoviola has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
siaw has quit [Quit: siaw]
freerobby has quit [Quit: Leaving.]
Xeago has joined #ruby
kies^ has joined #ruby
dmolina has quit [Ping timeout: 255 seconds]
dmolina1 has joined #ruby
bronson has joined #ruby
hays has joined #ruby
JDiPierro has joined #ruby
_djbkd has joined #ruby
dmolina1 has quit [Client Quit]
mwlang has joined #ruby
Youngmathimus0 has joined #ruby
DanKnox_ has quit [Ping timeout: 248 seconds]
DanKnox has quit [Ping timeout: 248 seconds]
lsmola has quit [Ping timeout: 248 seconds]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sucks has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 244 seconds]
voobscout has quit [Quit: bye]
Sucks has joined #ruby
roshanavand has quit [Remote host closed the connection]
Rodya_ has joined #ruby
hamed_r has quit [Quit: Leaving]
skweek has joined #ruby
PhoenixBird_ has joined #ruby
jottr_ has joined #ruby
Guest87153 is now known as BLuEGoD
rdark has quit [Ping timeout: 250 seconds]
BLuEGoD is now known as Guest78780
x77686d has joined #ruby
B1n4r10 has joined #ruby
woo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 248 seconds]
last_staff has joined #ruby
Sucks has quit [Ping timeout: 240 seconds]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
stannard has quit [Read error: Connection reset by peer]
<conrfrmn>
Im on osx and cant get rbenv to change my ruby version. I do $ rbenv install 2.3.0, $ rbenv global 2.3.0, $ rbenv rehash, but it doensn't work am I missing something?
elcontrastador has joined #ruby
BSaboia has joined #ruby
bronson has joined #ruby
skweek has quit [Ping timeout: 250 seconds]
kirillzh has joined #ruby
bruce__lee is now known as bruce_lee
aef has quit [Remote host closed the connection]
<xapak>
conrfrmn, you sure rbenv is loaded to the PATH? Do: echo $PATH
B3rg3lm1r has joined #ruby
<xapak>
~HOME/.rbenv/shims should be one of the most to the left.
B3rg3lm1r has quit [Max SendQ exceeded]
ruby-lang272 has joined #ruby
krz has quit [Ping timeout: 248 seconds]
jtnegrotto has quit [Read error: Connection reset by peer]
gizmore has joined #ruby
platzhirsch has left #ruby [#ruby]
B3rg3lm1r has joined #ruby
karapetyan has joined #ruby
marxarelli is now known as marxarelli|afk
chipotle has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
william3 has quit [Remote host closed the connection]
ruby-lang272 has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kirillzh has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
<PhoenixBird_>
conrfrmn , I use following entry in .bashrc on kubuntu # Added for rbenv
sgambino has quit [Read error: Connection reset by peer]
william3 has quit [Remote host closed the connection]
roshanavand has joined #ruby
william3 has joined #ruby
dmolina has joined #ruby
f4cl3y has quit [Ping timeout: 264 seconds]
timwis has joined #ruby
jds has quit [Quit: Connection closed for inactivity]
zackzorman has quit [Ping timeout: 240 seconds]
jackjackdripper has joined #ruby
betafive has quit [Read error: Connection reset by peer]
charlemagne has quit [Read error: Connection reset by peer]
siaw has joined #ruby
<x77686d>
after doing 'irb -r ./x' I'd like to be able to edit x.rb and then reload inside irb. I see that __FILE__ is "(irb)". Is there a way to get the name of the file specified with -r so I could load it again?
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
<ironcamel>
p seems to print to stdout. is there an easy way to get it to go to stderr?
<drbrain>
ironcamel: $stderr = $stdout
charlemagne has joined #ruby
<drbrain>
x77686d: it will be in $LOADED_FEATURES
<ironcamel>
oh i guess i can STDERR.puts foo.inspect
yardenbar has quit [Ping timeout: 250 seconds]
<drbrain>
x77686d: there's code in active_support that does this kind of thing, but I'm not sure where it is or how easy it is to extract
<havenwood>
ironcamel: Or if you want to respect warning level optinos: warn {}.inspect
<x77686d>
drbrain: thanks!
mhoungbo has quit [Ping timeout: 244 seconds]
azure32 has joined #ruby
<drbrain>
x77686d: I think pry might have this as a feature (an irb alternative)
bluOxigen has quit [Ping timeout: 248 seconds]
<drbrain>
I think someone else here will be able to correct me/confirm that ↑
kirun has joined #ruby
timwis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JDiPierro has quit [Read error: Connection reset by peer]
JDiPierro has joined #ruby
zackzorman has joined #ruby
baweaver has joined #ruby
jam_ has joined #ruby
bluethundr has joined #ruby
<bluethundr>
hey guys
<bluethundr>
I'm trying to install the ruby-debug gem but I'm running into an error
<pizzaops>
Since I'm wrapping the intiial memo in [], and that happens with each "iteration" shouldn't i end up with wierdness
FooMunki has quit [Quit: FooMunki]
xapak has left #ruby [#ruby]
<baweaver>
!xy
<baweaver>
?xy
<ruby[bot]>
it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
FooMunki has joined #ruby
<pizzaops>
I know that.
<pizzaops>
I'm just curious, syntactically.
rakm has joined #ruby
ur5us has joined #ruby
<pizzaops>
I actually already have a solution to my "real" problem.
<tvsutton>
Gem.install('xcode-install') does what I'd expect and attempts to install the Gem to the default site dir
B3rg3lm1r has quit [Read error: Connection reset by peer]
<tvsutton>
I'm trying to set an option that's the equivalent of `gem install --user-install` but directly from Ruby
<arup___>
say I have "D" now, from this I want to print by 2 letters behind the `D` as "A".. What is neat way ?
<arup___>
sorry, `B`, not `A`
chipotle has joined #ruby
idefine has joined #ruby
yardenbar has joined #ruby
<drbrain>
tvsutton: I think you want Gem.install 'xcode-install', user_install: true
Xeago has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 248 seconds]
zeroDivisible has joined #ruby
<tvsutton>
I tried that as well, no luck.
karapetyan has joined #ruby
<ironcamel>
i'm trying to find the index of the first occurrence of an item in an array, starting after a given index. what is the best way to do this? should i take a slice and call .first_index on that?
<tvsutton>
I can do this with shell code, just hoped that I could do it a bit more efficiently directly using Gem in Ruby
musl has quit [Quit: WeeChat 1.3]
musl has joined #ruby
FernandoBasso has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
idefine has quit [Ping timeout: 240 seconds]
voobscout has joined #ruby
Cohedrin has joined #ruby
Youngmathimus0 has quit [Ping timeout: 240 seconds]
kent\n has quit [Read error: Connection reset by peer]
<ironcamel>
thanks baweaver
voobscout has quit [Client Quit]
rakm_ has joined #ruby
baweaver has quit [Remote host closed the connection]
roshanavand has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
rakm has quit [Ping timeout: 255 seconds]
idefine has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
freerobby has quit [Quit: Leaving.]
idefine has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
graudify has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
<graudify>
is there any way to imitate `--data-binary` with net/http?
hxegon is now known as hxegon_AFK
flughafen_ has joined #ruby
william3 has quit [Remote host closed the connection]
rakm has joined #ruby
sgambino has joined #ruby
idefine has joined #ruby
marxarelli has joined #ruby
<drbrain>
graudify: just put the binary data in the post body
rakm has quit [Max SendQ exceeded]
jackjackdripper has quit [Quit: Leaving.]
<drbrain>
you might need to set the appropriate content-type too
jackjackdripper has joined #ruby
marxarelli is now known as marxarelli|afk
rakm has joined #ruby
voobscout has joined #ruby
<graudify>
nice, thanks drbrain
rakm_ has quit [Ping timeout: 248 seconds]
voobscout has quit [Remote host closed the connection]
xrlabs has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Ping timeout: 276 seconds]
HammyJammy has joined #ruby
idefine has quit [Remote host closed the connection]
wmdrossard has joined #ruby
idefine has joined #ruby
voobscout has joined #ruby
Don_John_ has joined #ruby
marxarelli|afk is now known as marxarelli
chipotle_ has joined #ruby
wmdrossard has quit [Client Quit]
Tempesta_ has joined #ruby
stannard has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
wmdrossard has joined #ruby
zenspider_ has joined #ruby
Insti has joined #ruby
veloutin_ has joined #ruby
stryek_ has joined #ruby
junior1 has joined #ruby
Meeh_ has joined #ruby
helpa-bot has joined #ruby
xrlabs has joined #ruby
janno_ has joined #ruby
kiki_lam1 has joined #ruby
Raboo_ has joined #ruby
adeponte has joined #ruby
^raz^ has joined #ruby
jtoy_ has joined #ruby
eam_ has joined #ruby
codyc has joined #ruby
rfi_ has joined #ruby
janelleb_ has joined #ruby
ereslibre_laptop has joined #ruby
ereslibre_laptop has joined #ruby
p0p0pr37 has quit [Read error: Connection reset by peer]
stannard_ has quit [Read error: Connection reset by peer]
shtirlic has quit [Ping timeout: 255 seconds]
helpa has quit [Ping timeout: 255 seconds]
WebDawg has quit [Ping timeout: 255 seconds]
EdwardIII has quit [Ping timeout: 255 seconds]
joeyjones has quit [Ping timeout: 255 seconds]
Platini has quit [Ping timeout: 255 seconds]
veloutin has quit [Ping timeout: 255 seconds]
janno has quit [Ping timeout: 255 seconds]
akkad has quit [Ping timeout: 255 seconds]
chipotle has quit [Ping timeout: 255 seconds]
Raboo has quit [Ping timeout: 255 seconds]
juniorism has quit [Ping timeout: 255 seconds]
stryek has quit [Ping timeout: 255 seconds]
dfoolz has quit [Ping timeout: 255 seconds]
kiki_lamb has quit [Ping timeout: 255 seconds]
quarcu has quit [Ping timeout: 255 seconds]
adam^ has quit [Ping timeout: 255 seconds]
yardenbar has quit [Ping timeout: 255 seconds]
Don_John has quit [Ping timeout: 255 seconds]
ping-pong has quit [Ping timeout: 255 seconds]
JammyHammy has quit [Ping timeout: 255 seconds]
Timberwo|f has quit [Ping timeout: 255 seconds]
Tempesta has quit [Ping timeout: 255 seconds]
whiteline has quit [Ping timeout: 255 seconds]
wedgwood has quit [Ping timeout: 255 seconds]
ixti has quit [Ping timeout: 255 seconds]
rfi has quit [Ping timeout: 255 seconds]
ereslibre has quit [Ping timeout: 255 seconds]
jtoy has quit [Ping timeout: 255 seconds]
Rush has quit [Ping timeout: 255 seconds]
cyphactor has quit [Ping timeout: 255 seconds]
nitrix has quit [Ping timeout: 255 seconds]
papercode has quit [Ping timeout: 255 seconds]
raz has quit [Ping timeout: 255 seconds]
janelleb has quit [Ping timeout: 255 seconds]
eam has quit [Ping timeout: 255 seconds]
NfNitLoop has quit [Ping timeout: 255 seconds]
Meeh has quit [Ping timeout: 255 seconds]
zenspider has quit [Ping timeout: 255 seconds]
edulix has quit [Read error: Connection reset by peer]
maikowblue has quit [Ping timeout: 255 seconds]
nogic has quit [Ping timeout: 255 seconds]
herminiotorres has quit [Ping timeout: 255 seconds]
Shaboum has quit [Ping timeout: 255 seconds]
yonatankoren has quit [Ping timeout: 255 seconds]
jazzonmymind has quit [Ping timeout: 255 seconds]
jzigmund has quit [Ping timeout: 255 seconds]
rodfersou has quit [Quit: leaving]
isomorphismes has quit [Ping timeout: 255 seconds]
Raboo_ is now known as Raboo
joeyjones has joined #ruby
papercode has joined #ruby
^raz^ is now known as raz
raz has quit [Changing host]
raz has joined #ruby
dfoolz has joined #ruby
joast has quit [Ping timeout: 255 seconds]
WebDawg has joined #ruby
EdwardIII has joined #ruby
quarcu has joined #ruby
platzhirsch has joined #ruby
whiteline has joined #ruby
Shaboum has joined #ruby
adam_ has joined #ruby
edulix has joined #ruby
jzigmund has joined #ruby
jazzonmymind has joined #ruby
isomorphismes has joined #ruby
Guest6991 has joined #ruby
akkad has joined #ruby
symm- has joined #ruby
ping-pong has joined #ruby
anisha has quit [Quit: Leaving]
Platini has joined #ruby
Rush has joined #ruby
nogic has joined #ruby
DanKnox_ has quit [Ping timeout: 244 seconds]
DanKnox has quit [Ping timeout: 240 seconds]
yo61 has quit [Ping timeout: 265 seconds]
im0b has quit [Ping timeout: 265 seconds]
dlitvak has quit [Remote host closed the connection]
ohaibbq has joined #ruby
adambeynon has quit [Ping timeout: 265 seconds]
angiebadillo has quit [Ping timeout: 250 seconds]
jlyndon has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
angiebadillo has joined #ruby
jimeh has quit [Ping timeout: 265 seconds]
deepak has quit [Ping timeout: 250 seconds]
william3 has joined #ruby
im0b has joined #ruby
jlyndon has joined #ruby
jimeh has joined #ruby
joast has joined #ruby
avdi has quit [Ping timeout: 265 seconds]
tejasmanohar has quit [Ping timeout: 265 seconds]
avdi has joined #ruby
adambeynon has joined #ruby
spider-mario has joined #ruby
tejasmanohar has joined #ruby
yo61 has joined #ruby
wprice has quit [Ping timeout: 244 seconds]
deepak has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wprice has joined #ruby
ohaibbq has quit [Ping timeout: 250 seconds]
xrlabs has quit [Quit: This computer has gone to sleep]
yqt has joined #ruby
dlitvak has joined #ruby
last_staff has quit [Quit: last_staff]
yardenbar has joined #ruby
Deck` has joined #ruby
DanKnox has joined #ruby
DanKnox_ has joined #ruby
andrewvos has joined #ruby
ixti has joined #ruby
hxegon_AFK is now known as hxegon
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
mhoungbo has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<tvsutton>
going a little further down the rabbit hole: OS X (still) ships with RubyGems 2.0.14. If I don't first update it to the latest with `gem update --system`, I can't do `Gem::Installer.new`, even though the Gem::Installer class seems to be present in the System's Ruby 2.0.0 dir within the rubygems lib.
voobscout has quit [Quit: bye]
<drbrain>
tvsutton: can't do = ? did you require it?
<tvsutton>
I get "uninitialized constant Gem::Installer (NameError)"
<drbrain>
tvsutton: also, you should use Gem::DependencyInstaller (which also installs dependencies)
<drbrain>
require 'rubygems/dependency_installer' to bring it in
DEA7TH has quit [Quit: DEA7TH]
<tvsutton>
Hm, thanks
<tvsutton>
I'll try that one
<drbrain>
it isn't loaded by default because it pulls in features that you don't need most of the time
SenpaiSilver has joined #ruby
<tvsutton>
I see, ok. But it seems I don't need to explicitly require 'rubygems/installer' for the latest rubygems version
idefine has quit [Remote host closed the connection]
eregi_ has joined #ruby
xrlabs has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SenpaiSilver has quit [Max SendQ exceeded]
eregi has quit [Read error: Connection reset by peer]
dlitvak has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
aegis3121 has joined #ruby
SenpaiSilver has joined #ruby
SenpaiSilver has quit [Max SendQ exceeded]
goodcodeguy has joined #ruby
BSaboia has quit [Read error: Connection reset by peer]
umdstu has quit [Ping timeout: 252 seconds]
Guest50777 is now known as BLuEGoD
<tvsutton>
Thanks for the tip - I totally didn't realize I'd need to import the sub-components
BLuEGoD is now known as Guest1304
azure32 has quit [Ping timeout: 244 seconds]
voobscout has joined #ruby
yardenbar has quit [Ping timeout: 276 seconds]
hayden_ has quit [Quit: Connection closed for inactivity]
tildes has quit [Ping timeout: 248 seconds]
maletor has quit [Ping timeout: 240 seconds]
Channel6 has joined #ruby
idefine has joined #ruby
stannard has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
arup___ has left #ruby [#ruby]
idefine has joined #ruby
stannard has joined #ruby
baweaver has joined #ruby
BSaboia has joined #ruby
chouhoul_ has joined #ruby
dfockler has quit [Ping timeout: 250 seconds]
raddazong has quit [Changing host]
raddazong has joined #ruby
mhoungbo has quit [Ping timeout: 248 seconds]
raddazong is now known as madhatter
william3 has quit [Remote host closed the connection]
chouhou__ has joined #ruby
nofacade has quit [Ping timeout: 248 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
casadei has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
<graudify>
drbrain: req.body worked perfectly. thanks
baweaver has quit [Ping timeout: 250 seconds]
chouhoul_ has quit [Ping timeout: 240 seconds]
x77686d has joined #ruby
yardenbar has joined #ruby
graudify has quit [Quit: Page closed]
charlemagne has quit [Remote host closed the connection]
charlemagne has joined #ruby
loveablelobster has joined #ruby
blackgoat has joined #ruby
casadei has joined #ruby
ldnunes has quit [Quit: Leaving]
_djbkd has quit [Remote host closed the connection]
tjohnson has quit [Quit: Connection closed for inactivity]
karapetyan has quit [Ping timeout: 250 seconds]
<drbrain>
>> %Q(some string #{with_interpolation} and "double" quotes)
<ruby[bot]>
drbrain: # => undefined local variable or method `with_interpolation' for main:Object (NameError) ...check link for more (https://eval.in/521332)
<haylon>
bnagy, I'm sure there's an issue with the RubyGem itself as well.
<drbrain>
haylon: ↑
<haylon>
drbrain, I like that, I'll look into that.
<drbrain>
… use %Q(string goes "here")
<haylon>
thank you
<bnagy>
you'll still have to escape backslashes though
idefine has quit [Remote host closed the connection]
<haylon>
That's fine, I think I can work with that
william3 has quit [Ping timeout: 248 seconds]
smeagol has joined #ruby
<smeagol>
exit
<smeagol>
exit
smeagol has quit [Client Quit]
yardenbar has joined #ruby
swills has joined #ruby
<haylon>
lol, I did that yesterday
<haylon>
using a command line client eh?
idefine has joined #ruby
mary5030 has joined #ruby
Domaldel has quit [Quit: Leaving]
idefine has quit [Remote host closed the connection]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elifoster has joined #ruby
beanHolez has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 240 seconds]
FernandoBasso has quit [Quit: Leaving]
ramortegui has quit [Quit: Ex-Chat]
CloCkWeRX has joined #ruby
rcvalle has quit [Quit: rcvalle]
sgambino has joined #ruby
saneax_AFK is now known as saneax
smeagol has joined #ruby
rcvalle has joined #ruby
solocshaw has joined #ruby
volty has joined #ruby
yfeldblum has joined #ruby
smeagol has quit [Quit: WeeChat 1.4]
Guest52944 is now known as BLuEGoD
polishdub has quit [Quit: Leaving]
BLuEGoD is now known as Guest27825
theery_ has quit []
marxarelli is now known as marxarelli|afk
casadei has quit [Remote host closed the connection]
dfockler has joined #ruby
ferr has joined #ruby
Rodya_ has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
chipotle has quit [Client Quit]
einarj has quit [Ping timeout: 276 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
einarj has joined #ruby
pibby has joined #ruby
postmodern has joined #ruby
<postmodern>
what is the defacto naming convention for API clients? Foo::API? Foo::Client? Foo::API::Client?
zenlot1 has quit [Ping timeout: 250 seconds]
ocbtec has quit [Quit: leaving]
siaw has quit [Quit: siaw]
aegis3121 has quit [Ping timeout: 255 seconds]
zenlot1 has joined #ruby
einarj has quit [Read error: Connection reset by peer]
einarj_ has joined #ruby
solars has quit [Ping timeout: 250 seconds]
baweaver has quit [Remote host closed the connection]
siaw has joined #ruby
Deck` has quit [Ping timeout: 244 seconds]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomaz_b has quit [Ping timeout: 240 seconds]
wmdrossard has quit [Quit: Lost terminal]
norc_ has joined #ruby
<Radar>
postmodern: Foo::API
siaw has quit [Client Quit]
myntcake has quit [Quit: Leaving]
BrunoSaboia has quit [Ping timeout: 240 seconds]
norc__ has quit [Ping timeout: 240 seconds]
Coldblackice has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
<postmodern>
Radar, and should i name the gem foo-api, or squat "foo"?
DanKnox_ has quit [Ping timeout: 255 seconds]
marxarelli|afk is now known as marxarelli
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marxarelli is now known as marxarelli|afk
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
DanKnox has quit [Ping timeout: 255 seconds]
<Radar>
postmodern: hm, tough. I have an argument for each.
marxarelli|afk is now known as marxarelli
<Radar>
is it for a third party?
goodcodeguy has joined #ruby
saneax is now known as saneax_AFK
x77686d has joined #ruby
<postmodern>
Radar, yep 3rd party service, no ruby client currently exists
pawnbox has joined #ruby
<pizzaops>
So when I require this code from somwhere — https://gist.github.com/pizzaops/f1c5eb2728e5124c2716 — e.g. require 'wilhelm/project/list', prior to trying to create an instance of the class inside, the error "Project is not a module" is returned. And that's true. There's a Wilhelm::Project class. But I still want to refer to this class here as
<pizzaops>
Wilhelm::Project::List for organization/namespacing purposes. Is there some way to do that?
<Radar>
postmodern: I think squatting the name is fine.
<postmodern>
pizzaops, change `module Project` to `class Project`?
<pizzaops>
postmodern: for some reason I just didn't think I could do that.
<pizzaops>
snce i already haev a class project
rakm has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
einarj has joined #ruby
einarj_ has quit [Ping timeout: 240 seconds]
dhollinger has quit [Quit: WeeChat 1.4]
william3 has joined #ruby
PlsHelpMe is now known as randomguy
randomguy is now known as talktome
talktome is now known as asdfadsf
Rodya_ has quit [Remote host closed the connection]
kies^ has quit [Ping timeout: 250 seconds]
sneakerhax has quit [Ping timeout: 276 seconds]
spider-mario has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 240 seconds]
asdfadsf is now known as PlsHelpMe
sandstrom has quit [Quit: My computer has gone to sleep.]