aeris has quit [Remote host closed the connection]
aeris has joined #ruby
jpw has joined #ruby
roadie has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
roadie has quit [Ping timeout: 245 seconds]
_ht has joined #ruby
reset has quit [Quit: reset]
jpw has quit [Remote host closed the connection]
menace has quit [Quit: menace]
roadie has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
roadie has joined #ruby
Guest47 has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
<Guest47>
hello
<Guest47>
how i can contribute in ruby gems
flooose has joined #ruby
<nakilon>
Guest47 learn programming, then learn ruby
<nakilon>
then when you make own gem or improve an existing one, you pull request it to repo (usually Github) where maintainers approve it and push new version to rubygems.org
lad has quit [Ping timeout: 245 seconds]
Rounin has joined #ruby
jmcgnh has quit [Ping timeout: 268 seconds]
<Guest47>
in fact I read the "The Well Grounded Rubyist" and I thinking to make a project after finish it. i should to learn C language in parallel ?
<jhass[m]>
I can only recommend to learn something when you have a usecase for it, not to find a usecase for something you learned
jmcgnh has joined #ruby
<Guest47>
it's make sense, in fact i want to contribute in GsoC in Ruby particularly, so this my purpose for my Question jhass[m]
<jhass[m]>
so does that require C?
rubion has joined #ruby
<Guest47>
yes, some of projects is requisite :C+ruby, My question about i should to learn C in parallel? or focus in ruby first.
<Guest47>
check the idea list If you don't have an idea about it
<leftylink>
isn't there the saying that each individual has a different learning style, or has that been debunked?
<leftylink>
because if it's true that each individual has a different learning style, whether one should learn two things at once or one thing at a time depends on the individual.
<Guest47>
you learned me a new lesson today, I think i should to explore myself more ,thanks leftylink
<nakilon>
in my university you was supposed to learn 10 languages in 5 years one by one, not at the same time
<leftylink>
there is also the consideration... learning is never complete.
<leftylink>
learning is a continuous process
<leftylink>
but I suppose the question here will be whether to split time between two languages as a beginner in both, or get some level of proficiency and fluency in one before starting on another
<leftylink>
interesting choice
<Guest47>
exactly that's what's i mean, i was described it in wrong way
roadie has joined #ruby
rubion has quit [Ping timeout: 248 seconds]
rubion has joined #ruby
flooose has quit [Ping timeout: 240 seconds]
whysthatso has quit [Ping timeout: 248 seconds]
<jhass[m]>
yes, only you can answer this the best. Consider if you learn better by reading something upfront or exploring something as you go. In the latter case learning both at once can be viable IMO, if you have drivers for it as well. If you're more into focusing on something soaking in as much as possible, I imagine that to be less effective doing for two things at once. C and Ruby in fact are presenting quite different challenges and approaches and in turn are
<jhass[m]>
also better suited for quite distinct problem domains (not saying there's no overlap at all of course). A final consideration I would make is previous background. If there's little experience with programming in general beforehand then I would definitely recommend to focus on Ruby first and then learn how C is different. If there's previous knowledge in something that's quite comparable to one of them, then picking up that other similar thing on the side
<jhass[m]>
with the more new concepts might become quite achievable
<Guest47>
in fact i appreciate your all words thanks A lot jhass[m]
Guest47 has quit [Ping timeout: 246 seconds]
lunarkitty has quit [Quit: Connection closed for inactivity]
jetchisel has quit [Ping timeout: 245 seconds]
jetchisel has joined #ruby
ur5us has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
ur5us has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
flooose has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
MalkbabY has quit [Remote host closed the connection]
<nesoi>
I have an old program that is using ruby 2.4.1 and won't run now because it wants to load openssl 1.0.0, what's the easiest way to run it?
<adam12>
nesoi: If you need to stick with 2.4.1, probably Docker.
<adam12>
nesoi: No chance of upgrading tho? I didn't think there was anything breaking from 2.4 to 2.5 (or even 2.6)
<nesoi>
ok so what's the easiest way to upgrade? btw, I'm on macos :/
<nesoi>
need to upgrade all the gems too I guess
<adam12>
nesoi: You likely want to use a Ruby version manager. There's a few options: frum, chruby, rbenv, and rvm.
<adam12>
nesoi: I'm presuming you're using system ruby.
<adam12>
nesoi: You'll need to install the gems, but may not need to upgrade them. You can't generally re-use the same gem install across Ruby because of the Ruby ABI isn't guaranteed to be stable.
<nesoi>
I think I'm using brew ruby
<nesoi>
not sure though
<adam12>
nesoi: Ah. Definitely install a Ruby version manager then.
<nesoi>
what's the easiest to deal with?
<adam12>
nesoi: I'm using Frum lately. It's built in Rust and reasonably nice (but new). My second choice is chruby, but you need to pair it with a Ruby installer like `ruby-install`.
<nesoi>
I don't have a lot of time for this though, just want to get this running
desnudopenguino has quit [Ping timeout: 268 seconds]
<michigan>
isnt all that stuff a complication? whats wrong with system ruby?
desnudopenguino has joined #ruby
rapha has joined #ruby
<rapha>
hi all
<rapha>
while inside the File.open(..., 'w'){|f| ...} block, right after f.write, is there a way to "take back"/"undo" the last character written?
<rapha>
like ... f.write("\bx") ... and then have "x" there instead of whatever would have been there before. which obviously won't work, because you'll get y^Hx instead.
<weaksauce>
michigan system ruby is fine if you never update your system
<weaksauce>
and don't want to use a newer ruby
<nesoi>
hm use ruby-build to add a new version?
<nesoi>
install
rubion has quit [Ping timeout: 245 seconds]
<nesoi>
or brew?
<weaksauce>
ruby install is the co project of chruby so i'd go with that but any should work
<weaksauce>
well except brew
<weaksauce>
that would be system i think
<rapha>
"michigan system"?
<nesoi>
tjamls
<nesoi>
thanks
<weaksauce>
maybe some kind of seek
crankharder has quit [Quit: leaving]
MalkbabY has quit [Remote host closed the connection]