baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
vonfry has joined #ruby
Freshnuts has quit [Quit: Leaving]
tristanp has joined #ruby
jottr has joined #ruby
cagomez has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
jottr has quit [Ping timeout: 252 seconds]
psmolen has quit [Ping timeout: 252 seconds]
psmolen has joined #ruby
vonfry has quit [Quit: WeeChat 2.2]
dbz has joined #ruby
savolla has quit [Remote host closed the connection]
akem has quit [Read error: Connection reset by peer]
cagomez has quit [Remote host closed the connection]
dbz has quit [Ping timeout: 245 seconds]
cagomez has joined #ruby
jottr has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
AJA4350 has quit [Quit: AJA4350]
jottr has quit [Ping timeout: 246 seconds]
ivanskie has joined #ruby
psmolen has quit [Ping timeout: 246 seconds]
psmolen has joined #ruby
jottr has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
KeyJoo has quit [Ping timeout: 244 seconds]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
savolla has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
clorisu has quit [Remote host closed the connection]
cagomez has joined #ruby
arescorpio has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
cagomez has joined #ruby
tristanp has quit [Ping timeout: 252 seconds]
thy0 has quit [Quit: TTFN]
clorisu has joined #ruby
clorisu has quit [Client Quit]
cagomez has quit []
ivanskie has quit [Quit: Textual IRC Client: www.textualapp.com]
savolla has quit [Remote host closed the connection]
bmurt has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raul782 has joined #ruby
cadillac_ has joined #ruby
RougeR has quit [Ping timeout: 240 seconds]
raul782 has quit [Read error: Connection reset by peer]
raul782_ has joined #ruby
raul782_ has quit [Client Quit]
braincrash has quit [Quit: bye bye]
psmolen has quit [Ping timeout: 246 seconds]
psmolen has joined #ruby
braincrash has joined #ruby
fredlinhares has quit [Quit: WeeChat 1.4]
jottr has joined #ruby
idiocrash has quit [Quit: Textual IRC Client: www.textualapp.com]
cadillac_ has quit [Ping timeout: 245 seconds]
cadillac_ has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
dionysus69 has joined #ruby
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…]
DTZUZO has quit [Ping timeout: 245 seconds]
DTZUZO has joined #ruby
galeido has joined #ruby
roshanavand has joined #ruby
mike11 has joined #ruby
Dark_Arc has quit [Quit: ZNC 1.6.5 - http://znc.in]
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
<PasNox> This is what i have for now: https://pastebin.com/wzvd51ji
<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
akem has joined #ruby
dviola has quit [Quit: WeeChat 2.2]
jp has quit [Ping timeout: 252 seconds]
jottr has joined #ruby
Dark_Arc has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
DTZUZO has quit [Ping timeout: 272 seconds]
jp has joined #ruby
moei has quit [Quit: Leaving...]
arup_r has joined #ruby
savolla has joined #ruby
<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]
Xiti has quit [Quit: Xiti]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
idiocrash has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
doubledup has quit [Remote host closed the connection]
Xiti` has joined #ruby
Freshnuts has joined #ruby
Xiti` has quit [Remote host closed the connection]
Nicmavr has quit [Read error: Connection reset by peer]
Puffball has joined #ruby
Nicmavr has joined #ruby
dbz has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
ShekharReddy has joined #ruby
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xiti has joined #ruby
Xiti has quit [Remote host closed the connection]
knight33 has joined #ruby
Xiti has joined #ruby
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
lomex has joined #ruby
madhatter has quit [Remote host closed the connection]
ellcs has joined #ruby
Dbugger has joined #ruby
dellavg_ has quit [Ping timeout: 246 seconds]
RiPuk has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
reber has quit [Remote host closed the connection]
KeyJoo has quit [Quit: KeyJoo]
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbz has quit [Remote host closed the connection]
ellcs has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
code_zombie has quit [Quit: Leaving]
code_zombie has joined #ruby
Caeso has joined #ruby
ace91 has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
<ace91> Hey guys, I'm trying to build the project Geocoder from Github (https://github.com/alexreisner/geocoder) but I can't get rake to run without errors. Here's my output from rake --trace: https://dpaste.de/87b9
<ace91> would greatly appreciate any help, I'm really new at Ruby
<Caeso> What command did you run to get the errors, and what errors did you get?
<ace91> i just ran "rake" with no arguments or options and I get the following:
<ace91> Command failed with status (1)
<ace91> (See full trace by running task with --trace)
<ace91> Tasks: TOP => default => test
cadillac_ has quit [Ping timeout: 244 seconds]
<ace91> for full trace see: https://dpaste.de/87b9
lytol_ has quit [Remote host closed the connection]
cadillac_ has joined #ruby
<ace91> oh nevermind, I found the issue. I forgot to install "webmock"
<ace91> sorry bout that! thanks for your response @Caeso
<Caeso> Oh. It's not an issue.
Dbugger has quit [Ping timeout: 240 seconds]
<Caeso> I'm not actually all familiar with rake, but I'm glad you figured it out.
ace91 has quit [Read error: Connection reset by peer]
ace91 has joined #ruby
RougeR has quit [Ping timeout: 246 seconds]
DTZUZO has joined #ruby
<Caeso> I'm having trouble writing a prime number method. My current code (https://gist.github.com/Caeso-Lucilius/31af53610ef86c4085ec3bf876b1a1b3) returns true for both even and odd numbers (at least, both 5 and 6). I don't know why, but would appreciate any insight anyone might have.
<Caeso> By even and odd, I mean prime and composite. Silly me.
<ace91> @caeso seems to work for me
<ace91> first line of output is true, and second line i false
<Caeso> I feel like an idiot. I looked back at my text editor... and I hadn't saved the document. I saved it and it's working fine.
<Caeso> Thanks, though.
ace91 has quit [Remote host closed the connection]
ace91 has joined #ruby
mikecmpbll has joined #ruby
orbyt_ has joined #ruby
Rootsudo has joined #ruby
TomyLobo has quit [Read error: Connection reset by peer]
sauvin has quit [Ping timeout: 245 seconds]
sauvin has joined #ruby
desperek has quit [Quit: xoxo]
tty has joined #ruby
Caeso has left #ruby [#ruby]
clorisu has joined #ruby
roshanavand has quit [Ping timeout: 250 seconds]
psmolen has quit [Ping timeout: 244 seconds]
psmolen has joined #ruby
dbz has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
mikecmpbll has quit [Quit: inabit. zz.]
DarthGandalf has quit [Ping timeout: 245 seconds]
DarthGandalf has joined #ruby
x0f has quit [Ping timeout: 264 seconds]
x0f has joined #ruby
ruskie has quit [Ping timeout: 260 seconds]
netscape101 has quit [Ping timeout: 260 seconds]
ruskie has joined #ruby
bmurt has joined #ruby
bmurt has quit [Read error: No route to host]
bmurt has joined #ruby