hotpancakes has quit [Remote host closed the connection]
stokachu has quit [Ping timeout: 260 seconds]
hotpancakes has joined #ruby
<pytuger>
quazimodo, tbh, your ruby skills are better than mine. I am more familiar with things like perl and python
duderonomy has quit [Ping timeout: 246 seconds]
<pytuger>
if you wait when others are not afk, I'm sure someone can help
<quazimodo>
that's fine
Snickers has joined #ruby
<quazimodo>
but i can only imagine that an environment thing is goingon
<pytuger>
ddfg, thanks for that URL. though I must say it proved ruby was faster in that case.
sneakerhax has joined #ruby
rkazak_ has quit [Quit: Sleep.....ing....]
<quazimodo>
but the thing is, I'm not even ssh'd into the machine when this deploy happens. The entire app is bundled, upoladed to s3 and then each app server gets a message to pull teh new version and deploy
cibs has quit [Ping timeout: 258 seconds]
prab97 has quit [Quit: WeeChat 1.7]
<quazimodo>
Problem solved, ruby behaves well, it's git checking in wrong symlinks
<quazimodo>
g s
cibs has joined #ruby
Snickers has quit [Ping timeout: 240 seconds]
dyyylan has joined #ruby
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sleetdrop has joined #ruby
lzto has joined #ruby
stokachu has joined #ruby
pwnd_nsfw` has joined #ruby
hxegon is now known as hxegon_afk
Robtop__ has quit [Ping timeout: 246 seconds]
rkazak_ has joined #ruby
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davic has quit [Quit: Connection closed for inactivity]
pawnbox has joined #ruby
charliesome has joined #ruby
hahuang65 has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
milardovich has joined #ruby
Snickers has joined #ruby
benlieb has quit [Quit: benlieb]
hahuang65 has quit [Ping timeout: 260 seconds]
enterprisey has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 256 seconds]
Snickers has quit [Ping timeout: 240 seconds]
raul782 has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 240 seconds]
A_Drone has joined #ruby
balazs has joined #ruby
A_Drone has quit [Remote host closed the connection]
raul782 has quit [Read error: Connection reset by peer]
haraoka has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
cschneid_ has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
duderonomy has joined #ruby
milardovich has joined #ruby
Snickers has joined #ruby
raul782 has joined #ruby
mzo has quit [Quit: :*]
raul782 has quit [Client Quit]
raul782 has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
Snickers has quit [Ping timeout: 260 seconds]
eclecticjohny has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
jackjackdripper has joined #ruby
houhoulis has quit [Remote host closed the connection]
saslam has joined #ruby
z3uS has quit [Ping timeout: 240 seconds]
kinda has joined #ruby
pawnbox has joined #ruby
gix has quit [Ping timeout: 260 seconds]
roflmyeggo has joined #ruby
kendocode has quit [Quit: Leaving]
gix has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
z3uS has joined #ruby
Cohedrin has joined #ruby
enterprisey has joined #ruby
pulkit4tech has quit [Quit: Connection closed for inactivity]
saslam has quit [Ping timeout: 246 seconds]
_djbkd has joined #ruby
saneax-_-|AFK is now known as saneax
Snickers has joined #ruby
astrobunny has joined #ruby
rkazak_ has quit [Quit: Sleep.....ing....]
hahuang65 has joined #ruby
Snickers has quit [Ping timeout: 246 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
howdoi has joined #ruby
moei has quit [Quit: Leaving...]
hahuang65 has quit [Ping timeout: 240 seconds]
iNs_ has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
z3uS has quit [Ping timeout: 246 seconds]
patarr has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cfec0b8d1 has joined #ruby
cfec0b8d has quit [Ping timeout: 256 seconds]
cschneid_ has quit [Remote host closed the connection]
Vingador has quit [Remote host closed the connection]
jgnagy has quit [Ping timeout: 264 seconds]
milardovich has quit [Ping timeout: 246 seconds]
chenzfroff has joined #ruby
milardovich has joined #ruby
bauruine has quit [Remote host closed the connection]
am55_ has quit [Client Quit]
tyang has joined #ruby
Coldblackice has joined #ruby
bauruine has joined #ruby
__Yiota has joined #ruby
ishigoya has joined #ruby
swills has joined #ruby
milardovich has quit [Remote host closed the connection]
Coldbla2 has quit [Ping timeout: 264 seconds]
rgr has joined #ruby
stan has quit [Read error: Connection reset by peer]
__Yiota has quit [Client Quit]
__Yiota has joined #ruby
stan has joined #ruby
uncertainty has quit [Ping timeout: 268 seconds]
lightheaded has joined #ruby
chenzfroff has quit [Remote host closed the connection]
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
hotpancakes has joined #ruby
br0d1n has joined #ruby
newalexandria has joined #ruby
raul782 has quit [Ping timeout: 240 seconds]
hotpancakes has quit [Ping timeout: 246 seconds]
balazs has quit [Remote host closed the connection]
hutch34 has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agent_white has joined #ruby
baked__beans has joined #ruby
DLSteve has joined #ruby
aupadhye has quit [Ping timeout: 256 seconds]
aufi has quit [Ping timeout: 260 seconds]
yeticry has quit [Ping timeout: 260 seconds]
yeticry has joined #ruby
milardovich has joined #ruby
tomphp has joined #ruby
mikecmpbll has joined #ruby
uncertainty has joined #ruby
milardovich has quit [Remote host closed the connection]
tvw has quit []
milardovich has joined #ruby
raul782 has joined #ruby
Burgestrand has quit [Read error: Connection reset by peer]
Burgestrand has joined #ruby
davic has joined #ruby
milardovich has quit [Remote host closed the connection]
Burgestrand has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
Burgestrand has joined #ruby
<agent_white>
Mornin' folks
Burgestrand has quit [Read error: Connection reset by peer]
Burgestrand has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
hotpancakes has joined #ruby
Lord_of_Life has quit [Excess Flood]
milardovich has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
milardovich has joined #ruby
jackjackdripper has quit [Client Quit]
jackjackdripper has joined #ruby
spicerack has joined #ruby
Lord_of_Life has joined #ruby
Burgestrand has quit [Read error: Connection reset by peer]
Burgestr_ has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
am55_ has joined #ruby
mzo has joined #ruby
raul782 has quit [Ping timeout: 240 seconds]
czeq has joined #ruby
cschneid_ has joined #ruby
__Yiota has joined #ruby
raul782 has joined #ruby
aufi has joined #ruby
hahuang65 has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
raul782 has quit [Remote host closed the connection]
am55_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has quit [Client Quit]
def_jam has joined #ruby
raul782 has joined #ruby
eb0t_ has joined #ruby
eblip has quit [Ping timeout: 240 seconds]
eb0t has quit [Ping timeout: 258 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
patarr has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
mikecmpbll has joined #ruby
hahuang65 has quit [Ping timeout: 260 seconds]
brent__ has joined #ruby
am55_ has joined #ruby
am55_ has quit [Client Quit]
hotpancakes has quit [Ping timeout: 246 seconds]
nicoulaj has quit [Remote host closed the connection]
brent__ has quit [Ping timeout: 264 seconds]
nicoulaj has joined #ruby
preyalone has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
blackmesa has joined #ruby
Voker57|2 has joined #ruby
xen0fon has quit [Quit: xen0fon]
shinnya has quit [Ping timeout: 260 seconds]
am55_ has joined #ruby
<Evesy>
Hey, is anyone able to help with a gem versioning conflict error? http://pastebin.com/wFBZQu2M .... I can't remove json-1.8.2 as there are other gems that depend on it (Although removing it does fix this error) and there is no Gemfile.lock that's pinned any versions (Gems are installed from rubygems.org)
MrBloo has quit [Read error: Connection reset by peer]
jsrn_ has quit [Ping timeout: 240 seconds]
HoierM_ has quit [Quit: Leaving]
LambdaSix has quit [Ping timeout: 258 seconds]
MrBloo has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
HoierM has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
bigkevmcd has quit [Ping timeout: 240 seconds]
am55_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Paraxial has quit [Read error: Connection reset by peer]
cfec0b8d has joined #ruby
LambdaSix has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
am55_ has joined #ruby
bigkevmcd has joined #ruby
hs366 has quit [Quit: Leaving]
uncertainty has quit [Ping timeout: 240 seconds]
am55_ has quit [Client Quit]
cajone has joined #ruby
workmad3 has joined #ruby
lenwood has joined #ruby
raspado has joined #ruby
cschneid_ has joined #ruby
cdg_ has joined #ruby
hxegon_afk is now known as hxegon
cfec0b8d has quit [Quit: Leaving.]
ta_ has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 246 seconds]
neuraload has quit [Quit: Leaving]
czeq has quit [Ping timeout: 260 seconds]
Mortomes|Work has quit [Ping timeout: 260 seconds]
am55_ has joined #ruby
invalidusrname has joined #ruby
am55_ has quit [Client Quit]
neuraload has joined #ruby
elaptics has joined #ruby
tolerablyjake has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
rippa has joined #ruby
milardovich has joined #ruby
mark_66 has quit [Remote host closed the connection]
polishdub has joined #ruby
elaptics has quit [Remote host closed the connection]
hotpancakes has quit [Ping timeout: 246 seconds]
raul782 has quit [Remote host closed the connection]
uncertainty has joined #ruby
aufi has quit [Ping timeout: 260 seconds]
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
lacuna has joined #ruby
tolerablyjake has quit [Ping timeout: 246 seconds]
czeq has joined #ruby
nofxx has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby
lightheaded has quit [Ping timeout: 240 seconds]
pulkit4tech has quit [Quit: Connection closed for inactivity]
hotpancakes has joined #ruby
<zacts>
when should I use Enumerator and when should I use Enumerable?
raspado has quit [Quit: Leaving...]
rgr has quit [Ping timeout: 260 seconds]
Bish has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
<havenwood>
zacts: You're already using Enumerable when you use one of the stdlib core classes that mixes it in, like Array, Hash, Range, Struct, and even Enumerator.
<havenwood>
zacts: If you have your own class where you define #each, you can mixin Enumerable yourself.
<zacts>
ok
Bish has joined #ruby
<havenwood>
zacts: Some Enumerable methods actually return an Enumerator.
pawnbox has joined #ruby
<zacts>
when should I make my class a subclass of Enumerator? What is the point of Enumerator?
hahuang65 has joined #ruby
<havenwood>
zacts: You can create your own Enumerators, it's fun.
<zacts>
so I take it most of the time I should just mixin Enumerable
hotpancakes has quit [Ping timeout: 246 seconds]
<havenwood>
zacts: Not necessarily, they're just very different things.
<zacts>
havenwood: so this is where I don't understand what the difference is, other than that one is a class and the other a module
xall has joined #ruby
<havenwood>
zacts: You'll mostly use classes that already mixin Enumerable, so learning the Enumerable methods is important and useful. Then creating your own Enumerators can be quite useful as well sometimes. Then rarely when you create your own class that you mean to iterate over, you can mixin Enumerable yourself.
<zacts>
like what kinds of things should one be used for, and what kinds of things should the other be used for?
nettoweb has joined #ruby
pawnbox has quit [Remote host closed the connection]
<ruby[bot]>
hxegon: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
pawnbox has joined #ruby
pytuger has quit [Changing host]
pytuger has joined #ruby
<allisio>
soahccc_: "any instance"?
KrzaQ has quit [Ping timeout: 256 seconds]
elomatreb has quit [Ping timeout: 256 seconds]
rbajaj__ has joined #ruby
<hxegon>
hmm... that works in pry
<soahccc_>
allisio: as hxegon showed..
<soahccc_>
you can do this with any instance of an object without altering other or new instances
<hxegon>
not that you should do that tho, as soahccc_ said. Have you looked at using Struct?
<hxegon>
ferr1: ^
Kuukunen has quit [Ping timeout: 256 seconds]
<allisio>
soahccc_: Not all, thus my question.
xall has quit [Ping timeout: 260 seconds]
<ferr1>
Yea, I have, but I got my attributes as a hash
dopamean_ has joined #ruby
username1 has joined #ruby
Kuukunen has joined #ruby
rahul_bajaj has quit [Ping timeout: 256 seconds]
elomatreb has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
amclain has joined #ruby
KrzaQ has joined #ruby
anisha has joined #ruby
uncertainty has quit [Ping timeout: 258 seconds]
harfangk has joined #ruby
nOwz has quit [Ping timeout: 260 seconds]
dopamean_ has quit [Client Quit]
xall has joined #ruby
raul782 has quit [Remote host closed the connection]
esObe_ has quit [Ping timeout: 260 seconds]
lacuna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raul782 has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
esObe_ has joined #ruby
pawnbox has joined #ruby
Qchmqs has quit [Ping timeout: 268 seconds]
parus__ has quit [Ping timeout: 256 seconds]
_aeris_ has quit [Read error: Connection timed out]
<hxegon>
ferr1: is your application even a little performance sensitive?
dionysus69 has quit [Ping timeout: 240 seconds]
<hxegon>
actually scratch that I have outdated info
ben___ has joined #ruby
raul782 has quit [Ping timeout: 240 seconds]
balazs has joined #ruby
tau has joined #ruby
jamesaxl has joined #ruby
parus has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
nOwz has joined #ruby
BackEndCoder has quit [Excess Flood]
<ferr1>
hxegon: thanks for your help, I've resolved it with Struct
BackEndCoder has joined #ruby
hotpancakes has quit [Ping timeout: 246 seconds]
norbertka has quit [Ping timeout: 264 seconds]
jackjackdripper has joined #ruby
neuraload has quit [Quit: This computer has gone to sleep]
lacuna has joined #ruby
DoubleMalt has joined #ruby
_aeris_ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
jackjackdripper has quit [Client Quit]
parus has quit [Ping timeout: 256 seconds]
troulouliou_div2 has joined #ruby
jackjackdripper has joined #ruby
parus has joined #ruby
chouhoulis has joined #ruby
pulkit4tech has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
biox has left #ruby ["WeeChat 1.5"]
anisha has quit [Quit: This computer has gone to sleep]
anisha has joined #ruby
anisha has quit [Remote host closed the connection]
raul782 has joined #ruby
uncertainty has joined #ruby
irc3k has joined #ruby
<irc3k>
:)
<irc3k>
I identify as a stick
_aeris_ has quit [Excess Flood]
_aeris_ has joined #ruby
SuperLag has quit [Quit: leaving]
chihhsin has joined #ruby
vuoto has joined #ruby
Zort0n has joined #ruby
SuperLag has joined #ruby
Zort0n is now known as m0thman
edliss has quit [Ping timeout: 240 seconds]
[Butch] has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
invalidusrname has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JoshS has joined #ruby
habitullence has joined #ruby
hotpancakes has joined #ruby
<habitullence>
Probably a newbie question but how would you do an OR but test all conditions? e.g., cond1 || cond2 but I want cond2 to be run regardless of result of cond1
hahuang65 has joined #ruby
<hxegon>
hmm... can you gist? there's probably a way to do this, but It sounds like their is an underlying problem habitullence
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
<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
cibs has quit [Ping timeout: 260 seconds]
cdg_ has quit [Read error: Connection reset by peer]
<hxegon>
baweaver: is there a table of those somewhere?
cdg has joined #ruby
<dminuoso>
hahuang65: execute them, store their results and then do the condition based on the results.
<baweaver>
trade secret
hahuang65 has quit [Ping timeout: 246 seconds]
<baweaver>
?table
<ruby[bot]>
baweaver: I don't know anything about table
<baweaver>
^ see?
cibs has joined #ruby
<baweaver>
( havenwood: you have the magic list somewhere right? )
<ruby[bot]>
hxegon: I don't know anything about anything
lenwood has quit [Ping timeout: 260 seconds]
rbajaj__ has quit [Ping timeout: 260 seconds]
conta has quit [Ping timeout: 268 seconds]
<dminuoso>
ferr1: coroutines.
<mzo>
u should copy the xy factoid from ##c
<mzo>
"The XY problem: You want to do X, but don't know how. You think you can solve it using Y, but don't know how to do that, either. You ask about Y, which is a strange thing to want to do. Just ask about X."
<dminuoso>
ferr1: sprinkle some fibers in there to make those http calls async.
<hxegon>
habitullence: I don't think line 27 should be in #invalid_credentials? or invalid?
renatosilva1 has joined #ruby
renatosilva has quit [Disconnected by services]
renatosilva1 is now known as renatosilva
renatosilva has quit [Changing host]
renatosilva has joined #ruby
maloik has quit [Ping timeout: 256 seconds]
SirCmpwn has quit [Ping timeout: 256 seconds]
<habitullence>
hxegon: how come?
aibot has joined #ruby
<hxegon>
habitullence: because those methods are questions, and you don't expect a question to prompt an action. Does that make sense?
<baweaver>
invert those
<baweaver>
valid? is better than invalid?
swills has quit [Ping timeout: 256 seconds]
pandaant has quit [Remote host closed the connection]
<baweaver>
put it in a line of conditionals with positive leaning assertions
<habitullence>
hxegon: it does
aufi has quit [Quit: Leaving]
uncertainty has quit [Ping timeout: 260 seconds]
<habitullence>
hxegon: maybe refactoring will reveal the solution then
<hxegon>
habitullence: here's a trick I learned somewhere, when you describe #invalid_credentials?, you might say "it says if the credentials are valid or not *and* it adds an error"
<hxegon>
although I think that line should be extracted into something like #invalidate_credentials or something
gusrub has joined #ruby
instigator has left #ruby [#ruby]
instigator has joined #ruby
<habitullence>
hexgon: I see where you’re going with it, thanks. I’ll role out another solution. Hopefully you’re around in a few mins?
<hxegon>
habitullence: yeah, I'll be here for a good while
<instigator>
Hello. is there a command line debugger available for ruby that lets you add statements to code in order to set breakpoints?
hotpancakes has quit [Remote host closed the connection]
hahuang65 has joined #ruby
<baweaver>
Pry
Zort0n has joined #ruby
hotpancakes has joined #ruby
Zort0n has quit [Client Quit]
linux13337 has joined #ruby
edliss has joined #ruby
sleetdrop has joined #ruby
<instigator>
baweaver: thanks
<irc3k>
if you're still using windows in 2017, I urge you to get linux. A good start is debian.com or ubuntu.com
<baweaver>
and this is in relation to.....
hotpancakes has quit [Ping timeout: 246 seconds]
<hxegon>
A) kind of redundant saying that in #ruby, B) offtopic C) a pretty simplistic viewpoint... especially in 2017. Nadella is actually turning microsoft around I feel. D) Windows comes with linux now
<morfin>
that's common Ruby ideom - class << self right?
aganov has quit [Remote host closed the connection]
<morfin>
*idiom
<toretore>
yes
<dminuoso>
morfin: It depends.
<dminuoso>
morfin: If you truly mean to open the singleton class, then yes.
<morfin>
is there any practical difference from using define_singletone_method?
<dminuoso>
morfin: If you just want to define "class methods", then its more idiomatic to defself.foo
<morfin>
hmm def self.foo i saw that too
<hxegon>
morfin: yeah but I can't remember what
<dminuoso>
morfin: I would say that is the most elegant option.
<Burgestr_>
morfin there are different scoping rules when you use define_singleton_method
<hxegon>
usually I just stick with class << self and def self.x
<Burgestr_>
morfin since it takes a block
duderonomy has quit [Ping timeout: 264 seconds]
<dminuoso>
Burgestr_: Im trying to think how this would affect anything
<dminuoso>
Burgestr_: Could you name an example?
<hxegon>
also I think define_singleton_method has some different access/inheritence rules
<dminuoso>
What?
<toretore>
morfin: define_singleton_method will create a closure, which is sometimes useful
<Burgestr_>
dminuoso e.g. if you have a local variable outside when you define your singleton method.
<dminuoso>
Burgestr_: right.
Burgestr_ is now known as Burgestrand
kassav has quit [Ping timeout: 240 seconds]
BackEndCoder has quit [Excess Flood]
BackEndCoder has joined #ruby
pilne has joined #ruby
irc3k has quit [Quit: irc3k]
gndm has quit [Remote host closed the connection]
xall has quit [Ping timeout: 256 seconds]
agent_white has quit [Ping timeout: 264 seconds]
cdg_ has joined #ruby
<ytti_>
win 34
cdg has quit [Ping timeout: 246 seconds]
Suslov has joined #ruby
lightheaded has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
jsrn__ has quit [Read error: Connection reset by peer]
_aeris_ has quit [Remote host closed the connection]
nOwz has quit [Ping timeout: 240 seconds]
_aeris_ has joined #ruby
cibs has quit [Ping timeout: 264 seconds]
ldnunes has joined #ruby
cibs has joined #ruby
hxegon has quit [Quit: leaving]
hxegon has joined #ruby
gusrub has quit [Ping timeout: 268 seconds]
andikr has quit [Remote host closed the connection]
ColeHub has joined #ruby
BSaboia has joined #ruby
ChickeNES has joined #ruby
instigator has left #ruby [#ruby]
sneakerhax has quit [Ping timeout: 240 seconds]
xall has joined #ruby
nOwz has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Derperperd has joined #ruby
zacts has quit [Quit: WeeChat 1.7]
ferr1 has quit [Quit: WeeChat 1.7]
zacts has joined #ruby
__Yiota has joined #ruby
pawnbox_ has joined #ruby
jgnagy has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
flying has quit []
tekniq has quit [Ping timeout: 240 seconds]
jgnagy has quit [Ping timeout: 260 seconds]
jshjsh has joined #ruby
kith has quit [Quit: kith]
UserJosh has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackjackdripper1 has joined #ruby
roadrunneratwast has joined #ruby
<roadrunneratwast>
I am having trouble installing rainbow on a docker build .An error occurred while installing rainbow (2.2.1), and Bundler cannot continue.
blackmesa has quit [Ping timeout: 240 seconds]
<baweaver>
You're going to have to give more detail than that
<baweaver>
!gist
<baweaver>
?gist
<ruby[bot]>
https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<Garo_>
if I have these files in a directory tree: /settings.rb, /sub-a/settings.rb and /sub-b/settings.rb: what would be a nice way to define a hash in each of these so that the sub-a and sub-b would require the /settings.rb and result with a deep merged hash?
[Butch] has quit [Ping timeout: 264 seconds]
[Butch]_ is now known as [Butch]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
psychicist__ has joined #ruby
renchan has joined #ruby
DoubleMalt has quit [Ping timeout: 240 seconds]
mula has quit [Remote host closed the connection]
nofxx has quit [Ping timeout: 268 seconds]
mula has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hxegon is now known as hxegon_afk
blackmesa has joined #ruby
nofxx has joined #ruby
jaruga________ has quit [Ping timeout: 260 seconds]
hotpanca_ has joined #ruby
uncertainty has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
Suslo has quit [Remote host closed the connection]
Suslov has joined #ruby
akkad has quit [Excess Flood]
olivi____ has joined #ruby
<olivi____>
looking for experienced ruby people to tell me if they were starting today to support a server that runs ruby code if they would use rvm, rbenv or chruby?
djbkd has quit [Ping timeout: 240 seconds]
<dminuoso>
olivi____: neither.
blackmes1 has joined #ruby
<olivi____>
hm did not expect that...
<dminuoso>
olivi____: Is the server for deployment?
<dminuoso>
Is it necessary to deploy multiple different projects/applications?
akkad has joined #ruby
Suslo has joined #ruby
<nofxx>
olivi____, +1 system ruby!
Suslov_ has joined #ruby
<dminuoso>
^- For deployment absolutely. Next choice would be dockerized with a custom build (ruby-install is the likely candidate here)
Suslov has quit [Ping timeout: 246 seconds]
<Cyrus>
JRuby! :P
<olivi____>
yes just plain ruby code but did with rbenv and got issue with asws-sdk-core version so need to manage diff version of ruby on same server it seems
hotpancakes has joined #ruby
<dminuoso>
olivi____: chruby/rbenv/rvm are just local tools to enable developers to touch various projects.
<havenwood>
olivi____: If I had to choose between those options on a server I'd go with chruby since it's the closest to none of those options.
<dminuoso>
to allow them to have multiple *concurrent* versions
tvw has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
username1 has quit [Ping timeout: 268 seconds]
<olivi____>
ok
<dminuoso>
chruby would be my 3) after the 2 choices I named. :P
<dminuoso>
(which I would pick if I needed multiple concurrent ruby installations on a server for whatever reason)
Suslov_ has quit [Client Quit]
<olivi____>
so chruby is what you would do if starting from scratch....
<olivi____>
and know nothing about ruby
<havenwood>
olivi____: chruby is a tool for switching between Rubies
hotpanca_ has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
<havenwood>
olivi____: when you only have one Ruby, there's nothing to switch between
<olivi____>
ok cause I had installed ruby and then used AWS code deploy and had a version issue
<dminuoso>
^- which is why I asked whether you have the need to run multiple rubies concurrently.
<dminuoso>
olivi____: well thats a deployment issue, not a ruby switching issue.
<dminuoso>
chruby is for the use case of "I need jruby 9.xxx for this server, while another api server needs ruby 2.3.1"
Suslo has quit [Ping timeout: 240 seconds]
ColeHub has quit [Quit: Snooze.]
<olivi____>
yeah so I need to manage deployments.
<havenwood>
olivi____: The maintainers of most of those version switchers recommend not using them when not needed on a deployment server for simplicity's sake.
<dminuoso>
olivi____: Here we started using docker in order to get highly predictable behavior.
DroidBurgundy has joined #ruby
<havenwood>
olivi____: What OS/distro?
hotpancakes has quit [Remote host closed the connection]
<dminuoso>
olivi____: Our production differs 0 from our a) development, b) testing, c) staging environment in all respects.
<olivi____>
yeah I Heard about docker as an option. ubuntu 14.04
<dminuoso>
that way any issues are not related to "here it works, but there it doesnt"
<olivi____>
I am used to having diff. oracle binaries or java binaries etc.. but never did it with ruby and it seems diff. than setting RUBY_HOME and set path and done
<olivi____>
I think I have enough to get started. Not sure I want docker quite yet cause really the server only has one set of code and that is it. but maybe it is time to deal with containers but that is a diff topic
<havenwood>
olivi____: With Ruby you add its bin/ and gem bin/ dir to PATH, set GEM_HOME, GEM_PATH, and there are a few others for niceties like RUBY_ROOT and GEM_ROOT that chruby sets as well.
<olivi____>
ok
UserJosh has joined #ruby
<havenwood>
olivi____: If the Brightbox packages don't suit your needs you can install globally with ruby-install: sudo ruby-install --latest --system ruby
<olivi____>
yeah install was simple
<havenwood>
olivi____: That'll install your one Ruby to /usr/local
hotpancakes has joined #ruby
olivi____ has quit [Remote host closed the connection]
mzo has quit [Ping timeout: 268 seconds]
jud^ has joined #ruby
Fin1te has joined #ruby
tyang has quit [Quit: Leaving]
reihar_ has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 256 seconds]
reihar_ has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Fischmiep has joined #ruby
jud has quit [Ping timeout: 260 seconds]
psychicist__ has quit [Quit: Lost terminal]
oliv_____ has joined #ruby
tdy has quit [Read error: Connection reset by peer]
milardovich has joined #ruby
lightheaded has quit [Remote host closed the connection]
oliv_____ has quit [Remote host closed the connection]
psychicist__ has joined #ruby
oliv_____ has joined #ruby
Fischmiep has quit [Quit: WeeChat 1.7]
uncertainty has quit [Ping timeout: 260 seconds]
Fischmiep has joined #ruby
dennisz has joined #ruby
benlieb has quit [Quit: benlieb]
hotpancakes has quit [Remote host closed the connection]
raul782 has quit [Remote host closed the connection]
Lord_of_Life has quit [Excess Flood]
raul782 has joined #ruby
Burgestrand has quit [Quit: Closing time!]
* cout
shakes his fist at zenspider
mula has quit [Remote host closed the connection]
juggler has quit [Remote host closed the connection]
djbkd has joined #ruby
Lord_of_Life has joined #ruby
raul782 has quit [Remote host closed the connection]
szulak has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
raul782 has joined #ruby
cdg has quit [Remote host closed the connection]
hotpanca_ has quit [Remote host closed the connection]
patientj has left #ruby [#ruby]
hotpancakes has joined #ruby
gusrub has joined #ruby
agent_white has quit [Quit: bbl]
JoshS has joined #ruby
_whitelogger has joined #ruby
rikkipitt has joined #ruby
bryanthompson has quit [Quit: bryanthompson]
hotpancakes has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
SeepingN has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
enterprisey has quit [Ping timeout: 260 seconds]
mula has joined #ruby
hotpancakes has joined #ruby
olivi____ has joined #ruby
cseder has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
mula has quit [Remote host closed the connection]
mula has joined #ruby
olivi____ has quit [Ping timeout: 246 seconds]
Silthias has joined #ruby
mula has quit [Ping timeout: 240 seconds]
edliss has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
Burgestrand has joined #ruby
milardovich has joined #ruby
Derperperd has joined #ruby
maattdd has joined #ruby
ajsharma has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
rizonz has joined #ruby
<rizonz>
help! :P
<rizonz>
hi guys
djbkd has joined #ruby
Burgestrand has quit [Quit: Closing time!]
edliss has joined #ruby
<rizonz>
is there a way to change this so pxe_kernel_options is usable itself and if blacklist is set that the modeprob.blacklist= past is used ? http://pastebin.com/8HXV76zi
cschneid_ has quit [Remote host closed the connection]
oliv_____ has joined #ruby
xen0fon has joined #ruby
psychicist__ has quit [Quit: leaving]
pulkit4tech has quit [Quit: Connection closed for inactivity]
xen0fon has quit [Client Quit]
pifon is now known as nomad101
kshitij has quit [Quit: Connection closed for inactivity]
toretore has quit [Ping timeout: 268 seconds]
<hxegon>
mzo: no nice day is "Ordinary". Gotta cherish every sip of tea as new, unique, and special
pawnbox has joined #ruby
kirun has quit [Quit: Konversation terminated!]
bungoman_ has joined #ruby
hahuang65 has joined #ruby
bungoman has quit [Ping timeout: 246 seconds]
nomad101 is now known as pifon
pawnbox has quit [Ping timeout: 240 seconds]
jhack has joined #ruby
rikkipitt has quit [Quit: Leaving...]
teddysmoker has quit [Quit: Konversation terminated!]
ramfjord_ has quit [Ping timeout: 240 seconds]
p0p0pr37 has quit [Remote host closed the connection]
rkazak_ has joined #ruby
agent_white has joined #ruby
<cseder>
I'm working on an application to make America great again. I believe it should be written in Ruby. Any thoughts?
grant has joined #ruby
<allisio>
Ruby is Japanese, silly.
marxarelli is now known as marxarelli|afk
<cseder>
exactly
cschneid_ has joined #ruby
<cseder>
I thought Ruby was the Japanese version of the Chinese language called Nooby in Mandarin
oliv_____ has quit [Remote host closed the connection]
<cseder>
but I might be wrong
zeroDi has joined #ruby
<havenwood>
cseder: Troll not lest ye be !troll'ed.
oliv_____ has joined #ruby
<cseder>
sorry, I was just bored
<SeepingN>
make #ruby great again. /kick cseder :O
cschneid_ has quit [Ping timeout: 246 seconds]
JoshS has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
<cseder>
I'm just in the process of learning Ruby. Goal is for using it with Rails. Been programming in C++, Java, Python and C# in the past. Last work I had was C#/.Net development. Hoping to get some freelance work with Rails or RubyMotion