2014-02-27 15:35
dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
00:52
v1n has joined #cinch
01:05
xeviox is now known as xeviox|afk
03:37
v1n has quit [Ping timeout: 252 seconds]
04:03
v1n has joined #cinch
04:19
v1n has quit [Ping timeout: 252 seconds]
04:25
nOgAnOo has joined #cinch
05:10
nOgAnOo is now known as n0g
05:11
n0g is now known as nOgAnOo
05:49
masso has joined #cinch
05:50
<
masso >
He guys, I have a little problem with cinch...
05:54
<
leftylink >
I think the only appropriate response to this is "I got 99 problems but a cinch ain't one"
05:56
<
masso >
hm ya, maybe I'm stupid, but somehow it gives me a load error all the time
05:57
<
masso >
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- bundler/setup (LoadError)
06:03
<
leftylink >
I don't think this is cinch's problem, but we can talk about bundler nevertheless
06:03
<
leftylink >
not that I know too much about that anyway, since I only just learned about it at work
06:05
<
leftylink >
... I guess the obvious question is, "is bundler installed?"
06:05
<
leftylink >
because if not, well, I would understand why there are problems loading it.
06:06
<
masso >
yeah, then it would be obvious, but it's installed. I tried to run this simple reggie bot, but meh...
06:07
<
leftylink >
and so, if you run some other ruby script that requires bundler/setup, it works, but it doesn't work for this particular bot?
06:07
<
leftylink >
hmmmmmmmmm
06:09
<
leftylink >
hmm, I wonder why that bot requires bundler anyway
06:10
<
masso >
hm, this I don't know...
06:13
<
masso >
re-installing bundler atm (for the second time)
06:18
<
masso >
/var/lib/gems/1.9.1/gems/configru-3.1.0/lib/configru.rb:86:in `block in load_group': server: option required (Configru::OptionRequiredError)
06:18
<
masso >
from /var/lib/gems/1.9.1/gems/configru-3.1.0/lib/configru.rb:65:in `load_group'
06:18
<
masso >
from /var/lib/gems/1.9.1/gems/configru-3.1.0/lib/configru.rb:56:in `reload'
06:18
<
masso >
from /var/lib/gems/1.9.1/gems/configru-3.1.0/lib/configru.rb:65:in `each'
06:18
<
masso >
from /var/lib/gems/1.9.1/gems/configru-3.1.0/lib/configru.rb:40:in `load'
06:18
<
masso >
from reggie.rb:6:in `<main>'
06:18
<
masso >
at least a diffeerent error now :(
06:19
<
leftylink >
what I think this means is that
06:19
<
leftylink >
you need to provide a server
06:19
<
leftylink >
since, you know, it's required
06:20
<
leftylink >
to be fair, the bot you're using doesn't exactly tell you anything about what command line options are required
06:20
<
leftylink >
so that's fun
06:21
<
masso >
ya, that's right, but what I don't understand is
06:21
<
masso >
Installing cinch (1.1.3)
06:21
<
masso >
Your bundle is complete!
06:21
<
masso >
Installing configru (3.1.0)
06:21
<
masso >
Using bundler (1.3.5)
06:22
<
leftylink >
I guess the bundle specifies that it wants 1.1.3
06:23
<
leftylink >
which is... kinda funny I guess
06:23
<
leftylink >
see the Gemfile
06:25
<
masso >
yeah, says 1.1.3
06:26
<
masso >
tbh, I don't even understand why there is a Gemfile and a Gemfile.lock
06:26
<
masso >
or better, why are they different?
06:28
<
masso >
Gemfile says: source :rubygems
06:35
<
leftylink >
this I don't know
06:35
<
leftylink >
at work where we use bundler both Gemfile and Gemfile.lock go in the repo too, and I wasn't sure of the difference between the two
06:45
<
masso >
as far as I can say atm it's not even about the bot...
06:46
<
masso >
the simple 'hello world' bot doesn't work neither
07:00
<
masso >
well, I guess I give up on that... I read almost everything about it and tested a lot, but nope
07:00
<
masso >
the documentation is not the best at all I'd say
07:01
<
masso >
read 5 things, have like 10 completely different solutions, none of wich is working :(
07:02
hephaestus_rg has quit [Quit: hephaestus_rg]
07:47
hephaestus_rg has joined #cinch
08:36
v1n has joined #cinch
08:53
v1n has quit [Ping timeout: 252 seconds]
09:32
hephaestus_rg has quit [Quit: hephaestus_rg]
10:31
kludge` has quit [Ping timeout: 252 seconds]
10:36
kludge` has joined #cinch
13:30
masso has quit [Read error: Connection reset by peer]
15:00
Zackio has joined #cinch
15:11
Zackio has quit [Read error: Operation timed out]
15:29
Zackio has joined #cinch
15:39
v1n has joined #cinch
16:08
Dwarf has quit [Ping timeout: 244 seconds]
17:43
cloud|nix has joined #cinch
18:09
cloud|nix has quit [Ping timeout: 264 seconds]
18:27
zipper has joined #cinch
18:29
<
zipper >
Uh I want to add a plugin for wolfram alpha support. I have already forked cinch and am wondering whether to add it to the development branch or in the master branch.
18:30
<
dominikh >
neither. the plugins that come with Cinch are example plugins, and they're mostly frozen
18:30
<
zipper >
dominikh: So no need to add a pull request you guys?
18:30
<
dominikh >
that is, we don't just add plugins because they might be useful to someone; all plugins in the examples are there to demonstrate different core features
18:31
<
dominikh >
zipper: nope. I'd recommend making a gem out of the plugin and publishing that instead :)
18:31
<
zipper >
It's just one file.
18:31
<
dominikh >
many plugins are
18:32
<
zipper >
wow ok I guess it will be a gem then. I have never made a gem before.
18:32
<
zipper >
Hope it won't be tons of work.
18:33
<
dominikh >
so you can see the structure etc
18:33
<
dominikh >
it basically comes down to the correct folder structure, the correct namespace, and a simple gemspec
18:34
<
zipper >
Thank you. I will look at what it takes to write a gem.
18:35
<
dominikh >
if there are any questions, feel free to ask
18:51
cloud|nix has joined #cinch
18:56
cloud|nix has quit [Ping timeout: 264 seconds]
19:31
zipper has quit [Ping timeout: 264 seconds]
20:07
Dwarf has joined #cinch
21:12
hephaestus_rg has joined #cinch