kellabyte

Activity Graph

Page 1 of 1

2016-04-05

[15:39:39] kellabyte: has left #ruby: ()

2016-04-04

[18:04:25] kellabyte: how did people do things before the dig method? I need to make something run on an older version of ruby
[18:05:06] kellabyte: was there another less than ideal but somewhat elegant way to solve what dig does?
[18:05:12] kellabyte: apeiros: thanks for that answer lol
[18:07:34] kellabyte: ok that makes sense, thanks

2016-03-31

[17:58:11] kellabyte: has joined #ruby
[17:58:53] kellabyte: I'm trying to use %Q() to run a curl command that works on the command line but I'm getting this error, any thoughts? I feel like I'm doing something really dumb somewhere: https://gist.github.com/kellabyte/84235c207df7c53c0ac9cec05b26cf04
[18:00:41] kellabyte: smathy: I'm not sure what you mean?
[18:02:16] kellabyte: smathy: I have other curl commands working fine though, not sure why this specific one isn't
[18:06:16] kellabyte: where does the | go? I'm new to ruby so trying to interpret what you're telling me
[18:07:50] kellabyte: fair point :P
[18:08:42] kellabyte: I mostly found it because it was already in the code base lol
[18:10:12] kellabyte: smathy: yeah, I like to learn my mistakes before going down an alternative route and then not learning what I did wrong
[18:11:43] kellabyte: ok read the docs, clear about | but thats strange that the other curl commands work without it
[18:12:53] kellabyte: sweet, sure :) I have to obfuscate the exact url details for business purposes
[18:17:28] kellabyte: smathy: https://gist.github.com/kellabyte/84235c207df7c53c0ac9cec05b26cf04
[18:23:41] kellabyte: ok let me show another example
[18:24:59] kellabyte: smathy: oh I see, interesting. what about this second example? https://gist.github.com/kellabyte/84235c207df7c53c0ac9cec05b26cf04
[18:26:50] kellabyte: smathy: sorry there's an open() there too, I forgot to paste that
[18:42:07] kellabyte: smathy: ooooh I see the difference, some do an IO.open
[18:51:12] kellabyte: in ruby how can I check something["foo"]["bar"][0]["baz"]["foo"] exists before trying to access it and crash?
[18:51:26] kellabyte: I know in ruby you can check that without having to check each level right?
[18:55:30] kellabyte: can I mix dig with keys and array locations too?

2016-03-13

[17:35:15] kellabyte: has left #ruby: ()

2016-03-02

[16:15:33] kellabyte: Ping timeout: 264 seconds
[16:15:35] kellabyte: has joined #ruby
[16:15:39] kellabyte: has joined #ruby
[16:15:39] kellabyte: Changing host
[16:15:43] kellabyte: has joined #ruby
[16:15:43] kellabyte: Changing host

2016-03-01

[19:25:44] kellabyte: *.net *.split
[19:31:34] kellabyte: has joined #ruby

2016-02-16

[23:38:41] kellabyte: *.net *.split

2016-02-04

[04:12:47] kellabyte: Ping timeout: 260 seconds
[04:18:22] kellabyte: has joined #ruby

2016-01-13

[18:11:40] kellabyte: has joined #ruby

2015-12-29

[15:01:16] kellabyte: Ping timeout: 240 seconds
[15:03:34] kellabyte: has joined #ruby

2015-12-13

[10:26:12] kellabyte: Ping timeout: 260 seconds
[10:45:57] kellabyte: has joined #ruby

2015-12-06

[15:54:36] kellabyte: Read error: Connection reset by peer
[15:55:29] kellabyte: has joined #ruby

2015-12-02

[15:37:22] kellabyte: *.net *.split
[15:41:33] kellabyte: has joined #ruby
[15:53:28] kellabyte: *.net *.split
[16:47:48] kellabyte: has joined #ruby
[19:33:34] kellabyte: Remote host closed the connection
[20:13:51] kellabyte: has joined #ruby

2015-11-30

[01:06:57] kellabyte: Read error: Connection reset by peer
[01:07:08] kellabyte: has joined #ruby
[01:30:49] kellabyte: Ping timeout: 264 seconds
[01:32:32] kellabyte: has joined #ruby
[01:44:13] kellabyte: Read error: Connection reset by peer
[01:45:13] kellabyte: has joined #ruby
[03:23:01] kellabyte: Ping timeout: 264 seconds
[03:24:10] kellabyte: has joined #ruby
[03:36:12] kellabyte: Ping timeout: 264 seconds
[09:44:32] kellabyte: has joined #ruby

2015-11-29

