orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
paraxial has quit [Read error: Connection reset by peer]
\void has quit [Quit: So long, and thanks for all the fish.]
paraxial has joined #ruby
arescorpio has quit [Remote host closed the connection]
dbz has joined #ruby
dbz has quit [Ping timeout: 272 seconds]
_whitelogger has joined #ruby
tristanp has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
catch22 has quit [Read error: Connection reset by peer]
jp has quit [Ping timeout: 240 seconds]
psmolen has quit [Ping timeout: 244 seconds]
psmolen has joined #ruby
jp has joined #ruby
Nuru has quit [Quit: Nuru]
idiocrash has joined #ruby
SuperLag has quit [Ping timeout: 272 seconds]
jottr has joined #ruby
baweaver is now known as baweaver_away
SuperLag has joined #ruby
baweaver_away is now known as baweaver
jottr has quit [Ping timeout: 246 seconds]
psmolen has quit [Ping timeout: 245 seconds]
psmolen has joined #ruby
reber has joined #ruby
lytol_ has joined #ruby
CrazyEddy has quit [Ping timeout: 268 seconds]
<JJonah>
what is the reason's for the "you can only bind to a superclass" restriction on UnboundMethods. typically ruby gives you the freedom to shoot yourself in the foot, so if i know an unbound method makes sense in another class from which it does not inherit, why can't i bind to it? is there a technical reason?
CrazyEddy has joined #ruby
Freshnuts has joined #ruby
Freshnuts has quit [Remote host closed the connection]
doubledup has joined #ruby
doubledup has quit [Max SendQ exceeded]
doubledup has joined #ruby
kapil___ has joined #ruby
<apeiros>
JJonah: yeah, that's one that baffled me too. I still don't know why. it might have to do with native methods. at least iirc there was no technical issue with rebinding pure ruby methods to whatever.
amelliaa has joined #ruby
* baweaver
is curious why someone would want or need to do so though
lomex has joined #ruby
DTZUZO has quit [Ping timeout: 252 seconds]
* apeiros
putting on mad scientist goggles
<apeiros>
"because I can!", muaaahahahahahaha
<apeiros>
frankly, I only remember that I wanted to, but I don't remember why.
<apeiros>
ah
<apeiros>
to do funky stuff like: `my_include SomeModule, methods: %i[foo bar baz]`
<apeiros>
that's one reason I remember
dbz has joined #ruby
amelliaa has quit [Quit: -]
jottr has joined #ruby
Dbugger has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
conta1 has joined #ruby
DTZUZO has joined #ruby
psmolen has quit [Ping timeout: 252 seconds]
psmolen has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbz has quit [Remote host closed the connection]
dellavg_ has joined #ruby
idiocrash has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
conta1 has quit [Quit: conta1]
Zaab1t has joined #ruby
PasNox has joined #ruby
<PasNox>
Hi, can anyone point me to the C documentation so that i can embed ruby in my c++ application and be able to use installed gems ? I have a minimal example that works, but when I try to require redcarpet it throw an exception telling it can't load the specified file
<PasNox>
the test code works fine from terminal and ruby file
<ruby[bot]>
PasNox: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
<PasNox>
so, it looks like that gems path are not added to the interpreter, ruby_incpush("/usr/lib/ruby/gems/2.5.0/gems/redcarpet-3.4.0/lib"); fix my issues, but i would like to avoid such hard coding. any idea ?
minimal_life has joined #ruby
dbz has joined #ruby
dbz has quit [Ping timeout: 250 seconds]
zapata has quit [Quit: WeeChat 2.2]
zapata has joined #ruby
nofxx has quit [Ping timeout: 240 seconds]
arup_r has quit [Remote host closed the connection]
arup_r has joined #ruby
arup_r has quit [Client Quit]
moei has joined #ruby
minimal_life has quit [Quit: I am functioning within established parameters.]
Alina-malina has quit [Ping timeout: 245 seconds]
savolla has quit [Remote host closed the connection]
RougeR has joined #ruby
AJA4350 has joined #ruby
_whitelogger has joined #ruby
jottr has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
yokel has quit [Ping timeout: 240 seconds]
yokel has joined #ruby
c355e3b has joined #ruby
<c355e3b>
Is anyone aware of an example of passing a `char **` to a library via FFI?
<c355e3b>
I can get `char *` to work with a memory pointer, segfaults when i try to pass an array of pointers`
tristanp has joined #ruby
conta1 has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
KeyJoo has joined #ruby
jottr has joined #ruby
jottr has quit [Client Quit]
snuz has joined #ruby
DTZUZO has joined #ruby
Caeso has joined #ruby
Caeso has left #ruby [#ruby]
reber has quit [Remote host closed the connection]
reber has joined #ruby
lomex has joined #ruby
DTZUZO has quit [Ping timeout: 252 seconds]
AlHafoudh has joined #ruby
tristanp has joined #ruby
akem has quit [Quit: Leaving]
tristanp has quit [Ping timeout: 252 seconds]
dionysus69 has quit [Ping timeout: 252 seconds]
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wildermind has joined #ruby
dionysus69 has joined #ruby
akem has joined #ruby
MoritaShinobu has joined #ruby
roshanavand has quit [Quit: leaving]
snuz has quit [Quit: WeeChat 2.2]
snuz has joined #ruby
snuz has quit [Client Quit]
RougeR has quit [Ping timeout: 240 seconds]
mike11 has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
conta1 has quit [Remote host closed the connection]
psmolen has quit [Ping timeout: 240 seconds]
desperek has joined #ruby
desperek has quit [Remote host closed the connection]
desperek has joined #ruby
psmolen has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
conta1 has joined #ruby
arup_r has joined #ruby
dbz has joined #ruby
arup_r has quit [Remote host closed the connection]
dbz has quit [Ping timeout: 240 seconds]
tty has quit [Quit: tty]
rippa has joined #ruby
Dbugger has quit [Ping timeout: 240 seconds]
arup_r has joined #ruby
tristanp has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
elomatreb has quit [Ping timeout: 260 seconds]
S007 has quit [Ping timeout: 240 seconds]
elomatreb has joined #ruby
volix has quit [Ping timeout: 240 seconds]
S007 has joined #ruby
volix has joined #ruby
TheBrayn has quit [Ping timeout: 246 seconds]
arup_r has quit []
LiftLeft has quit [Ping timeout: 240 seconds]
jane_booty_doe has quit [Quit: Leaving]
shenghi has joined #ruby
TheBrayn has joined #ruby
conta1 has quit [Quit: conta1]
LiftLeft has joined #ruby
lomex has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
cadillac_ has joined #ruby
orbyt_ has joined #ruby
blandflakes has joined #ruby
pabs has quit [Ping timeout: 252 seconds]
dionysus69 has joined #ruby
roshanavand has quit [Quit: leaving]
roshanavand has joined #ruby
cinnamntig3r has quit [Quit: WeeChat 1.9.1]
conta1 has joined #ruby
Azure has quit [Read error: Connection reset by peer]
mike11 has joined #ruby
Azure has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lomex has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
tristanp has joined #ruby
Alina-malina has quit [Ping timeout: 244 seconds]
tristanp has quit [Ping timeout: 252 seconds]
idiocrash has joined #ruby
wildermind has quit [Quit: Connection closed for inactivity]
conta1 has quit [Quit: conta1]
notpod has quit [Read error: Connection reset by peer]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 272 seconds]
dionysus70 is now known as dionysus69
mike11 has quit [Quit: Leaving.]
RougeR has joined #ruby
Alina-malina has joined #ruby
roshanavand has quit [Ping timeout: 252 seconds]
roshanavand has joined #ruby
samort7 has joined #ruby
roshanavand has quit [Ping timeout: 252 seconds]
roshanavand has joined #ruby
roshanavand has quit [Ping timeout: 246 seconds]
DarthGandalf has quit [Ping timeout: 244 seconds]
roshanavand has joined #ruby
snickers has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
DarthGandalf has joined #ruby
dbz has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DarthGandalf has quit [Ping timeout: 240 seconds]
DarthGandalf has joined #ruby
code_zombie has joined #ruby
dionysus69 has joined #ruby
DarthGandalf has quit [Ping timeout: 240 seconds]
jenenliu has quit [Remote host closed the connection]
jenenliu has joined #ruby
nielsk has quit [Quit: So Long, and Thanks for All the Fish]
nielsk has joined #ruby
DarthGandalf has joined #ruby
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RougeR has quit [Ping timeout: 244 seconds]
dbz has quit [Remote host closed the connection]
RougeR has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
dhollin3 is now known as dhollinger
Andrevan has quit [Quit: WeeChat 2.2]
dbz has joined #ruby
dbz has quit [Ping timeout: 252 seconds]
dviola has joined #ruby
MoritaShinobu has quit [Remote host closed the connection]
kapil___ has joined #ruby
Zaab1t has quit [Quit: Zaab1t]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knight33 has joined #ruby
Dbugger has joined #ruby
Dbugger has quit [Remote host closed the connection]