hotpanca_ has quit [Remote host closed the connection]
psmolen has joined #ruby
<Radar>
That allows you to very easily install different versions of Ruby and switch between them... and also: the ruby + ruby-dev packages on Apt have historically been pretty poor at keeping up to date with the latest Ruby.
milardovich has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
milardovich has joined #ruby
nettoweb has joined #ruby
ammar has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
rkazak has quit [Quit: Sleep.....ing....]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eelster>
Gist is kinda odd.
<eelster>
I go back and forth on whether or not I like it.
<Radar>
My favourite thing about Gist is that it doesn't look terrible or have ads.
<Radar>
If you're typing code into it then you're gonna have a bad time but besides that it's pretty good.
<Radar>
and you can use Gist from the terminal too.
<Radar>
Or you could create a placeholder gist and then clone the repo and add files to the repo.
<Ropeney>
That gems awesome
eaxxzae has quit [Client Quit]
__Yiota has joined #ruby
Andrew_TA has joined #ruby
milardovich has joined #ruby
ur5us has joined #ruby
needRubyhelp has joined #ruby
doritostains has quit [Quit: doritostains]
<hardest>
n1c3 radar
biberu has quit [Read error: Connection reset by peer]
doritostains has joined #ruby
whathappens has quit [Quit: Leaving...]
<eelster>
PONG
dhollinger has quit [Ping timeout: 245 seconds]
Andrew_TA has quit [Ping timeout: 248 seconds]
milardovich has quit [Ping timeout: 245 seconds]
<eelster>
Wow, that was odd. I don't know what the hell my client sent PONG publically for. Sorry about that.
enterprisey has joined #ruby
cdg has quit [Remote host closed the connection]
dhollinger has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
oaklndr1 has quit [Quit: Leaving]
AndBobsY_ has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
AndBobsYourUncle has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
AndBobsYourUncle has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
<needRubyhelp>
Im having big trouble with a webpage I am making. Its a 1 page webpage, everything runs off the index. We are trying to display different parts of the webpage based on the "state" the user is in. We have a JS function that runs automatically when the user logs in, but is always returning the wrong state. When we ran the function manually through a click button, it works fine. We are calling the function through a .click
<needRubyhelp>
The function runs an SQL statement that checks the database to see what state the user should be in. The button posts to "/checkstate"
<needRubyhelp>
when the button is actually clicked, it runs as intended. When ran automatically through a .click, it returns the wrong value
<eelster>
needRubyhelp: What framework
<needRubyhelp>
Ruby
<needRubyhelp>
.ern
<needRubyhelp>
i mean .erb
<needRubyhelp>
HTML
<eelster>
But what framework? Rails?
<eelster>
Sinatra?
<needRubyhelp>
oh yes
<needRubyhelp>
sinatra
<eelster>
You are probably better off in #sinatra
nettoweb1 has joined #ruby
<needRubyhelp>
would sinatra have something to do with it?
<needRubyhelp>
i figured it would be more of a ruby thing
<eelster>
I mean, Sinatra is the framework you are using.
<needRubyhelp>
All the code is in ruby. Sinatra is just showing the webpage
<eelster>
This actually seems like more of a js thing to me.
<eelster>
I know that Sinatra is all in Ruby.
<markholmes>
nothing you mentioned signifies a ruby issue, needRubyhelp
<eelster>
I'm redirecting you to #sinatra because they'll be able to help better.
<markholmes>
but i mean, care to share an example of the code?
nettoweb has quit [Ping timeout: 240 seconds]
<needRubyhelp>
you are right, the problems i am having are related to JS
eaxxae has quit [Quit: Leaving]
AndBobsYourUncle has quit [Ping timeout: 258 seconds]
shayan_ has quit [Quit: shayan_]
ramfjord has quit [Ping timeout: 240 seconds]
<needRubyhelp>
trying to figure out how to post code in here. This is my first time using this
<eelster>
needRubyhelp: Use gist
<eelster>
?gist needRubyhelp
<ruby[bot]>
needRubyhelp: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<needRubyhelp>
I am attempting my best to phrase this question the best i can. Its a 1 page webpage, everything is in the index.erb and app.rb, so I am trying to give you the necessary parts and leave out the things that arae not necessary
<zenspider>
related to refreshState?
_djbkd has quit [Remote host closed the connection]
<toretore>
needRubyhelp: it's much better to give too much information than too little, so just post everything, as entire files so that line numbers match up properly
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AndBobsY_ has joined #ruby
<needRubyhelp>
refresh state is in regards to a forever loop we encountered. It would run the function on loading the page, which would run the SQL statement and cause the page to reload, which would run the function again, etc.
eelster has quit [Quit: WeeChat 1.6]
<needRubyhelp>
refreshState changed the value from 0 to 1, so it knew not to run the function when the value was 1
milardovich has joined #ruby
_djbkd has joined #ruby
<needRubyhelp>
Ill post everything, but its a 1 page webpage and its a little sloppy, and 700 lines of code, but Ill try to direct you to the correct lines
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
r3cycle has quit [Remote host closed the connection]
shayan_ has quit [Quit: shayan_]
milardovich has quit [Ping timeout: 240 seconds]
alvss has quit [Ping timeout: 260 seconds]
<needRubyhelp>
They login through google and facebook, which is lines 180-350. When I try to run the function automatically upon logging in, it returns "state" an incorrect value
shayan_ has joined #ruby
<needRubyhelp>
I watch the code through Chrome's developer console as I login, which is how I know it is passing the wrong value
gusrub_ has quit [Remote host closed the connection]
<toretore>
how do you try to run it automatically?
mgorbach has joined #ruby
<needRubyhelp>
on line 260, when the user logs in through facebook, it runs
<needRubyhelp>
that function is on line 62
<needRubyhelp>
but for some reason, when clicked manually, which is the button we created for it on line 461, it runs as intended
<needRubyhelp>
the button was originally created for testing purposes, and we were going to hide the button and have JS click it hidden.
dcunit3d has joined #ruby
<SeepingN>
o.O
<StoneCypher>
sorry, i'm being a noob. given that a variable is assigned above a class, would a self method on the class not be expected to be able to pull that variable in in its closure?
<StoneCypher>
foo = bar \n class Example \n def self.whut \n puts foo \n end \n end
<StoneCypher>
it's looking for foo as a local variable or method?
pawnbox has joined #ruby
<toretore>
`def` does not create a closure
<StoneCypher>
... oh :(
Guest93719 is now known as ged
iMadper is now known as Madper|commuting
<StoneCypher>
is there a simple way to do what i'm looking for?
ged is now known as Guest69927
<toretore>
StoneCypher: what are you looking for?
<StoneCypher>
a way to have a variable outside a class available to a static member of the class
<StoneCypher>
scuse, a self method
<StoneCypher>
without explicitly passing it in
<toretore>
needRubyhelp: i don't understand exactly what the issue is. is it that when you try to `click()` the button it doesn't don the `hide_Email` function?
jenrzzz has joined #ruby
<toretore>
StoneCypher: provide some context?
<toretore>
StoneCypher: as in, what is the broader problem you're trying to solve?
<StoneCypher>
i'm quite comfortable with what i'm trying to do, and am just asking for ruby's mechanism.
<needRubyhelp>
It does, but when i run automatically through the login function, it returns a value of 1 when it should be 3
<toretore>
that's not a realistic example StoneCypher
<StoneCypher>
ok
<needRubyhelp>
when i run the function through the button it returns the value of 3
<needRubyhelp>
as it should be
<toretore>
the way you're asking about it tells me you're looking at it the wrong way
<needRubyhelp>
i very well could be
<StoneCypher>
can someone else tell me the appropriate way to achieve something akin to closure inclusion without resorting to globals or explicit parameter passing?
xin0x has left #ruby [#ruby]
pawnbox has quit [Ping timeout: 240 seconds]
<toretore>
that last one was for StoneCypher, needRubyhelp
<needRubyhelp>
oh
<StoneCypher>
thanks, toretore, i'll find help somewhere else.
<toretore>
needRubyhelp: which function returns the wrong value? how do you see it?
<needRubyhelp>
i see it through chrome developer tools
<needRubyhelp>
i watch it as it runs
<needRubyhelp>
the variable "state"
<toretore>
where?
<toretore>
oh
<needRubyhelp>
d'oh
<needRubyhelp>
i think we just figured it out
<toretore>
no, actually, there is no variable named state
<needRubyhelp>
been at this for days
<needRubyhelp>
sorry
<needRubyhelp>
hidden_state
charliesome has joined #ruby
despai has quit [Quit: Leaving]
_djbkd has quit [Remote host closed the connection]
<needRubyhelp>
The problem was: I was calling the function before it had the user name and email during login
<needRubyhelp>
That is what the SQL statement was checking for. If it didn't have the user name and email, then the statement would return the wrong value.
nowhere_man has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
ResidentBiscuit has joined #ruby
the-eat-scout has joined #ruby
vayan has joined #ruby
troter__________ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
_djbkd has joined #ruby
zacts has joined #ruby
_djbkd has quit [Remote host closed the connection]
harai has quit [Ping timeout: 252 seconds]
milardovich has joined #ruby
_djbkd has joined #ruby
skweek has joined #ruby
mark[oz] has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
brent__ has quit [Remote host closed the connection]
harai has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
jcao219_ has joined #ruby
Tony-St4rk is now known as H4v0K
Derperperd has joined #ruby
<FManTropyx>
hello
_djbkd has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ropeney>
compare the lengths first, then you know how much is missing, then compare from start allowing to move forward upto the difference in the steps without a successful comparison. So you keep a counter of n that keeps track of how much you've moved forward by decrementing for a length. Each comparison is then either a success, or moved forward in the longer list decrementing from the counter. When counter goes out it must be out of order? Just off the
<Ropeney>
cuff here.
Silthias has quit [Ping timeout: 258 seconds]
LoneHerm_ has joined #ruby
Silthias has joined #ruby
boombox_ has quit [Remote host closed the connection]
enilsen16 has quit [Quit: enilsen16]
eelster is now known as eelster__
eelster__ has quit [Quit: WeeChat 1.6]
milardov_ has joined #ruby
eelster has joined #ruby
mark[oz] has quit [Remote host closed the connection]
mark[oz] has joined #ruby
milardov_ has quit [Ping timeout: 240 seconds]
harfangk has joined #ruby
doritostains has quit [Quit: doritostains]
<Ropeney>
warrshrike did that jumble of mess make sense?
<Cork>
it is this error that is giving a weird stacktrace -_-'
<Cork>
wtf..
<Cork>
sorry for wasting your time...
<Ropeney>
haha
doritostains has joined #ruby
<Ropeney>
I was gunna say, I'm starting to doubt :P
<Cork>
weird freaking error.. >_>
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Cork>
and getting it the first time when trying to write a program wide stack trace notifier... >_<'
dionysus69 has quit [Remote host closed the connection]
LoneHermit has joined #ruby
mark[oz] has joined #ruby
milardovich has joined #ruby
Guest26094 is now known as ged
andikr has joined #ruby
ged is now known as Guest59732
LoneHermit has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
astrobunny has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
jameser has joined #ruby
last_staff has joined #ruby
braincrash has quit [Ping timeout: 258 seconds]
ta has quit [Remote host closed the connection]
braincrash has joined #ruby
brent__ has quit [Ping timeout: 256 seconds]
ruby-lang019 has joined #ruby
ruby-lang019 has quit [Client Quit]
hotpancakes has quit [Remote host closed the connection]
muelleme has joined #ruby
hotpancakes has joined #ruby
xall_ has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
tonini is now known as zastav
zastav is now known as tonini
blaxter has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
hotpancakes has quit [Ping timeout: 255 seconds]
dionysus69 has joined #ruby
pawnbox_ has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
hutch34 has quit [Ping timeout: 240 seconds]
aremaref has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
abunashir has joined #ruby
conta has joined #ruby
abunashir has quit []
foption has joined #ruby
abunashir has joined #ruby
ramfjord has joined #ruby
LoneHermit has joined #ruby
AnoHito has quit [Ping timeout: 240 seconds]
AnoHito_ has joined #ruby
dionysus69 has joined #ruby
milardovich has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
AndBobsYourUncle has joined #ruby
ifctj has quit [Ping timeout: 245 seconds]
milardovich has quit [Ping timeout: 245 seconds]
enyo has joined #ruby
LoneHermit has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 240 seconds]
doritostains has quit [Quit: doritostains]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
enyo has quit [Ping timeout: 248 seconds]
enterprisey has quit [Remote host closed the connection]
kaffepan1a has joined #ruby
aufi has joined #ruby
doritostains has joined #ruby
xall has joined #ruby
hotpancakes has joined #ruby
kaffepanna has quit [Ping timeout: 255 seconds]
aganov has joined #ruby
aufi has quit [Client Quit]
aufi has joined #ruby
xall_ has quit [Ping timeout: 258 seconds]
futilegames has joined #ruby
<apeiros>
Cork: I just tested. `raise e` retains the original backtrace
<apeiros>
so whatever you've got stomping over your backtrace, it ain't that
<Cork>
apeiros: ya, Ropeney helpet me before
SesMan has joined #ruby
<Cork>
it was the specific error i got in that case that throw me on a loop
<Cork>
it was different then what i've gotten normally :/
<Cork>
and it happened to be at the same time i wrote an exception notification wrapper *sigh*
Andrew_TA has joined #ruby
enyo has joined #ruby
braincrash has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
pawnbox has joined #ruby
jackjackdripper has joined #ruby
Andrew_TA has quit [Read error: Connection reset by peer]
muelleme has quit [Ping timeout: 240 seconds]
Andrew_TA has joined #ruby
enyo has quit [Ping timeout: 256 seconds]
Andrew_TA has quit [Read error: Connection reset by peer]
Andrew_T_ has joined #ruby
milardovich has joined #ruby
govg has quit [Quit: leaving]
enyo has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
Andrew_T_ has quit [Read error: Connection reset by peer]
Andrew_TA has joined #ruby
ponga has quit []
cgfbee has quit [Remote host closed the connection]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
Mortomes|Work has joined #ruby
Andrew_TA has quit [Read error: Connection reset by peer]
csk157 has joined #ruby
Andrew_TA has joined #ruby
pawnbox has joined #ruby
Derperpe1 has quit [Quit: WeeChat 1.5]
Andrew_TA has quit [Read error: Connection reset by peer]
Derperperd has joined #ruby
Andrew_TA has joined #ruby
cdg has joined #ruby
doublemalt_ has joined #ruby
vali_ has joined #ruby
TomyWork has joined #ruby
Andrew_TA has quit [Read error: Connection reset by peer]
_djbkd has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
Andrew_TA has joined #ruby
LoneHermit has joined #ruby
xall has quit [Ping timeout: 256 seconds]
dagelf has quit [Remote host closed the connection]
Andrew_TA has quit [Read error: Connection reset by peer]
dagelf has joined #ruby
matp has quit [Remote host closed the connection]
matp has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
gh0zt has quit [Ping timeout: 245 seconds]
LoneHermit has quit [Ping timeout: 252 seconds]
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
hahuang65 has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
xall has joined #ruby
g_maeda has joined #ruby
snapcase has quit [Quit: leaving]
djbkd has joined #ruby
Guest59732 is now known as ged
ged is now known as Guest55170
tvw has joined #ruby
hahuang65 has quit [Ping timeout: 255 seconds]
nankyokusei has joined #ruby
Silthias1 has joined #ruby
eggshke has joined #ruby
tvw has quit [Client Quit]
g_maeda has quit [Quit: Leaving...]
anisha has quit [Quit: This computer has gone to sleep]
tvw has joined #ruby
Silthias has quit [Ping timeout: 248 seconds]
xen0fon has quit [Quit: xen0fon]
nankyokusei has quit [Ping timeout: 255 seconds]
mark_66 has joined #ruby
nowhere_man has joined #ruby
nowhere_man has quit [Client Quit]
nowhere_man has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaffepan1a has quit [Ping timeout: 260 seconds]
jameser has joined #ruby
ddffg has joined #ruby
aidalgol has joined #ruby
cgfbee has joined #ruby
ta has joined #ruby
snapcase has joined #ruby
mlkkk has joined #ruby
aremaref has quit [Ping timeout: 258 seconds]
mlkkk has quit [Remote host closed the connection]
milardovich has joined #ruby
AndBobsYourUncle has joined #ruby
psychicist__ has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
wugy has joined #ruby
dagelf has quit [Remote host closed the connection]
dagelf has joined #ruby
kaffepanna has joined #ruby
chussenot has joined #ruby
pawnbox has quit [Remote host closed the connection]
JoshS has joined #ruby
pawnbox has joined #ruby
chussenot has quit [Client Quit]
<atmosx>
Hi, I have an array with objects like this: #<Schedule @values={:id=>14, :addressbook_id=>43, :profession_id=>1, :date=>#<Date: 2016-09-19 ((2457651j,0s,0n),+0s,2299161j)>, :city=>"Δράμα", :type=>"overday", :created_at=>2016-09-16 11:13:12 +0300}> ... I'm trying to use group_by to sort them by date, but I'm getting back the same array
<atmosx>
Schedule.all.group_by {|id, aid, pid, date, city, type, created_at| date} <-- am I using this correctly? I guess not.
mlkkk has joined #ruby
Silthias has joined #ruby
<apeiros>
group by doesn't sort, it groups?
StoneCypher has joined #ruby
mlkkk has quit [Remote host closed the connection]
<apeiros>
because sort_by sorts. group_by creates groups. and both sort_by and group_by only get a single argument - the schedule instance to process.
<atmosx>
thanks apeiros!
<apeiros>
atmosx: and for future reference - please try to correctly describe what happens. "I'm getting back the same array" is not correct. group_by returns a Hash. this got me confused for quite a bit and left me struggling to figure out what part of your description was wrong.
jphase has quit [Ping timeout: 272 seconds]
djbkd has quit [Remote host closed the connection]
<atmosx>
apeiros: okay!
<apeiros>
thanks :)
doritostains has joined #ruby
djbkd has joined #ruby
jshjsh has joined #ruby
last_staff1 has joined #ruby
JoshS has quit [Disconnected by services]
jshjsh is now known as JoshS
nettoweb has joined #ruby
elliot007 has quit [Ping timeout: 248 seconds]
last_staff has quit [Ping timeout: 245 seconds]
last_staff1 is now known as last_staff
willemb has joined #ruby
the_drow has joined #ruby
<willemb>
do i really need a /root/.gemrc file? Can't I just have everything in /etc/gemrc ?
djbkd has quit [Remote host closed the connection]
theRoUS has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
xen0fon has joined #ruby
teclator has quit [Ping timeout: 240 seconds]
xen0fon has quit [Client Quit]
eggshke has quit []
Macaveli has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
astrobunny has quit [Remote host closed the connection]
doublemalt_ has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
Fernando-Basso has joined #ruby
tomphp has joined #ruby
Guest55170 is now known as ged
jsrn_ has joined #ruby
ged is now known as Guest1876
brent__ has quit [Ping timeout: 260 seconds]
teclator has joined #ruby
ramfjord has joined #ruby
willemb has quit [Quit: leaving]
JeanCarloMachado has joined #ruby
antgel has joined #ruby
ziarkaen has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
futilegames has quit [Ping timeout: 240 seconds]
futilegames has joined #ruby
enyo has quit [Ping timeout: 260 seconds]
elliot007 has joined #ruby
Beams has joined #ruby
marcoecc has quit [Read error: Connection reset by peer]
marcoecc has joined #ruby
Wave has joined #ruby
milardovich has joined #ruby
doritostains has quit [Quit: doritostains]
Wave has quit [Remote host closed the connection]
anisha has quit [Read error: Connection reset by peer]
jshjsh has joined #ruby
sdothum has joined #ruby
milardovich has quit [Ping timeout: 245 seconds]
astrobunny has joined #ruby
rodfersou has joined #ruby
JoshS has quit [Ping timeout: 252 seconds]
flughafen has joined #ruby
Burgestrand has joined #ruby
evie_hammond has joined #ruby
enyo has joined #ruby
UserJosh has joined #ruby
biberu has joined #ruby
braincrash has quit [Ping timeout: 255 seconds]
jshjsh has quit [Ping timeout: 252 seconds]
psychicist__ has quit [Ping timeout: 240 seconds]
marr has joined #ruby
vasilakisfil has quit [Remote host closed the connection]
doublemalt_ has joined #ruby
<dminuoso>
/root/.gemrc?
<dminuoso>
This sounds so wrong.
dionysus69 has quit [Ping timeout: 256 seconds]
byte512 has joined #ruby
charliesome has joined #ruby
anisha has joined #ruby
hotpancakes has joined #ruby
biberu has quit []
braincrash has joined #ruby
biberu has joined #ruby
jcao219_ has quit [Ping timeout: 245 seconds]
hahuang65 has joined #ruby
hahuang65 has quit [Ping timeout: 256 seconds]
ziarkaen has quit [Ping timeout: 240 seconds]
doritostains has joined #ruby
ur5us has quit [Remote host closed the connection]
nankyokusei has joined #ruby
Kug3lis has joined #ruby
UserJosh is now known as JoshS
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cibs has quit [Ping timeout: 268 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
zapata has quit [Ping timeout: 240 seconds]
JeanCarloMachado has quit [Ping timeout: 240 seconds]
cibs has joined #ruby
JeanCarloMachado has joined #ruby
doritostains has quit [Quit: doritostains]
ldnunes has joined #ruby
xen0fon has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
edwardly has quit [Ping timeout: 272 seconds]
Sammichmaker has quit [Ping timeout: 240 seconds]
mlkkk has quit [Remote host closed the connection]
abunashir has quit [Remote host closed the connection]
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
jshjsh has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
<atmosx>
dminuoso: indeed, I think he left the channel though (I removed parts/joins from my screen a while back - so if tab doesn't come up with a completion...)
jcao219_ has joined #ruby
JoshS has quit [Ping timeout: 252 seconds]
mlkkk has joined #ruby
Guest1876 is now known as ged
ged is now known as Guest81521
ferr1 has joined #ruby
k13nox has joined #ruby
zapata has joined #ruby
milardovich has joined #ruby
aidalgol has quit [Quit: zZzZzzzz]
milardovich has quit [Client Quit]
AndBobsYourUncle has joined #ruby
milardovich has joined #ruby
astrobunny has quit [Remote host closed the connection]
ldnunes has quit [Ping timeout: 258 seconds]
ldnunes has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Derperperd has quit [Ping timeout: 260 seconds]
StoneCypher has joined #ruby
braincrash has quit [Ping timeout: 252 seconds]
JeanCarloMachado has quit [Ping timeout: 258 seconds]
nowhere_man has quit [Quit: Konversation terminated!]
csk157 has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
JeanCarloMachado has joined #ruby
StoneCypher has quit [Ping timeout: 248 seconds]
nowhere_man has quit [Remote host closed the connection]
Macaveli has quit [Ping timeout: 252 seconds]
xen0fon has quit [Quit: xen0fon]
spectrum has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toretore has quit [Ping timeout: 260 seconds]
braincrash has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
csk157 has joined #ruby
Silthias has quit [Ping timeout: 248 seconds]
neuraload has joined #ruby
charliesome has joined #ruby
ziarkaen has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
ziarkaen has quit [Ping timeout: 258 seconds]
psychicist__ has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
enyo has quit [Ping timeout: 245 seconds]
braincrash has quit [Ping timeout: 240 seconds]
Sammichmaker has joined #ruby
jameser has quit [Ping timeout: 240 seconds]
Ishido has quit [Ping timeout: 248 seconds]
nowz has quit [Remote host closed the connection]
mlkkk has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
tomphp_ has joined #ruby
mark[oz] has quit [Remote host closed the connection]
ioden has joined #ruby
mark[oz] has joined #ruby
tomphp has quit [Ping timeout: 240 seconds]
ziarkaen has joined #ruby
Sammichmaker has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
mark[oz] has quit [Ping timeout: 256 seconds]
vali_ has joined #ruby
dionysus69 has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
ziarkaen has quit [Ping timeout: 252 seconds]
vali_ has quit [Client Quit]
usse has joined #ruby
usse has quit [Client Quit]
neuraload has quit [Quit: This computer has gone to sleep]
ifctj has joined #ruby
Ishido has joined #ruby
neuraload has joined #ruby
ziarkaen has joined #ruby
ta has quit [Remote host closed the connection]
Macaveli has joined #ruby
braincrash has joined #ruby
dionysus69 has quit [Quit: dionysus69]
eelster has quit [Ping timeout: 255 seconds]
nowz has joined #ruby
k13nox has quit [Remote host closed the connection]
k13nox has joined #ruby
Silthias has joined #ruby
Guest81521 is now known as ged
ged is now known as Guest29944
jackjackdripper has quit [Quit: Leaving.]
Derperperd has joined #ruby
jcao219_ has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
k13nox has quit [Ping timeout: 240 seconds]
enyo has joined #ruby
AlexRussia has joined #ruby
ifctj has quit [Ping timeout: 255 seconds]
Derperperd has quit [Ping timeout: 240 seconds]
spectrum has joined #ruby
jcao219_ has joined #ruby
jdawgaz has joined #ruby
enyo has quit [Ping timeout: 245 seconds]
ResidentBiscuit has joined #ruby
plantfood has joined #ruby
jdawgaz has quit [Ping timeout: 240 seconds]
enyo has joined #ruby
ResidentBiscuit has quit [Ping timeout: 255 seconds]
<mrvisser>
Hi all. When I run `GEM_HOME=~/.gems ~/.gems/bin/bundle install` I get: Your Ruby version is 2.1.9, but your Gemfile specified 2.3.1 . The ruby version needed in my Gemfile is indeed 2.3.1. However when I do ruby -v I get "ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux-gnu]". I'm ubuntu, installed ruby with apt and I used update-alternatives to make ruby2.3 the global default. Any idea why I would be getting this?
chg has quit [Read error: Connection reset by peer]
hahuang65 has quit [Ping timeout: 258 seconds]
nankyokusei has joined #ruby
<mrvisser>
Usually advice is to use rvm. I tried that way back when w/ my ansible install and had an equal amount of trouble getting the ruby environment right. I could give it another shot but I'm hoping I'm just missing something simple here.
jcao219_ has quit [Ping timeout: 260 seconds]
k13nox has joined #ruby
mlkkk has quit [Ping timeout: 256 seconds]
mlkkk has joined #ruby
jolamb has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
Andrew_TA has joined #ruby
tk__ has joined #ruby
znz_jp has quit [Remote host closed the connection]
Andrew_TA has quit [Ping timeout: 248 seconds]
<parsnip>
mrvisser: iiuc, it's either rvm, rubyenv, or chruby
jameser has joined #ruby
znz_jp has joined #ruby
eblip has joined #ruby
csk has joined #ruby
evie_hammond has quit [Ping timeout: 248 seconds]
eb0t has quit [Ping timeout: 245 seconds]
Kug3lis has joined #ruby
Derperperd has joined #ruby
ta has joined #ruby
saneax is now known as saneax-_-|AFK
ta has quit [Remote host closed the connection]
Derperperd has quit [Ping timeout: 240 seconds]
AndBobsYourUncle has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
stamina has joined #ruby
plantfood has quit [Quit: Leaving]
psychicist__ has quit [Ping timeout: 240 seconds]
c355e3b has joined #ruby
ta has joined #ruby
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
tonini has quit [Quit: Connection closed for inactivity]
josealobato has joined #ruby
jaruga___ has joined #ruby
dionysus69 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
StoneCypher has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Guest29944 is now known as ged
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlexRussia has quit [Read error: Connection reset by peer]
ged is now known as Guest44172
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
StoneCypher has quit [Ping timeout: 240 seconds]
eelster has joined #ruby
koldbrutality has quit [Ping timeout: 258 seconds]
GinoManWorks has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
csk has quit [Ping timeout: 258 seconds]
eelster_ has joined #ruby
eelster has quit [Ping timeout: 240 seconds]
eelster_ is now known as eelster
jeyraof has quit [Quit: This computer has gone to sleep]
jameser has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kug3lis has joined #ruby
marr has quit [Ping timeout: 240 seconds]
ziarkaen_ has joined #ruby
jenrzzz has joined #ruby
ziarkaen has quit [Ping timeout: 240 seconds]
anisha has quit [Quit: Leaving]
xen0fon has joined #ruby
neuraload has quit [Quit: This computer has gone to sleep]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
mrvisser has quit [Remote host closed the connection]
shinnya has joined #ruby
masondesu has joined #ruby
k13nox has quit [Quit: Leaving...]
Drakevr has quit [Changing host]
Drakevr has joined #ruby
tpendragon has quit [Ping timeout: 255 seconds]
Derperperd has joined #ruby
blackjid has quit [Ping timeout: 255 seconds]
ramfjord has joined #ruby
govg has joined #ruby
psychicist__ has joined #ruby
Derperperd has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
Lord_of_Life has quit [Excess Flood]
nicoulaj has joined #ruby
slackbotgz has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
Lord_of_Life has joined #ruby
emilkarl has joined #ruby
rkazak has joined #ruby
rkazak has quit [Client Quit]
csk has joined #ruby
Andrew_TA has joined #ruby
csk has quit [Client Quit]
AnxiousGarlic has joined #ruby
AnxiousGarlic_ has joined #ruby
andikr has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
anisha has joined #ruby
masondesu has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
Fuzai has joined #ruby
pawnbox has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 240 seconds]
StoneCypher has joined #ruby
mistergibson has quit [Ping timeout: 248 seconds]
StoneCypher has quit [Ping timeout: 260 seconds]
ResidentBiscuit has joined #ruby
jhack has joined #ruby
emilkarl has quit [Quit: emilkarl]
dionysus70 has joined #ruby
AnxiousGarlic_ has quit [Ping timeout: 256 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
dionysus70 is now known as dionysus69
jrsTS has joined #ruby
<jrsTS>
hi!
ResidentBiscuit has quit [Ping timeout: 255 seconds]
<mrvisser>
Hi all. When I run `GEM_HOME=~/.gems ~/.gems/bin/bundle install` I get: Your Ruby version is 2.1.9, but your Gemfile specified 2.3.1 . The ruby version needed in my Gemfile is indeed 2.3.1. However when I do ruby -v I get "ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux-gnu]". I'm ubuntu, installed ruby with apt and I used update-alternatives to make ruby2.3 the global default. Any idea why I would be getting this?
bmurt has joined #ruby
<eelster>
mrvisser: Are you using rbenv or rvm?
<mrvisser>
I am not, just the version installed by ubuntu
<mrvisser>
neither of those are installed
<eelster>
What does gem environment show?
mark[oz] has joined #ruby
<eelster>
Or more specifically `gem environment | grep "RUBY VERSION"`
henriknj has joined #ruby
<eelster>
mrvisser: Because sometimes the ruby version is different from the ruby version that the gem uses
hutch34 has joined #ruby
<mrvisser>
Interesting, I'll take a peek. Sorry I'm iterating using a AMI buuilder and I'm in the middle of another build. Will get that info shortly, thanks for the tip
slackbotgz has quit [Remote host closed the connection]
brent__ has quit [Ping timeout: 248 seconds]
<eelster>
No worries.
mlkkk has quit [Remote host closed the connection]
ziarkaen has quit [Ping timeout: 240 seconds]
mlkkk has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
mark[oz] has quit [Ping timeout: 240 seconds]
saslam has joined #ruby
ocbtec has joined #ruby
hahuang65 has joined #ruby
shinnya has quit [Ping timeout: 255 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
<mrvisser>
thanks. just updating alternatives fixes RUBY VERSION to be 2.3.3 in the gem environment. However I still get the same error. I'll give that link a look
jenrzzz has quit [Ping timeout: 252 seconds]
cdg has joined #ruby
ziarkaen has quit [Ping timeout: 256 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
jhack has quit [Quit: jhack]
jhack has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
ziarkaen has joined #ruby
doublemalt_ has quit [Ping timeout: 240 seconds]
milardovich has quit [Remote host closed the connection]
baweaver has quit [Max SendQ exceeded]
baweaver has joined #ruby
milardovich has joined #ruby
malconis has joined #ruby
iogf has joined #ruby
doublemalt_ has joined #ruby
dionysus69 has quit [Remote host closed the connection]
Derperperd has joined #ruby
malconis has quit [Ping timeout: 260 seconds]
saslam has quit [Ping timeout: 255 seconds]
milardovich has quit [Ping timeout: 256 seconds]
jhack has quit [Quit: jhack]
hogetaro has quit [Quit: Leaving...]
jhack has joined #ruby
aupadhye has quit [Ping timeout: 256 seconds]
ziarkaen has quit [Ping timeout: 248 seconds]
malconis has joined #ruby
ifctj has joined #ruby
Ishido has quit [Ping timeout: 240 seconds]
Derperperd has quit [Ping timeout: 256 seconds]
lmc has joined #ruby
ziarkaen has joined #ruby
prestorium has joined #ruby
adbjesus has joined #ruby
moei has quit [Quit: Leaving...]
bigkevmcd has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sebastiansier has joined #ruby
govg has quit [Quit: leaving]
AndBobsYourUncle has joined #ruby
ziarkaen has quit [Ping timeout: 260 seconds]
emilkarl has joined #ruby
<mrvisser>
eelster: I realized the remaining error I had was because bundler was installed while it was still ruby 2.1. All resolved, thanks for the help!
<karhu>
this is the most beautiful thing I have ever seen
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
psychicist__ has quit [Ping timeout: 245 seconds]
pawnbox has joined #ruby
makerops has joined #ruby
mark[oz] has joined #ruby
<makerops>
When running bundle install/update, and gems need to build, I am receiving: "Device or resource busy @ unlink_internal"
<makerops>
has anyone run into that? Google, is being of little use
<makerops>
my home directory is an NFS share...is it possibly related to some weird permissions error (Im using rvm, with my .rvm/.bundle directories in my home dir
yehowyada has joined #ruby
wugy has quit []
synaps3 has quit [Quit: Leaving]
frozengeek__ has quit [Quit: frozengeek__]
blaxter has quit [Quit: foo]
mark_66 has quit [Remote host closed the connection]
ta has joined #ruby
csk157 has quit [Ping timeout: 240 seconds]
mark[oz] has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
enyo has quit [Ping timeout: 240 seconds]
Derperperd has joined #ruby
milardovich has quit [Ping timeout: 256 seconds]
hahuang65 has joined #ruby
brent__ has joined #ruby
teclator has joined #ruby
hahuang65 has quit [Ping timeout: 255 seconds]
hogetaro has joined #ruby
<eelster>
Is there a way to document executables using yardoc for gems or is that not requested or wanted.
<cgibsonmm>
good morning, I have a question about rubocop. I am trying to compare strings say (word = 'harry)'... and using code like (number +=1 if word.downcase == 'harry')
ged is now known as Guest97146
nankyokusei has quit [Ping timeout: 240 seconds]
jhack has joined #ruby
<eelster>
cgibsonmm: Are you iterating over an array?
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cgibsonmm>
rubocop is say to use casecmp for case insinsitive comparison but I am having trouble because casecmp does not return a boolean
unshadow has joined #ruby
<cgibsonmm>
@eelster yes
<eelster>
cgibsonmm: On another point then, you are better off using `count` than doing `number += 1`
<cgibsonmm>
true
<eelster>
You can do something like `ary.count{|i| i.casecmp('harry').zero?}`
<eelster>
Would that work?
<cgibsonmm>
Yeah that works perfect
<eelster>
Awesome!
Roa has quit [Changing host]
Roa has joined #ruby
<cgibsonmm>
so call .zero? got it
<cgibsonmm>
Thank you,
vali_ has joined #ruby
<eelster>
Yep. `zero?` checks if something is zero. You could also do `== 0`, but `zero?` looks nicer IMO
<cgibsonmm>
yeah,I always forget about the comparison operators. Thx
aufi has quit [Quit: Leaving]
imperator has joined #ruby
mrvisser has quit [Remote host closed the connection]
shayan_ has quit [Quit: shayan_]
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
Derperperd has quit [Max SendQ exceeded]
Derperperd has joined #ruby
shayan_ has joined #ruby
milardovich has joined #ruby
ramfjord has joined #ruby
mustmodify has joined #ruby
LuckyABA has joined #ruby
tvw has quit [Ping timeout: 258 seconds]
StoneCypher has joined #ruby
thoolihan has quit [Quit: ZNC 1.6.3 - http://znc.in]
Mortomes|Work has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 248 seconds]
tvw has joined #ruby
AndBobsYourUncle has joined #ruby
Emmanuel_Chanel has joined #ruby
aganov has quit [Remote host closed the connection]
ziarkaen has quit [Ping timeout: 256 seconds]
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
teclator has quit [Ping timeout: 252 seconds]
ziarkaen has joined #ruby
teclator has joined #ruby
tolerablyjake has joined #ruby
Kug3lis has joined #ruby
mlkkk has quit [Remote host closed the connection]
username_ has joined #ruby
[Butch] has joined #ruby
hotpancakes has quit [Remote host closed the connection]
binaryplease has joined #ruby
binaryplease has quit [Client Quit]
masondesu has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
minimalism has quit [Quit: minimalism]
lenwood has joined #ruby
hotpancakes has joined #ruby
Dry_Lips has joined #ruby
aufi has joined #ruby
shayan_ has quit [Quit: shayan_]
ramfjord has quit [Ping timeout: 240 seconds]
hotpancakes has quit [Ping timeout: 258 seconds]
nowhere_man has joined #ruby
armyriad has quit [Ping timeout: 256 seconds]
armyriad has joined #ruby
hotpancakes has joined #ruby
lmc has quit [Remote host closed the connection]
hotpancakes has quit [Remote host closed the connection]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpancakes has joined #ruby
amclain has joined #ruby
StoneCyp1er has joined #ruby
teclator has quit [Quit: No Ping reply in 180 seconds.]
lmc has joined #ruby
lmc has quit [Remote host closed the connection]
lmc has joined #ruby
teclator has joined #ruby
StoneCypher has quit [Ping timeout: 240 seconds]
chussenot has joined #ruby
markholmes has joined #ruby
blackwind_123 has joined #ruby
milardovich has joined #ruby
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hightower2 has joined #ruby
Guest22896 has quit [Ping timeout: 245 seconds]
jsrn_ has quit [Quit: Leaving]
teclator has quit [Ping timeout: 240 seconds]
milardovich has quit [Ping timeout: 240 seconds]
rodferso1 has joined #ruby
gusrub_ has joined #ruby
teclator has joined #ruby
gusrub_ has quit [Client Quit]
skweek has joined #ruby
foption has quit [Remote host closed the connection]
rodfersou has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
djbkd has joined #ruby
chussenot has quit [Quit: chussenot]
shayan_ has joined #ruby
teclator has quit [Ping timeout: 245 seconds]
ferr1 has quit [Quit: WeeChat 1.6]
vayan has quit [Ping timeout: 240 seconds]
lmc has quit [Remote host closed the connection]
tomphp_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cgibsonmm has quit []
lmc has joined #ruby
ramfjord has joined #ruby
aufi has quit [Quit: Leaving]
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
rodferso1 is now known as rodfersou
vali_ has joined #ruby
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Ping timeout: 252 seconds]
lmc has quit [Ping timeout: 240 seconds]
<StoneCyp1er>
is it against the general ruby approach to have a single positional argument then a bunch of named arguments?
<StoneCyp1er>
by example a logger, so that the actual log line is required, and then all the optional stuff becomes optional
StoneCyp1er is now known as StoneCypher
Kug3lis has joined #ruby
bmurt has joined #ruby
<mustmodify>
no
<mustmodify>
it is not
<mustmodify>
or
<mustmodify>
wait
<mustmodify>
sorry, read your question wrong.
<mustmodify>
That's ok.
<mustmodify>
It's done often.
<StoneCypher>
ok thanks
makerops has quit [Quit: Page closed]
<StoneCypher>
so a notation like this isn't novice garbage?
<mustmodify>
typically it's a hash afterwards to avoid interface bloat.
<mustmodify>
though a list of non-hash params is perfectly fine if you're pretty sure of your interface and the order is intuitive.
<StoneCypher>
i'm certain of the interface, and the whole reason i'm using keyword arguments is to get away from needing to know the order
teclator has joined #ruby
evie_hammond has joined #ruby
<mustmodify>
Well, I don't personally use keyword arguments, preferring hashes. But it's certainly an option.
<StoneCypher>
also, caller[0] tells me the running app, line number, and function of the caller
<StoneCypher>
what if i want __FILE__ for the caller?
Guest97146 is now known as ged
doritostains has joined #ruby
ged is now known as Guest48320
skweek has quit [Ping timeout: 260 seconds]
<sheepman>
anyone have lots of experience with nokogiri? I want to expand this regexp html.css('div[id^="ip_selection"]') to say html.css('div[id^="ip_selection\d+"]') but i can't seem to get the syntax right :/
mustmodify has left #ruby [#ruby]
duderonomy has quit [Ping timeout: 240 seconds]
Derperperd has quit [Ping timeout: 240 seconds]
jhack has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
chrisarcand has quit [Remote host closed the connection]
Andrew_TA has quit [Remote host closed the connection]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shayan_ has quit [Quit: shayan_]
hahuang65 has joined #ruby
chouhoulis has joined #ruby
csk has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
DLSteve has joined #ruby
shayan_ has joined #ruby
AndBobsYourUncle has joined #ruby
shayan_ has quit [Client Quit]
ziarkaen has quit [Ping timeout: 256 seconds]
<StoneCypher>
do ... class members not carry across threads?
<StoneCypher>
locals do. wth
<eelster>
StoneCypher: Example?
jhack has joined #ruby
csk has quit [Ping timeout: 240 seconds]
<blackbom2>
what are 'class members'
<blackbom2>
in the context of ruby
dviola has joined #ruby
saneax is now known as saneax-_-|AFK
conta has joined #ruby
csk has joined #ruby
dviola has quit [Changing host]
dviola has joined #ruby
aremaref has joined #ruby
<eelster>
Yeah, I don't know what you're saying. I don't see a differecne in beavhior between attributes and locals
toretore has joined #ruby
cschneid has joined #ruby
<StoneCypher>
i had a setup where i had a self.def whatever which kept a local as a counter, then spawned 20 threads and worked with the counter. behaved as i expected, including the mild race condition
tinti has joined #ruby
<StoneCypher>
so i moved to a @@classmember variable, and now every single thread is initting it, as if they can't see that it's not nil anymore in the others
tinti is now known as Guest2210
<StoneCypher>
the locals are still behaving as expected
<StoneCypher>
it isn't clear to me why @@rkf_firehose keeps getting re-initialized, as if nothing can see that it's not nil anymore. serial calls from a single thread do not exhibit this problem, as don't calls into caps, a local
<eelster>
I'm not eaxactly sure what your code is doing. Why do you have begin inside of your thread?
shayan_ has joined #ruby
<blackbom2>
StoneCypher: you don't try to access the class variable in the method that spawns threads, and you don't call the method that initializes the class variable.
csk has quit [Max SendQ exceeded]
<StoneCypher>
eelster: because i don't know ruby
shayan_ has quit [Client Quit]
<blackbom2>
the code you pasted doesn't reproduce the problem you've been describing.
<StoneCypher>
it does.
alexherbo2 has joined #ruby
<StoneCypher>
oh, i removed one more method than i had meant to
<StoneCypher>
moment, fixing
<eelster>
StoneCypher: Can you also next time please use .rb as a file extension when you paste to gist. The highlighting helps a lot
howdoi has quit [Quit: Connection closed for inactivity]
TechIsCool has joined #ruby
<StoneCypher>
updated with missing method readded and highlighting set
<StoneCypher>
sorry
tvw has quit []
<TechIsCool>
Hey everyone I am stuck on something I assume is a simple problem but I can't seem to figure out what I am doing wrong https://repl.it/FG6n I would love a little help
tvw has joined #ruby
<eelster>
TechIsCool: What are you trying to get as your output
tercenya has quit [Remote host closed the connection]
<TechIsCool>
I can't change lines 7-13
enterprisey has joined #ruby
<TechIsCool>
I can only change the input method of data
pilne has joined #ruby
<TechIsCool>
it should be a list of ip addresses comma seperated
tercenya has joined #ruby
<eelster>
TechIsCool: Well first you are trying to use indescriminate access which is not the way that hashes work.
<blackbom2>
StoneCypher: it looks like you are going into infinite recursion.
<eelster>
Because `lnode['fqdn']` is specified then the keys for `value` must be strings not symbols.
<StoneCypher>
blackbom2: ... no, i am not.
<blackbom2>
StoneCypher: track calls rkf_log_raw, which calls track.
lmc has joined #ruby
<StoneCypher>
no
<TechIsCool>
eelster: my guess then is that chef attributes are doing something funky
Derperperd has joined #ruby
<TechIsCool>
alright I will just give it a try the way it was written
<StoneCypher>
track calls rkf_log_raw, which only calls track if the class variable has not yet been set, after setting it
<StoneCypher>
it does not infinitely recurse.
harai has joined #ruby
<eelster>
TechIsCool: Fires you want to fix `:fqdn` to `'fqdn'`.
<StoneCypher>
it's just that setting up the firehose is a trackable event.
<blackbom2>
StoneCypher: i'm a little confused, so then it sounds like the class variable is initialized properly. what happens in the threads?
csk has joined #ruby
<blackbom2>
StoneCypher: class variables are not thread local btw, @@rkf_firehose is shared state and shared by all threads you spawn, so whatever you are observing is not what you think it is.
vali_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
hahuang65 has quit [Ping timeout: 258 seconds]
theRoUS has joined #ruby
hotpancakes has quit [Remote host closed the connection]
Derperperd has quit [Ping timeout: 240 seconds]
negatifze has joined #ruby
duderonomy has joined #ruby
<StoneCypher>
the threads just call the same method that's doing the initting in the first place
<StoneCypher>
i attached a log so that you can see that yes, in fact, it is doing exactly what i think it is
Kug3lis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<StoneCypher>
it is re-entering the init phase
<StoneCypher>
which is not correct, as the local has already been updated
<StoneCypher>
and it's almost certainly not a race condition, as every single thread gets an init
<StoneCypher>
whereas were it a race condition it'd be likely max a half dozen or so, since this machine only has two cores with two hyperthreads each
milardovich has joined #ruby
Kug3lis has joined #ruby
Kug3lis has quit [Client Quit]
<StoneCypher>
oh what the hell, it is a race condition
<StoneCypher>
... i need to learn ruby mutexes, don't i :(
JeanCarloMachado has quit [Quit: Lost terminal]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
<StoneCypher>
does ruby implement its own threading system, or something
<StoneCypher>
i would have expected those to come from the operating system
flashbang has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
TomyWork has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
<blackbom2>
i would try to avoid the mutex if it is possible, couldn't you have a client per thread instead?
eelster has quit [Ping timeout: 245 seconds]
jrafanie has joined #ruby
ziarkaen has joined #ruby
chussenot has joined #ruby
nofxx has joined #ruby
<blackbom2>
ruby 1.9+ uses OS threads.
<blackbom2>
they usually don't run in parallel though.
synaps3 has joined #ruby
lenwood has quit [Ping timeout: 252 seconds]
solocshaw has joined #ruby
<blackbom2>
my suggestion is to create a client per thread instead. if you can avoid locks/mutex you'll probably get better performance.
nankyokusei has quit [Ping timeout: 258 seconds]
<blackbom2>
if you need a lock, the API is really easy: m = Mutex.new; m.synchronize { track(...) }
z4j5 has joined #ruby
bmurt has joined #ruby
eelster has joined #ruby
ziarkaen has quit [Ping timeout: 252 seconds]
flashbang has quit [Ping timeout: 252 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
renchan has quit [Quit: Leaving...]
ur5us has joined #ruby
milardovich has joined #ruby
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
<workmad3>
if you're considering a client per thread, I normally recommend using connection_pool to get access
<workmad3>
especially if there's a chance that you may reach connection or resource limits and need to scale the number of clients separately to the number of threads
<workmad3>
(because that's a PITA to go back and sort out retroactively)
csk has quit [Ping timeout: 240 seconds]
csk has joined #ruby
jhack has quit [Quit: jhack]
Guest48320 is now known as ged
A124 has quit [Read error: No route to host]
ged is now known as Guest16574
mark[oz] has joined #ruby
A124 has joined #ruby
jhack has joined #ruby
ur5us has quit [Remote host closed the connection]
mark[oz] has quit [Ping timeout: 240 seconds]
xen0fon has joined #ruby
TreyG has joined #ruby
skweek has quit [Ping timeout: 252 seconds]
ledestin has joined #ruby
enilsen16 has joined #ruby
hotpancakes has joined #ruby
mholmes has joined #ruby
jcao219_ has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
TomyLobo has joined #ruby
iogf has joined #ruby
pitayita has quit [Ping timeout: 240 seconds]
markholmes has quit [Ping timeout: 240 seconds]
enilsen16 has quit [Client Quit]
chrisja has joined #ruby
jhack has quit [Quit: jhack]
jhack has joined #ruby
chussenot has quit [Quit: chussenot]
chussenot has joined #ruby
last_staff has joined #ruby
Andrew_TA has joined #ruby
shayan_ has joined #ruby
frozengeek__ has joined #ruby
enilsen16 has joined #ruby
anjen has joined #ruby
cdg_ has quit [Ping timeout: 240 seconds]
jshjsh has quit [Quit: Leaving]
shayan_ has quit [Quit: shayan_]
GeorgeTorwell has joined #ruby
<GeorgeTorwell>
I hate niggers
doritostains has quit [Quit: doritostains]
solocshaw has quit [Ping timeout: 255 seconds]
<GeorgeTorwell>
and Muslims
skweek has joined #ruby
<GeorgeTorwell>
and white people
Guest2210 has quit [Remote host closed the connection]
tercenya has quit [Remote host closed the connection]
<FManTropyx>
hi
tercenya has joined #ruby
Jackneill_ has joined #ruby
<havenwood>
FManTropyx: hi
adbjesus has quit [Quit: adbjesus]
<eelster>
How much should I worry about rubocop's cyclomatic complexity?
mholmes has quit [Ping timeout: 240 seconds]
<StoneCypher>
approx 0
<eelster>
What?
<StoneCypher>
cyclomatic complexity only matters for code that is your responsibility, and then only if you believe that it drives defect rate, about which studies are badly divided
<eelster>
I meant rubocop's cyclomatic complexity feature.
<StoneCypher>
oh
<StoneCypher>
i misunderstood. sorry
<eelster>
That's fine.
<eelster>
I understand your reaction haha.
nadir has quit [Quit: Connection closed for inactivity]
<StoneCypher>
cyclomatic complexity is an 80s approach to statistically evaluating code
<StoneCypher>
it has problems
<StoneCypher>
there are replacements, like function points, that do a similar job more effectively
jhack has quit [Ping timeout: 245 seconds]
<StoneCypher>
you often see people making undesirable changes to code to see the cyclomatics go down
<StoneCypher>
however
<StoneCypher>
as a diagnosis tool for an existing codebase, it is an effective way to quickly locate problem code
<StoneCypher>
short version is "it's sort of useful, but don't get religious about it"
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<havenwood>
mayssane: There are various options. You might want to ask in the #RubyOnRails channel since it's their helpers and best practices at stake.
<mayssane>
ah oki. Thx @havenwood
rodfersou has quit [Quit: leaving]
ldnunes has quit [Quit: Leaving]
SeepingN has joined #ruby
__Yiota has joined #ruby
lmc has quit [Remote host closed the connection]
cgibsonmm has joined #ruby
lmc has joined #ruby
<cgibsonmm>
Where can I read about the $: var for ruby dirs
pawnbox has quit [Ping timeout: 248 seconds]
<havenwood>
cgibsonmm: You might have better luck searching for the alternate name, $LOAD_PATH
x00r__ has quit [Read error: Connection reset by peer]
centrx has joined #ruby
jtd has joined #ruby
vali_ has joined #ruby
<cgibsonmm>
Thank you!
doritostains has joined #ruby
saslam has quit [Ping timeout: 252 seconds]
muelleme has joined #ruby
mark[oz] has joined #ruby
nankyokusei has joined #ruby
ziarkaen has joined #ruby
anjen has quit [Quit: anjen]
Ax has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
vdl has quit [Ping timeout: 240 seconds]
blackbombay has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Xeago has quit [Ping timeout: 245 seconds]
jhack has quit [Ping timeout: 240 seconds]
ziarkaen has quit [Ping timeout: 255 seconds]
platzhirsch has joined #ruby
enilsen16 has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mark[oz] has quit [Remote host closed the connection]
blackbom2 has quit [Ping timeout: 240 seconds]
jhack has joined #ruby
gusrub_ has joined #ruby
blackbombay has quit [Ping timeout: 245 seconds]
Ax has quit [Ping timeout: 245 seconds]
blackbom1 has joined #ruby
imperator has quit [Quit: Leaving]
hits1911 has joined #ruby
nettoweb has joined #ruby
Xiti has quit [Quit: Xiti]
djbkd has quit [Remote host closed the connection]
ocbtec has quit [Quit: leaving]
djbkd has joined #ruby
ur5us has joined #ruby
Lord_of_Life has quit [Excess Flood]
zenguy_pc has quit [Ping timeout: 240 seconds]
mayssane has quit [Quit: Page closed]
<baweaver>
*gasps* I've been outed!
zenguy_pc has joined #ruby
mello has quit [Quit: Lost terminal]
Lord_of_Life has joined #ruby
siddart has quit [Ping timeout: 240 seconds]
djbkd has quit [Ping timeout: 245 seconds]
Xiti has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
neanderslob has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raul782 has quit [Remote host closed the connection]
<eelster>
I had to think for a second. I love that place.
<Radar>
Kinda like how there's big dogs and small dogs; there's big and small koalas too. We call the big ones dropbears because they drop out of trees onto unsuspecting victims.
<Radar>
The scariest thing you can ever here is a dropbear falling through the canopy
<eelster>
I do think it's funny that Australia feels the need to talk about dropbears when there's already dingos.
<Radar>
dingos are alright
<Radar>
tasmanian devils are what you have to look out for tho
<apeiros>
"what you gonna do about it?" - "I know a guy…"
doublemalt_ has quit [Ping timeout: 245 seconds]
<eelster>
Just don't go to Tasmania and you'll be alright.
maddmaxx has quit [Ping timeout: 258 seconds]
<Radar>
apeiros: "Nice join you've got there. Would be a shame if something were to happen to it."
doublemalt_ has joined #ruby
<apeiros>
^^
siddart has joined #ruby
<eelster>
As one of my close friends (who's Australian) likes to say, it varies day to day whether or not Tasmania is a state.
jcao219_ has quit [Ping timeout: 240 seconds]
edwinvdg_ has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
mark[oz] has quit [Remote host closed the connection]
vdl has joined #ruby
dn` has joined #ruby
tyang has quit [Ping timeout: 255 seconds]
mark[oz] has joined #ruby
mark[oz] has quit [Remote host closed the connection]
<eelster>
PONG
mark[oz] has joined #ruby
<eelster>
PONG
<eelster>
PONG
<centrx>
you've won!
<eelster>
centrx: Hm?
<eelster>
PONG
<centrx>
you're ponging us
<eelster>
centrx: Oh my. One sec
<eelster>
Lemme reset my client.
eelster has quit [Quit: WeeChat 1.6]
eelster has joined #ruby
<eelster>
It should be fixed now
<elomatreb>
Why would you want your client to do that?
<eelster>
elomatreb: I didn't
strigonLeader has joined #ruby
platzhirsch has quit [Ping timeout: 240 seconds]
unshadow has quit [Quit: leaving]
<eelster>
I tried to program my own client, but it's not working too well I guess.
<eelster>
I'm back on a normal clien.t
<eelster>
It must have been responding in a channel instead of responding to pings privately (or maybe in addition to?)
ziarkaen has joined #ruby
spectrum has quit [Read error: Connection reset by peer]
LuckyABA has joined #ruby
whathappens has joined #ruby
kch has quit [Ping timeout: 252 seconds]
ziarkaen has quit [Ping timeout: 255 seconds]
edwinvdgraaf has joined #ruby
jcao219_ has joined #ruby
mark[oz] has quit [Remote host closed the connection]
failshell has quit []
Gasher has joined #ruby
slackbotgz has joined #ruby
enilsen16 has quit [Quit: enilsen16]
muelleme has quit [Ping timeout: 240 seconds]
queuetip has joined #ruby
skweek has quit [Ping timeout: 245 seconds]
<queuetip>
{"test":null} is valid json object, so why doesnt {"test":null}.each work? i get error saying "undefined local variable or method `null' for main:Object (NameError)"
<elomatreb>
Because Ruby isn't Javascript?
<queuetip>
{"test":nil}.each does work though, and i never said it was javascript?
Jamiep_ has joined #ruby
<blackbom1>
null doesn't exist in ruby.
<queuetip>
that i did not know! :)
<elomatreb>
module Kernel; def null; nil; end; end
Jamiep_ has left #ruby [#ruby]
Xiti has joined #ruby
<queuetip>
elomatreb: that's awesome. thank you
crst has joined #ruby
<elomatreb>
I'd advise against using that in actual code
<elomatreb>
I just wanted to show how similar nil is to null, it's just a different name
<baweaver>
too late, it's in production
<baweaver>
all seriousness though, don't joke about monkeypatching to newbies, they tend to take it at face level and use it
JeanCarloMachado has joined #ruby
siddart_ has joined #ruby
hits1911 has left #ruby ["ERC Version 5.2 (IRC client for Emacs)"]
biberu has quit []
skweek has joined #ruby
saslam has joined #ruby
siddart has quit [Ping timeout: 245 seconds]
<crst>
Hi, I'm using rbenv and when shims is at the first path position it's causing huge trouble on linux. Anybody noticed that?
eelster has quit [Ping timeout: 245 seconds]
<havenwood>
crst: Just curious but what problems is it causing?
BTRE has quit [Quit: Leaving]
raul782 has joined #ruby
siddart_ has quit [Ping timeout: 240 seconds]
gusrub_ is now known as gusrub
<crst>
havenwood: when I install/update things it fails, i.e. linuxbrew, not finding libs etc.
BTRE has joined #ruby
<havenwood>
crst: Are you maybe overwriting PATH rather than prepending to it?
JeanCarloMachado has quit [Remote host closed the connection]
<havenwood>
crst: Paste us your PATH?: echo $PATH
jhooker has quit [Read error: Connection reset by peer]
blackmes1 has joined #ruby
jhooker has joined #ruby
JeanCarloMachado has joined #ruby
<crst>
havenwood: for rbenv I use this: eval "$(thefuck --alias)" That put's it on the uppermost hierarchy to get global and local ruby versions, but the gems come first, too which is not good imo
Miron has quit [Ping timeout: 240 seconds]
Devalo has joined #ruby
csk has quit [Read error: Connection reset by peer]
<wrkrcoop>
it seems like a mixin is a module but this website says “A Mixin is basically just a Module that is included into a Class.” is a module a mixin?
<ruby[bot]>
crst: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<dminuoso>
wrkrcoop, not necessarily
<dminuoso>
wrkrcoop, a mixin is a mixin by function.
nettoweb has quit [Ping timeout: 255 seconds]
<dminuoso>
wrkrcoop, a module is a ruby construct.
<havenwood>
crst: Is your PATH not colon-delimited?
<havenwood>
crst: Or is that just already split into lines?
djbkd has joined #ruby
<dminuoso>
wrkrcoop, modules can also be used for namespacing things (look at Math for example)
<crst>
havenwood: echo -e ${PATH//:/\\n}
<havenwood>
crst: It should be like: "/home/crst/.linuxbrew/var/rbenv/shims:/home/crst/.linuxbrew/bin:..."
Devalo has quit [Ping timeout: 240 seconds]
<wrkrcoop>
dminuoso: hmm thanks
Xavaier has joined #ruby
<havenwood>
crst: gotcha
<dminuoso>
wrkrcoop, the description you found is 100% accurate :)
<crst>
havenwood: tell me, please
<havenwood>
crst: You can append rbenv's shims to your path instead of prepending them.
tomphp has joined #ruby
<havenwood>
crst: Or put it in the middle, whatever you prefer.
<crst>
havenwood: when it's not on top rbenv is practically useless, unfortunately
cgibsonmm has quit [Remote host closed the connection]
bmurt has joined #ruby
<havenwood>
crst: So you want it in the front of the path to be used but not in the front of the path to be detected for autosuggestions?
<havenwood>
crst: How about putting the gems in the back of the path and ruby in the front?
<crst>
havenwood: only the actual ruby exectuable should be on top, all other bins installed with gem install should not be in that position imo. How can you split that?
<havenwood>
crst: I know how to do it with chruby but I'm not sure with rbenv, hmm
hahuang65 has quit [Ping timeout: 240 seconds]
<havenwood>
crst: are the ruby and gem binaries at .rbenv/bin/{ruby,gem}?
* dminuoso
likes how not a single day goes by that at least 3 people come requiring help to fix strange or complex rbenv or rvm issues
eelster has joined #ruby
jcao219_ has quit [Ping timeout: 240 seconds]
blackmes1 has quit [Ping timeout: 240 seconds]
lmc has quit [Quit: Leaving...]
slackbotgz has quit [Remote host closed the connection]
Guest27608 is now known as ged
<crst>
dminuoso: lol, is that so? havenwood: it's like .rbenv/versions/{2.3.1|2.4.0|...} but in shims are all binaries of the chosen ruby version. Is chruby better than rbenv? I could switch if there's something better.
ged is now known as Guest46348
xen0fon has quit [Quit: xen0fon]
skweek has quit [Ping timeout: 258 seconds]
<crst>
on osx it works fine, but on linux not...
<havenwood>
crst: chruby is about the simplest thing that can possibly work
<havenwood>
crst: it's a great option if you're using bash or zsh
<dminuoso>
crst, I'm not here to judge. but my observation about rbenv/rvm is likely very correct.
negatifze has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dminuoso>
crst, the only thing I wouldn't use ruby-install/chruby for is deployment, but we are in the process of dockerizing our applications. :)
marr has joined #ruby
ineb has joined #ruby
ramfjord has joined #ruby
saslam has quit [Ping timeout: 258 seconds]
<crst>
dminuoso: deployment, uh... I need it for deployment... nevermind guys I just manually remove/re-add the path when trouble occures... I don't like to waste your time
nankyokusei has joined #ruby
_joes___ has joined #ruby
Andrew_TA has quit [Remote host closed the connection]
eelster_ has joined #ruby
skweek has joined #ruby
synaps3 has quit [Remote host closed the connection]
crst__ has joined #ruby
username_ has quit [Read error: Connection reset by peer]
eelster has quit [Ping timeout: 240 seconds]
<crst__>
I'm sorry my connection is bad... Maybe I'm better off with installing parallel versions of ruby via sclo's on centos
eelster_ is now known as eelster
nankyokusei has quit [Ping timeout: 260 seconds]
_joes___ has quit [Client Quit]
crst has quit [Ping timeout: 240 seconds]
username has joined #ruby
solocshaw has quit [Ping timeout: 248 seconds]
Miron has quit [Ping timeout: 240 seconds]
_joes___ has joined #ruby
ziarkaen has joined #ruby
Miron has joined #ruby
malconis has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby
skweeke has joined #ruby
skweek has quit [Read error: Connection reset by peer]
chouhoulis has quit [Remote host closed the connection]
jhack has joined #ruby
markholmes has joined #ruby
polishdub has quit [Quit: Leaving]
ziarkaen has quit [Ping timeout: 240 seconds]
sepp2k has quit [Read error: Connection reset by peer]
Jackneill_ has quit [Remote host closed the connection]
dcunit3d has quit [Ping timeout: 248 seconds]
foxxx0 is now known as _travis
_travis is now known as foxxx0
foxxx0 is now known as _travis
_travis is now known as travis__
travis__ is now known as foxxx0
lmc has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
centrx has quit []
edwinvdgraaf has quit [Remote host closed the connection]
dn` has quit [Quit: dn`]
wrkrcoop has left #ruby [#ruby]
enilsen16 has joined #ruby
henriknj has quit [Ping timeout: 255 seconds]
ddffg has quit [Ping timeout: 240 seconds]
spacheco has joined #ruby
saslam has joined #ruby
Fernando-Basso has quit [Quit: WeeChat 1.6]
cgibsonmm has joined #ruby
AndBobsYourUncle has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
<crst__>
hey guys, I fixed it by symlinking shims/ruby to ~/bin putting ~/bin on top and shims in middle and not using eval. thanks!
aryaching has joined #ruby
AndBobsYourUncle has quit [Remote host closed the connection]
AndBobsYourUncle has joined #ruby
spacheco has quit [Remote host closed the connection]
cgibsonmm has quit [Ping timeout: 240 seconds]
saslam has quit [Ping timeout: 255 seconds]
spacheco has joined #ruby
spacheco has quit [Read error: Connection reset by peer]
spacheco has joined #ruby
futilegames has quit [Ping timeout: 255 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TomyLobo has quit [Ping timeout: 252 seconds]
frozengeek__ has quit [Quit: frozengeek__]
bmurt has joined #ruby
CloCkWeRX has joined #ruby
enilsen16 has quit [Quit: enilsen16]
AndBobsYourUncle has quit [Remote host closed the connection]
enilsen16 has joined #ruby
enilsen16 has quit [Client Quit]
frozengeek__ has joined #ruby
_geoff has quit [Ping timeout: 240 seconds]
doritostains has quit [Quit: doritostains]
saneax-_-|AFK is now known as saneax
jordanm has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mark[oz] has joined #ruby
dcunit3d has joined #ruby
pawnbox has joined #ruby
eelster has quit [Ping timeout: 248 seconds]
mark[oz] has quit [Ping timeout: 240 seconds]
arescorpio has joined #ruby
moted has joined #ruby
pawnbox has quit [Ping timeout: 255 seconds]
Guest46348 is now known as ged
xen0fon has joined #ruby
xen0fon has quit [Client Quit]
ged is now known as Guest68735
doritostains has joined #ruby
shayan_ has joined #ruby
agent_white has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<agent_white>
Evenin' folks
doublemalt_ has quit [Ping timeout: 256 seconds]
dhollinger has quit [Ping timeout: 240 seconds]
Immune has joined #ruby
ziarkaen has joined #ruby
eelster has joined #ruby
AndBobsYourUncle has joined #ruby
Gasher has quit [Quit: Leaving]
hahuang61 has joined #ruby
enilsen16 has joined #ruby
lmc has quit [Remote host closed the connection]
ziarkaen has quit [Ping timeout: 248 seconds]
eelster_ has joined #ruby
eelster has quit [Ping timeout: 240 seconds]
shinnya has joined #ruby
gloscombe has quit [Quit: gloscombe]
harai has quit [Ping timeout: 258 seconds]
blackmes1 has joined #ruby
cgibsonmm has joined #ruby
JeanCarloMachado has quit [Ping timeout: 245 seconds]
rkazak has joined #ruby
JeanCarloMachado has joined #ruby
darix has quit [Read error: Connection reset by peer]
rkazak has quit [Client Quit]
darix has joined #ruby
gusrub has quit [Remote host closed the connection]