[21:19:24] kellabyte: Ping timeout: 264 seconds
[21:31:27] kellabyte: has joined #ruby
[22:16:24] kellabyte: Ping timeout: 260 seconds
[22:54:04] kellabyte: has joined #ruby
[22:58:29] kellabyte: Ping timeout: 245 seconds
[23:09:13] kellabyte: has joined #ruby

2015-11-26

[08:22:52] kellabyte: has joined #ruby
[08:22:52] kellabyte: Changing host

2015-11-17

[05:25:22] kellabyte: *.net *.split
[05:27:39] kellabyte: has joined #ruby

2015-11-14

[07:03:57] kellabyte: Ping timeout: 255 seconds
[07:05:30] kellabyte: has joined #ruby
[10:20:32] kellabyte: Ping timeout: 252 seconds
[10:27:01] kellabyte: has joined #ruby

2015-11-02

[15:35:21] kellabyte: *.net *.split
[15:51:20] kellabyte: has joined #ruby

2015-10-21

[17:25:23] kellabyte: Ping timeout: 240 seconds

2015-10-16

[00:15:56] kellabyte: has joined #ruby

2015-10-12

[21:21:38] kellabyte: Ping timeout: 250 seconds
[22:18:41] kellabyte: has joined #ruby

2015-10-11

[02:30:30] kellabyte: Read error: Connection reset by peer
[03:06:21] kellabyte: has joined #ruby
[08:36:07] kellabyte: Remote host closed the connection
[08:50:56] kellabyte: has joined #ruby

2015-10-09

[09:34:32] kellabyte: Read error: Connection reset by peer
[10:14:22] kellabyte: has joined #ruby

2015-09-25

[03:39:52] kellabyte: has joined #ruby
[03:40:44] kellabyte: bundle isn't picking up a gem for some reason, $GEM_HOME doesn't match what "bundle show <package>" reports, aren't those supposed to match?
[04:05:17] kellabyte: havenwood: no not setting anything, it's weird, if I do bundle install in this project, this dependency ends up in .bundler/ instead of .rvm/ and that deps deps don't get picked up
[04:05:25] kellabyte: but why is this one gem going somewhere else? its weird
[04:06:50] kellabyte: does bundler use $GEM_ENV?
[04:15:59] kellabyte: havenwood: no not rails
[04:16:24] kellabyte: havenwood: its weird, if I do bundle show X then I cd to X and do bundle show rest-client, it comes from an entirely different place than X does
[04:16:34] kellabyte: you'd think both dependencies would be from the same location
[04:16:56] kellabyte: rest-client won't be picked up by the root application though that's using X which uses rest-client
[04:22:19] kellabyte: I don't want to change how someone elses project is working
[04:23:18] kellabyte: but something is seriously screwy if you cd projA bundle install which installs projB into ~/.bundler but then you cd ~/.bundler/blahblah/projB and do a bundle show rest-client and its in ~/.rvm
[04:23:25] kellabyte: like nothing is matching or something
[04:23:38] kellabyte: how do per-project bundler work? does it store something in the projects directory?
[04:23:47] kellabyte: where does it remember settings?
[04:24:08] kellabyte: bundle config outputs nothing
[04:24:50] kellabyte: cd projA bundle config nothing
[04:24:56] kellabyte: cd projB bundle config some stuff
[04:32:26] kellabyte: well I'm not sure which is the issue, projA or projB
[04:40:57] kellabyte: baweaver: I don't see why that would be putting this 1 dependency in an entirely different place?
[04:41:51] kellabyte: no problem, thanks for the help, much appreciated
[04:42:11] kellabyte: I just wanted to write some ruby but I've spent 5 hours with bundler not resolving this dependency lol
[04:44:41] kellabyte: havenwood: where are bundler config files stored?
[04:46:50] kellabyte: bundle config reports nothing
[04:46:58] kellabyte: like absolutely nothing lol
[04:47:16] kellabyte: bundler version 1.10.6
[04:47:59] kellabyte: yeah $GEM_HOME matches other bundle show depC
[04:48:12] kellabyte: but bundle show depB is in an entirely different location than depC
[04:48:16] kellabyte: depC works depB does not
[04:48:55] kellabyte: maybe I should rm -rf ~/.bundler or something
[04:49:04] kellabyte: nuke all caches all configs? lol
[04:52:58] kellabyte: nope that didn't work either, it still put depB into ~/.bundler/ all by itself
[04:58:17] kellabyte: havenwood: I'm not sure what you mean, what do I do with gem i -g?
[04:59:26] kellabyte: havenwood: oh, that installs from the local path you mean?
[05:01:19] kellabyte: oh crap, I think I found the problem
[05:01:22] kellabyte: no clue why its a problem
[05:01:28] kellabyte: verifying..