cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
AJA4351 has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Ping timeout: 248 seconds]
AJA4351 is now known as AJA4350
DTZUZO has quit [Ping timeout: 244 seconds]
<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
<havenwood>
chris349: I'd rather walk you through installing the certs than show you how to avoid them. :-P
<havenwood>
chris349: Then again, Ruby - you'll shoot your eye out!
<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?
<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
<chris349>
havenwood, The certs are installed, but I still get errors
<havenwood>
chris349: What are the errors?
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 260 seconds]
AJA4351 is now known as AJA4350
Sembei has joined #ruby
Pisuke has quit [Ping timeout: 240 seconds]
<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
<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...
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tristanp has joined #ruby
<kapil___>
hello i am making project website for jewelry manufacturing. can someone review it?
<baweaver>
that's a bit of a big ask
<baweaver>
Is there something specific you want people to look at?
tristanp has quit [Ping timeout: 265 seconds]
<kapil___>
just i need suggestions, i making project for long time. and this is my first project
<baweaver>
If I recall, this was the site that you'd mixed a lot of React and other technology in with Rails
white_lilies has quit [Ping timeout: 248 seconds]
<baweaver>
If this is your first project, my advice would be to stay as simple as possible.
<kapil___>
yes, thanks
<baweaver>
As you add projects to your belt, try something new, but when starting? It'd be too overwhelming.
<baweaver>
you'll spend far more time trying to get them all to work together than getting much done
<kapil___>
thanks
xall has quit [Ping timeout: 268 seconds]
elphe has quit [Ping timeout: 240 seconds]
Mike11 has quit [Ping timeout: 240 seconds]
xall has joined #ruby
beefjoe has quit [Remote host closed the connection]
xall has quit [Client Quit]
fluxAeon has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dhollin3 is now known as dhollinger
<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?
AJA4350 has joined #ruby
drale2k_ has joined #ruby
drale2k_ has quit [Client Quit]
AJA4351 has joined #ruby
<havenwood>
Between those I'd prefer the former. Default RuboCop banks on the latter as well.
<Zarthus>
i'm just getting 500 on evalin
<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."
AJA4350 has quit [Ping timeout: 240 seconds]
<JJonah>
havenwood: ty! i knew it was in there somewhere...
<Zarthus>
i'd argue for a line length > 80 characters, beyond that I've always seen the former written.
<Zarthus>
I think the latter is less readable
<Zarthus>
but you don't want thoughts; you want convention :P
<al2o3-cr>
i too agree to the former.
AJA4350 has joined #ruby
<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.
<Zarthus>
I like 120 as sane default. Some code can get really unreadable with the 80 cutoff
<Zarthus>
especially if you name ytour classes ExtensionRequestAttributeValue
<JJonah>
120 feels too long to me, but eh, not a hill I want to die on.
<Zarthus>
aye, it's moot to discuss.
<Zarthus>
in fairness i use 4 spaces for indentation
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
ferhaty has joined #ruby
desperek has joined #ruby
<havenwood>
Zarthus: Heresy!
<havenwood>
Two-space, soft tabs are the *one thing* we can all agree on!!
<havenwood>
:-P
<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
ciro has joined #ruby
<Zarthus>
so many code smells become obvious once you write with 8 space indentation
AJA4351 has joined #ruby
troys has joined #ruby
eckhardt has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
drale2k_ has joined #ruby
ferhaty has quit [Quit: ferhaty]
AJA4351 has joined #ruby
<baweaver>
I've known three-spacers
<baweaver>
the monsters
<ciro>
I use tabs
<JJonah>
Zarthus: I agree with your code smell point, but that's a bit like saying
AJA4350 has quit [Ping timeout: 248 seconds]
AJA4351 is now known as AJA4350
<Zarthus>
you don't have to agree with me ;p
<Zarthus>
code style is agreed upon within teams, and to some degree a community
<Zarthus>
do whatever works best for your team
<JJonah>
a bit like saying getting beat with a stick when your code smells makes it obvious :)
<Zarthus>
JJonah: I recommend 8 spaces to new developers, whatever they prefer to more experienced ones
<JJonah>
also, there is legitimate, non-smelly use of nested indentation: nested modules for namespacing. with 8 space tabs that will screw you.
<Zarthus>
it stops them from getting into houdoken blocks of code
<Zarthus>
but with that said, i've never tried/taught ruby so i'm not sure how well it works there
<Zarthus>
tried it*
AJA4350 has quit [Ping timeout: 240 seconds]
<baweaver>
There's not a single style rule existing in the world that will stop people from making bad code.
AJA4350 has joined #ruby
<Zarthus>
unfortunately.
<baweaver>
Fixating on style misses a myriad of other architectural and design issues
_Caerus has joined #ruby
<baweaver>
and that leads to Juniors focusing exclusively on style nit-picking in their code reviews, which stunts their growth as engineers.
<baweaver>
Automated style enforcement and fix-on-save is the gold standard. Set and forget.
<JJonah>
baweaver: that's why style should be enforced at the tooling level. making human beings into parsers is just a waste...
<baweaver>
^ yep
<baweaver>
Personally I take offense at doing something my computer could do for me
<Zarthus>
out of curiousity: has anyone attended a college or university that taught tooling beyond an IDE?
<Zarthus>
i'm talking CI / jenkins / style linters
<baweaver>
My college taught RPG and COBOL
<baweaver>
so don't listen to me on that one XD
<Zarthus>
=P
<baweaver>
They should though, at least to a basic extent. If nothing else, version control like git
<Zarthus>
some things are only taught at internships and professional workfloors afaik
<Zarthus>
git was not covered in the first two years of my college
<baweaver>
If they can get some comfort with git, that's required for pretty much everything post-college
<baweaver>
and probably a good idea for assignments and code submission in the first place.
<Zarthus>
It was a right pain to see my project mates start developing with dropbox.
Caerus has quit [Ping timeout: 264 seconds]
AJA4351 has joined #ruby
troulouliou_div2 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
troulouliou_div2 has quit [Remote host closed the connection]
apeiros has joined #ruby
lomex has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
alfiemax_ has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 264 seconds]
AJA4351 is now known as AJA4350
troulouliou_div2 has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
houhoulis has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 244 seconds]
AJA4351 is now known as AJA4350
caw_________ has quit [Ping timeout: 240 seconds]
Auv has quit [Ping timeout: 240 seconds]
Auv has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
alnewkirk has joined #ruby
vircung has quit [Ping timeout: 256 seconds]
sirecote has quit [Ping timeout: 256 seconds]
n13z has quit [Ping timeout: 256 seconds]
alnewkir1 has quit [Ping timeout: 256 seconds]
jokke1 has quit [Ping timeout: 256 seconds]
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #ruby
bak1an has joined #ruby
jready has joined #ruby
shortdudey123 has quit [Ping timeout: 269 seconds]
n13z has joined #ruby
AJA4350 has quit [Ping timeout: 264 seconds]
shortdudey123 has joined #ruby
meinside_ has joined #ruby
jidar_ has joined #ruby
alfiemax_ has quit [Read error: Connection reset by peer]
alex`` has joined #ruby
alfiemax has joined #ruby
alex`` has quit [Client Quit]
AJA4350 has joined #ruby
cyberRodent has quit [Ping timeout: 240 seconds]
cpallares has quit [Ping timeout: 240 seconds]
alex`` has joined #ruby
apparition has quit [Quit: Bye]
kapil___ has quit [Quit: Connection closed for inactivity]
meinside has quit [Ping timeout: 256 seconds]
jidar has quit [Ping timeout: 256 seconds]
eb0t has quit [Ping timeout: 256 seconds]
duracrisis has quit [Ping timeout: 256 seconds]
meinside_ is now known as meinside
jidar_ is now known as jidar
jokke__ has joined #ruby
valkyr2e has quit [Ping timeout: 240 seconds]
chamunks has joined #ruby
cyberRodent has joined #ruby
balr0g has quit [Ping timeout: 256 seconds]
iceskins[m] has quit [Ping timeout: 256 seconds]
iGNUjee[m] has quit [Ping timeout: 256 seconds]
cpallares has joined #ruby
wildermind has quit [Ping timeout: 256 seconds]
alfiemax_ has joined #ruby
valkyr2e has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 248 seconds]
wildermind has joined #ruby
duracrisis has joined #ruby
AJA4350 has joined #ruby
nowhere_man has quit [Remote host closed the connection]
devyn has quit [Ping timeout: 256 seconds]
nowhere_man has joined #ruby
eb0t has joined #ruby
devyn has joined #ruby
hurricanehrndz has quit [Ping timeout: 260 seconds]
jready has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 240 seconds]
vikaton has joined #ruby
orbyt_ has joined #ruby
ricer2 has quit [Ping timeout: 240 seconds]
ricer2 has joined #ruby
Xiti has quit [Quit: Xiti]
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
AJA4350 has joined #ruby
AJA4350 has quit [Ping timeout: 260 seconds]
AJA4350 has joined #ruby
alfiemax_ has quit [Remote host closed the connection]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 264 seconds]
AJA4351 is now known as AJA4350
AJA4351 has joined #ruby
lomex has joined #ruby
alfiemax has joined #ruby
konsolebox has joined #ruby
AJA4350 has quit [Ping timeout: 260 seconds]
jready has joined #ruby
AJA4351 has quit [Ping timeout: 240 seconds]
Fira has joined #ruby
balr0g has joined #ruby
ineb has quit [Quit: WeeChat 2.1]
AJA4350 has joined #ruby
<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 :( ?
maryo has joined #ruby
<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
nowhere_man has quit [Ping timeout: 256 seconds]
<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
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
<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
_Caerus has quit [Quit: thunderstorm]
<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
<Fira>
Guess i'll just roll with ncurses then or look hoelzro's way, thanks for the advice !
<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 :-/
vircung has joined #ruby
vircung is now known as _circung_
konsolebox has quit [Ping timeout: 264 seconds]
_circung_ is now known as _vircung_
_vircung_ is now known as _vircung
jready has quit []
dviola has joined #ruby
_vircung is now known as vircung
konsolebox_ has joined #ruby
elphe has joined #ruby
patr0clus has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 260 seconds]
AJA4351 is now known as AJA4350
edwardly has joined #ruby
bak1an_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
james12343 has joined #ruby
<james12343>
hii
james12343 has left #ruby [#ruby]
<apeiros>
bye?
elphe has joined #ruby
alex`` has quit [Quit: WeeChat 2.2]
alex`` has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
inukshuk has left #ruby [#ruby]
houhoulis has quit []
<maryo>
Why do I have three gem path defined under my user profile? https://dpaste.de/fSrc
Zaab1t has quit [Quit: Zaab1t]
alfiemax has quit [Ping timeout: 244 seconds]
patr0clus has quit [Quit: WeeChat 2.1]
apeiros_ has joined #ruby
patr0clus has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
eb0t has quit [Quit: WeeChat 2.0.1]
<apeiros_>
!fixcon AJA4350
apeiros_ is now known as apeiros
oft_gegong has joined #ruby
<oft_gegong>
hi everyone. I just got a ruby book and I'm really interested in object oriented programming
alfiemax has joined #ruby
kapil___ has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
reber has quit [Read error: Connection reset by peer]
matti has joined #ruby
<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?
bmurt has joined #ruby
AJA4351 has joined #ruby
bmurt has quit [Client Quit]
AJA4350 has quit [Ping timeout: 256 seconds]
AJA4351 is now known as AJA4350
patr0clus has quit [Quit: WeeChat 2.1]
AJA4350 has quit [Ping timeout: 240 seconds]
<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 ?