« Back to channel list

#ruby - 07 January 2018

« Back 1 day Forward 1 day »
[00:00:09] chocoelho: has joined #ruby
[00:01:19] mtkd: has joined #ruby
[00:04:20] cdg: has joined #ruby
[00:04:34] goat: has joined #ruby
[00:04:55] Guest35375: is it illegal to interpolate a string into a symbol name? like :some_symbol_named_"#{var_name}"
[00:05:31] cdg: has joined #ruby
[00:06:04] genpaku: has joined #ruby
[00:06:24] hahuang65: has joined #ruby
[00:06:46] elphe: has joined #ruby
[00:06:55] cdg: has joined #ruby
[00:09:09] shinnya: has joined #ruby
[00:11:17] Mweshi: has joined #ruby
[00:11:35] c0ncealed: has joined #ruby
[00:12:18] shinnya: has joined #ruby
[00:13:02] darix: >>> "some_symbol_named_#{var_name}".to_sym
[00:13:15] darix: Guest35375: that should work
[00:14:15] Guest35375: darix: rad! thanks
[00:14:35] darix: >> var_name="foo" ; "some_symbol_named_#{var_name}".to_sym
[00:14:36] ruby[bot]: darix: # => :some_symbol_named_foo (https://eval.in/931746)
[00:15:36] ghoti_: has joined #ruby
[00:16:31] adambeynon: has joined #ruby
[00:17:46] izaac: has joined #ruby
[00:18:21] skawa: has joined #ruby
[00:18:33] ledestin: has joined #ruby
[00:18:37] Phlogistique: has joined #ruby
[00:18:52] yo61: has joined #ruby
[00:19:04] seanh: has joined #ruby
[00:19:53] cttttt: has joined #ruby
[00:19:53] Sylario: has joined #ruby
[00:20:03] Lloyd: has joined #ruby
[00:20:13] cschneid_: has joined #ruby
[00:24:51] kapil___: has joined #ruby
[00:27:43] jrafanie: has joined #ruby
[00:28:44] cschneid_: has joined #ruby
[00:30:57] akkad: has joined #ruby
[00:32:15] cdolan: has joined #ruby
[00:33:05] m27frogy: has joined #ruby
[00:36:07] jdawgaz: has joined #ruby
[00:37:54] jtdoncas: has joined #ruby
[00:38:21] Azure: has joined #ruby
[00:40:04] workmad3: has joined #ruby
[00:40:37] nowhere_man: has joined #ruby
[00:43:18] Guest35375: if i set some of Net::SSH's connection options, will rush and/or rye use those options? cant seem to figure out how to tell rush to use a key
[00:44:01] Guest35375: i mean, they use Net::SSH under the hood, except when they use Net::SCP
[00:44:07] bronson: has joined #ruby
[00:45:56] cschneid_: has joined #ruby
[00:47:36] workmad3: has joined #ruby
[00:49:16] apparition: has joined #ruby
[00:51:16] KeyJoo: has joined #ruby
[00:51:25] ResidentBiscuit: has joined #ruby
[00:51:42] cremes: has joined #ruby
[00:51:46] raul782: has joined #ruby
[00:59:39] kculpis: has joined #ruby
[01:01:09] funnel: has joined #ruby
[01:02:33] cschneid_: has joined #ruby
[01:02:42] jeffreylevesque: has joined #ruby
[01:04:46] alfiemax: has joined #ruby
[01:06:10] pleiosaur: has joined #ruby
[01:08:49] zautomata: has joined #ruby
[01:12:46] milardovich: has joined #ruby
[01:13:32] heftig: has joined #ruby
[01:16:21] jdawgaz: has joined #ruby
[01:19:08] Guest90: has joined #ruby
[01:20:18] zwliew: has joined #ruby
[01:26:02] cremes: has joined #ruby
[01:34:58] jdawgaz: has joined #ruby
[01:37:54] ur5us: has joined #ruby
[01:42:10] cdg: has joined #ruby
[01:45:32] bronson: has joined #ruby
[01:46:48] goat: has joined #ruby
[01:47:09] pastorinni: has joined #ruby
[01:47:47] raul782: has joined #ruby
[01:48:39] jdawgaz: has joined #ruby
[01:49:56] johno84: has joined #ruby
[01:54:19] alfiemax: has joined #ruby
[01:55:07] jrafanie: has joined #ruby
[01:58:54] faces: has joined #ruby
[02:03:07] cdg: has joined #ruby
[02:03:38] theo_: has joined #ruby
[02:15:42] moogumbo: has joined #ruby
[02:15:45] giraffe: has joined #ruby
[02:16:32] tpendragon: has joined #ruby
[02:16:40] galeido: has joined #ruby
[02:18:47] drewmcmillan: has joined #ruby
[02:23:42] mjolnird: has joined #ruby
[02:23:59] cdg: has joined #ruby
[02:27:46] apparition: has joined #ruby
[02:30:04] hahuang65: has joined #ruby
[02:32:51] Immune: has joined #ruby
[02:36:12] kiltzman: has joined #ruby
[02:37:12] kiltzman: has joined #ruby
[02:37:48] kiltzman: has joined #ruby
[02:38:17] rfoust: has joined #ruby
[02:38:47] kiltzman: has joined #ruby
[02:39:14] kiltzman: has joined #ruby
[02:39:45] kiltzman: has joined #ruby
[02:46:06] bronson: has joined #ruby
[02:57:12] gizmore|2: has joined #ruby
[02:59:33] shinnya: has joined #ruby
[03:01:22] cdg: has joined #ruby
[03:01:32] raz: has joined #ruby
[03:01:39] pastorinni: has joined #ruby
[03:05:51] UncleCid__: has joined #ruby
[03:05:57] nickjj_: has joined #ruby
[03:08:15] fusta: has joined #ruby
[03:18:35] nso95: has joined #ruby
[03:19:02] jtdoncas: has joined #ruby
[03:21:15] nso95: has joined #ruby
[03:21:45] Guest90: has joined #ruby
[03:23:54] tuelz: has joined #ruby
[03:26:59] jtdoncas: has joined #ruby
[03:30:44] eightlimbed: has joined #ruby
[03:32:36] eightlimbed: has joined #ruby
[03:33:22] eightlimbed: has joined #ruby
[03:34:50] jrafanie: has joined #ruby
[03:37:10] alfiemax: has joined #ruby
[03:38:36] ur5us: has joined #ruby
[03:44:49] houhoulis: has joined #ruby
[03:46:19] Iambchop: Guest35375: maybe I'm looking at the wrong things; but looks like rush doesn't use net::ssh but directly runs ssh commands, but rye does take a key parameter
[03:46:23] Iambchop: https://github.com/delano/rye/blob/master/lib/rye/box.rb
[03:46:34] Iambchop: https://github.com/adamwiggins/rush/blob/master/lib/rush/ssh_tunnel.rb
[03:46:57] bronson: has joined #ruby
[03:47:16] Iambchop: could maybe use .ssh/config to configure the underlying ssh for rush?
[03:52:12] orbyt_: has joined #ruby
[03:58:28] jtdoncas: has joined #ruby
[04:06:16] r3kz: has joined #ruby
[04:08:07] theo_: has joined #ruby
[04:09:37] mtkd: has joined #ruby
[04:10:08] theo__: has joined #ruby
[04:11:48] cdg: has joined #ruby
[04:18:10] thinkpad: has joined #ruby
[04:19:10] theo_: has joined #ruby
[04:22:06] theo__: has joined #ruby
[04:29:13] jtdoncas: has joined #ruby
[04:34:38] Guest35375: Iambchop: okay, good to know. it looks like .ssh/config is the best solution, thanks!
[04:40:37] nwm: has joined #ruby
[04:41:40] 92AACOFW6: has joined #ruby
[04:42:11] nwm_: has joined #ruby
[04:46:10] kapil___: has joined #ruby
[04:47:54] cats: has joined #ruby
[04:48:00] bronson: has joined #ruby
[04:49:08] r3kz: has joined #ruby
[04:50:19] cdg: has joined #ruby
[04:50:38] kapil___: https://gist.github.com/kapilpipaliya/340e1d008d48cc517fd67d35912467d8
[04:51:00] kapil___: i am not able to pass block to a that is yield function.
[04:51:05] woodruffw: has joined #ruby
[04:51:05] woodruffw: has joined #ruby
[04:53:44] kapil___: i want to pass block_given to other function
[04:55:24] gix-: has joined #ruby
[04:57:25] mrush: has joined #ruby
[04:58:48] mozzarella: kapil___: def b(&block); a(&block); end
[04:59:02] houhoulis: has joined #ruby
[04:59:18] alfiemax: has joined #ruby
[05:00:03] kapil___: mozzarella: please can u write full example?
[05:02:01] mozzarella: kapil___: https://gist.github.com/sam113101/abf99cc7efec703d3a93c1aa38cdc936
[05:02:52] kapil___: mozzarella: thanks
[05:03:57] kapil___: mozzarella: I write :
[05:04:05] kapil___: https://www.irccloud.com/pastebin/136CvWTJ/ok%3F.rb
[05:04:05] ruby[bot]: kapil___: as I told you already, please use https://gist.github.com
[05:04:22] kapil___: mozzarella: is it ok?
[05:06:24] mozzarella: what are you trying to do
[05:06:33] Vashy: kapil___, hope mozzarella's answer helped -- to add to it, the reason he's passing in &block to `a` inside of `b` is because blocks are the implicit last argument to methods in ruby
[05:07:10] Vashy: but you're having to pass it in explicitly there
[05:08:05] kapil___: Vashy: thanks. it helped.what should i use?
[05:08:47] Vashy: what mozzarella posted looked like the answer to exactly what you're asking for
[05:09:04] armyriad: has joined #ruby
[05:09:22] kapil___: ok thanks..
[05:12:58] Vashy: kapil___, https://mixandgo.com/blog/mastering-ruby-blocks-in-less-than-5-minutes
[05:13:46] kapil___: Vashy: thanks
[05:14:45] Asher: has joined #ruby
[05:17:54] kapil___: Vashy: &block is working for me.
[05:18:07] Vashy: good to hear
[05:19:20] yxhuvud: has joined #ruby
[05:26:35] knight33: has joined #ruby
[05:26:39] Dimik: has joined #ruby
[05:36:53] ur5us: has joined #ruby
[05:40:31] jnyw: has joined #ruby
[05:41:06] uZiel: has joined #ruby
[05:48:39] bronson: has joined #ruby
[05:57:54] alfiemax: has joined #ruby
[06:01:33] UncleCid__: has joined #ruby
[06:06:28] govg: has joined #ruby
[06:07:42] jackjackdripper: has joined #ruby
[06:11:42] rabajaj: has joined #ruby
[06:16:14] jackjackdripper: has joined #ruby
[06:19:39] jackjackdripper: has joined #ruby
[06:21:15] darkhanb: has joined #ruby
[06:22:21] numbdewd: has joined #ruby
[06:22:24] randomstrangerb: has joined #ruby
[06:30:49] abra_ha_m: has joined #ruby
[06:32:17] noone: has joined #ruby
[06:32:17] shinnya: has joined #ruby
[06:32:29] kdelante14: has joined #ruby
[06:34:06] cschneid_: has joined #ruby
[06:34:51] cdg: has joined #ruby
[06:38:19] hahuang65: has joined #ruby
[06:40:50] kiltzman: has joined #ruby
[06:41:18] kiltzman: has joined #ruby
[06:42:50] kiltzman: has joined #ruby
[06:43:16] kiltzman: has joined #ruby
[06:44:20] kiltzman: has joined #ruby
[06:45:17] kiltzman: has joined #ruby
[06:49:23] bronson: has joined #ruby
[06:58:46] jtdoncas: has joined #ruby
[07:01:42] alfiemax: has joined #ruby
[07:02:10] darkhanb: has joined #ruby
[07:03:42] Xiti`: has joined #ruby
[07:05:13] jtdoncas_: has joined #ruby
[07:06:02] elphe: has joined #ruby
[07:08:47] KeyJoo: has joined #ruby
[07:08:55] jtdoncas: has joined #ruby
[07:11:15] workmad3: has joined #ruby
[07:11:36] za1b1tsu: has joined #ruby
[07:11:47] za1b1tsu: Anyway I can configure guard rubocop to run when a certain file is modified?
[07:20:21] cschneid_: has joined #ruby
[07:30:27] yeticry: has joined #ruby
[07:32:13] alfiemax: has joined #ruby
[07:35:14] rippa: has joined #ruby
[07:37:31] apparition: has joined #ruby
[07:40:24] mtkd: has joined #ruby
[07:47:22] dionysus69: has joined #ruby
[07:50:30] bronson: has joined #ruby
[07:53:03] cschneid_: has joined #ruby
[07:53:39] ur5us: has joined #ruby
[07:53:47] randomstrangerb: has joined #ruby
[07:54:41] elphe: has joined #ruby
[07:57:21] Immune: has joined #ruby
[08:00:10] cdg: has joined #ruby
[08:02:32] randomstrangerb: has joined #ruby
[08:13:27] tAn: has joined #ruby
[08:14:13] InfinityFye: has joined #ruby
[08:16:44] InfinityFye: has left #ruby: ()
[08:19:46] mymtw: has joined #ruby
[08:26:49] phaul: has joined #ruby
[08:32:59] Ishido: has joined #ruby
[08:35:32] cschneid_: has joined #ruby
[08:39:30] hahuang65: has joined #ruby
[08:45:34] l_tonz: has joined #ruby
[08:46:11] chat_: has joined #ruby
[08:49:52] Gnukpd: has joined #ruby
[08:50:58] elphe: has joined #ruby
[08:51:16] l_tonz: has joined #ruby
[08:51:19] bronson: has joined #ruby
[08:54:54] marr: has joined #ruby
[08:56:17] darkhanb: has joined #ruby
[08:57:52] mlehrer: has joined #ruby
[08:58:21] alex``: has joined #ruby
[09:00:31] l_tonz: has joined #ruby
[09:02:13] VladGh_: has joined #ruby
[09:03:35] elphe: has joined #ruby
[09:06:36] moei: has joined #ruby
[09:10:25] faces: has joined #ruby
[09:16:40] KeyJoo: has joined #ruby
[09:32:21] oetjenj: has joined #ruby
[09:42:38] cschneid_: has joined #ruby
[09:46:10] Mahmoud: has joined #ruby
[09:52:19] bronson: has joined #ruby
[09:54:11] Gnukpd: has joined #ruby
[09:55:16] jtdoncas: has joined #ruby
[09:59:19] milardovich: has joined #ruby
[10:01:12] biberu: has joined #ruby
[10:02:42] jtdoncas: has joined #ruby
[10:08:44] pskosinski: has joined #ruby
[10:08:45] pskosinski: has joined #ruby
[10:10:58] elphe: has joined #ruby
[10:12:47] claudiuinberlin: has joined #ruby
[10:18:19] rrichardsr3: has joined #ruby
[10:20:01] cschneid_: has joined #ruby
[10:21:36] phaul: has joined #ruby
[10:22:09] Ishido: has joined #ruby
[10:33:15] nowhereman_: has joined #ruby
[10:33:41] Ellusionist: has joined #ruby
[10:34:23] alfiemax: has joined #ruby
[10:36:08] jtdoncas: has joined #ruby
[10:36:58] l_tonz: has joined #ruby
[10:40:22] kapil___: has joined #ruby
[10:40:34] hahuang65: has joined #ruby
[10:46:34] kiltzman: has joined #ruby
[10:47:30] kiltzman: has joined #ruby
[10:48:34] kiltzman: has joined #ruby
[10:49:01] kiltzman: has joined #ruby
[10:49:31] kiltzman: has joined #ruby
[10:49:56] amatas: has joined #ruby
[10:50:06] kiltzman: has joined #ruby
[10:52:28] iamarun: has joined #ruby
[10:52:59] bronson: has joined #ruby
[10:54:10] AJA4350: has joined #ruby
[10:55:45] cschneid_: has joined #ruby
[10:57:20] Prutheus: has joined #ruby
[10:58:06] Prutheus: Hey. I recently read about an interesting topic. There, it was able to convert ruby variables to strings (or streams) and backwards. So I could store variables in config files and recreate them .... but I cant find it anymore, anyone an idea what that was?
[10:59:10] nowhereman_: has joined #ruby
[11:01:14] workmad3: has joined #ruby
[11:05:01] sameerynho: has joined #ruby
[11:06:47] Ellusionist: has joined #ruby
[11:10:09] jhass: prutheus: look for Marshal
[11:10:53] Prutheus: yes it was marshal, thanks a lot!
[11:13:02] jtdoncas: has joined #ruby
[11:13:30] drewmcmillan: has joined #ruby
[11:14:46] zautomata: has joined #ruby
[11:17:34] l_tonz: has joined #ruby
[11:18:30] beauby: has joined #ruby
[11:23:38] mikecmpbll: has joined #ruby
[11:24:44] Prutheus: has joined #ruby
[11:25:11] Prutheus: Hey it is me again.
[11:25:34] Prutheus: Is it also possible to dump data with Marshal which is a GTK Element? because I just get ``dump': no _dump_data is defined for class Gtk::Viewport`
[11:25:53] Ishido: has joined #ruby
[11:26:11] Prutheus: What I want to do: I wanna store the values i have entered in some gtk elements... but i need to sotre it individually and cant jsut store my whole gtk container, can i?
[11:27:44] bkxd: has joined #ruby
[11:34:27] jdawgaz: has joined #ruby
[11:38:04] alfiemax_: has joined #ruby
[11:39:13] Beams: has joined #ruby
[11:46:34] bkxd: has joined #ruby
[11:47:43] jtdoncas: has joined #ruby
[11:50:05] Immune: has joined #ruby
[11:51:14] bkxd: has joined #ruby
[11:53:47] bronson: has joined #ruby
[11:55:37] milardovich: has joined #ruby
[11:57:35] jhass: prutheus: no, you have to store the state, so the actual text as a string
[12:00:46] l_tonz: has joined #ruby
[12:01:08] plexigras: has joined #ruby
[12:02:14] bkxd: has joined #ruby
[12:04:41] bkxd: has joined #ruby
[12:07:56] cschneid_: has joined #ruby
[12:12:10] cdg: has joined #ruby
[12:18:52] jtdoncas: has joined #ruby
[12:20:01] alfiemax: has joined #ruby
[12:25:56] conta: has joined #ruby
[12:27:10] KeyJoo: has joined #ruby
[12:33:50] Jicemo: has joined #ruby
[12:41:25] alfiemax: has joined #ruby
[12:41:58] hahuang65: has joined #ruby
[12:42:29] apparition: has joined #ruby
[12:43:09] cschneid_: has joined #ruby
[12:49:56] jtdoncas: has joined #ruby
[12:54:35] bronson: has joined #ruby
[12:59:02] l_tonz: has joined #ruby
[12:59:47] drewmcmillan: has joined #ruby
[13:02:13] workmad3: has joined #ruby
[13:03:10] chat_: has joined #ruby
[13:03:12] Beams: has joined #ruby
[13:03:32] TomyLobo: has joined #ruby
[13:04:42] Gnukpd: has joined #ruby
[13:05:09] matled: has joined #ruby
[13:05:42] garyserj: has joined #ruby
[13:09:17] DmitryBochkarev: has joined #ruby
[13:12:54] iamarun: has joined #ruby
[13:16:38] d^sh: has joined #ruby
[13:16:58] jottr: has joined #ruby
[13:21:26] jtdoncas: has joined #ruby
[13:21:29] Beams: has joined #ruby
[13:22:37] mikecmpbll: has joined #ruby
[13:24:48] chocoelho: has joined #ruby
[13:25:21] mikecmpb_: has joined #ruby
[13:26:32] workmad3: has joined #ruby
[13:27:24] Beams: has joined #ruby
[13:28:25] thinkpad: has joined #ruby
[13:30:18] z3uS: has joined #ruby
[13:32:03] Beams: has joined #ruby
[13:34:43] johno84: has joined #ruby
[13:36:30] byte512: Hey there :)
[13:41:55] byte512: Quick question... i have a script ruby that produces an output and that i'd like to pipe to a 3rd party app all the time to format it nicer (read the whole output, analyses it, and produces a summary -- don't want to rewrite it in ruby). Currently i just do `script | ./bin/othercommand`, is there a trick with the hashbang or something so i can all the time post-process the output from that script with that app?
[13:43:05] thinkpad: has joined #ruby
[13:45:34] mikecmpb_: has joined #ruby
[13:48:46] pradeek: has joined #ruby
[13:49:01] mtkd: has joined #ruby
[13:50:03] cschneid_: has joined #ruby
[13:55:18] jtdoncas: has joined #ruby
[13:56:20] bronson: has joined #ruby
[14:00:55] konsolebox: has joined #ruby
[14:02:17] mikecmpbll: has joined #ruby
[14:05:17] k0mpa: has joined #ruby
[14:06:12] darix: byte512: a wrapper script that calls your ruby script | other command?
[14:07:05] darix: byte512: of course you can also do a popen on otherprogramm from your ruby script. and then instead of writing to stdout you write to the file handle of the popen
[14:07:27] darix: you might need popen[234] for this. but you will find that from the docs
[14:07:31] l_tonz: has joined #ruby
[14:11:45] mikecmpb_: has joined #ruby
[14:12:13] ldepandis: has joined #ruby
[14:20:45] Ishido: has joined #ruby
[14:23:50] kobain: has joined #ruby
[14:24:19] Ellusionist: has joined #ruby
[14:26:04] vyorkin: has joined #ruby
[14:28:30] randomstrangerb: has joined #ruby
[14:30:04] jtdoncas: has joined #ruby
[14:30:45] yahmds: has joined #ruby
[14:38:51] zwliew: has joined #ruby
[14:41:23] jdawgaz: has joined #ruby
[14:42:47] tomphp: has joined #ruby
[14:49:11] tomphp: has joined #ruby
[14:51:10] kiltzman: has joined #ruby
[14:53:41] kiltzman: has joined #ruby
[14:55:45] kiltzman: has joined #ruby
[14:56:15] kiltzman: has joined #ruby
[14:57:00] bronson: has joined #ruby
[14:57:13] kiltzman: has joined #ruby
[14:57:46] kiltzman: has joined #ruby
[14:58:23] synstack: has joined #ruby
[14:58:23] synstack: has joined #ruby
[14:59:16] l_tonz: has joined #ruby
[14:59:44] cschneid_: has joined #ruby
[15:00:56] jdawgaz: has joined #ruby
[15:02:53] jtdoncas: has joined #ruby
[15:03:55] goatish: has joined #ruby
[15:05:31] jdawgaz: has joined #ruby
[15:06:21] jdawgaz: has joined #ruby
[15:07:06] jdawgaz: has joined #ruby
[15:08:04] jdawgaz: has joined #ruby
[15:08:25] quobo: has joined #ruby
[15:12:16] DTZUZO: has joined #ruby
[15:13:20] rfoust: has joined #ruby
[15:13:25] dviola: has joined #ruby
[15:15:12] drewmcmillan: has joined #ruby
[15:15:28] _aeris_: has joined #ruby
[15:18:22] workmad3: has joined #ruby
[15:18:58] knight33: has joined #ruby
[15:19:48] dreinull: do we have some http server that supports in some way pathnames that spa use? I'm lacking the rubyesque vocabulary to search for this.
[15:20:09] pilne: has joined #ruby
[15:21:02] _aeris_: has joined #ruby
[15:25:46] ikopico: has joined #ruby
[15:28:26] ResidentBiscuit: has joined #ruby
[15:28:48] Miron: has joined #ruby
[15:32:05] DLSteve: has joined #ruby
[15:34:45] jtdoncas: has joined #ruby
[15:35:49] knight33: has joined #ruby
[15:39:07] herbmillerjr: has joined #ruby
[15:39:39] leitz: has joined #ruby
[15:45:55] dizzy1or5[m]: has joined #ruby
[15:48:12] chat_: has joined #ruby
[15:49:01] elphe: has joined #ruby
[15:52:36] jonjitsu: has joined #ruby
[15:53:43] mtkd: has joined #ruby
[15:55:49] Quentinius: has joined #ruby
[15:56:05] ikopico: has joined #ruby
[15:56:17] cdg: has joined #ruby
[15:57:44] bronson: has joined #ruby
[16:01:56] oetjenj: has joined #ruby
[16:02:42] oetjenj: has joined #ruby
[16:02:42] Beams: has joined #ruby
[16:03:37] l_tonz: has joined #ruby
[16:03:38] oetjenj: has joined #ruby
[16:03:50] alfiemax: has joined #ruby
[16:05:37] uZiel: has joined #ruby
[16:05:48] zautomata: has joined #ruby
[16:06:49] ikopico: has joined #ruby
[16:08:45] ikopico: has joined #ruby
[16:10:11] jtdoncas: has joined #ruby
[16:11:30] Beams_: has joined #ruby
[16:11:53] jonjitsu: I have an rspec that passes when I bundle exec rspec but not when I bundle exec rake spec wheere the rake task is just RSpec::Core::RakeTask.new(:spec) does rake change the environment somehow?
[16:13:01] jonjitsu: I could change to sh 'bundle exec rspec' but I find it weird...
[16:13:59] alfiemax: has joined #ruby
[16:15:10] tomphp: has joined #ruby
[16:16:21] ikopico: has joined #ruby
[16:17:41] ikopico: has joined #ruby
[16:18:44] psychicist__: has joined #ruby
[16:19:39] selim: has joined #ruby
[16:20:46] idefine: has joined #ruby
[16:22:23] houhoulis: has joined #ruby
[16:23:23] Beams_: has joined #ruby
[16:24:16] ikopico: has joined #ruby
[16:24:56] cschneid_: has joined #ruby
[16:27:17] truenito: has joined #ruby
[16:30:43] mikecmpbll: has joined #ruby
[16:31:08] therealGent: has joined #ruby
[16:31:45] idefine: has joined #ruby
[16:32:14] haxx0r: has joined #ruby
[16:32:33] haxx0r: i would like to include another class into a class, based on it's attributes (rails)
[16:32:51] haxx0r: after_initialize {
[16:32:51] haxx0r: self.class.send :include, brand.constantize
[16:33:09] haxx0r: this seems to be wrong approach
[16:34:04] darix: haxx0r: uhm why?
[16:35:44] haxx0r: ah, my module was still *def self.reboot * instead of *def reboot*.
[16:35:49] haxx0r: ok, working as expected. aweseom :)
[16:36:00] za1b1tsu: Hello, is there anyway I can do this more rubyesque score.between?(subject[:min], subject[:max]), to not repeat subject?
[16:36:11] elphe: has joined #ruby
[16:37:30] ikopico: has joined #ruby
[16:37:56] haxx0r: #rubberduck development :)
[16:38:21] tomphp: has joined #ruby
[16:39:06] jdawgaz: has joined #ruby
[16:40:31] knight33: has joined #ruby
[16:43:35] hahuang65: has joined #ruby
[16:44:11] dinfuehr_: has joined #ruby
[16:45:20] hays_: has joined #ruby
[16:45:32] Fraeon: has joined #ruby
[16:46:23] _aeris_: has joined #ruby
[16:47:44] jtdoncas: has joined #ruby
[16:48:30] chat_: has joined #ruby
[16:49:30] brodul: has joined #ruby
[16:51:22] apeiros: za1b1tsu: if subject is a hash or otherwise responds to values_at: score.between?(*subject.values_at(:min, :max))
[16:53:12] za1b1tsu: aperios, that is nice, thank you, but why the *?
[16:53:25] za1b1tsu: oh, transforms to multiple
[16:55:38] Papierkorb: has left #ruby: ("Konversation terminated!")
[16:57:34] marr: has joined #ruby
[16:58:38] bronson: has joined #ruby
[16:58:52] theo__: has joined #ruby
[17:00:12] idefine: has joined #ruby
[17:02:50] dinfuehr: has joined #ruby
[17:03:57] l_tonz: has joined #ruby
[17:07:47] knight33: has joined #ruby
[17:08:06] Psybur: has joined #ruby
[17:08:07] Psybur: has joined #ruby
[17:08:59] DTZUZO: has joined #ruby
[17:10:07] cschneid_: has joined #ruby
[17:10:40] phaul: has joined #ruby
[17:11:56] Ellusionist: has joined #ruby
[17:14:52] brian_penguin: has joined #ruby
[17:16:41] jdawgaz: has joined #ruby
[17:16:42] jamesaxl: has joined #ruby
[17:19:28] workmad3: has joined #ruby
[17:21:37] mn3m: has joined #ruby
[17:21:59] dionysus69: has joined #ruby
[17:23:01] jdawgaz: has joined #ruby
[17:25:22] mikecmpb_: has joined #ruby
[17:25:49] idefine: has joined #ruby
[17:26:14] Dimik: has joined #ruby
[17:26:53] jtdoncas: has joined #ruby
[17:27:18] zautomata: has joined #ruby
[17:30:27] mikecmpbll: has joined #ruby
[17:32:03] Fridtjof: hey everyone - i have a slight problem using sockets
[17:32:27] Fridtjof: i followed the tcpserver example to the book, but it won't accept tcp connections
[17:32:50] Fridtjof: the client i'm trying to connect is a 2004 game i'm reverse engineering
[17:33:12] Fridtjof: this works in python, but i'd rather use ruby
[17:33:40] orbyt_: has joined #ruby
[17:35:45] jdawgaz: has joined #ruby
[17:39:58] alex``: has joined #ruby
[17:41:21] pastorinni: has joined #ruby
[17:42:26] pastorinni: has joined #ruby
[17:42:35] Fridtjof: idk how, but my windows firewall had a rule blocking any incoming connection to specifically ruby
[17:43:47] idefine: has joined #ruby
[17:47:21] _aeris_: has joined #ruby
[17:52:27] Ellusionist: has joined #ruby
[17:53:30] mozzarel1: has joined #ruby
[17:54:40] madhatter: has joined #ruby
[17:55:56] theo_: has joined #ruby
[17:56:55] jtdoncas: has joined #ruby
[17:59:00] mtkd: has joined #ruby
[17:59:26] bronson: has joined #ruby
[18:00:55] theo__: has joined #ruby
[18:06:43] Riddell: has joined #ruby
[18:07:02] drewmcmillan: has joined #ruby
[18:09:23] Azure: has joined #ruby
[18:14:13] KramerC: has joined #ruby
[18:14:54] cschneid_: has joined #ruby
[18:16:54] theo__: has joined #ruby
[18:17:29] Beams: has joined #ruby
[18:18:33] jtdoncas: has joined #ruby
[18:19:45] idefine: has joined #ruby
[18:20:24] beauby: has joined #ruby
[18:30:34] jdawgaz: has joined #ruby
[18:31:24] jdawgaz: has joined #ruby
[18:32:14] jdawgaz: has joined #ruby
[18:33:02] jdawgaz: has joined #ruby
[18:33:57] jdawgaz: has joined #ruby
[18:36:10] jdawgaz: has joined #ruby
[18:36:55] jdawgaz: has joined #ruby
[18:40:26] drewmcmillan: has joined #ruby
[18:40:30] ResidentBiscuit: has joined #ruby
[18:40:56] govg: has joined #ruby
[18:42:28] jxv: has joined #ruby
[18:43:15] goatish: has joined #ruby
[18:44:23] hahuang65: has joined #ruby
[18:45:27] conta: has joined #ruby
[18:46:27] idefine: has joined #ruby
[18:48:01] jdawgaz: has joined #ruby
[18:48:51] jdawgaz: has joined #ruby
[18:50:08] ResidentBiscuit: has joined #ruby
[18:51:02] oryman: has joined #ruby
[18:54:37] A124: has joined #ruby
[18:54:46] Immune: has joined #ruby
[18:55:13] cschneid_: has joined #ruby
[18:57:15] zautomata: has joined #ruby
[18:58:24] kiltzman: has joined #ruby
[18:58:52] kiltzman: has joined #ruby
[18:59:59] kiltzman: has joined #ruby
[19:00:15] bronson: has joined #ruby
[19:00:55] kiltzman: has joined #ruby
[19:01:59] kiltzman: has joined #ruby
[19:02:24] kiltzman: has joined #ruby
[19:05:18] jdawgaz: has joined #ruby
[19:07:19] tomphp: has joined #ruby
[19:08:57] kapil___: has joined #ruby
[19:13:19] jxv: has joined #ruby
[19:14:18] jottr: has joined #ruby
[19:19:54] workmad3: has joined #ruby
[19:20:47] kculpis: has joined #ruby
[19:21:02] l_tonz: has joined #ruby
[19:27:09] valkyr2e_: has joined #ruby
[19:31:26] Xiti: has joined #ruby
[19:33:41] nowhereman_: has joined #ruby
[19:38:35] cschneid_: has joined #ruby
[19:42:54] mjolnird: has joined #ruby
[19:43:21] mjolnird: has joined #ruby
[19:43:33] DrCode: has joined #ruby
[19:46:02] amatas: has joined #ruby
[19:48:29] jdawgaz: has joined #ruby
[19:51:16] hahuang65: has joined #ruby
[19:59:24] chopin: has joined #ruby
[20:00:16] milardovich: has joined #ruby
[20:00:16] randomstrangerb: has joined #ruby
[20:00:47] scott4000: has joined #ruby
[20:03:07] armyriad: has joined #ruby
[20:07:51] ur5us: has joined #ruby
[20:11:19] vichib: has joined #ruby
[20:12:56] comet23: has joined #ruby
[20:13:09] comet23: what are some cool pages to learn algorithms?
[20:13:58] alex``: has joined #ruby
[20:17:30] cschneid_: has joined #ruby
[20:18:15] l_tonz: has joined #ruby
[20:20:34] rigby: has joined #ruby
[20:24:01] toit: has joined #ruby
[20:24:41] beauby: has joined #ruby
[20:24:42] phaul: comet23: I know you are asking for some cool pages, and I'm only saying this as the chat seems virtually dead at the moment, but in studying algorithms this is my main source of wisdom : https://en.wikipedia.org/wiki/Introduction_to_Algorithms try to get a copy if you can
[20:24:52] ltem: has joined #ruby
[20:26:59] absent: has joined #ruby
[20:27:43] electrostat_: has joined #ruby
[20:29:58] marens_: has joined #ruby
[20:29:59] marens_: has joined #ruby
[20:30:01] Kuukunen-: has joined #ruby
[20:30:03] Raboo_: has joined #ruby
[20:30:05] planigan_: has joined #ruby
[20:30:05] async_pr1: has joined #ruby
[20:30:11] pookie: has joined #ruby
[20:30:53] phaul: dont get me wrong, the book is great, but its not some cool pages
[20:33:15] Danielss89_: has joined #ruby
[20:33:17] soahccc^: has joined #ruby
[20:33:19] flips_: has joined #ruby
[20:33:27] toit: Hi, I'm interested in a project written in RoR. But having no previous experience with ruby I find it surprisingly hard to even install ruby on my system (WSL on Windows 10). I have a background in Java and don't understand what is the purpose of RVM/rbenv. Do I have to install exact version that is specified in Gemfile? Can't I just use latest version of ruby?
[20:33:32] sindork_: has joined #ruby
[20:33:32] Marc-: has joined #ruby
[20:33:37] matthewd_: has joined #ruby
[20:33:38] brixen_: has joined #ruby
[20:33:39] gsingh93-: has joined #ruby
[20:33:41] DenSchub_: has joined #ruby
[20:33:41] EvilJStoker: has joined #ruby
[20:33:50] Ellusionist: has joined #ruby
[20:33:59] Bilge-: has joined #ruby
[20:34:23] Fridtjof_: has joined #ruby
[20:34:33] joes-: has joined #ruby
[20:34:41] absent: has left #ruby: ("Leaving")
[20:35:27] leitz: toit, there's a Rails specific channel; see the header info. To answer your question, usually "the latest" is fine.
[20:35:57] leitz: But any specifics depend on the packages, etc.
[20:37:51] rigby: has left #ruby: ("WeeChat 1.9.1")
[20:38:09] toit: leitz, it seems that building ruby from sources requires ruby being installed. How should I go about this?
[20:39:38] eightlimbed: has joined #ruby
[20:40:22] ryotarai: has joined #ruby
[20:40:28] shortdudey123: has joined #ruby
[20:41:50] beauby: has joined #ruby
[20:42:48] leitz: toit, have you tried to use the Ruby Installer for Windows?
[20:42:54] spectra: has joined #ruby
[20:43:07] leitz: https://rubyinstaller.org/
[20:44:37] toit: I'm trying to use WSL, which is Ubuntu 16.04 running on top of windows kernel. This should work much smoother down the road.
[20:46:51] akkad: has joined #ruby
[20:51:18] cschneid_: has joined #ruby
[20:53:22] nickjj: toit, if docker isn't an option i would use chruby
[20:53:52] nickjj: https://github.com/postmodern/chruby and https://github.com/postmodern/ruby-install
[20:59:21] hfp_work: has joined #ruby
[21:01:28] bronson: has joined #ruby
[21:02:53] vdl: has joined #ruby
[21:04:02] Tagami[m]: has joined #ruby
[21:04:31] darix: toit: apt-cache search ruby
[21:04:36] darix: toit: apt-get install ruby
[21:04:52] darix: and i am sure they also have newer linux versions for WSL
[21:06:06] toit: what happens when I have one ruby installed by apt and another from sources?
[21:06:43] darix: toit: you need to call them with the right path
[21:07:16] zalipuha[m]: has joined #ruby
[21:07:16] majoh_: has joined #ruby
[21:07:16] TheBrayn: has joined #ruby
[21:07:16] HashNuke: has joined #ruby
[21:07:16] zipkid: has joined #ruby
[21:07:16] Brak____________: has joined #ruby
[21:07:16] Tony-St4rk: has joined #ruby
[21:07:16] auv: has joined #ruby
[21:07:16] bove: has joined #ruby
[21:07:16] justinweiss: has joined #ruby
[21:07:16] machty: has joined #ruby
[21:07:16] dmnd: has joined #ruby
[21:07:16] colstrom: has joined #ruby
[21:07:16] cgfbee: has joined #ruby
[21:07:17] zalipuha[m]: has joined #ruby
[21:08:25] bove: has joined #ruby
[21:08:34] auv: has joined #ruby
[21:08:41] HashNuke: has joined #ruby
[21:09:25] Gnukpd: has joined #ruby
[21:11:13] machty: has joined #ruby
[21:11:32] BTRE: has joined #ruby
[21:13:02] cgfbee: has joined #ruby
[21:16:34] r3kz: has joined #ruby
[21:18:43] Puffball: has joined #ruby
[21:20:44] workmad3: has joined #ruby
[21:27:58] shoogz: has joined #ruby
[21:29:26] shoogz: has joined #ruby
[21:30:15] tomphp: has joined #ruby
[21:30:48] haylon_: has joined #ruby
[21:34:10] nickjj: toit, that is what chruby solves
[21:34:19] nickjj: it lets you switch between whatever versions of ruby you want
[21:36:15] toit: nickjj, as I said above I don't get why one needs a tool for that instead of just using latest version.
[21:37:18] toit: meanwhile I installed older ruby version via apt and build newer from sources. Somehow when during apt remove new ruby also got removed. Redoing everything...
[21:37:41] toit: now with --prefix=/opt/ruby-<version>
[21:39:13] Vapez: has joined #ruby
[21:43:43] mtkd: has joined #ruby
[21:45:54] elphe: has joined #ruby
[21:50:07] ResidentBiscuit: has joined #ruby
[21:54:05] Azure: has joined #ruby
[21:55:39] cschneid_: has joined #ruby
[21:57:27] konsolebox: has joined #ruby
[21:57:50] _sfiguser: has joined #ruby
[22:01:07] milardovich: has joined #ruby
[22:02:19] bronson: has joined #ruby
[22:02:46] l_tonz: has joined #ruby
[22:05:40] nicesignal: has joined #ruby
[22:05:46] toit: seems to be working now, thanks for help
[22:06:06] toit: or should I say danke schön
[22:07:07] eightlimbed: has joined #ruby
[22:07:09] theo__: has joined #ruby
[22:10:36] eightlimbed: has joined #ruby
[22:11:12] nowhere_man: has joined #ruby
[22:15:37] tAn: has joined #ruby
[22:22:40] zwliew: has joined #ruby
[22:27:58] darkhanb: has joined #ruby
[22:30:17] jxv: has joined #ruby
[22:33:49] jdawgaz: has joined #ruby
[22:37:19] orbyt_: has joined #ruby
[22:38:46] johno84: has joined #ruby
[22:41:51] nowhere_man: has joined #ruby
[22:42:07] elphe: has joined #ruby
[22:42:37] Insti: has joined #ruby
[22:44:39] Insti: has left #ruby: ("Leaving")
[22:49:01] Ishido: has joined #ruby
[22:51:36] weaksauce: has joined #ruby
[22:54:03] hfp_work: has joined #ruby
[22:56:53] theo__: has joined #ruby
[23:02:16] l_tonz: has joined #ruby
[23:03:12] bronson: has joined #ruby
[23:04:28] ledestin: has joined #ruby
[23:04:34] jdawgaz: has joined #ruby
[23:04:38] Beams: has joined #ruby
[23:05:41] kiltzman: has joined #ruby
[23:05:46] tyler: has joined #ruby
[23:07:06] hfp_work: has joined #ruby
[23:07:40] kiltzman: has joined #ruby
[23:07:52] drewmcmillan: has joined #ruby
[23:09:43] kiltzman: has joined #ruby
[23:10:38] kiltzman: has joined #ruby
[23:10:42] hfp__work: has joined #ruby
[23:11:42] kiltzman: has joined #ruby
[23:12:39] kiltzman: has joined #ruby
[23:13:09] kiltzman: has joined #ruby
[23:13:44] kiltzman: has joined #ruby
[23:17:27] jtdoncas: has joined #ruby
[23:20:17] hahuang65: has joined #ruby
[23:21:03] l_tonz: has joined #ruby
[23:21:07] jxv: has joined #ruby
[23:24:24] haxx0r: has joined #ruby
[23:25:16] alfiemax_: has joined #ruby
[23:25:44] dionysus69: has joined #ruby
[23:28:45] hfp_work: has joined #ruby
[23:29:34] ResidentBiscuit: has joined #ruby
[23:36:25] eightlimbed: has joined #ruby
[23:39:08] _aeris_: has joined #ruby
[23:39:18] erts: has joined #ruby
[23:39:31] Puffball: has joined #ruby
[23:45:38] nowhere_man: has joined #ruby
[23:48:47] hfp_work: has joined #ruby
[23:49:28] cdg: has joined #ruby
[23:53:52] leitz: has joined #ruby
[23:57:18] hfp_work: has joined #ruby
[23:58:01] jnyw: has joined #ruby