Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n0m4d1c has joined #ruby
<hahuang65_>
Radar: appreciate the link buddy
roca has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
phenom has quit [Ping timeout: 246 seconds]
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phenom has joined #ruby
erlend has quit [Ping timeout: 246 seconds]
roca has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erlend has joined #ruby
postmodern has joined #ruby
imode has quit [Ping timeout: 260 seconds]
tfitts has quit [Quit: Connection closed for inactivity]
jottr has joined #ruby
duckpuppy has joined #ruby
Creatornator has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
duckpuppy has quit [Ping timeout: 256 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
jottr has joined #ruby
jamesaxl has joined #ruby
Yzguy has joined #ruby
trautwein has quit [Quit: ZNC 1.6.6 - http://znc.in]
trautwein has joined #ruby
Yzguy has quit [Client Quit]
kapil___ has quit [Quit: Connection closed for inactivity]
robscomputer has joined #ruby
conta has joined #ruby
imode has joined #ruby
Yzguy has joined #ruby
roca has quit [Quit: roca]
conta has quit [Client Quit]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 256 seconds]
imode has quit [Ping timeout: 246 seconds]
conta has joined #ruby
conta has quit [Client Quit]
conta has joined #ruby
conta has quit [Client Quit]
conta has joined #ruby
alfiemax has quit [Remote host closed the connection]
gix has joined #ruby
gix- has quit [Ping timeout: 256 seconds]
stairmast0r has quit [Quit: bye]
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
conta has quit [Ping timeout: 264 seconds]
DTZUZO has joined #ruby
ramfjord has joined #ruby
robscomputer has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
ryan_ford has joined #ruby
jottr has quit [Ping timeout: 263 seconds]
alfiemax has joined #ruby
c0ncealed has quit [Remote host closed the connection]
stairmast0r has joined #ruby
c0ncealed has joined #ruby
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duckpuppy has joined #ruby
zapata has quit [Quit: WeeChat 2.1]
n0m4d1c has quit [Remote host closed the connection]
jottr has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
alfiemax has quit [Remote host closed the connection]
robscomputer has joined #ruby
dr3w_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Yzguy has quit [Quit: Zzz...]
jottr has quit [Ping timeout: 263 seconds]
bsamorim has joined #ruby
<bsamorim>
Hello, guys! I have made a quick sinatra app that, in one of its endpoints, reads a video file in chunks and sends it over the net.
<bsamorim>
The problem is that the amount of memory that the app consumes seems to be independent of the chunk size
<bsamorim>
Is this something due to ruby or sinatra?
<bsamorim>
I am opening the file with `open(file_path)` and yielding its chunks with `read(chunk_size)`
mikecmpbll has quit [Quit: inabit. zz.]
zipace has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
jottr has joined #ruby
sidx64 has joined #ruby
eckhardt_ has joined #ruby
sidx64 has quit [Client Quit]
imode has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
sidx64 has joined #ruby
erlend has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
sidx64 has quit [Client Quit]
jottr has joined #ruby
sidx64 has joined #ruby
erlend has joined #ruby
Dimik has joined #ruby
bsamorim has quit [Ping timeout: 256 seconds]
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
anisha has joined #ruby
oleo has quit [Quit: Leaving]
karapetyan has joined #ruby
duckpuppy has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
ryan_ford has quit [Ping timeout: 240 seconds]
nicesignal has quit [Ping timeout: 268 seconds]
sauvin_ has joined #ruby
aupadhye has joined #ruby
nicesignal has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
anisha_ has joined #ruby
anisha has quit [Ping timeout: 240 seconds]
dn`_ has joined #ruby
dn` has quit [Read error: Connection reset by peer]
dn`_ is now known as dn`
jottr has quit [Ping timeout: 246 seconds]
aupadhye has quit [Quit: Leaving]
chatchatt has quit [Ping timeout: 256 seconds]
venmx has joined #ruby
chatchatt has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
sauvin_ is now known as bocaneri
tuelz has quit [Ping timeout: 252 seconds]
tpendragon has quit [Ping timeout: 252 seconds]
reber has joined #ruby
russt has quit [Ping timeout: 240 seconds]
tuelz has joined #ruby
shuforov has joined #ruby
kliq has joined #ruby
russt has joined #ruby
netherwolfe has joined #ruby
tpendragon has joined #ruby
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
netherwolfe has quit [Ping timeout: 276 seconds]
Burgestrand has joined #ruby
zapata has joined #ruby
c0ncealed has quit [Remote host closed the connection]
alfiemax has joined #ruby
c0ncealed has joined #ruby
stoffus has joined #ruby
workmad3 has joined #ruby
jottr has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
jottr has quit [Ping timeout: 240 seconds]
za1b1tsu has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
jottr has joined #ruby
alfiemax has quit [Read error: Connection reset by peer]
n008f4g_ has joined #ruby
alfiemax has joined #ruby
aufi has joined #ruby
bijan_ has joined #ruby
venmx has quit [Ping timeout: 268 seconds]
bijan_ has quit [Client Quit]
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kriskropd has quit [Ping timeout: 265 seconds]
_insomniac has quit [Ping timeout: 265 seconds]
bijan_ has joined #ruby
moei has joined #ruby
sidx64_ has joined #ruby
dionysus69 has joined #ruby
sidx64 has quit [Read error: Connection reset by peer]
alfiemax has quit [Remote host closed the connection]
sidx64_ has quit [Ping timeout: 240 seconds]
imode has quit [Ping timeout: 256 seconds]
duckpuppy has joined #ruby
sidx64 has joined #ruby
za1b1tsu has quit [Quit: Leaving]
kriskropd has joined #ruby
karapetyan has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 246 seconds]
alfiemax has joined #ruby
karapetyan has joined #ruby
duckpuppy has quit [Ping timeout: 245 seconds]
conta has joined #ruby
alex`` has joined #ruby
alfiemax has quit [Ping timeout: 245 seconds]
_insomniac has joined #ruby
conta1 has joined #ruby
conta has quit [Ping timeout: 252 seconds]
conta1 is now known as conta
jcarl43 has quit [Quit: WeeChat 2.1]
andikr has joined #ruby
kapil___ has joined #ruby
cschneid has joined #ruby
olspookishmagus has quit [Quit: All for nothing]
cschneid has quit [Ping timeout: 268 seconds]
n008f4g_ has quit [Ping timeout: 264 seconds]
jottr has joined #ruby
cdg has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
Mortomes|Work has joined #ruby
jottr has joined #ruby
olspookishmagus has joined #ruby
asio has joined #ruby
gigetoo has quit [Ping timeout: 248 seconds]
VladGh_ has joined #ruby
gigetoo has joined #ruby
VladGh has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
cdg_ has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
venmx has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
cdg has quit [Ping timeout: 255 seconds]
cdg has joined #ruby
mtkd has joined #ruby
duckpuppy has joined #ruby
cdg_ has quit [Ping timeout: 252 seconds]
clemens3 has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
erlend has quit [Ping timeout: 256 seconds]
erlend has joined #ruby
duckpuppy has quit [Ping timeout: 268 seconds]
phaul has joined #ruby
ryan_ford has joined #ruby
schneider has joined #ruby
schneider has quit [Client Quit]
claudiuinberlin has joined #ruby
schneider has joined #ruby
sidx64 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c0ncealed has quit [Remote host closed the connection]
sidx64 has joined #ruby
alfiemax has quit [Remote host closed the connection]
conta1 has joined #ruby
bijan_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
conta1 has quit [Remote host closed the connection]
c0ncealed has joined #ruby
sidx64 has quit [Client Quit]
chatchat1 has joined #ruby
conta has quit [Ping timeout: 245 seconds]
sidx64 has joined #ruby
sanscoeur has quit [Remote host closed the connection]
sidx64 has quit [Client Quit]
chatchatt has quit [Ping timeout: 268 seconds]
jottr has joined #ruby
moei has quit [Quit: Leaving...]
kliq has quit [Ping timeout: 240 seconds]
ryan_ford has quit [Ping timeout: 260 seconds]
moei has joined #ruby
eldritch has quit [Ping timeout: 268 seconds]
jottr has quit [Ping timeout: 255 seconds]
DTZUZO has quit [Ping timeout: 248 seconds]
bijan_ has joined #ruby
jottr has joined #ruby
eldritch has joined #ruby
DTZUZO has joined #ruby
xuyuheng has joined #ruby
aupadhye has joined #ruby
marr has joined #ruby
<nemesit|znc>
anyone know why I get ActionController::ParameterMissing in rails but the request clearly contains the missing parameter?
conta has joined #ruby
conta1 has joined #ruby
naquad has quit [Ping timeout: 248 seconds]
aupadhye has quit [Read error: Connection timed out]
ryan_ford has joined #ruby
aupadhye has joined #ruby
conta has quit [Ping timeout: 240 seconds]
conta1 is now known as conta
ramfjord has joined #ruby
Mike11 has joined #ruby
guille-moe has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
<dminuoso>
nemesit|znc: Gist your code and the log output.
madhatter has quit [Remote host closed the connection]
<dminuoso>
nemesit|znc: Also for completeness sake, include the sniffed output (wireshark/tcpdump/devtools)
sidx64 has joined #ruby
madhatter has joined #ruby
dr3w_ has joined #ruby
dr3w_ has quit [Client Quit]
sidx64 has quit [Client Quit]
mtkd has quit []
mtkd has joined #ruby
leitz has joined #ruby
<leitz>
What's the Ruby way for including a config file with items like "name = 'Fred'"?
venmx has quit [Ping timeout: 246 seconds]
<dminuoso>
nemesit|znc: Also take this to
<dminuoso>
?rails
<ruby[bot]>
Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
tomphp has joined #ruby
<dminuoso>
leitz: Is the format of the config file already defined, or do you have the freedom to define it?
<leitz>
dminuso, have freedom, but trying to avoid things like yaml or json.
<dminuoso>
Why do you want to avoid them?
<leitz>
dminuoso, and I missed the "o". Need more coffee.
sidx64 has joined #ruby
<dminuoso>
leitz: Most clients have tab completion. If you just type the first few letters and use tab you can cycle through all names matching those starting characters.
<leitz>
Both are very white space or syntax specific. I'm trying to stick to straight text so I can give the code to non-coders and they can extend it.
<dminuoso>
leitz: YAML is human readable and simple.
duckpuppy has joined #ruby
<leitz>
dminuoso, yes on tabs, but I try to learn people's names. Assuming you're not a bot, anyway...
<dminuoso>
leitz: If you add enough comments to show how the file is to be modified its not an issue.
<leitz>
YAML is really problematic for whitespace. I'm doing Ansible and it's frustrating. Error messages from Ansible aren't so hot, either.
<dminuoso>
leitz: That's an Ansibile problem, not a yaml problem.
<leitz>
It's a yaml problem when whitespace changes the meaning.
<leitz>
Well, not problem, just the way it is.
<dminuoso>
leitz: you could go with s-expressions :D
<leitz>
I use other experssions when dealing with Ansible error messages. :)
<dminuoso>
leitz: My point is, its really hard to screw up s-exps
<dminuoso>
leitz: anyway. inifile is a gem that lets you parse ini style config files
bijan_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
rabajaj has joined #ruby
guille-moe has quit [Quit: guille-moe]
duckpuppy has quit [Ping timeout: 240 seconds]
guille-moe has joined #ruby
cschneid has joined #ruby
<leitz>
Eh...I think I'll write a simple parser. I don't see a lot of nested variables needed for my nefarious plans.
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Papierkorb has joined #ruby
Papierkorb has left #ruby ["Konversation terminated!"]
tvw has joined #ruby
cschneid has quit [Ping timeout: 260 seconds]
<Bish>
if i use $stderr.puts, how do i know i am not actually using kernel#puts
jottr has joined #ruby
kliq has joined #ruby
<Bish>
i don't, right?
cliq has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
tomphp has joined #ruby
kliq has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
sanscoeur has joined #ruby
<phaul>
you could override puts in a module that you prepend on Kernel, set global state, assert or whatever, then you can see if $stderr.puts triggers it
<dminuoso>
leitz: If you want something custom, use s-exprs
<dminuoso>
leitz: They are freaking easy to parse, and extremely powerful at the same time.
<dminuoso>
it lets you scale way beyond a simple `a=b` pattern, but in a way that is almost impossible to screw up
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dhollinger has quit [Ping timeout: 248 seconds]
Guest77684 has quit [Quit: Leaving]
dhollinger has joined #ruby
<Bish>
are there things sexp can't do?
sanscoeur has quit [Ping timeout: 248 seconds]
<dminuoso>
Bish: that equals to "are there things that emacs cant do" - the answer is no =P
jenrzzz has joined #ruby
guille-moe has quit [Quit: guille-moe]
guille-moe has joined #ruby
<Bish>
you and your emacs
DTZUZO has quit [Ping timeout: 256 seconds]
<Bish>
can i use WHEN iwith an array?
<Bish>
>> case 1;when [1,2];"hello";
<ruby[bot]>
Bish: # => /tmp/execpad-abb19c9cfd1d/source-abb19c9cfd1d:3: syntax error, unexpected keyword_rescue, expecting ...check link for more (https://eval.in/975680)
<dminuoso>
Bish: ^- I prefer this style of case construct. #=== has no well defined meaning, because its defined to mean "whatever one might expect in a case statement"
<Bish>
but that confuses me, because when uses ===
<dminuoso>
i.e. if you ever have: `case a when b ... end` it requires knowing the type of `b`, and knowing what its implementation of `===` does.
<Bish>
when when i have your construc tere
<Bish>
i'd have
<Bish>
1 === true/false
<dminuoso>
Bish: this style is just a clean `if/elseif`
<Bish>
but if confuses me
<Bish>
does when switch it's behaviour when it yields true/false ?
mrBen2k2k2k___ has quit [Ping timeout: 256 seconds]
<Nobun>
the application encounter a sort of segmentation fault, with a VERY LOOOOONG message
jottr has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 264 seconds]
karapetyan has joined #ruby
Psybur__ has joined #ruby
alfiemax_ has joined #ruby
sanscoeur has joined #ruby
imode has joined #ruby
shuforov has quit [Ping timeout: 268 seconds]
sidx64 has joined #ruby
sanscoeur has quit [Ping timeout: 264 seconds]
sidx64 has quit [Client Quit]
schneider has joined #ruby
sidx64 has joined #ruby
Psybur_ has joined #ruby
sidx64 has quit [Client Quit]
Psybur__ has quit [Ping timeout: 240 seconds]
james__ has quit [Quit: This computer has gone to sleep]
bijan_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bijan_ has joined #ruby
sidx64 has joined #ruby
AJA4350 has joined #ruby
sidx64 has quit [Client Quit]
sundhell_away is now known as sundhell
bsamorim has joined #ruby
shuforov has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
nowhere_man has joined #ruby
sidx64 has joined #ruby
alfiemax has joined #ruby
sidx64 has quit [Client Quit]
roca has joined #ruby
n0m4d1c has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
WhereIsMySpoon has quit [Quit: WhereIsMySpoon]
conta1 has joined #ruby
conta has quit [Ping timeout: 276 seconds]
conta1 is now known as conta
Burgestrand has joined #ruby
John_Ivan has joined #ruby
sidx64 has joined #ruby
perzival has joined #ruby
nowhereman_ has joined #ruby
nowhere_man has quit [Ping timeout: 264 seconds]
erlend has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
erlend has joined #ruby
John_Ivan has quit [Read error: Connection reset by peer]
Mortomes|Work has quit [Ping timeout: 260 seconds]
jottr has quit [Ping timeout: 256 seconds]
pd has joined #ruby
pd is now known as Guest53066
Creatornator has joined #ruby
bsamorim has quit [Ping timeout: 240 seconds]
gnufied has joined #ruby
shuforov has quit [Ping timeout: 260 seconds]
jottr has joined #ruby
Psybur_ has quit [Ping timeout: 256 seconds]
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
sanscoeur has joined #ruby
ogres has joined #ruby
rsh has joined #ruby
sanscoeur has quit [Ping timeout: 268 seconds]
shuforov has joined #ruby
riotjoe has joined #ruby
<dminuoso>
Nobun: By studying how the entirety of ruby works (from the initialization process, to the ruby object model, and the GC), and then using a debugger.
<dminuoso>
Nobun: You wanted to embed full ruby, be prepared to suffer the consequences.
riotjones has quit [Ping timeout: 256 seconds]
Bish has quit [Read error: No route to host]
jottr has quit [Ping timeout: 245 seconds]
<Nobun>
dminuoso: yeah. I saw. But it is my best choice for dependency build
<Nobun>
however this first problem was solved. Don't know why but erasing corevxa_rubylib function will solved the issue
vondruch_ has joined #ruby
<Nobun>
I instead changed the approach and setted rubyvxa_rubylib as a global ruby variable
<Nobun>
that way (with the same code) the segmentation fault problem was solved.
<dminuoso>
Nobun: If you prefer to play "plug the leaks" by randomly doing things...
<dminuoso>
Nobun: That does not mean the problem is solved.
<dminuoso>
Nobun: Do you know when segmentation faults arise?
vondruch has quit [Ping timeout: 248 seconds]
vondruch_ is now known as vondruch
<Nobun>
I mean THAT problem is solved
<dminuoso>
Nobun: No it does not.
<Nobun>
dminuoso: yeah. This is why I executed script more than once
<dminuoso>
Nobun: It just means it's not crashing anymore. Doesn't mean the problem is solved.
<dminuoso>
Nobun: What does "segfault" mean?
<Nobun>
it is a problem of memory allocation (a memory address is not anymore valid)
<dminuoso>
not quite/
<Nobun>
however I didn't have properly a SISVEG, but a core dump with a long message on ruby side
<dminuoso>
its not a problem of memory allocation.
<dminuoso>
Nobun: it is a proper sigsegv.
<Nobun>
ok
bijan_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Nobun>
I always thinked that segmentation faults are related to memory management (or garbage collectors). Do I miss something?
<dminuoso>
Nobun: segmentation faults arise from trying to access a memory page for which the kernel has no mapping (for your process)
<dminuoso>
Nobun: almost anything could be the cause
<dminuoso>
pointer arithmetic gone wrong
<dminuoso>
accessing freed memory
bijan_ has joined #ruby
<dminuoso>
double freeing memory
<dminuoso>
buffer overflows
<dminuoso>
Nobun: now your code may *still* be misbehaving, but perhaps it doesn't lead to a memory access in invalid memory regions
<dminuoso>
so perhaps it corrupts the rubyvm in other ways
<Nobun>
it is not impossible. Also becouse ruby is not the only language I embed, but I embed ruby together with python and lua.
crankharder has quit [Ping timeout: 240 seconds]
Guest53066 has quit [Remote host closed the connection]
<dminuoso>
Nobun: understand how the segmenation fault arises, determine the actual cause, and then fix the underlying problem.
<Nobun>
However I can say that usually a segmentation fault will happen after less than 10 tries. I mean in practical test I did in past (not with ruby specifically) when a segmentation fault problem happened, it showed not exactly randomly (even if not exactly happens at the point where the actual problem is located)
Guest53066 has joined #ruby
<dminuoso>
Nobun: again, its not proof of anything.
roca has quit [Quit: roca]
<dminuoso>
Nobun: determine the _CAUSE_ of the segmentation fault
<Nobun>
dminuoso: I had a speculation. I think that doing a c++ operation on ruby Kernel side (global function should be added there, if I understood the problem) probably could explain the original issue.
Guest53066 has quit [Max SendQ exceeded]
<dminuoso>
Nobun: If you embed ruby, you either need to get ready to understand the ruby object model and the garbage collector so you can pinpoint the cause for the crash - or find a different hobby.
<Nobun>
dminuoso: I never been able to be sure about the CAUSE. Usually with segmentation fault I try to trace gdb and do experiments until things are fine.
jcalla has joined #ruby
Guest53066 has joined #ruby
<dminuoso>
Nobun: If that's your debugging technique then I have better things to do.
<dminuoso>
Nobun: for starters: start with the very cpu instruction that created the page fault
<dminuoso>
is it a null pointer? or some garbage address?
<Nobun>
dminuoso: it is only becouse I am a non-professional programmer. All I learnt I learnt by myself. But if you can show me a nicer way to approach to debugging, I will be happy to hear.
<dminuoso>
what memory address did this
<dminuoso>
once you have determined that, figure out what code path you are in
anisha_ has quit [Quit: This computer has gone to sleep]
bijan_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Nobun>
I mean... I use gdb as debugger (I usually use breakpoints to try to guess where problems could be located. Even if it is not a very good way, hearing your words)
<dminuoso>
Nobun: gdb is absolutely great, but experimentation is the most terrible way to fix things
<dminuoso>
Nobun: I would look at the topmost stackframe first, and look at the very instruction that led to the problem.
<dminuoso>
see if the address is 0x0 or some other address
<dminuoso>
then I check the source code for that stack frame
<dminuoso>
and use the assembly to correlate what exact part of the code line went wrong
tomphp has quit [Read error: Connection reset by peer]
<Nobun>
dminuoso: I mean that not always breakpoints on gdb will actually crash to actual problem. You must do some try-and-guess, trying to understand what the problem is. I don't know, for example, how to interpret a memory address alone.
schneider has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
<Nobun>
unluckly I don't know ASM at all. Only C++
tomphp_ has joined #ruby
schneider has joined #ruby
<dminuoso>
Nobun: its not really difficult. just switch to `layout asm` in gdb abd gist the output of the crash
<Nobun>
the only thing I could manage is 0x0 that I now it means "null pointer"
<dminuoso>
Nobun: (strictly speaking it might not, but on most regular implementations it does)
FrostCandy has joined #ruby
<dminuoso>
so its likely that you crashed on some
anikras has joined #ruby
<Nobun>
well but now, if I cannot reproduce the problem (i mean with the new code) how could I verify what went wrong to gdb? should I re-write the original (bugged) code?
SanguineAnomaly has joined #ruby
<dminuoso>
Nobun: the core dump that ruby produces might contain enough information
<anikras>
i don't have a rake migrate:init_plan_visibility
<anikras>
or rake upgrade:v0_3_3
<anikras>
I search this commands with rake -T and it isn't
<Nobun>
the best thing is to try to re-write the original code and paste the original core dump informations
<dminuoso>
Nobun: You can run your program with gdb
<dminuoso>
Nobun: if the debugger is attached, then the moment the process receives the SIGSEGV signal the debugger will break
<Nobun>
yeah I am rebuilding the code with the original solution (with the issue) and try to run it with gdb (it is compiled with debugging flags, so no problem on using gdb)
<dminuoso>
Nobun: Just keep in mind that there's a category of bugs called Heisenbugs that will not trigger when a debugger is attached. Those are particularly fun to debug.
desperek has joined #ruby
jeecht has joined #ruby
Guest53066 has quit [Remote host closed the connection]
cdg has joined #ruby
Guest53066 has joined #ruby
jeecht is now known as jecht
<Nobun>
ok reintroducing the original code reproduced the problem. Now I pastebin the core dump (happened without calling gdb)
<dminuoso>
Nobun: Check the instruction at 0x7fcb5a137ca5 in your /usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3
<dminuoso>
Nobun: also your ruby seems to be built without debugging symbols.
jrafanie has joined #ruby
<Nobun>
but the stdout could be able to print the $corevxa_rubylib varible but not corevxa_rubylib2 function
<Nobun>
dminuoso: hmm I am using the ruby library provided by ubuntu. But it should be used in the debugging
<Nobun>
let me see my CmakeLists.txt
<Nobun>
-DCMAKE_BUILD_TYPE=Debug
<dminuoso>
Nobun: You still need debugging symbols for that.
<Nobun>
so it should use the debugging version of every library found with find_package()
<dminuoso>
Perhaps Ubuntu doesn't ship those by default? I have no idea.
<Nobun>
strange, since I installed development version
<Nobun>
it should have both and cmake should link to the debugging with the flag I posted some lines ago
<Nobun>
let me see what happens with VERBOSE build
<Nobun>
it seems you are right. For some strange reasons it links to standard libraries and not debug ones as expected.
drale2k_ has joined #ruby
<Nobun>
and not only with ruby, also with qt
<dminuoso>
Nobun: Personally I'd not use systems ruby anyway. Built your own: it's simple and fast.
<Nobun>
dminuoso: yeah but building ruby means using ruby to build ruby wich it seems very strange to me
<dminuoso>
Nobun: thats an internal process
<dminuoso>
Nobun: (it does not use an external ruby)
<Nobun>
yeah but it is strange. Becouse ruby is a dependency in order to build ruby.
<dminuoso>
Nobun: no it is not.
<Nobun>
well in Ubuntu 14.04 forced me to install ruby in order to be allowed to compile it.
ramfjord has joined #ruby
<dminuoso>
Nobun: the ruby Makefile will bootstrap that first miniruby (as it is called) on its own
<dminuoso>
Nobun: I have no idea why Ubuntu does it that way.
<dminuoso>
Nobun: But I guarantee: if you compile yourself (either manually or through ruby-install), you will not need an external ruby
<Nobun>
however I must check what it happens exactly (compiling a custom qt would be very painful. And I like to see if I am missing something in my system)
<Nobun>
dminuoso: don't know too. I don't remember exactly how I built ruby.
ryzokuken has joined #ruby
<Nobun>
however at first I investigate my system before building anything
<Nobun>
then I will build ruby etc
anikras has quit [Quit: Ex-Chat]
<Nobun>
dminuoso: out of curiosity: how did you understand that debugging symbols were disabled?
n0m4d1c has quit [Remote host closed the connection]
<dminuoso>
Nobun: the stacktrace didn't have symbol names/source locations for the frames fro ruby
andikr has quit [Remote host closed the connection]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has joined #ruby
alfiemax has joined #ruby
<Nobun>
I say "no debugging symbols" becouse I expected to be linked with debugging libraries (qt libraries for debug should end with "d" for example, and they're not)
Sina has quit [Quit: Connection closed for inactivity]
tomphp has joined #ruby
sanscoeur has joined #ruby
karapetyan has joined #ruby
jimmylu2333-fedo has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
WhereIsMySpoon has joined #ruby
DTZUZO has joined #ruby
cyberg has joined #ruby
sanscoeur has quit [Ping timeout: 252 seconds]
cdg has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 255 seconds]
cdg has joined #ruby
alfiemax has quit [Remote host closed the connection]
<dminuoso>
Nobun: well run this through gdb
cdg has quit [Ping timeout: 245 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
nfsnobody has quit [Ping timeout: 245 seconds]
voxxit has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 252 seconds]
nfsnobody has joined #ruby
voxxit has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
unreal has joined #ruby
imode has quit [Ping timeout: 263 seconds]
gray_-_wolf has joined #ruby
Creatornator has joined #ruby
ltt has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
Erlingur has joined #ruby
Rapture has joined #ruby
Inoperable has quit [Quit: ZNC 1.6.6 - http://znc.in]
Inoperable has joined #ruby
sundhell is now known as sundhell_away
n0m4d1c has joined #ruby
Erlingur has quit [Remote host closed the connection]
nowhereman_ has quit [Ping timeout: 256 seconds]
bijan_ has joined #ruby
Erlingur has joined #ruby
unreal has quit [Read error: Connection reset by peer]
<Nobun>
dminuoso: ok I will sorry for late reply but I had to go out for a while
dionysus69 has quit [Ping timeout: 264 seconds]
nfsnobody has quit [Ping timeout: 248 seconds]
<Nobun>
dminuoso: Thread 1 "vxapo" received signal SIGSEGV, Segmentation fault.
<Nobun>
0x00007ffff74440f6 in ?? () from /usr/lib/x86_64-linux-gnu/libruby-2.3.so.2.3
<Nobun>
this is what gdb says
<Nobun>
it seems that debugging symbols are all whipped out :(
suukim has joined #ruby
cagmz has joined #ruby
nfsnobody has joined #ruby
imode has joined #ruby
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagmz has quit [Read error: Connection reset by peer]
cagmz has joined #ruby
unreal has joined #ruby
mtkd has quit []
cdg has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
ltt has joined #ruby
cdg has quit [Remote host closed the connection]
bijan_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<dminuoso>
Nobun: Just build ruby yourself =)
<dminuoso>
Nobun: It takes maybe 1-2 minutes to compile (if you have an SSD)
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Nobun>
dminuoso: no SSD here and a slow pc. However I will follow your suggestion. At least for developing state it could be the best choice.
chouhoulis has joined #ruby
<Nobun>
however I will use 2.3.0 since ubuntu use 2.3.SOMETHING_ELSE in order to be sure that the code will be compatible with my distro ruby version
<dminuoso>
Well it cant be worse than maybe 4-5 minutes on an older machine
cdg has joined #ruby
<Nobun>
yeah. I don't think it can be as painful as trying to compile qt after all :P (I don't remember how much time required with ubuntu 14.04, but I remember it should be not so much time)
chouhoulis has quit [Remote host closed the connection]
<havenwood>
if you have multiple cores, the `-j` flag with make speeds things up.
<Nobun>
dminuoso: ah it is possible that in my case ruby required an external ruby since I compiled from github source?
chouhoulis has joined #ruby
<havenwood>
-j for as many as possible, or I often use -j8
<Nobun>
havenwood: I can use -j2 at max and I never see so much difference
<havenwood>
make -j64
<Nobun>
havenwood: it depends of processor. You cannot do make -j64 without crash :P
<havenwood>
i just want a new processor ;-)
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Nobun>
cloning github...
<havenwood>
skipping generating docs speeds it up a lot
netherwolfe has joined #ruby
<Nobun>
:)
robscomputer has joined #ruby
cyberg has quit [Ping timeout: 240 seconds]
erlend has quit [Ping timeout: 246 seconds]
oleo has joined #ruby
unreal has quit [Ping timeout: 260 seconds]
cyberg has joined #ruby
erlend has joined #ruby
kn-928 has joined #ruby
unreal has joined #ruby
<Nobun>
dminuoso: did you use any particular configure flag in order to ensure to build "debug" version of ruby? (I mean with debugging symbols)
<Nobun>
you must investigate what this decorator exactly does
nowhereman_ has joined #ruby
jottr has joined #ruby
nowhereman_ has quit [Read error: Connection reset by peer]
nowhereman_ has joined #ruby
<ruby_>
Nobun: i wouldn't think the app decorate would have anything to do with this though
<ruby_>
Nobun: forgetting the python code aside, what does it mean specifically for the ruby code i posted?
<ruby_>
to have do |r|
<Nobun>
you can see |r| as current element in the iteration
cagomez has joined #ruby
mgraf has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 248 seconds]
cagomez has joined #ruby
<Nobun>
example: (0..7).each do |i|
<Nobun>
in that case i will be the current value in the iteration in the range 0..7
konsolebox has joined #ruby
noobineer has joined #ruby
noobineer has quit [Max SendQ exceeded]
ryan_ford has joined #ruby
jottr has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
<Nobun>
still having troubles on building the application to the new ruby library (I cannot setup cmake properly in order to find and configure custom ruby)
<Nobun>
so sorry for delay
mlehrer has quit [Ping timeout: 256 seconds]
[Butch] has joined #ruby
mgraf has quit [Quit: Lost terminal]
aupadhye has quit [Ping timeout: 240 seconds]
desperek has quit [Quit: xoxo]
sanscoeur has joined #ruby
WhereIsMySpoon has quit [Quit: WhereIsMySpoon]
robscomputer has joined #ruby
<Nobun>
it seems it compiled ONLY libruby static version
<Nobun>
I cannot find libruby-2.3.0.so or similar
sundhell_away is now known as sundhell
schneider has quit [Ping timeout: 240 seconds]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 256 seconds]
WhereIsMySpoon has joined #ruby
sanscoeur has quit [Ping timeout: 240 seconds]
jcarl43 has joined #ruby
<Nobun>
I can confirm. No libruby...so but only .a
<Nobun>
very strange
<Nobun>
any suggestion?
einarj has joined #ruby
marr has quit [Remote host closed the connection]
ltt has joined #ruby
Creatornator has joined #ruby
tolerablyjake has joined #ruby
graft has quit [Quit: Lost terminal]
stoffus has quit [Quit: leaving]
nowhereman_ has quit [Read error: Connection reset by peer]
shuforov has quit [Ping timeout: 260 seconds]
riotjoe has quit [Remote host closed the connection]
<Nobun>
and moreover it didn't install config.h
Guest53066 has quit [Read error: Connection reset by peer]
riotjones has joined #ruby
Guest53066 has joined #ruby
<Nobun>
I did CFLAGS="-g" ./configure --prefix=/home/user/programmi/ruby
schneider has joined #ruby
<Nobun>
than make and make install
nowhereman_ has joined #ruby
sanscoeur has joined #ruby
nowhereman_ has quit [Read error: Connection reset by peer]
<Nobun>
dminuoso: when you can... this case I really need your help becouse debugging message is not understandable to me.
xall_ has quit [Ping timeout: 265 seconds]
ineb has quit [Ping timeout: 256 seconds]
sundhell is now known as sundhell_away
ineb has joined #ruby
xall_ has joined #ruby
kies has quit [Ping timeout: 264 seconds]
chouhoulis has joined #ruby
<dostoyevsky>
Is rails less popular these days? I was surprised that there are more people on #ruby than on #rails
<havenwood>
dostoyevsky: Maybe Ruby is just more popular.
<havenwood>
dostoyevsky: It's Rails on Ruby these days. ;-P
raynold has joined #ruby
chouhoul_ has quit [Ping timeout: 248 seconds]
roca_ has joined #ruby
shuforov has joined #ruby
<dostoyevsky>
I started using ruby in 2001 and never really had much of an interest in rails, which emerged around 2006... but it was impossible to get a job as a ruby programmer, people thought the only ruby was rails
roca has quit [Ping timeout: 264 seconds]
<WhereIsMySpoon>
:D
roca_ is now known as roca
perzival has joined #ruby
<dionysus69>
is this concatenation in php ? 'Authorization' => 'Bearer ' . $apiToken, the dot i mean
<havenwood>
dionysus69: This is the Ruby channel!
schneider has joined #ruby
<dionysus69>
xD
crankharder has joined #ruby
<dionysus69>
i am translating that to ruby xD
<WhereIsMySpoon>
i feel dirty
kies has joined #ruby
<dostoyevsky>
I learned many programming languages but never PHP, makes me kind of proud :)
<havenwood>
dionysus69: Type `php -a` then try: echo 'dio' . 'nysus';
<havenwood>
dionysus69: Isn't there a PHP channel?
<dionysus69>
there is but I dont wanna go in there
<dionysus69>
bad aura :D
<dionysus69>
too many depressed people lol
perzival has quit [Ping timeout: 260 seconds]
ruby_ has quit [Quit: Page closed]
roca_ has joined #ruby
perzival has joined #ruby
jottr has joined #ruby
roca has quit [Ping timeout: 256 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dostoyevsky>
dionysus69: try ##programming
<dionysus69>
I found it by now yes it was concatenation :D
<dionysus69>
just wanted to double check :)
roca_ is now known as roca
<dionysus69>
someone had to try hard to make string concatenation non-intuitive lmfo
schneider has quit [Ping timeout: 256 seconds]
roca is now known as lroca
SeepingN has joined #ruby
Cavallari has joined #ruby
erlend has quit [Ping timeout: 240 seconds]
marr has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood>
desnudopenguino: I'd say ask in #jruby
<desnudopenguino>
ah, nice!
<desnudopenguino>
i'll probably float over there shortly.
<havenwood>
I don't know where to grab jruby-core.jar... is that jruby.jar?
<havenwood>
Dunno
<desnudopenguino>
i've no idea. i've heard about JRuby and CRuby before, and some of those other flavors, but never actually used them. today's going to be a long, but hopefully positively eventful day
mtkd has quit [Ping timeout: 268 seconds]
perzival has joined #ruby
mtkd has joined #ruby
claudiuinberlin has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
\void has joined #ruby
ledestin has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tolerablyjake has joined #ruby
tolerablyjake has quit [Client Quit]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
al2o3-cr has quit [Quit: WeeChat 2.0.1]
kapil___ has quit [Quit: Connection closed for inactivity]
dr3w_ has joined #ruby
desperek has joined #ruby
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has joined #ruby
jottr has joined #ruby
tvw has quit [Remote host closed the connection]
weaksauce has joined #ruby
jimmylu2333-fedo has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 245 seconds]
Creatornator has joined #ruby
alfiemax has joined #ruby
<desnudopenguino>
well i got the c9katayama to build, now to write some code to deploy and see if it works
DTZUZU has quit [Read error: Connection reset by peer]
<rgb-one>
On my system that command I pasted returns 18
<rgb-one>
I don't know why though
<rgb-one>
Not quite sure what that snippet is doing
alfiemax has quit [Ping timeout: 240 seconds]
<phaul>
I don't know but a stab in the dark is that it tries to find the Xorg display number
John_Ivan has quit [Read error: Connection reset by peer]
<phaul>
though then ENV['DISPLAY'] should be better for the same
<phaul>
*if* it does that :)
<rgb-one>
hmm
jamesaxl has quit [Quit: WeeChat 2.0.1]
yokel has quit [Ping timeout: 263 seconds]
cmhobbs has joined #ruby
<rgb-one>
ENV['DISPLAY'] returns :0
<rgb-one>
which makes sense to me
<cmhobbs>
if i've built a gem via bundler ("bundle gem foo") and i want to add a new source file to it, do i simply create the file in lib/foo/myclass.rb and add "require "foo/myclass"" to the gemspec?
<cmhobbs>
because i keep getting uninitialized constant there
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
alfiemax has joined #ruby
<cmhobbs>
top of lib/foo/myclass.rb is "module Foo; class Myclass; ..."
<jecht>
in my gems i have module Foo at the lib level
<jecht>
lib/foo.rb
<cmhobbs>
yeah, foo.rb is there
<jecht>
and i require the class in there
<jecht>
that has worked for me
<cmhobbs>
alright, i added it to the gemspec because rspec was bitching about uninit constant
<cmhobbs>
i probably have some path nonsense wrong
alfiemax has quit [Ping timeout: 240 seconds]
clemens3 has quit [Ping timeout: 268 seconds]
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jecht has quit [Quit: Leaving]
yokel has joined #ruby
<phaul>
I don't see why you would want to add all source files with require to the gemspec. That shouldn't be needed. Only needed if the gemspec is using something that is defined in the source file. typically with autogenerated gem the SomeGem::VERSION that is auto generated in lib/somegem/version.rb
dr3w_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<cmhobbs>
i only did it because rspec was complaining
<cmhobbs>
i had my test under spec/foo/myclass_spec.rb when it should've been spec/myclass_spec.rb
<cmhobbs>
this resolved the issue
<cmhobbs>
why spec/ doesn't mirror lib/, i will never know
alfiemax has joined #ruby
rgb-one has left #ruby ["Konversation terminated!"]
yokel has quit [Ping timeout: 260 seconds]
dr3w_ has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yokel has joined #ruby
alfiemax has quit [Ping timeout: 263 seconds]
troulouliou_dev has joined #ruby
eckhardt_ has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
robscomputer has joined #ruby
chouhoul_ has joined #ruby
eckhard__ has joined #ruby
jottr has joined #ruby
eckhardt has quit [Ping timeout: 246 seconds]
yokel has quit [Ping timeout: 268 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
clemens3 has joined #ruby
eckhardt_ has quit [Ping timeout: 248 seconds]
dr3w_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Creatornator has joined #ruby
drale2k_ has quit [Client Quit]
drale2k_ has joined #ruby
Zaab1t has quit [Quit: Zaab1t]
drale2k_ has quit [Client Quit]
yokel has joined #ruby
drale2k_ has joined #ruby
mojtaba has joined #ruby
<mojtaba>
Hello, I have just installed ruby using rvm, but the thing is that, I can not install 2.5. Do you know what should I do? (I am using ubuntu 16.04 LTS)
SeepingN has quit [Quit: The system is going down for reboot NOW!]
orbyt_ has joined #ruby
guacamole has joined #ruby
<mojtaba>
rvm list known, gives ruby-2.4.1 as the latest one.
<mojtaba>
any idea?
<havenwood>
mojtaba: rvm get head && rvm install ruby 2.5
<havenwood>
mojtaba: Update RVM to a version that has 2.5 definitions: rvm get head
<mojtaba>
havenwood: Thanks. I will run it.
<mojtaba>
havenwood: after rvm install ruby 2.5, what will happen to the older version?
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mojtaba>
Should I remove it, or it will take care of it?
<havenwood>
mojtaba: it will still be there and the default will remain what it was before your install
<havenwood>
mojtaba: it will not be automatically removed
<mojtaba>
havenwood: should I remove it? and how?
yokel has quit [Read error: Connection reset by peer]
<havenwood>
mojtaba: Try restarting your terminal.
<mojtaba>
havenwood: same error
duckpuppy has quit [Ping timeout: 263 seconds]
<havenwood>
mojtaba: source ~/.rvm/scripts/rvm
<havenwood>
mojtaba: then try
<mojtaba>
havenwood: perfect, thanks. Should I install the documentation? (I mean is it needed?)
crankharder has quit [Ping timeout: 248 seconds]
<havenwood>
mojtaba: it's not needed especially if you're online
<mojtaba>
havenwood: thanks a million
<havenwood>
mojtaba: You'll want to add this to one of the dotfiles that loads with your shell: [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood>
mojtaba: like ~/.bash_profile
<mojtaba>
havenwood: What is that for?
yokel has quit [Ping timeout: 260 seconds]
<havenwood>
it's just the source line above
<havenwood>
i've got to relocate
<havenwood>
bbiaf
<mojtaba>
havenwood: So, I have to run each time to set the default ruby?
Xiti` has quit [Quit: Xiti`]
Xiti has joined #ruby
guacamole has joined #ruby
<mojtaba>
havenwood: This line was added to my .bashrc automatically: export PATH="$PATH:$HOME/.rvm/bin"
alfiemax has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zipace has quit [Ping timeout: 246 seconds]
Mike11 has quit [Quit: Leaving.]
duckpuppy has joined #ruby
desperek has quit [Quit: xoxo]
yokel has joined #ruby
alfiemax has quit [Ping timeout: 248 seconds]
duckpuppy has quit [Ping timeout: 248 seconds]
drale2k_ has joined #ruby
eckhardt has joined #ruby
amelliaa has quit [Quit: -]
drale2k_ has quit [Client Quit]
yokel has quit [Ping timeout: 240 seconds]
white_lilies has joined #ruby
nopolitica has joined #ruby
cmhobbs has left #ruby [#ruby]
Nobun has quit [Quit: ronf]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
ta_ has joined #ruby
yokel has joined #ruby
alfiemax has joined #ruby
crankharder has joined #ruby
yokel has quit [Client Quit]
duderonomy has joined #ruby
cagomez has quit [Ping timeout: 260 seconds]
white_lilies has quit [Ping timeout: 240 seconds]
clemens3 has quit [Ping timeout: 240 seconds]
yokel has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
crankharder has quit [Ping timeout: 240 seconds]
<tolerablyjake>
mojtaba: you don't have to set the default ruby each time, the ` [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"` loading with your shell is what makes the magic happen
jenrzzz has quit [Ping timeout: 276 seconds]
<mojtaba>
tolerablyjake: what magic?
<tolerablyjake>
sorry, no magic. It's what looks up your default ruby and selects it for you
alfiemax has joined #ruby
cschneid has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
n008f4g_ has quit [Ping timeout: 263 seconds]
drale2k_ has joined #ruby
crankharder has joined #ruby
RougeR has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iszak has quit [Ping timeout: 240 seconds]
crankharder has quit [Ping timeout: 260 seconds]
iszak has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duckpuppy has joined #ruby
Psybur_ has joined #ruby
alfiemax has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
robscomputer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 268 seconds]
workmad3 has joined #ruby
duckpuppy has quit [Ping timeout: 264 seconds]
duderonomy has joined #ruby
gnufied has quit [Remote host closed the connection]
ur5us has joined #ruby
drale2k_ has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 256 seconds]
dnewkerk has joined #ruby
TinkerT has quit [Ping timeout: 256 seconds]
yokel has quit [Ping timeout: 260 seconds]
schneider has quit [Ping timeout: 256 seconds]
dnewkerk has quit [Client Quit]
crankharder has joined #ruby
dnewkerk has joined #ruby
TinkerT has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankharder has quit [Ping timeout: 260 seconds]
cschneid has joined #ruby
cagomez has joined #ruby
Yxhuvud has quit [Read error: Connection reset by peer]
Yxhuvud has joined #ruby
yokel has joined #ruby
Creatornator has joined #ruby
cschneid has quit [Ping timeout: 246 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sameerynho has quit [Ping timeout: 264 seconds]
yokel has quit [Ping timeout: 248 seconds]
jcarl43 has quit [Quit: WeeChat 2.1]
guacamole has joined #ruby
guacamole has joined #ruby
roshanavand has joined #ruby
coderphive has quit [Quit: coderphive]
yokel has joined #ruby
crankharder has joined #ruby
conceivably has quit [Remote host closed the connection]
conceivably has joined #ruby
alfiemax has joined #ruby
erlend has quit [Ping timeout: 265 seconds]
RougeR has quit [Ping timeout: 240 seconds]
erlend has joined #ruby
crankharder has quit [Ping timeout: 264 seconds]
conceivably has quit [Remote host closed the connection]
conceivably has joined #ruby
crankharder has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conceivably has quit [Remote host closed the connection]
conceivably has joined #ruby
nowhereman_ has joined #ruby
conceivably has quit [Remote host closed the connection]