« Back to channel list

#ruby - 04 August 2018

« Back 1 day Forward 1 day »
[00:01:19] AJA4351: has joined #ruby
[00:01:59] redlegion: has joined #ruby
[00:06:44] siaw23: has left #ruby: ()
[00:08:27] AJA4351: has joined #ruby
[00:11:14] AJA4350: has joined #ruby
[00:15:43] cadillac_: has joined #ruby
[00:18:53] cagomez: has joined #ruby
[00:22:37] AJA4351: has joined #ruby
[00:30:08] chris349: Can I just tell the gem command to ignore SSL certifcate errors? Dumb idea, I know. But I place all the possible certifcates in the rubygems/ssl_certs but I still keep getting validation errors
[00:30:55] havenwood: chris349: I'd rather walk you through installing the certs than show you how to avoid them. :-P
[00:32:05] havenwood: chris349: Then again, Ruby - you'll shoot your eye out!
[00:32:07] havenwood: chris349: --source http://rubygems.org
[00:32:29] jcarpenter2: has joined #ruby
[00:33:01] jcarpenter2: if i've got an error like this https://pastebin.com/raw/XNTnUZNY how do i tell what package depends on the missing package?
[00:33:40] havenwood: chris349: You can persist the option (really, it's a bad idea and I highly recommend NOT doing this): echo ":ssl_verify_mode: 0" >> ~/.gemrc
[00:34:17] chris349: havenwood, The certs are installed, but I still get errors
[00:34:33] havenwood: chris349: What are the errors?
[00:34:54] AJA4351: has joined #ruby
[00:36:17] Sembei: has joined #ruby
[00:41:20] chris349: Heres the latest one: ERROR: Could not find a valid gem ┬┤bundler` (>=0), here is why: Unable to download data from https://rubygems.org SSL_connect returned=1 errno=0 state-SSLv2/v3 read server hello: A tlsv1 alert protocol version
[00:42:36] nicesignal: has joined #ruby
[00:49:24] AJA4351: has joined #ruby
[00:49:31] havenwood: jcarpenter2: gem dependency --reverse-dependencies chain-bitcoin-ruby
[00:50:38] jcarpenter2: No gems found matching chain-bitcoin-ruby (>= 0)
[00:50:49] havenwood: jcarpenter2: gem dependency | ruby -e 'p ARGF.read.split("\n\n").map { |s| s.split "\n" }.map { |gem, *deps| [gem.delete_prefix("Gem "), deps.map(&:strip)] }.to_h["chain-bitcoin-ruby-0.0.1"]'
[00:51:34] havenwood: jcarpenter2: hrm, seems it's not a dep of an installed gem
[00:51:46] havenwood: jcarpenter2: oh, you're running bundler
[00:55:03] Nicmavr: has joined #ruby
[00:55:19] havenwood: jcarpenter2: try: bundle --verbose
[00:56:00] havenwood: jcarpenter2: can you see which gem it is then? or share your Gemfile?
[00:56:20] jcarpenter2: https://pastebin.com/raw/iZEHWvve
[00:56:30] jcarpenter2: i can't see what gem it is, it's definitely not "bundler"
[00:56:40] jcarpenter2: here is the gemfile https://github.com/Bitsino/BitsinoDice/blob/master/Gemfile
[00:58:19] jcarpenter2: i might know what's causing the problem, i changed ruby from 2.1.4 to 2.5.1 (latest stable) for reasons but i'm trying now with ruby 2.1.4 installed...
[00:58:43] jcarpenter2: rvm install 2.1.4 will take a bit
[01:02:16] havenwood: jcarpenter2: money-tree seems borked
[01:02:52] havenwood: jcarpenter2: oops, I mean chain-ruby
[01:03:17] havenwood: jcarpenter2: https://rubygems.org/search?utf8=%E2%9C%93&query=chain-rub
[01:03:26] havenwood: jcarpenter2: https://rubygems.org/search?utf8=%E2%9C%93&query=chain-ruby
[01:03:52] havenwood: jcarpenter2: what is this?
[01:04:34] havenwood: jcarpenter2: thee chain-* gems aren't on RubyGems
[01:04:43] jcarpenter2: this is a blockchain-based dice game that i was asked to try and use
[01:04:59] havenwood: jcarpenter2: link to the repo, or closed source?
[01:05:09] jcarpenter2: https://github.com/Bitsino/BitsinoDice
[01:05:09] havenwood: jcarpenter2: maybe it has an unreleased gem dep?
[01:07:38] jcarpenter2: idk how you would tell... it's supposed to be deployed to heroku so my guess is any non-standard gems would be hosted
[01:09:21] havenwood: jcarpenter2: Here's the chain-ruby gem: https://github.com/charleyhine/chain-ruby
[01:09:57] jcarpenter2: yeah, but the missing one is called chain-bitcoin-ruby
[01:10:11] jcarpenter2: and i don't know where that's getting required from
[01:10:27] jcarpenter2: i might just tell my guy "this project is too old and the code has rotted"
[01:11:03] havenwood: jcarpenter2: The gems just aren't there. I don't know if they were yanked? Maybe, since they see like forks. I dunno!
[01:11:13] havenwood: jcarpenter2: I think bitrot is true.
[01:11:38] jcarpenter2: i'd still like to know how you would identify the reverse dependency of "chain-bitcoin-ruby"
[01:12:07] havenwood: jcarpenter2: You'd have to have the thing that depends on it installed locally.
[01:12:16] havenwood: jcarpenter2: There's not such a gem on RubyGems.
[01:12:44] jcarpenter2: right... but something is referring to it by name
[01:17:55] havenwood: jcarpenter2: It's the onchain gem.
[01:18:53] havenwood: jcarpenter2: Or at least, if I remove it, the offending dep doesn't get triggerd.
[01:19:02] jcarpenter2: very interesting
[01:19:20] havenwood: jcarpenter2: This combo of old projects depends on non-existing other old projects.
[01:19:38] jcarpenter2: wow, i think i'm getting sick from smelling some expired tomato paste in the refrigerator
[01:20:00] jcarpenter2: that mold lies in wait for god knows how long
[01:20:33] havenwood: jcarpenter2: time to: GC.start
[01:20:59] jcarpenter2: quite right ;)
[01:21:13] redlegion: has joined #ruby
[01:32:11] apparition: has joined #ruby
[02:01:58] white_lilies: has joined #ruby
[02:22:22] tdy: has joined #ruby
[02:28:21] elphe: has joined #ruby
[02:33:16] vikaton: has joined #ruby
[02:38:03] dviola: has joined #ruby
[03:07:46] zacts: has joined #ruby
[03:10:16] braincrash: has joined #ruby
[03:11:21] akaiiro: has joined #ruby
[03:22:59] shortdudey123: has joined #ruby
[03:28:16] shortdudey123: has joined #ruby
[03:31:37] houhoulis: has joined #ruby
[03:33:27] ArahaelPi: has joined #ruby
[03:33:38] georgie: has joined #ruby
[03:39:02] cschneid_: has joined #ruby
[03:55:00] tdy: has joined #ruby
[03:58:12] maryo: has joined #ruby
[03:59:21] asphyxia: has joined #ruby
[03:59:39] arahael1: has joined #ruby
[04:03:32] mr_rich101: has joined #ruby
[04:04:49] mrush: has joined #ruby
[04:32:00] georgie: has joined #ruby
[04:36:47] tdy1: has joined #ruby
[04:38:57] maryo: has joined #ruby
[04:46:41] akaiiro: has joined #ruby
[04:47:17] Tempesta: has joined #ruby
[04:48:15] reber: has joined #ruby
[05:02:40] georgie: has joined #ruby
[05:11:50] snickers: has joined #ruby
[05:28:27] llua: has joined #ruby
[05:38:27] konsolebox: has joined #ruby
[05:42:32] akaiiro: has joined #ruby
[05:49:02] alfiemax: has joined #ruby
[05:50:56] venmx: has joined #ruby
[05:51:59] elphe: has joined #ruby
[06:14:51] apeiros: has joined #ruby
[06:22:10] apeiros: has joined #ruby
[06:33:47] qolq: has joined #ruby
[06:35:33] venmx: has joined #ruby
[06:44:37] apeiros: has joined #ruby
[06:56:53] tristanp: has joined #ruby
[07:13:33] akaiiro: has joined #ruby
[07:13:41] biberu: has joined #ruby
[07:18:26] chussenot: has joined #ruby
[07:24:55] kapil___: has joined #ruby
[07:28:30] _Caerus: has joined #ruby
[07:55:15] DTZUZO: has joined #ruby
[07:56:38] Dbugger: has joined #ruby
[07:59:13] _Caerus_: has joined #ruby
[08:03:40] dionysus69: has joined #ruby
[08:15:06] xall: has joined #ruby
[08:28:59] apparition: has joined #ruby
[08:50:33] za1b1tsu: has joined #ruby
[08:53:36] clemens3_: has joined #ruby
[08:57:59] tristanp: has joined #ruby
[08:58:22] darkhanb: has joined #ruby
[08:59:39] nowhere_man: has joined #ruby
[08:59:46] alfiemax: has joined #ruby
[09:00:41] Alina-malina: has joined #ruby
[09:01:10] dhollin3: has joined #ruby
[09:02:11] DTZUZO: has joined #ruby
[09:05:01] snickers: has joined #ruby
[09:08:30] ellcs: has joined #ruby
[09:12:56] wildermind: has joined #ruby
[09:26:17] conta: has joined #ruby
[09:29:48] drale2k_: has joined #ruby
[09:33:55] elphe: has joined #ruby
[09:34:45] Inline: has joined #ruby
[09:35:40] zapata: has joined #ruby
[09:43:04] tty: has joined #ruby
[09:48:28] ferhaty: has joined #ruby
[09:52:38] tj-: has joined #ruby
[09:55:44] darkhanb: has joined #ruby
[10:11:08] Caerus: has joined #ruby
[10:12:36] parduse: has joined #ruby
[10:35:17] alfiemax_: has joined #ruby
[10:40:54] User458764: has joined #ruby
[10:54:03] AJA4350: has joined #ruby
[10:58:54] tristanp: has joined #ruby
[11:06:25] venmx: has joined #ruby
[11:13:03] za1b1tsu: has joined #ruby
[11:17:20] parduse: has joined #ruby
[11:20:26] ciro: has joined #ruby
[11:25:59] Blaguvest: has joined #ruby
[11:28:41] drale2k_: has joined #ruby
[11:31:07] xall: has joined #ruby
[12:04:17] mikecmpbll: has joined #ruby
[12:07:23] elphe: has joined #ruby
[12:08:07] Inline: has joined #ruby
[12:20:57] root_____: has joined #ruby
[12:25:08] c0ncealed2: has joined #ruby
[12:27:50] darkhanb: has joined #ruby
[12:29:58] DTZUZO: has joined #ruby
[12:34:57] minimal_life: has joined #ruby
[12:43:47] Zaab1t: has joined #ruby
[13:04:51] apparition: has joined #ruby
[13:11:45] kapil___: how to set nested elment in array?
[13:12:00] kapil___: >> a = [[1, [2, 3]]]
[13:12:31] kapil___: >.> a = [[1, [2, 3]]]; a.dig(0, 1, 1)
[13:12:37] kapil___: >>> a = [[1, [2, 3]]]; a.dig(0, 1, 1)
[13:15:14] fmcgeough: has joined #ruby
[13:22:02] drale2k_: has joined #ruby
[13:22:50] Dbugger: has joined #ruby
[13:26:45] beefjoe: has joined #ruby
[13:27:48] xall: has joined #ruby
[13:40:28] GodFather: has joined #ruby
[13:41:39] apparition: has joined #ruby
[14:02:06] memo1: has joined #ruby
[14:05:37] georgie: has joined #ruby
[14:18:28] akaiiro: has joined #ruby
[14:33:41] jp|: has joined #ruby
[14:41:26] Mike11: has joined #ruby
[14:43:50] bmurt: has joined #ruby
[14:50:24] baweaver: kapil___: you know you need to provide some context as well
[14:50:38] baweaver: what problem are you trying to solve that you need to do this?
[14:51:19] baweaver: because the simple answers may be wrong depending on what it is you're doing
[14:51:37] Mike11: has joined #ruby
[14:52:54] baweaver: Wrote an article about creating an illustrated talk: https://medium.com/@baweaver/creating-reducing-enumerable-an-illustrated-adventure-c6adfcc30d5b
[14:52:55] MyMind: has joined #ruby
[14:58:25] white_lilies: has joined #ruby
[15:00:05] kapil___: baweaver: great articl
[15:01:27] tristanp: has joined #ruby
[15:02:47] kapil___: hello i am making project website for jewelry manufacturing. can someone review it?
[15:05:20] baweaver: that's a bit of a big ask
[15:05:42] baweaver: Is there something specific you want people to look at?
[15:06:45] kapil___: just i need suggestions, i making project for long time. and this is my first project
[15:07:42] baweaver: If I recall, this was the site that you'd mixed a lot of React and other technology in with Rails
[15:07:56] baweaver: If this is your first project, my advice would be to stay as simple as possible.
[15:08:24] kapil___: yes, thanks
[15:08:27] baweaver: As you add projects to your belt, try something new, but when starting? It'd be too overwhelming.
[15:08:44] baweaver: you'll spend far more time trying to get them all to work together than getting much done
[15:27:21] xall: has joined #ruby
[15:37:52] fluxAeon: has joined #ruby
[15:42:39] JJonah: I can't find anything in ruby style guide about line breaking conventions. eg: https://eval.in/1044640. Do any standards exist around this?
[15:44:08] AJA4350: has joined #ruby
[15:45:46] drale2k_: has joined #ruby
[15:50:39] AJA4351: has joined #ruby
[15:51:03] havenwood: Between those I'd prefer the former. Default RuboCop banks on the latter as well.
[15:51:16] Zarthus: i'm just getting 500 on evalin
[15:51:26] havenwood: JJonah: "Closing method call brace must be on the line after the last argument when opening brace is on a separate line from the first argument."
[15:52:00] JJonah: havenwood: ty! i knew it was in there somewhere...
[15:52:54] havenwood: Zarthus: Gisted JJonah's eval.in content: https://gist.github.com/havenwood/8e362d17e937e2d552622ef958c54feb
[15:53:25] Zarthus: cool, thanks :)
[15:55:36] Zarthus: i'd argue for a line length > 80 characters, beyond that I've always seen the former written.
[15:56:01] Zarthus: I think the latter is less readable
[15:56:12] Zarthus: but you don't want thoughts; you want convention :P
[15:56:28] al2o3-cr: i too agree to the former.
[15:56:38] AJA4350: has joined #ruby
[15:58:01] JJonah: Zarthus: Agreed, but I like the 80 cutoff. I know the number evolved out of old terminal days, but at some point lines get too long, and it's _around_ there... maybe it's 90, 100... whatever. But I think there value to picking some number when you're on a team, and sticking to it.
[15:58:30] Zarthus: I like 120 as sane default. Some code can get really unreadable with the 80 cutoff
[15:58:50] Zarthus: especially if you name ytour classes ExtensionRequestAttributeValue
[15:58:58] JJonah: 120 feels too long to me, but eh, not a hill I want to die on.
[15:59:08] Zarthus: aye, it's moot to discuss.
[15:59:31] Zarthus: in fairness i use 4 spaces for indentation
[16:00:47] AJA4350: has joined #ruby
[16:04:59] ferhaty: has joined #ruby
[16:05:47] desperek: has joined #ruby
[16:06:51] havenwood: Zarthus: Heresy!
[16:07:10] havenwood: Two-space, soft tabs are the *one thing* we can all agree on!!
[16:09:36] Zarthus: i would have argued for 8 space indentation if that was not (1) so much effort to type and (2) considered heresy by everyone and their mother on the world
[16:09:37] ciro: has joined #ruby
[16:10:29] Zarthus: so many code smells become obvious once you write with 8 space indentation
[16:11:11] AJA4351: has joined #ruby
[16:11:40] troys: has joined #ruby
[16:12:12] eckhardt: has joined #ruby
[16:16:28] drale2k_: has joined #ruby
[16:18:19] AJA4351: has joined #ruby
[16:18:33] baweaver: I've known three-spacers
[16:18:37] baweaver: the monsters
[16:18:59] ciro: I use tabs
[16:19:20] JJonah: Zarthus: I agree with your code smell point, but that's a bit like saying
[16:19:52] Zarthus: you don't have to agree with me ;p
[16:20:17] Zarthus: code style is agreed upon within teams, and to some degree a community
[16:20:28] Zarthus: do whatever works best for your team
[16:21:12] JJonah: a bit like saying getting beat with a stick when your code smells makes it obvious :)
[16:21:55] Zarthus: JJonah: I recommend 8 spaces to new developers, whatever they prefer to more experienced ones
[16:22:21] JJonah: also, there is legitimate, non-smelly use of nested indentation: nested modules for namespacing. with 8 space tabs that will screw you.
[16:22:21] Zarthus: it stops them from getting into houdoken blocks of code
[16:23:43] Zarthus: but with that said, i've never tried/taught ruby so i'm not sure how well it works there
[16:24:31] baweaver: There's not a single style rule existing in the world that will stop people from making bad code.
[16:24:43] AJA4350: has joined #ruby
[16:24:47] Zarthus: unfortunately.
[16:25:02] baweaver: Fixating on style misses a myriad of other architectural and design issues
[16:25:28] _Caerus: has joined #ruby
[16:25:33] baweaver: and that leads to Juniors focusing exclusively on style nit-picking in their code reviews, which stunts their growth as engineers.
[16:26:11] baweaver: Automated style enforcement and fix-on-save is the gold standard. Set and forget.
[16:26:18] JJonah: baweaver: that's why style should be enforced at the tooling level. making human beings into parsers is just a waste...
[16:26:52] baweaver: Personally I take offense at doing something my computer could do for me
[16:27:13] Zarthus: out of curiousity: has anyone attended a college or university that taught tooling beyond an IDE?
[16:27:24] Zarthus: i'm talking CI / jenkins / style linters
[16:27:32] baweaver: My college taught RPG and COBOL
[16:27:38] baweaver: so don't listen to me on that one XD
[16:28:05] baweaver: They should though, at least to a basic extent. If nothing else, version control like git
[16:28:06] Zarthus: some things are only taught at internships and professional workfloors afaik
[16:28:23] Zarthus: git was not covered in the first two years of my college
[16:28:34] baweaver: If they can get some comfort with git, that's required for pretty much everything post-college
[16:28:46] baweaver: and probably a good idea for assignments and code submission in the first place.
[16:29:02] Zarthus: It was a right pain to see my project mates start developing with dropbox.
[16:29:49] AJA4351: has joined #ruby
[16:30:47] troulouliou_div2: has joined #ruby
[16:37:38] apeiros: has joined #ruby
[16:56:00] lomex: has joined #ruby
[16:57:37] AJA4351: has joined #ruby
[17:01:19] alfiemax_: has joined #ruby
[17:03:22] AJA4351: has joined #ruby
[17:06:56] troulouliou_div2: has joined #ruby
[17:07:23] AJA4351: has joined #ruby
[17:11:20] houhoulis: has joined #ruby
[17:13:52] AJA4351: has joined #ruby
[17:22:59] auv: has joined #ruby
[17:23:53] AJA4351: has joined #ruby
[17:26:23] alnewkirk: has joined #ruby
[17:31:33] nowhere_man: has joined #ruby
[17:31:33] bak1an: has joined #ruby
[17:31:33] jready: has joined #ruby
[17:31:36] n13z: has joined #ruby
[17:33:33] shortdudey123: has joined #ruby
[17:34:53] meinside_: has joined #ruby
[17:36:06] jidar_: has joined #ruby
[17:36:18] alex``: has joined #ruby
[17:36:30] alfiemax: has joined #ruby
[17:37:16] AJA4350: has joined #ruby
[17:37:28] alex``: has joined #ruby
[17:37:56] jokke__: has joined #ruby
[17:41:01] chamunks: has joined #ruby
[17:41:01] cyberRodent: has joined #ruby
[17:41:02] cpallares: has joined #ruby
[17:41:02] alfiemax_: has joined #ruby
[17:41:17] valkyr2e: has joined #ruby
[17:42:10] wildermind: has joined #ruby
[17:43:09] duracrisis: has joined #ruby
[17:43:31] AJA4350: has joined #ruby
[17:43:59] nowhere_man: has joined #ruby
[17:46:56] eb0t: has joined #ruby
[17:48:56] devyn: has joined #ruby
[17:56:36] vikaton: has joined #ruby
[17:58:00] orbyt_: has joined #ruby
[18:03:44] ricer2: has joined #ruby
[18:11:30] orbyt_: has joined #ruby
[18:13:08] sameerynho: has joined #ruby
[18:15:13] bak1an_: has joined #ruby
[18:16:50] Xiti: has joined #ruby
[18:19:27] apeiros: has joined #ruby
[18:19:44] AJA4350: has joined #ruby
[18:27:49] AJA4350: has joined #ruby
[18:35:00] AJA4351: has joined #ruby
[18:39:49] AJA4351: has joined #ruby
[18:39:53] lomex: has joined #ruby
[18:40:45] alfiemax: has joined #ruby
[18:41:08] konsolebox: has joined #ruby
[18:43:17] jready: has joined #ruby
[18:44:23] Fira: has joined #ruby
[18:44:48] balr0g: has joined #ruby
[18:45:13] AJA4350: has joined #ruby
[18:46:21] Fira: Hi. I've been desperately looking for a library in Ruby that allows for async console input/output, or something like C Forms library, in order to implement a small realtime chat app. But I really can't find anything of the sort. Got tips :( ?
[18:47:42] maryo: has joined #ruby
[18:47:54] Fira: I'm using EventMachine right now but just doing plain old input/output with it makes both chomp each other. Also tried a few console-oriented libs, but they usually focus on synchronous "question-answer" modes
[18:50:28] Fira: I suppose I could just hack my own by reading unbuffered with a prompt and using terminal codes to handle repositioning cursor, but i really have no clue so I really was hoping someone would have done that somewhere
[18:55:40] AJA4351: has joined #ruby
[18:56:38] apeiros: Fira: curses/ncurses. since those are annoying - iirc hoelzro also wrote something which could be used, but his github account has >200 repos, so couldn't find it at a glance
[18:57:26] Fira: Ah thanks, i'll have a look. I actually thought about going with ncurses but i couldn't figure a proper way to do it simply with it, which is why i looked for an equivalent to forms also
[18:57:44] Fira: Guess i'll just roll with ncurses then or look hoelzro's way, thanks for the advice !
[18:58:36] apeiros: yw, do tell me please if you find something which suits you. I have tried a couple of times with curses but somehow never got it to work the way I thought it should :-/
[19:01:17] Vircung: has joined #ruby
[19:03:28] dviola: has joined #ruby
[19:06:24] konsolebox_: has joined #ruby
[19:07:21] elphe: has joined #ruby
[19:10:46] patr0clus: has joined #ruby
[19:14:59] AJA4351: has joined #ruby
[19:20:20] edwardly: has joined #ruby
[19:23:59] james12343: has joined #ruby
[19:25:25] james12343: has left #ruby: ()
[19:29:46] elphe: has joined #ruby
[19:30:21] alex``: has joined #ruby
[19:33:49] inukshuk: has left #ruby: ()
[19:36:21] maryo: Why do I have three gem path defined under my user profile? https://dpaste.de/fSrc
[19:44:56] apeiros_: has joined #ruby
[19:51:33] patr0clus: has joined #ruby
[19:52:17] AJA4351: has joined #ruby
[20:00:05] apeiros_: !fixcon AJA4350
[20:02:36] oft_gegong: has joined #ruby
[20:03:12] oft_gegong: hi everyone. I just got a ruby book and I'm really interested in object oriented programming
[20:04:57] alfiemax: has joined #ruby
[20:05:19] kapil___: has joined #ruby
[20:06:04] ruby[bot]: has joined #ruby
[20:06:04] ChanServ: +o ruby[bot]
[20:06:34] ruby[bot]: -bbbb DenSchub_!*@*$#ruby-banned Looking!*@*$#ruby-banned Guest46164!*@*$#ruby-banned Meanderthal9!*@*$#ruby-banned
[20:06:34] ruby[bot]: -bbb shreyansh_k24!*@*$#ruby-banned Guest30129!*@*$#ruby-banned Guest30129!*@*
[20:07:05] Mike11: has joined #ruby
[20:11:22] ciro: oft_gegong: congratulations
[20:15:34] jjman: oft_gegong: ruby is dead
[20:18:29] AJA4351: has joined #ruby
[20:20:56] apeiros: jjman: not funny
[20:28:27] maryo: what does this command do "bundle check" ?
[20:37:15] apeiros: maryo: run `bundle help check`
[20:39:44] maryo: apeiros, thank you
[20:39:51] apeiros: you're welcome
[20:41:40] d^sh: has joined #ruby
[20:41:51] oft_gegong: So what's wrong with this code?: https://gist.github.com/cdale0221/f58728d9bb5525b470c48d3940161150 I get the error: "hello.rb:3: class/module name must be CONSTANT"
[20:43:13] apeiros: oft_gegong: constants and local variables look almost the same. the deciding difference is that constants start with an uppercase letter A-Z
[20:43:24] apeiros: and in `class Foo`, the Foo part must be a constant.
[20:43:40] apeiros: myClass isn't, as it does not start with an uppercase letter.
[20:46:41] SCHAPiE: has joined #ruby
[21:02:25] Xiti: has joined #ruby
[21:05:13] alfiemax: has joined #ruby
[21:11:57] AJA4350: has joined #ruby
[21:18:57] Naeblis: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[21:21:19] matti: has joined #ruby
[21:22:38] maryo: I have installed the gem "dashing" but I am not sure where it has placed its binary (i.e under which path). Is there a way to figure it out?
[21:23:36] bmurt: has joined #ruby
[21:26:29] AJA4351: has joined #ruby
[21:35:04] maryo: I have executed bundle install inside my project. It has created a ruby directory inside my project and installed all the gems and bin inside it. But how can I tell bundle install to install all these things inside users home directory instead of project directory? i.e /home/maryo/.gem and /home/maryo/bin ?
[21:35:15] maryo: https://dpaste.de/Mb6g
[21:35:53] AJA4350: has joined #ruby
[21:42:18] apeiros: maryo: the `which` command is used to find the location of an executable
[21:42:38] apeiros: e.g. `which ruby`
[21:46:49] AJA4350: has joined #ruby
[21:48:27] alfiemax: has joined #ruby
[22:09:44] AJA4351: has joined #ruby
[22:10:40] UserOO7: has joined #ruby
[22:12:52] AJA4351: has joined #ruby
[22:15:03] Nicmavr: has joined #ruby
[22:18:28] AJA4351: has joined #ruby
[22:18:28] zapata: has joined #ruby
[22:29:08] UserOO7: has joined #ruby
[22:30:56] zapata: has joined #ruby
[22:31:45] alfiemax: has joined #ruby
[22:46:04] parduse: has joined #ruby
[23:00:47] armyriad: has joined #ruby
[23:03:08] scrptktty: has joined #ruby
[23:03:51] postmodern: has joined #ruby
[23:12:48] elphe: has joined #ruby
[23:15:23] apeiros: has joined #ruby
[23:27:25] Freshnuts: has joined #ruby
[23:33:05] parduse: has joined #ruby
[23:39:12] banisterfiend: has joined #ruby
[23:49:36] ellcs: has joined #ruby