idletask has quit [Read error: Connection reset by peer]
Devalo has quit [Remote host closed the connection]
Emmanuel_Chanel has quit [Remote host closed the connection]
idletask has joined #ruby
Aswebb_ has quit [Ping timeout: 260 seconds]
gooodroot has quit [Ping timeout: 250 seconds]
agent_white has quit [Remote host closed the connection]
moeabdol has joined #ruby
bronson has joined #ruby
Devalo has joined #ruby
agent_white has joined #ruby
grassass has joined #ruby
gooooodroot has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
ur5us has quit [Remote host closed the connection]
sadin has quit [Ping timeout: 244 seconds]
polysics has quit []
goooodroot has quit [Ping timeout: 276 seconds]
slackbotgz has joined #ruby
pawnbox has quit [Remote host closed the connection]
devbug has quit [Quit: ZZZzzz…]
pawnbox has joined #ruby
SilverKey has quit [Quit: Halted.]
joonty has joined #ruby
Devalo has quit [Remote host closed the connection]
blackmesa has joined #ruby
joonty has quit [Ping timeout: 250 seconds]
pLaToOn has joined #ruby
<pLaToOn>
moin
Pupeno has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
DoubleMalt has joined #ruby
goodroot has joined #ruby
statelesscode has quit [Quit: statelesscode]
tax has joined #ruby
gooooodroot has quit [Ping timeout: 252 seconds]
johnbat26 has joined #ruby
ropeney has joined #ruby
gooodroot has joined #ruby
ropeney has quit [Client Quit]
konr has quit [Quit: Connection closed for inactivity]
BtcBen has quit [Read error: Connection reset by peer]
ropeney has joined #ruby
ropeney has quit [Remote host closed the connection]
jpfuentes2 has quit [Read error: Connection reset by peer]
jpfuentes2 has joined #ruby
goooodroot has joined #ruby
goodroot has quit [Ping timeout: 250 seconds]
ta__ has quit [Remote host closed the connection]
solars has joined #ruby
gooodroot has quit [Ping timeout: 260 seconds]
amoeba has quit [Quit: Leaving]
aghalarp has quit [Read error: Connection reset by peer]
jaguarmagenta has quit [Remote host closed the connection]
aghalarp has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ishe has joined #ruby
roelof has joined #ruby
<roelof>
What is wrong here : output += "[#{key}] \" #{@entries[ #{key} ] \" \n" I get here a syntax error that ] is expected ?
slackbotgz has quit [Remote host closed the connection]
<roelof>
and when I do this : output += "[#{key}] \" #{@entries[key]} \" \n" I see this error : TypeError: no implicit conversion of String into Integer
<ffgghhj>
hi, i have padrino site , haow can i run ruby script form this site?
<ffgghhj>
hi, i have padrino site , how can i run ruby script from this site?
cpup has quit [Ping timeout: 250 seconds]
tomphp has joined #ruby
cpup has joined #ruby
tjbiddle has joined #ruby
Fredrich010 has joined #ruby
Fredrich010 is now known as AcidCrash
LoneHermit has quit [Ping timeout: 260 seconds]
william3 has joined #ruby
navneet has quit []
Emmanuel_Chanel has joined #ruby
navneet has joined #ruby
last_staff has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
toretore has joined #ruby
jaguarmagenta has joined #ruby
skade has joined #ruby
Mon_Ouie has joined #ruby
noService has joined #ruby
andromedian has joined #ruby
aupadhye has joined #ruby
jaguarmagenta has quit [Ping timeout: 276 seconds]
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<andromedian>
disease.presence && disease.name (I think abusing the && operator here is probably not the right decision, people would generally expect this statement to return true, rather than the value of the second object.) what does this code review wants me to change?
<andromedian>
I don't get this
<apeiros>
the .presence there is superfluous
<adaedra>
if you're using ruby 2.3, disease&.name could be a shorter solution
<apeiros>
and ^
<adaedra>
but yeah, the .presence does not seem useful
weckl has joined #ruby
<adaedra>
what's the possible type of disease?
<apeiros>
in pre 2.3 ruby, `foo && foo.bar` is a common idiom. so fine for code review.
pawnbox has quit [Remote host closed the connection]
Shashikant86 has joined #ruby
futilegames has quit [Ping timeout: 260 seconds]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
pawnbox has joined #ruby
<adaedra>
also, if you're using Rails like you seem to be, another idiom would be disease.try(:name)
Shashikant86 has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<apeiros>
the one thing I dislike about try is `"weee".try(:this_method_does_not_exist) # => nil`
rkazak has quit [Quit: Sleep.....ing....]
cdg has joined #ruby
<apeiros>
(yes, I know there's try!, but people default to try)
ferr has joined #ruby
<adaedra>
yeah – &. and Object#try are different things in conception. &. tests for `nil`, try uses `respond_to?`.
<apeiros>
&. is another beast altogether, since it's capable of shortcutting
<apeiros>
no method based solution can
<adaedra>
right.
<apeiros>
and no, try does not use respond_to?
n008f4g_ has joined #ruby
<apeiros>
ah
<apeiros>
wait, maybe it does. but it doesn't raise.
another_ has joined #ruby
<another_>
hi
weckl has quit [Ping timeout: 246 seconds]
<adaedra>
try!(*a, &b) if a.empty? || respond_to?(a.first) # try
<apeiros>
o0
Mon_Ouie has quit [Ping timeout: 244 seconds]
<apeiros>
I don't think that's accurate
Shashikant86 has joined #ruby
<apeiros>
the a.empty? branch is for the block form
Moosashi has joined #ruby
AcidCrash is now known as AcidCrash_
pawnbox has quit [Remote host closed the connection]
Pupeno has joined #ruby
bronson has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
Pupeno has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
moeabdol has quit [Ping timeout: 268 seconds]
elaptics`away is now known as elaptics
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aghalarp has joined #ruby
Moosashi has quit [Quit: Moosashi]
ffgghhj has quit [Remote host closed the connection]
Spami has quit [Ping timeout: 250 seconds]
Pupeno_ has joined #ruby
skislak has joined #ruby
ferr has quit [Ping timeout: 268 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
moeabdol has joined #ruby
<andromedian>
Thanks guys
pawnbox has joined #ruby
Pupeno has quit [Ping timeout: 250 seconds]
Moosashi has joined #ruby
raeoks has joined #ruby
Nahra has joined #ruby
TheWhip has quit [Remote host closed the connection]
terlar has quit [Ping timeout: 250 seconds]
Spami has joined #ruby
ishe has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
TheWhip has joined #ruby
futilegames has joined #ruby
tvw has quit [Ping timeout: 250 seconds]
sorah__ has quit [Ping timeout: 260 seconds]
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
<norc>
Okay, I regularly manage to completely bork my shell when pry enters into a scrollable mode (iTerm2 with bash).
dgncn has quit [Excess Flood]
ur5us has joined #ruby
Shashikant86 has quit [Read error: Connection reset by peer]
sid_fules has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
dgncn has joined #ruby
skade has joined #ruby
Pupeno has joined #ruby
codecop has joined #ruby
Pupeno_ has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
Xeago has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 276 seconds]
Caerus has joined #ruby
R3DH4 has quit [Quit: R3DH4]
sorah__ has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
_UniFreak has joined #ruby
gooooodroot has joined #ruby
another_ has quit [Ping timeout: 250 seconds]
Pupeno has joined #ruby
baweaver has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
LoneHermit has joined #ruby
moeabdol has quit [Ping timeout: 260 seconds]
UniFreak has quit [Ping timeout: 252 seconds]
Amnez777 has joined #ruby
goooodroot has quit [Ping timeout: 260 seconds]
ChiefAlexander has joined #ruby
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
Snowy has joined #ruby
d0lph1n98 has joined #ruby
chipotle has quit [Quit: cheerio]
baweaver has quit [Ping timeout: 268 seconds]
LoneHermit has quit [Ping timeout: 252 seconds]
ferr has joined #ruby
moeabdol has joined #ruby
sid_fules has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
tjbiddle has quit [Quit: tjbiddle]
tjbiddle has joined #ruby
Guest19224 is now known as drzel
Shashikant86 has joined #ruby
sid_fules has quit [Remote host closed the connection]
Moosashi has quit [Quit: Moosashi]
Shashikant86 has quit [Max SendQ exceeded]
terlar has joined #ruby
Pupeno_ has joined #ruby
Aswebb_ has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
Pupeno__ has joined #ruby
Pupeno has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
vdamewood has quit [Quit: Life beckons.]
nickjj_ has joined #ruby
Aswebb_ has quit [Ping timeout: 260 seconds]
Pupeno_ has quit [Ping timeout: 244 seconds]
nickjj has quit [Ping timeout: 246 seconds]
pawnbox has quit [Remote host closed the connection]
<|2701>
if I had "sentence. question? exlaim! another sentence." and I wanted to get an array ["sentence.", "question?","exclaim!", "another sentence." what's the easiest way?
<|2701>
I tried using slice when, but I must be doing it wrong.
<adaedra>
You may want to read up on those. They're a bit hard to take your hands on but are a very good tool.
last_staff1 has joined #ruby
<adaedra>
Everyone is word splitting today?
<adaedra>
|2701: Use String#split with split on spaces
mdw has quit [Quit: Sleeping Zzzzz]
<|2701>
and then how can I group them back up?
<adaedra>
Array#join
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<adaedra>
why are you trying to get such a dinosaur?
<p1k>
do you actually need ruby to compile ruby O_o ?
deadnull has quit [Max SendQ exceeded]
sdothum has joined #ruby
ryan_notabot has quit [Ping timeout: 268 seconds]
psmolen has quit [Ping timeout: 260 seconds]
banister has joined #ruby
<p1k>
adaedra: because I can't get valgrind to work on 2.2.4 and according to old obscure resources it did work at one point, so I'd like to at least see if that's the case
PaulePanter has joined #ruby
deadnull has joined #ruby
xuhui_ has joined #ruby
<adaedra>
Also, the patch I see above concerns an obscure compiler
<p1k>
yes there is a --with-valgrind flag, but no it's not enough
sepp2k has joined #ruby
deadnull has quit [Max SendQ exceeded]
<p1k>
adaedra: oh I missed that, yeah that shouldn't be relevant
deadnull has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
UniFreak has quit [Ping timeout: 244 seconds]
moeabdol has quit [Quit: WeeChat 1.4]
deadnull has quit [Client Quit]
freerobby has joined #ruby
aspiers_ has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mdw has joined #ruby
lxsameer has joined #ruby
giz|work has joined #ruby
davedev24 has joined #ruby
PedramT has joined #ruby
PedramT has quit [Remote host closed the connection]
bronson has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
n008f4g_ has quit [Ping timeout: 240 seconds]
sepp2k has quit [Quit: Leaving.]
mlakewood has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
yude has joined #ruby
psmolen has joined #ruby
FooMunki has joined #ruby
nickjj_ is now known as nickjj
p1k has quit [Ping timeout: 276 seconds]
p1k has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
<anagha_>
'RubyMonk Is Pretty Brilliant'.match(/ ./) .This returns the character after the first whitespace only.How to get characters near to next whitespace and how to get characters near to all whitespaces?
solocshaw1 has joined #ruby
mlakewood has quit [Ping timeout: 246 seconds]
GodFather has joined #ruby
solocshaw has quit [Ping timeout: 260 seconds]
solocshaw1 is now known as solocshaw
<p1k>
scan ?
pLaToOn has quit [Read error: Connection reset by peer]
jhgao222 has quit [Remote host closed the connection]
aspiers_ has quit [Ping timeout: 252 seconds]
Xeago_ has joined #ruby
M-shine has joined #ruby
crystal77 has joined #ruby
crystal77 has quit [Max SendQ exceeded]
rbennacer has joined #ruby
<anagha_>
yeah..worked .thanks :0
kareeole_ is now known as kareeoleez
jhgao111 has quit [Ping timeout: 260 seconds]
rbennacer has quit [Remote host closed the connection]
ixti has joined #ruby
crystal77 has joined #ruby
blackmesa has joined #ruby
rbennacer has joined #ruby
andikr has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 250 seconds]
anisha has quit [Quit: Leaving]
<anagha_>
If precisely i want the char after second whitespace,what should be the modification given? when i searched ,i saw an interger given after the whitespace symbol in RegExp.But have little doubt in that.
<Ox0dea>
The part where I can't sort by uses is the best.
<adaedra>
?pr
<ruby[bot]>
You think this is broken, could be done better, or have a good feature idea? Submit an issue on the concerned project, or even better, fix it and submit a Pull Request! ;)
DrCode has quit [Ping timeout: 244 seconds]
<|2701>
ruby bot stopped responding to my PM's, presumably to avoid self-incrimination
TomyWork has quit [Remote host closed the connection]
jrafanie has quit [Ping timeout: 260 seconds]
<Ox0dea>
"guys", "rails", then "ot".
<Ox0dea>
Sounds about right.
<adaedra>
there's a use limits
<adaedra>
limit*
tildes has quit [Remote host closed the connection]
* adaedra
starts fighting with his keyboard
billy1234 has joined #ruby
dionysus69 has joined #ruby
duckpupp1 has joined #ruby
xuhui_ has quit [Ping timeout: 260 seconds]
<|2701>
?guys
duckpuppy has quit [Ping timeout: 250 seconds]
platzhirsch has quit [Quit: Leaving.]
jaguarmagenta has joined #ruby
xcesariox has quit [Ping timeout: 276 seconds]
sid_fules has joined #ruby
mclong has joined #ruby
DrCode has joined #ruby
mjuszczak has quit []
norc has quit [Ping timeout: 250 seconds]
praveen has joined #ruby
rbennacer has quit [Remote host closed the connection]
jaguarmagenta has quit [Ping timeout: 244 seconds]
weckl has joined #ruby
praveen has quit [Remote host closed the connection]
praveen has joined #ruby
mjuszczak has joined #ruby
SilverKey has joined #ruby
Gasher has joined #ruby
<shevy>
adaedra hit it real good!!!
<adaedra>
it's no use, it won already.
xcesariox has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
DrCode has quit [Ping timeout: 260 seconds]
ta_ has quit [Remote host closed the connection]
sid_fules has quit [Read error: Connection reset by peer]
chipotle_ has joined #ruby
weckl has quit [Ping timeout: 246 seconds]
aghalarp has quit [Read error: Connection reset by peer]
aghalarp has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
weckl has joined #ruby
goooodroot has joined #ruby
crowell_ has joined #ruby
yqt has joined #ruby
crowell has quit [Ping timeout: 276 seconds]
rbennacer has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
noService has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
rodfersou is now known as rodfersou|lunch
gooodroot has quit [Ping timeout: 276 seconds]
LastWhisper____ has joined #ruby
carella_ has joined #ruby
ljames has quit []
weckl has quit [Ping timeout: 240 seconds]
deadnull has joined #ruby
chipotle_ has quit [Quit: cheerio]
carella has quit [Ping timeout: 250 seconds]
venkata has joined #ruby
bazz_ has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
<hanmac>
bazz_: its about the nesting and what constants are available
jhgao233 has quit [Remote host closed the connection]
jhgao111 has joined #ruby
<venkata>
i downloaded devkit 64-bit and ruby installer 64bit
<venkata>
but still the issue "C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require': cannot load such file -- ffi_c (LoadE rror)"
<bazz_>
hanmac, where can I learn about that? Is there a term you can provide me please?
<sharkman>
how would i split a string on capital letters?
<hanmac>
sharkman: can you give an example of input and wanted output?
<sharkman>
so Online would return ["Online"], and TheStuffThere would return ["The", "Stuff", "There"]
chipotle has joined #ruby
aganov has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 244 seconds]
Asher has joined #ruby
whippythellama has joined #ruby
<tribals>
i read ruby style guide from here https://github.com/bbatsov/ruby-style-guide, it says to always use parens when call methods, but i think predicate methods (like `include?`) looks ugly when called with parens, is it?
<tribals>
`%w(a b c).include?('a')`
crowell_ is now known as crowell
tjbiddle has quit [Ping timeout: 240 seconds]
crowell has quit [Changing host]
crowell has joined #ruby
<sharkman>
what do you think hanmac? i tried doing it with a regex match but it doesnt look great.
<tribals>
and `%w(a b c).include? 'a'` - much more readable, no?
<Ox0dea>
tribals: Yes.
weckl has joined #ruby
<tribals>
so, which of two you prefer?
robbyoconnor has quit [Ping timeout: 240 seconds]
<sharkman>
i personally prefer the use of parenthesis but thats just what im used to
mr_oh has joined #ruby
billy1235 has joined #ruby
<dfockler>
once you have a lot of arguments or nested function calls I like having parens to be more clear about what's going on
<sharkman>
oh thats great hanmac i should have thought of that, more elegant than what i was gonna end up with. thanks
<denny>
having "a lot of arguments of nested function calls" :)
<dfockler>
that's kind of the reasoning behind less syntax in ruby, is that if it's confusing your code needs to be broken down more
<denny>
*or
<denny>
Isn't there some sort of rule of thumb that if you're indented more than 3 levels, you've probably gone wrong somewhere
weckl has quit [Ping timeout: 250 seconds]
<dfockler>
law of demeter?
<tribals>
thank to all!
int has joined #ruby
<Ox0dea>
"If you need more than 3 levels of indentation, you're screwed anyway, and should fix your program." -- Linus Torvalds
weckl has joined #ruby
<dfockler>
lol law of demeter is about dependencies
<denny>
oo coupling, yeah
dhollinger has joined #ruby
<dfockler>
I need to reread poodr
kareeole_ has joined #ruby
tjbiddle has joined #ruby
karapetyan has joined #ruby
dsimon has quit [Quit: Leaving]
TheWhip has joined #ruby
venkata has left #ruby [#ruby]
weckl has quit [Ping timeout: 246 seconds]
kareeoleez has quit [Ping timeout: 240 seconds]
venkata has joined #ruby
kareeoleez has joined #ruby
billy1234 has joined #ruby
wilbert has joined #ruby
Pisuke is now known as MyMind
billy1235 has quit [Ping timeout: 240 seconds]
<venkata>
PS C:\Users\venkata.pavankumar> kitchen version C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require': cannot load such file -- ffi_c (LoadE rror) from C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require' from C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/ffi-1.9.10-x6
kareeole_ has quit [Ping timeout: 244 seconds]
<venkata>
Hi guys
<venkata>
i am facing the above error
<venkata>
with test-kitchen
weckl has joined #ruby
smathy has joined #ruby
x77686d has joined #ruby
<venkata>
when i give "kitchen version" command, giving the following error: - "`require': cannot load such file -- ffi_c (LoadError)"
venkata has left #ruby [#ruby]
synthroid has quit [Remote host closed the connection]
sneakerhax has quit [Ping timeout: 260 seconds]
terlar has quit [Ping timeout: 276 seconds]
berserk_ren has joined #ruby
chipotle has quit [Quit: cheerio]
Xeago has joined #ruby
p1k has quit [Ping timeout: 246 seconds]
<mr_oh>
Do you have ffi installed ?
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jhgao111 has quit [Quit: Bye]
int has quit [Quit: (-_|||]
<mr_oh>
venkata, the first hing I do is look at my gem list when I get an error like that. (But im a beginner, so..)
kareeole_ has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
stardiviner has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
kareeole_ is now known as kareeoleez_
wuyin has quit [Ping timeout: 246 seconds]
rkazak has joined #ruby
kareeoleez has quit [Ping timeout: 260 seconds]
VeryBewitching has joined #ruby
karapetyan has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
<mr_oh>
and it won't be -x6 in Gemfile, should only be ffi-1.9.10
<mr_oh>
for version
davedev24 has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexJakeGreen has quit [Remote host closed the connection]
sid_fules has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
wuyin has joined #ruby
<theRoUS>
is the IPAddr class part of base ruby, the standard library, or what? where would i find the source in order to fork/create a FREQ patch for it?
Emmanuel_Chanel has joined #ruby
sadin has joined #ruby
mclong has quit [Ping timeout: 268 seconds]
davedev24 has joined #ruby
Snowy has quit [Remote host closed the connection]
heftig has quit [Read error: Connection reset by peer]
mrgrieve1 has quit [Ping timeout: 276 seconds]
jhn has joined #ruby
zeroDivisible has joined #ruby
zeroDivisible has quit [Client Quit]
weckl has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
tubuliferous has joined #ruby
zeroDivisible has quit [Client Quit]
zeroDivisible has joined #ruby
ferr has quit [Quit: WeeChat 1.4]
sharkman has quit [Ping timeout: 276 seconds]
stardiviner has joined #ruby
idefine has joined #ruby
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby
szu has joined #ruby
gnufied has quit [Quit: Leaving]
gnufied has joined #ruby
gdp has quit [Remote host closed the connection]
<theRoUS>
hanmac: thanks!
<theRoUS>
hanmac++
<theRoUS>
hanmac++
synthroid has joined #ruby
<hanmac>
what do you want to patch there?
<shevy>
the world
szu has left #ruby [#ruby]
dionysus69 has joined #ruby
bronson has joined #ruby
<theRoUS>
hanmac: 1. add an instance method to return the number of bits in the mask, if it's CIDR. 2. add a class method to return an array of CIDR specifications that cover an address range.
ule has joined #ruby
<theRoUS>
hanmac: i have the code done.
<ule>
In PHP we have phpcbf that fix automatically problems detected by phpcs. Do we have anything similar to fix automatically Tailor warnings?
Xeago has quit [Ping timeout: 250 seconds]
deadnull has joined #ruby
giz|work has quit [Ping timeout: 268 seconds]
deadnull has quit [Max SendQ exceeded]
Xeago has joined #ruby
shinnya has joined #ruby
tubuliferous has quit [Ping timeout: 268 seconds]
SilverKey has quit [Quit: Halted.]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deadnull has joined #ruby
mlakewood has joined #ruby
kareeoleez_ is now known as kareeolee
kareeolee is now known as kareeoleez
SilverKey has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
amclain has joined #ruby
mdw has joined #ruby
vort has joined #ruby
vort has quit [Client Quit]
mclong has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rkazak has quit [Ping timeout: 276 seconds]
hxegon_afk is now known as hxegon
skade has quit [Quit: Computer has gone to sleep.]
<Ox0dea>
ule: How come you decided on Tailor over RuboCop?
devbug has joined #ruby
norc_ has quit [Read error: Connection reset by peer]
p1k has joined #ruby
skade has joined #ruby
<ule>
Ox0dea: people from my work is using that.. they decided. Does RuboCop has this functionality?
<Ox0dea>
ule: Yes. It's maintained, uses an active community style guide for its linter, and has optional autocorrect.
s00pcan has joined #ruby
astrobun_ has quit [Remote host closed the connection]
stardiviner has quit [Ping timeout: 250 seconds]
joonty has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
<ule>
Ox0dea: coll! thanks man.. I'll take a look
<Ox0dea>
No worries.
<ule>
I don't wanna spend 1 hours fixing stupid things here
ishe has quit [Remote host closed the connection]
aspiers_ has quit [Ping timeout: 276 seconds]
senayar has quit [Ping timeout: 250 seconds]
skade has quit [Read error: Connection reset by peer]
igam has quit [Ping timeout: 250 seconds]
d0lph1n98 has quit [Ping timeout: 260 seconds]
mr_oh has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
kareeoleez has quit [Ping timeout: 260 seconds]
stardiviner has joined #ruby
kareeoleez has joined #ruby
mr_oh has joined #ruby
karapetyan has joined #ruby
jpfuentes2 has joined #ruby
diegoaguilar has quit [Read error: Connection reset by peer]
antgel has quit [Ping timeout: 246 seconds]
p1k has quit [Ping timeout: 260 seconds]
g____ has joined #ruby
_UniFreak has quit [Ping timeout: 250 seconds]
wilbert has quit [Ping timeout: 276 seconds]
<g____>
how do I deal with this error when I require \ to escape characters in my json? " lexical error: inside a string, '\' occurs before a character which it may not."
<g____>
join json
evidex has quit [Remote host closed the connection]
mr_oh has quit [Ping timeout: 250 seconds]
evidex has joined #ruby
pawnbox has quit [Remote host closed the connection]
<smathy>
g____, don't put it before a character it's not meant to be before?
godzillaenlacasa has quit [Quit: ZZZZZ....]
wilbert has joined #ruby
<g____>
how else can I escape a "." character then?
<g____>
i need a literal period in my regex pattern
praveen has quit [Remote host closed the connection]
heftig has joined #ruby
<adaedra>
Your regex is in your JSON?
praveen has joined #ruby
<adaedra>
Maybe show us sample of code + JSON?
pawnbox has joined #ruby
<smathy>
g____, regex now, now JSON?
<smathy>
*not
* smathy
is confuddled
User458764 has joined #ruby
<hanmac>
g____: you might need to escape it twice
praveen has quit [Remote host closed the connection]
Xeago has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
karapetyan has joined #ruby
Cohedrin_ has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
chouhoulis has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 246 seconds]
platzhirsch has left #ruby [#ruby]
deadnull has quit [Quit: Bye]
davedev24 has joined #ruby
Eiam_ has quit [Ping timeout: 252 seconds]
sid_fules has joined #ruby
Rickmasta has joined #ruby
noway_ has joined #ruby
malconis has quit [Remote host closed the connection]
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anagha_ has quit [Quit: Connection closed for inactivity]
malconis has joined #ruby
owensong12 has joined #ruby
<owensong12>
hey! is anyone online? I got a question regarding setting up a web server
<bazz_>
Just ask
astrobun_ has joined #ruby
<owensong12>
Thanks. I have my rails backend at `/` and React frontend at `/front/`
<owensong12>
When I was developing, I was running two webservers at different ports.
idefine has joined #ruby
<owensong12>
Now I want to deploy it to production, and I am lost
<owensong12>
the users should access the bundleded frontend app for all routes to `/` and access backend API for all routes to `/api/`
Xeago has quit [Ping timeout: 260 seconds]
goooodroot has quit [Ping timeout: 244 seconds]
billy1234 has quit [Ping timeout: 240 seconds]
nanoz has joined #ruby
dopamean_ has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
astrobun_ has quit [Ping timeout: 250 seconds]
Pupeno__ has quit [Remote host closed the connection]
zeroDivisible has quit [Ping timeout: 240 seconds]
kareeole_ has joined #ruby
tvw has quit [Ping timeout: 252 seconds]
tildes has joined #ruby
x77686d has quit [Quit: x77686d]
rbennacer has quit [Remote host closed the connection]
SilverKey has joined #ruby
sid_fules has joined #ruby
kareeoleez has quit [Ping timeout: 276 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
stannard has quit [Remote host closed the connection]
d0lph1n98 has quit [Ping timeout: 244 seconds]
sp4rrow has joined #ruby
aupadhye has quit [Quit: Leaving]
tvw has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
<hxegon>
?rails owensong12
<ruby[bot]>
owensong12: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<bazz_>
owensong12, since nobody has responded (but give it time, it's IRC), and I don't have that experience, you might want to consider getting into a community of Rails/React devs. ok look at that ^ :)
karapetyan has quit [Remote host closed the connection]
Lomex has quit [Remote host closed the connection]
DrCode has joined #ruby
<owensong12>
Thank you!
owensong12 has left #ruby [#ruby]
billy1234 has joined #ruby
karapetyan has joined #ruby
kareeole_ is now known as kareeoleez
rbennacer has joined #ruby
blackmesa has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
sid_fules has joined #ruby
mlakewood has quit [Quit: mlakewood]
stannard has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
sid_fules has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
stannard has quit [Read error: Connection reset by peer]
idefine has quit [Remote host closed the connection]
sid_fules has quit [Read error: Connection reset by peer]
idefine has joined #ruby
SCHAAP137 has joined #ruby
stannard has joined #ruby
yqt has quit [Ping timeout: 240 seconds]
kareeole_ has joined #ruby
sid_fules has joined #ruby
User458764 has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
sid_fules has quit [Read error: Connection reset by peer]
perlgod has joined #ruby
kareeoleez has quit [Ping timeout: 252 seconds]
FooMunki has quit [Ping timeout: 276 seconds]
mrgrieve1 has joined #ruby
FooMunki has joined #ruby
mrgrieve1 has quit [Read error: Connection reset by peer]
stannard has quit [Read error: Connection reset by peer]
zast has quit [Quit: Leaving.]
mdw has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
kareeole_ is now known as kareeoleez
billy1234 has quit [Ping timeout: 268 seconds]
rbennace_ has joined #ruby
baweaver has joined #ruby
deadnull has joined #ruby
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
rbennacer has quit [Ping timeout: 252 seconds]
deadnull has quit [Max SendQ exceeded]
LastWhisper____ has quit [Ping timeout: 250 seconds]
dionysus69 has joined #ruby
SilverKey has quit [Quit: Halted.]
deadnull has joined #ruby
jenrzzz has joined #ruby
soc42 has quit [Remote host closed the connection]
tagaulap has quit [Quit: Connection closed for inactivity]
zacstewart has quit [Ping timeout: 276 seconds]
sid_fules has joined #ruby
stannard has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
mlakewood has joined #ruby
diegoaguilar has joined #ruby
Lomex has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
sp4rrow has joined #ruby
S_Waqas has quit [Ping timeout: 250 seconds]
postmodern has joined #ruby
skislak has quit [Ping timeout: 260 seconds]
AustinMatherne has quit [Remote host closed the connection]
Gasher^ has joined #ruby
futilegames has joined #ruby
codecop has joined #ruby
AustinMatherne has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.4]
rbennace_ has quit [Remote host closed the connection]
Gasher has quit [Ping timeout: 260 seconds]
firstdayonthejob has joined #ruby
elaptics is now known as elaptics`away
tvw has quit [Ping timeout: 240 seconds]
skade has joined #ruby
Devalo has quit [Remote host closed the connection]
Mon_Ouie has quit [Quit: WeeChat 1.4]
SilverKey has joined #ruby
billy1234 has joined #ruby
karapetyan has quit [Remote host closed the connection]
rumiax2 has joined #ruby
berserk_ren has quit [Ping timeout: 244 seconds]
rbennacer has joined #ruby
Vaevictus has left #ruby [#ruby]
<bazz_>
if I have a class A is it possible to have a module A::B ??
rbennacer has quit [Remote host closed the connection]
rumia has quit [Ping timeout: 276 seconds]
rbennacer has joined #ruby
<havenwood>
bazz_: yes
yardenbar has joined #ruby
karapetyan has joined #ruby
<havenwood>
bazz_: Try it in irb or pry!
roshanavand has joined #ruby
<bazz_>
what about, expand a module and implement the a pre-defined function again?
minimalism has joined #ruby
<bazz_>
OK I'll try it out
cdg has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 260 seconds]
sauvin has quit [Remote host closed the connection]
<bazz_>
looks like the last function wins (not sure if super can do a thing there?)
<thorgi>
can an object be Marshal.dump()ed in chunks, or a more memory-efficient version of dump?
jackjackdripper has joined #ruby
<bazz_>
no, super doesn't work in that case
chouhoulis has joined #ruby
GodFather has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Remote host closed the connection]
treehug88 has joined #ruby
<smathy>
bazz_, as we said all along, it overrides, and last in wins.
chouhoulis has joined #ruby
<bazz_>
smathy, whoops, I didn't notice your responses
Spami has quit [Quit: This computer has gone to sleep]
<smathy>
bazz_, and shevy's :)
<smathy>
We didn't prefix, our bad.
<bazz_>
:)
<bazz_>
np
mdw has quit [Quit: Sleeping Zzzzz]
Lomex has quit [Remote host closed the connection]
elifoster has joined #ruby
sid_fules has joined #ruby
x77686d has joined #ruby
ta_ has joined #ruby
bronson has joined #ruby
jaguarmagenta has joined #ruby
jenrzzz has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.4]
kareeoleez has quit [Remote host closed the connection]
pawnbox_ has joined #ruby
praveen__ has joined #ruby
praveen has quit [Ping timeout: 260 seconds]
sid_fule_ has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 250 seconds]
jaguarmagenta has quit [Ping timeout: 260 seconds]
pawnbox has quit [Ping timeout: 276 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pupeno has joined #ruby
Ishido has joined #ruby
Lomex has joined #ruby
sarbs has quit [Max SendQ exceeded]
PedramT has joined #ruby
sarbs has joined #ruby
nb_bez___ has quit [Quit: Connection closed for inactivity]
tomphp has joined #ruby
yfeldblum has joined #ruby
mnrmnaugh is now known as catpoop
jenrzzz has quit [Ping timeout: 240 seconds]
Gasher has joined #ruby
Weavel has left #ruby [#ruby]
quakephil has joined #ruby
<quakephil>
I'm using sinatra/activerecord, and I'm trying to convert my sql functionality to it. I've figured out selects, but now I have something like "insert into table (a,b) values (?,now() + interval 1 day), 'fred'" ... how can I transform this to an activerecord method?
<dfockler>
thorgi: looks like you can specify an IO object to pass the dump into, although I haven't tried chunks of IO in ruby
<quakephil>
I guess it would look something like Table.create(a: 'fred', b: 'now() + interval 1 day') ?
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Devalo has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
dopamean_ has quit [Ping timeout: 268 seconds]
mrgrieve1 has joined #ruby
<quakephil>
Except that doesn't work: "fred" gets stored to column a just fine, but column b is ignored
stannard has quit [Read error: Connection reset by peer]
frankieleef has joined #ruby
zacstewart has joined #ruby
chouhoulis has quit []
ramfjord has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
crowell has joined #ruby
mrgrieve1 has quit [Ping timeout: 268 seconds]
dopamean_ has joined #ruby
dopamean_ has quit [Client Quit]
sid_fule_ has quit [Read error: Connection reset by peer]
aspiers_ has joined #ruby
<quakephil>
Fuck it, I'll just make a db trigger
quakephil has left #ruby [#ruby]
tribals has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
diegoaguilar has quit [Remote host closed the connection]
dopamean_ has joined #ruby
stannard has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
emilford has quit [Ping timeout: 252 seconds]
stannard has quit [Remote host closed the connection]
elifoster has quit [Ping timeout: 276 seconds]
danman has joined #ruby
diegoviola has joined #ruby
roshanavand has quit [Quit: This computer has gone to sleep]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
loincloth has joined #ruby
djellemah_ has joined #ruby
babblebre has joined #ruby
djellemah_ has quit [Max SendQ exceeded]
ruby809 has joined #ruby
baweaver has joined #ruby
djellemah_ has joined #ruby
Xeago has joined #ruby
djellemah__ has joined #ruby
djellemah has quit [Ping timeout: 250 seconds]
baweaver has quit [Remote host closed the connection]
yeticry has joined #ruby
RegulationD has joined #ruby
mr_rich101 has quit [Max SendQ exceeded]
mr_rich101 has joined #ruby
djellemah_ has quit [Ping timeout: 244 seconds]
mrgrieve1 has joined #ruby
mclong has quit [Ping timeout: 276 seconds]
Dimik has joined #ruby
yqt has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
n008f4g_ has joined #ruby
frankieleef has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
d10n-work has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
djbkd has quit [Remote host closed the connection]
tomphp has joined #ruby
karapetyan has quit [Remote host closed the connection]
william3 has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 276 seconds]
ramfjord has joined #ruby
shinnya has quit [Ping timeout: 276 seconds]
william3 has joined #ruby
al2o3-cr has joined #ruby
kirun has joined #ruby
zack6849 has joined #ruby
zack6849 has quit [Changing host]
zack6849 has joined #ruby
perlgod has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sid_fules has joined #ruby
Pumukel has joined #ruby
perlgod has joined #ruby
karapetyan has joined #ruby
emilford has joined #ruby
ruby809 has quit [Ping timeout: 250 seconds]
sid_fules has quit [Read error: Connection reset by peer]
loincloth has quit []
bronson has joined #ruby
p1k has joined #ruby
bobbycvi has joined #ruby
stannard has joined #ruby
haylon has joined #ruby
sid_fules has joined #ruby
kareeoleez has joined #ruby
frankieleef has joined #ruby
<haylon>
Hey everyone. I'm trying to figure out how to loop through a hash of nested hashes, but in between each nested hash, there could be some plain key value pairs. Is there a recommeneded method for evaluting if its a hash, or a plain value before moving on?
bronson has quit [Ping timeout: 268 seconds]
<toretore>
value.is_a?(Hash)
stannard has quit [Ping timeout: 240 seconds]
<toretore>
you could do respond_to?(:each) but that could be a lot of things
sid_fules has quit [Ping timeout: 246 seconds]
kareeoleez has quit [Ping timeout: 260 seconds]
frankieleef has quit [Ping timeout: 276 seconds]
DoubleMalt has joined #ruby
infra-red has joined #ruby
Madplatypus has joined #ruby
stardiviner has quit [Ping timeout: 244 seconds]
p1k has quit [Ping timeout: 244 seconds]
codecop has quit [Remote host closed the connection]
stannard has joined #ruby
stannard has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 250 seconds]
emilford has quit [Ping timeout: 246 seconds]
davedev24 has quit [Read error: Connection reset by peer]
stannard has joined #ruby
davedev24 has joined #ruby
syath has quit [Read error: Connection reset by peer]
Regulati_ has joined #ruby
syath has joined #ruby
sid_fules has joined #ruby
lemur has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
lemur is now known as baweaver_
baweaver_ is now known as baweaver__
baweaver has quit [Disconnected by services]
baweaver__ is now known as baweaver
pawnbox_ has quit [Remote host closed the connection]
unreal has quit [Quit: Very funny Scotty. Now beam down my clothes!]
RegulationD has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
unreal has joined #ruby
deadnull has quit [Quit: AFK]
_ht has quit [Ping timeout: 240 seconds]
djellemah_ has joined #ruby
mdw has joined #ruby
Gasher has quit [Read error: Connection reset by peer]
kareeoleez has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
_ht has joined #ruby
stardiviner has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
symm- has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
praveen__ has quit []
djellemah__ has quit [Ping timeout: 276 seconds]
Lomex has quit [Remote host closed the connection]
loechel has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
Gasher^ has quit [Ping timeout: 244 seconds]
sid_fules has joined #ruby
loechel has quit [Excess Flood]
_ht has quit [Ping timeout: 268 seconds]
devbug has quit [Quit: ZZZzzz…]
_ht has joined #ruby
loechel has joined #ruby
jenrzzz has joined #ruby
Lomex has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devbug has joined #ruby
mikecmpbll has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has joined #ruby
FooMunki has quit [Ping timeout: 260 seconds]
Lomex has quit [Remote host closed the connection]
mrgrieve1 has quit [Ping timeout: 268 seconds]
rumiax2 is now known as rumia
skade has joined #ruby
sneakerhax has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
lemur has joined #ruby
firstdayonthejob has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
bob434 has joined #ruby
Gasher has joined #ruby
Gasher^ has joined #ruby
Limix has joined #ruby
idefine_ has joined #ruby
baweaver has quit [Ping timeout: 260 seconds]
sid_fules has quit [Read error: Connection reset by peer]
idefine has quit [Ping timeout: 246 seconds]
Lomex has joined #ruby
Ishido has quit [Read error: Connection reset by peer]
bob434 has quit [Quit: Leaving]
nofxx has joined #ruby
tildes has quit [Ping timeout: 276 seconds]
nofxx has quit [Read error: Connection reset by peer]
FooMunki has joined #ruby
djbkd has joined #ruby
bruce_lee has quit [Remote host closed the connection]
baweaver has joined #ruby
Rickmasta has joined #ruby
blackgoat has joined #ruby
infra-red has quit []
brianpWins has quit [Ping timeout: 276 seconds]
lemur has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
sid_fules has joined #ruby
solocshaw1 has joined #ruby
futilegames has quit [Quit: futilegames]
al2o3-cr has quit [Ping timeout: 276 seconds]
htmldrum has joined #ruby
solocshaw has quit [Ping timeout: 276 seconds]
solocshaw1 is now known as solocshaw
Snowy has joined #ruby
baweaver has quit [Remote host closed the connection]
last_staff1 has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
PedramT has quit [Remote host closed the connection]
Lomex has quit [Remote host closed the connection]
baweaver has joined #ruby
last_staff has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
x77686d has quit [Quit: x77686d]
jaguarmagenta has joined #ruby
carella_ has quit [Remote host closed the connection]
sid_fules has quit [Read error: Connection reset by peer]
last_staff1 has quit [Ping timeout: 268 seconds]
djcp has quit [Ping timeout: 252 seconds]
al2o3-cr has joined #ruby
Arielon has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 252 seconds]
bronson has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
perlgod has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Ping timeout: 240 seconds]
flashpoint9 has quit [Remote host closed the connection]
idefine_ has quit [Remote host closed the connection]
dionysus69 has joined #ruby
<brent__>
I had question regarding rbenv
<brent__>
i set rbenv global to 2.3.0, but when i do ruby -v, it lsits 2.2.3.....
baweaver has quit [Remote host closed the connection]
haylon has left #ruby ["WeeChat 1.4"]
blackmesa has joined #ruby
swills has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
synthroid has quit []
<havenwood>
brent__: check your PATH? are the rbenv shims up front? there's no rbenv channel that I know of but there's #rvm or #chruby.
<havenwood>
brent__: If you get stuck enough maybe consider switching to chruby. :)
mclong has joined #ruby
x77686d has joined #ruby
sadin has quit [Read error: Connection reset by peer]
<diegoviola>
chruby is great
<brent__>
is chruby that much better?
<brent__>
the class i'm taking pushes rbenv, so trying to stay as close to that as possible
loincloth has joined #ruby
<havenwood>
brent__: yeah, it's simpler and I could actually help you if there was a problem
<toretore>
brent__: what does `which ruby` say?
mjuszczak has joined #ruby
stardiviner has quit [Ping timeout: 276 seconds]
<havenwood>
brent__: I don't think you'd have any trouble using chruby in place of rbenv, but yeah if you're following along you might want to get it working.
Pupeno has quit [Quit: Leaving...]
banister has joined #ruby
roolo has joined #ruby
roshanavand has joined #ruby
roolo has quit [Client Quit]
dfockler has quit [Ping timeout: 252 seconds]
stardiviner has joined #ruby
<brent__>
havenwood: rebooted and now it shows 2.3.0p0 (2015-12-25)[x86_64-darwin15], does that sound right? w/ the extrastuff listed
<havenwood>
brent__: yup, that's perfect
<havenwood>
(ruby 2.3.0)
<havenwood>
the p0 means patch level zero, the first patch for 2.3
<havenwood>
2.3.0 will always be p0
<havenwood>
2.3.1 is p112
mdw has quit [Quit: Sleeping Zzzzz]
skade has quit [Quit: Computer has gone to sleep.]
<brent__>
perfect
<brent__>
installed 2.3.1 and set it to global
<brent__>
and all looks good
spider-mario has joined #ruby
<diegoviola>
didn't know 2.3.1 was already out
* diegoviola
installs it with ruby-install
<brent__>
havenwood: i saw something about not wanting to isntall gems via sudo
sp4rrow has quit [Quit: Textual]
replay has joined #ruby
<brent__>
how would i know if i accidently installed a gem using sudo in the past/
replay has quit [Max SendQ exceeded]
tvw has joined #ruby
<havenwood>
brent__: You can see the system gems installed with: sudo gem list
<brent__>
and what about gems installed w/ otu sudo?
<havenwood>
brent__: The `sudo` will drop your env and you'll no longer be getting the rbenv `ruby` or `gem` shims.
replay has joined #ruby
idefine has joined #ruby
Devalo has quit [Remote host closed the connection]
<havenwood>
brent__: gem list
yfeldblum has joined #ruby
Xeago has joined #ruby
SilverKey has quit [Quit: Halted.]
<brent__>
cool, and what if i have the same gem installed both ssytem and rbenv?
sid_fules has joined #ruby
<havenwood>
brent__: That's not a problem per se. You can have as many Rubies and Gems installed as you'd like. You'll just be using the one you have currently selected.
Moosashi has joined #ruby
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
<brent__>
okay, thanks
sepp2k has quit [Quit: Leaving.]
sp4rrow has joined #ruby
gabrieldagama has quit [Quit: Leaving]
scepticulous has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
vdamewood has joined #ruby
toretore has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
Xeago has quit [Remote host closed the connection]