baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.4.6: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
Azure has joined #ruby
Psy-Q has quit [Read error: Connection reset by peer]
skryking has quit [Quit: WeeChat 2.2]
Psy-Q has joined #ruby
tdy1 has joined #ruby
orbyt_ has joined #ruby
stan has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
fphilipe_ has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
octos has quit [Read error: Connection reset by peer]
octos has joined #ruby
jottr has joined #ruby
bambanx has quit [Read error: Connection reset by peer]
tdy1 is now known as tdy
jenrzzz has joined #ruby
Kestrel-029 has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
apg has joined #ruby
apg has quit [Changing host]
apg has joined #ruby
dan64- has joined #ruby
dan64 has quit [Ping timeout: 245 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
Wolland has joined #ruby
Wolland has quit [Client Quit]
jottr has quit [Ping timeout: 245 seconds]
FancyEagle has joined #ruby
jottr has joined #ruby
dsmythe has quit [Ping timeout: 255 seconds]
jottr has quit [Ping timeout: 244 seconds]
FancyEagle has quit [Ping timeout: 255 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has quit [Remote host closed the connection]
orbyt_ has joined #ruby
ur5us has joined #ruby
jenrzzz has joined #ruby
orbyt_ has quit [Client Quit]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
bga57 has quit [Quit: Leaving.]
apg has quit [Ping timeout: 246 seconds]
bga57 has joined #ruby
apg has joined #ruby
apg has quit [Changing host]
apg has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
Nicmavr has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
cnsvc_ has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
dsmythe has joined #ruby
jottr has joined #ruby
espinet has joined #ruby
FancyEagle has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
laaron has quit [Remote host closed the connection]
jenrzzz has joined #ruby
dsmythe has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 258 seconds]
dsmythe has joined #ruby
tdy has quit [Ping timeout: 255 seconds]
fphilipe_ has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
FancyEagle has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
cnsvc_ has joined #ruby
budonyc has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
laaron has joined #ruby
bamdads has joined #ruby
AJA4350 has quit [Remote host closed the connection]
Nicmavr has quit [Ping timeout: 245 seconds]
Nicmavr has joined #ruby
bamdads has quit [Quit: Leaving]
budonyc has quit [Quit: Leaving]
bamdads has joined #ruby
bamdads has quit [Changing host]
bamdads has joined #ruby
regedit has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
braincrash has quit [Quit: bye bye]
bamdads has quit [Read error: Connection reset by peer]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
faces has quit [Read error: Connection reset by peer]
faces has joined #ruby
braincrash has joined #ruby
duderonomy has joined #ruby
gix has quit [Ping timeout: 258 seconds]
duderonomy has quit [Client Quit]
tdy has joined #ruby
jenrzzz has joined #ruby
apg has quit [Quit: Leaving]
FancyEagle has joined #ruby
FancyEagle has quit [Read error: Connection reset by peer]
FancyEagle has joined #ruby
claw has quit [Ping timeout: 258 seconds]
paraxial has quit [Quit: The Lounge - https://thelounge.chat]
claw has joined #ruby
teej has quit [Quit: Connection closed for inactivity]
paraxial has joined #ruby
altigraph has joined #ruby
jottr has joined #ruby
fphilipe_ has joined #ruby
orbyt_ has joined #ruby
jottr has quit [Ping timeout: 268 seconds]
fphilipe_ has quit [Ping timeout: 252 seconds]
weteamsteve1 has quit [Read error: Connection reset by peer]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
_whitelogger has joined #ruby
kent\n has quit [Ping timeout: 245 seconds]
kent\n has joined #ruby
cnsvc_ has quit [Ping timeout: 256 seconds]
teej has joined #ruby
gb_away has quit [Ping timeout: 245 seconds]
morozovm has joined #ruby
morozovm has quit [Client Quit]
cnsvc_ has joined #ruby
reber has joined #ruby
morozovm has joined #ruby
houhoulis has quit [Remote host closed the connection]
morozovm has quit []
morozovm has joined #ruby
morozovm has quit [Client Quit]
morozovm has joined #ruby
espinet has quit [Quit: espinet]
morozovm has quit [Client Quit]
morozovm has joined #ruby
fphilipe_ has joined #ruby
dellavg_ has joined #ruby
reber has quit [Remote host closed the connection]
conta has joined #ruby
znz_jp has quit [Remote host closed the connection]
jenrzzz has quit [Read error: Connection reset by peer]
sauvin has joined #ruby
znz_jp has joined #ruby
lele has quit [Ping timeout: 258 seconds]
hiroaki has quit [Ping timeout: 255 seconds]
lele has joined #ruby
dellavg_ has quit [Ping timeout: 252 seconds]
kyrylo has joined #ruby
jenrzzz has joined #ruby
lypsis has quit [Quit: ZNC - https://znc.in]
prestorium has joined #ruby
jottr has joined #ruby
hh has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
hightower2 has quit [Ping timeout: 245 seconds]
hh has quit [Quit: Mutter: www.mutterirc.com]
lypsis has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Joufflu has joined #ruby
andikr has joined #ruby
fphilipe_ has quit [Ping timeout: 252 seconds]
cnsvc_ has quit [Ping timeout: 256 seconds]
ur5us has quit [Remote host closed the connection]
<Joufflu> sup fam
ur5us has joined #ruby
djbkd has joined #ruby
trebor8 has quit [Quit: Connection closed for inactivity]
ur5us has quit [Ping timeout: 264 seconds]
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
regedit has quit [Quit: Connection closed for inactivity]
fphilipe_ has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
aupadhye has joined #ruby
jenrzzz has joined #ruby
teclator__ is now known as teclator_home
jenrzzz has quit [Ping timeout: 245 seconds]
miskatonic has joined #ruby
lxsameer has joined #ruby
cnsvc_ has joined #ruby
andikr has quit [Ping timeout: 258 seconds]
andikr has joined #ruby
andikr has quit [Ping timeout: 248 seconds]
Joufflu has quit [Quit: Leaving]
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
Jonopoly has joined #ruby
yqt has joined #ruby
mjacob has quit [Ping timeout: 276 seconds]
Kestrel-029 has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
somebody has joined #ruby
ChrisBr has quit [Remote host closed the connection]
trif has quit [Read error: Connection reset by peer]
ChrisBr has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.4]
Jonopoly has joined #ruby
wildermind has joined #ruby
jottr has joined #ruby
jefffrails35 has joined #ruby
djbkd has quit [Remote host closed the connection]
chihhsin has quit [Read error: Connection reset by peer]
chihhsin has joined #ruby
yasumi2136_ has joined #ruby
cnsvc_ has quit [Ping timeout: 256 seconds]
yasumi2136 has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby
jenrzzz has joined #ruby
tbuehlmann has quit [Remote host closed the connection]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tbuehlmann has joined #ruby
andikr has joined #ruby
dhollin3 has joined #ruby
GodFather_ has quit [Ping timeout: 264 seconds]
dhollinger has quit [Ping timeout: 255 seconds]
laaron has quit [Remote host closed the connection]
abaiste^ has quit []
cnsvc_ has joined #ruby
laaron has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
cnsvc_ has quit [Remote host closed the connection]
FrozenEye has joined #ruby
cnsvc_ has joined #ruby
FrozenEye has quit []
yasumi2136_ has quit [Quit: Konversation terminated!]
xco has joined #ruby
<xco> and I don’t understand how it’s calling options[:headers]
<xco> what’s “options” I don’t find it anywhere in the method
<tbuehlmann> correct
jenrzzz has quit [Ping timeout: 258 seconds]
<xco> thanks for the confirmation! :)
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
teclator_home has quit [Ping timeout: 252 seconds]
xco has left #ruby [#ruby]
teclator_ has quit [Ping timeout: 252 seconds]
apparition has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
conta has quit [Read error: Connection reset by peer]
altigraph has quit [Ping timeout: 252 seconds]
AJA4350 has joined #ruby
laaron has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 245 seconds]
laaron has joined #ruby
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
apg has joined #ruby
conta has joined #ruby
wald0 has joined #ruby
teclator_ has joined #ruby
teclator__ has joined #ruby
d^sh has quit [Ping timeout: 252 seconds]
marz_d`ghostman has joined #ruby
d^sh has joined #ruby
teclator_ has quit [Client Quit]
teclator__ is now known as teclator_home
<marz_d`ghostman> In rails, I'm trying to initialize a variable: config.podio_client_id = ENV['PODIO_CLIENT_ID'] in environments/development.rb. When I run rails s -e development, it appears to be initialized but when I run rails console, the variable doesn't seem to be initialized even if I run rails console -e development. Am I missing something here?
<marz_d`ghostman> Nvm, it seems to be a spring issue
<tbuehlmann> protip: DISABLE_SPRING=1 in your ~/.bashrc or whatever you're using
jenrzzz has joined #ruby
cd has quit [Quit: cd]
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
dar123 has joined #ruby
noboruma has quit [Remote host closed the connection]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Nicmavr has quit [Ping timeout: 245 seconds]
tdy has quit [Ping timeout: 246 seconds]
Nicmavr has joined #ruby
kyrylo has joined #ruby
slackmare has joined #ruby
tf2ftw has joined #ruby
gb_away has joined #ruby
wildermind has quit [Quit: Connection closed for inactivity]
<VSpike> Hi ... looking in my vendor/bundle directory I see a tree like this: vendor/bundle/2.4.5/ruby/2.4.0/{bin,gems,...}
<VSpike> This looks a bit odd ... why the two different numbers? Is this normal?
stooj has quit [Ping timeout: 244 seconds]
stooj has joined #ruby
dionysus69 has quit [Ping timeout: 258 seconds]
apg has quit [Ping timeout: 246 seconds]
somebody has quit [Quit: brb]
apparition has quit [Quit: Bye]
dionysus69 has joined #ruby
<tbuehlmann> VSpike: the second one should be the ABI
TomyWork has joined #ruby
<VSpike> tbuehlmann: I just realised the first number is coming from the CI script setting the folder differently for different Ruby versions
<VSpike> tbuehlmann: so, seeing e.g. ruby/2.5.0 when using 2.5.5 is expected because it's the ABI version?
<tbuehlmann> yea
bamdads has joined #ruby
GodFather_ has joined #ruby
Swyper has joined #ruby
timkaechele has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
apparition has joined #ruby
stryek has joined #ruby
Dbugger has joined #ruby
livcd has quit [Remote host closed the connection]
hrhsh has joined #ruby
jenrzzz has joined #ruby
hrhsh has quit [Client Quit]
apparition has quit [Quit: Bye]
apparition has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
cnsvc_ has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
i1nfusion has quit [Remote host closed the connection]
i1nfusion has joined #ruby
Dbugger has quit [Ping timeout: 250 seconds]
GodFather_ has quit [Ping timeout: 268 seconds]
jottr has joined #ruby
prestorium has quit [Ping timeout: 258 seconds]
Swyper has quit [Remote host closed the connection]
cnsvc_ has joined #ruby
prestorium has joined #ruby
dsmythe has quit [Remote host closed the connection]
haxx0r has joined #ruby
tf2ftw has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dsmythe has joined #ruby
cthulchu_ has joined #ruby
vondruch has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
conta has quit [Read error: Connection reset by peer]
conta2 has joined #ruby
conta2 is now known as conta
jenrzzz has quit [Ping timeout: 268 seconds]
Dbugger has joined #ruby
ovnimancer has joined #ruby
tf2ftw has joined #ruby
bamdads has quit [Quit: Leaving]
jottr has joined #ruby
jefffrails35 has quit [Ping timeout: 258 seconds]
bamdads has joined #ruby
jenrzzz has joined #ruby
bamdads has quit [Remote host closed the connection]
livcd has joined #ruby
skius has joined #ruby
<skius> Hi! I've added a Remote Ruby SDK on a Docker-Compose in RubyMine. When I try to run it, I get a RubyMine error notification with no logs
<skius> if I change the run configuration and select "docker-compose up" or "..run" instead of "docker-compose exec" it boots up fine
<skius> but when I terminate it over RubyMine it doesn't shut down gracefully and a server.pid remains
jefffrails35 has joined #ruby
<skius> RubyMine 2019.1.1, works in a different project with the same setup
jrafanie has joined #ruby
d^sh has quit [Ping timeout: 244 seconds]
skius is now known as Skilly
jrafanie has quit [Client Quit]
Skilly has quit [Changing host]
Skilly has joined #ruby
Skilly has joined #ruby
<Skilly> Hi! I've added a Remote Ruby SDK on a Docker-Compose in RubyMine. When I try to run it, I get a RubyMine error notification with no logs
<Skilly> if I change the run configuration and select "docker-compose up" or "..run" instead of "docker-compose exec" it boots up fine
<Skilly> but when I terminate it over RubyMine it doesn't shut down gracefully and a server.pid remains
<Skilly> RubyMine 2019.1.1, works in a different project with the same setup
jenrzzz has quit [Ping timeout: 245 seconds]
d^sh has joined #ruby
apg has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
Kestrel-029 has joined #ruby
conta has quit [Ping timeout: 246 seconds]
jeremycw has joined #ruby
zacts has joined #ruby
renich has joined #ruby
mustmodify has joined #ruby
<mustmodify> Ever since the whole "Open SSL has a bug!" vulnerability, I haven't been able to install rubies using ruby-install. I need to install 2.2.10 and am wondering if anyone can help me understand what dependencies I need installed on Ubuntu?
dviola has joined #ruby
<havenwood> mustmodify: Ruby 2.2 is past EoL, so security fixes aren't even backported. If you really can't bump to 2.4+, you'll probably want to use a 2.2 that has backported security fixes.
<mustmodify> I just need to get this app running first, but I acknowledge and agree.
<havenwood> mustmodify: Brightbox maintains an Ubuntu package for 2.2 with backported fixes.
<havenwood> Right above that link ^ it shows how to add the Brightbox repo.
<mustmodify> OK, I'll check it out. Thanks.
<havenwood> np
dhollin3 is now known as dhollinger
jenrzzz has joined #ruby
swordbeta has left #ruby ["The Lounge - https://thelounge.github.io"]
<pwnd_nsfw`> opal 1.0, it's lit
GodFather has joined #ruby
GodFather_ has joined #ruby
apparition has quit [Quit: Bye]
aupadhye has quit [Ping timeout: 258 seconds]
ovnimancer has quit []
hAns_ has joined #ruby
apg has quit [Quit: Leaving]
apg has joined #ruby
<hAns_> yeet
<VSpike> When you execute e.g. `bundle config`, is its concept of the local app settings just "$PWD/.bundle/config"?
ljarvis has joined #ruby
laaron has quit [Remote host closed the connection]
pwnd_nsfw` has quit [Read error: Connection reset by peer]
Skilly has quit [Quit: Page closed]
<VSpike> https://bundler.io/v1.16/bundle_config.html says "app/.bundle/config" ... but I'm not sure what that means exactly
<havenwood> VSpike: $ROOT_OF_APP/.bundle/config
bdonnahue has joined #ruby
hAns_ has quit [Ping timeout: 256 seconds]
<havenwood> VSpike: It'll be a .bundle/ dir in the same directory as the Gemfile.lock.
<bdonnahue> hey guys, i am trying to bundle install but it keeps telling my my fs is full
slackmare has quit [Ping timeout: 258 seconds]
<havenwood> bdonnahue: Is your fs full?
<bdonnahue> when i look i have over a gig of space left
laaron has joined #ruby
<havenwood> bdonnahue: What's the error?
<bdonnahue> havenwood, here is my disk usage: https://pastebin.com/s0PNB5Mq
<ruby[bot]> bdonnahue: as I told you already, please use https://gist.github.com
paraxial has quit [Quit: The Lounge - https://thelounge.chat]
<havenwood> bdonnahue: What's the error saying exactly?
<havenwood> bdonnahue: Out of inodes?
<havenwood> bdonnahue: df -i
<havenwood> bdonnahue: What's your inode capacity % for /dev/vda2
<havenwood> xvda2&
<havenwood> can't type, need coffee!
<bdonnahue> inode*
Dbugger has quit [Remote host closed the connection]
<bdonnahue> havenwood, here is disk sizes too: https://gist.github.com/bdonnahue/772639f78d0f879d43cc20418b4d134e
<VSpike> Isn't that a different system?
laaron has quit [Remote host closed the connection]
<bdonnahue> VSpike, im an idiot. youre right
<bdonnahue> sorry guys. let me fix that
<bdonnahue> one too many tabs in the alt+tab
<bdonnahue> ok, fixed:
<havenwood> bdonnahue: ah, yeah, out of inodes
<bdonnahue> havenwood, ahh ok. i am not sure what that means. let me google
duderonomy has joined #ruby
<VSpike> havenwood: I have a directory with a Gemfile and a Gemfile.lock, as well as a .bundle/config file. If I run `bundle config` in that directory, it doesn't seem to respect that config file. How do I activate it, so to speak?
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hAns_ has joined #ruby
ellcs has quit [Ping timeout: 268 seconds]
<havenwood> VSpike: ah, yup, that looks like it!
<VSpike> So what normally sets those variables? Running bundle install? bundle exec?
<havenwood> VSpike: BUNDLE_APP_CONFIG is not usually set, so Bundler just uses the default location
mustmodify has left #ruby [#ruby]
cow[moo] has joined #ruby
<hAns_> What resources can I use to learn how the Ruby interpreter and VM works? I don't have any formal education on programming languages
prestorium has quit [Ping timeout: 264 seconds]
rippa has joined #ruby
laaron has joined #ruby
<VSpike> Oh ho .. It's a ruby container thing https://github.com/docker-library/docs/pull/1221/files
<balo> hAns_: I read ruby under microscope book a few years ago, it's one of the best to understand the basics
<VSpike> That probably explains a lot
<balo> not sure how much is up to date with the new MRI features like generational GC etc
polishdub has joined #ruby
tj_ has joined #ruby
orbyt_ has joined #ruby
mistergibson has joined #ruby
<hAns_> Thanks ball!
<hAns_> balo! RIP autocorrect -_-
fluxAeon has joined #ruby
<havenwood> hAns_: +1 Ruby Under a Microscope to understand CRuby in particular
<havenwood> hAns_: you might want to also check out JRuby and TruffleRuby
<havenwood> Rubinius even got a new version bump recently!
jenrzzz has quit [Ping timeout: 258 seconds]
morozovm has quit []
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
TomyWork has quit [Ping timeout: 246 seconds]
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andikr has quit [Remote host closed the connection]
dar123 has joined #ruby
haxx0r has quit [Remote host closed the connection]
<Yxhuvud> .. rubinius is alive?
zacts has quit [Quit: WeeChat 2.4]
jenrzzz has joined #ruby
Jonopoly has quit [Ping timeout: 264 seconds]
<tj_> Hi Folks, I am trying to install nokogiri gem. Flushed the DNS cache just to be sure since it had created issues in the past and ran 'gem update --system' which worked successfully. Then I tried installing nokogiri with command 'gem install nokogiri' - and its failing to open a TCP/IP connection to zlib.net:80. Hence possibly failing to build gem native extension. Have pasted the gem env, gem_make.out and mkmf.log below. Machine is not behind a proxy or a firewall.
<tj_> tried googling around and posting on #nokogiri too, but didn't help. Can someone please please help here ?
xco has joined #ruby
<xco> Hi! Rubocop is telling me “Lint/UselessAssignment: Useless assignment to variable - results.” on this https://gist.github.com/xcobar/f920a7f37502f8a66f7097cf76adf2a1 how do I fix it?
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<nixy7> Just return the value of results. That whole function could be written as Address.where(...) if something.present?
jenrzzz has quit [Ping timeout: 246 seconds]
i1nfusion has quit [Remote host closed the connection]
<adam12> tj_: Can you access zlib.net manually? I think it's trying to fetch http://zlib.net/fossils/zlib-1.2.11.tar.gz
<tj_> yes, I can open zlib.net in the browser
i1nfusion has joined #ruby
buckworst has joined #ruby
<xco> results variable is dependent on whatever is present
<nixy7> You could still just return the value guarded by the if. You don't need to store it in the `result` variable if all you do with `result` is return it
<xco> ah!
agent_white has joined #ruby
fluxAeon has quit [Quit: Textual IRC Client: www.textualapp.com]
<xco> like this
<nixy7> I'd add a return to the front of each statement so that it doesn't accidentally evaluate both of them if they both happen to be true
<tj_> adam12 : The page for zlib.net shows up properly in the browser, Not able to understand what's happening while building the gem
regedit has joined #ruby
<xco> nixy7: right! thanks :)
<adam12> tj_: for some reason Ruby can't connect from the shell. Sadly the error isn't very obvious for why.
<adam12> tj_: Ideally you could simulate the request yourself inside irb and see if it gives you more information.
tdy has joined #ruby
<tj_> but 'gem update --system' worked correctly and it fetched all it needed. Sure - should try with irb once
<tj_> is zlib.net known to have some specific TLS version requirement ? currently I have set up --> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
<adam12> tj_: That was my first assumption but it's communicating on port 80.
<adam12> tj_: ruby -r"net/http" -e 'Net::HTTP.get(URI("http://zlib.net/fossils/zlib-1.2.11.tar.gz")) and puts "OK"'
zacts has joined #ruby
<adam12> tj_: I forgot you're on Windows so I'm not sure if you can run that command verbatim.
<adam12> xco: Just FYI, that code validated without any changes on my side (other than cleaning up whitespace from pasting gist). Are you on latest Rubocop?
<xco> yes my rubocop version is rubocop (0.69.0)
<xco> which is the latest
<xco> adam12: probably different ruby versions? :/
<adam12> xco: Interesting. Maybe that rule is disabled on my install.
<balo> heh, this error is strange indeed. tj_ you can consider downloading the file with curl/browser and place it in the folder where it misses it :/ in case you don't want to debug this specific issue... i don't even have ideas where to look on this failure after you've tried the basics
<xco> adam12: could be
<xco> otherwise it’s weird
<tj_> adam12: It doesn't work on Windows. I downloaded nokogiri locally and tried 'gem install --force --local nokogiri-1.10.3.gem'. But it has to connect to zlib.net. it fails with the same error.
<adam12> xco: I was able to reproduce it locally with the example from this page. https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Lint/UselessAssignment
<adam12> xco: No matter. I just thought it was interesting that mine validated fine while yours was complaining.
<xco> that example from that page is different from what’s in my gist
<xco> the one on the pages has no guards and it doesn’t have “some_var” as last value in the method name
<xco> so RUbocop complaining on that makes sense to me
<tj_> adam12 | balo : Why does is even connect to zlib site while building ? can I download and provide, whatever dependency is, locally along with the gem to solve this ?
<adam12> tj_: No surprise since it's installed via the same mechanism.
<balo> tj_: i guess if you download the file and place it there might work: C:/Ruby2.4.1_p111/lib/ruby/gems/2.4.0/gems/nokogiri-1.10.3/ports/archives/zlib-1.2.11.tar.gz
<adam12> tj_: It needs the zlib dependency. On Linux you can normally get it from libz but on Windows it needs to likely be downloaded and built as a sidecar to the gem.
<tj_> balo: does that mean if I place the file in that folder, it wouldn't at all connect to zlib site ??
<balo> or maybe you can try to build it with `--without-zlib-dir` option 😬 not sure what are thhe consequences of thhat. maybe it's just loosing working with gzipped xmls
<balo> tj_: that's my assumption. but not certain, never had this issue myself. worth a try
zacts has quit [Ping timeout: 246 seconds]
dsmythe_ has joined #ruby
laaron has quit [Remote host closed the connection]
nowhere_man has joined #ruby
jenrzzz has joined #ruby
dsmythe has quit [Ping timeout: 268 seconds]
laaron has joined #ruby
dsmythe_ has quit [Ping timeout: 250 seconds]
reber has joined #ruby
dsmythe has joined #ruby
cnsvc_ has quit [Ping timeout: 256 seconds]
nowhere_man has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
nowhere_man has joined #ruby
fphilipe_ has quit [Ping timeout: 246 seconds]
<tj_> Not even able to locate the tar file on zlib. there are a lot of Windows versions too. Should be suitable for Win10
<tj_> :(
gix has joined #ruby
GodFather_ has quit [Ping timeout: 255 seconds]
GodFather has quit [Ping timeout: 252 seconds]
VladGh has quit [Remote host closed the connection]
nowhereman has joined #ruby
yqt has quit [Ping timeout: 252 seconds]
nowhere_man has quit [Ping timeout: 252 seconds]
nixy7 is now known as nixy
KeyJoo has joined #ruby
<tj_> Keeping the zlib tar file at the mentioned location isn't working. As soon as I paste and trigger the local installation command - all tar files at the location suddenly vanish. (There are 2 files already and I copied the 3rd). 2 re-appear after certain time but zlib tar file vanishes. Well, these are getting creating through the process, just placing doesn't work.
<tj_> created#
<tj_> any ideas for spotting shell-to-network issues ? :/
<adam12> tj_: Could you open up irb and disect that one-liner I pasted earlier?
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
<tj_> I am able to wget https://zlib.net/zlib-1.2.11.tar.gz with OK 200
<tj_> through this shell
budonyc has joined #ruby
laaron has joined #ruby
Nicmavr has joined #ruby
marmotini_ has joined #ruby
marmotini_ has quit [Killed (freenode-connect (The application you are using is no longer permitted to connect to the freenode network. For questions, contact kline@freenode.net))]
Kestrel-029 has quit [Ping timeout: 245 seconds]
laaron has quit [Remote host closed the connection]
reber has quit [Remote host closed the connection]
laaron has joined #ruby
jenrzzz has joined #ruby
<tj_> thanks a lot adam12 and balo. I give for today :)
<tj_> I give up for today# :|
tj_ has quit [Quit: Leaving]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nowhereman has quit [Ping timeout: 246 seconds]
cnsvc_ has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
cthulchu has joined #ruby
cthulchu_ has quit [Read error: Connection reset by peer]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
cthu| has joined #ruby
cthulchu has quit [Ping timeout: 258 seconds]
polishdub has quit [Ping timeout: 252 seconds]
polishdub has joined #ruby
fphilipe_ has joined #ruby
Dbugger has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
Nicmavr has quit [Ping timeout: 245 seconds]
Kestrel-029 has joined #ruby
jenrzzz has joined #ruby
hAns_ has quit [Ping timeout: 256 seconds]
tf2ftw has quit [Quit: This computer has gone to sleep]
tf2ftw has joined #ruby
mistergibson has quit [Quit: Leaving]
polishdub has quit [Ping timeout: 268 seconds]
gnufied has quit [Quit: Leaving]
polishdub has joined #ruby
tf2ftw has quit [Quit: This computer has gone to sleep]
tf2ftw has joined #ruby
tdy has joined #ruby
leitz has joined #ruby
AJA4350 has quit [Quit: AJA4350]
xco has quit [Quit: xco]
AJA4350 has joined #ruby
tf2ftw has quit [Client Quit]
buckworst has quit [Quit: Leaving]
wald0 has quit [Quit: Lost terminal]
tdy has quit [Ping timeout: 244 seconds]
zacts has joined #ruby
<miah> i am excited for movies. its been a week(tm)
<miah> doh
<miah> i dont mind that you all know im excited for movies, and that its been a week but that was meant for another channel <3
jefffrails35 has quit [Ping timeout: 258 seconds]
marz_d`ghostman has quit [Ping timeout: 256 seconds]
budonyc has quit [Remote host closed the connection]
sauvin has quit [Read error: Connection reset by peer]
renich has quit [Remote host closed the connection]
renich has joined #ruby
wald0 has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
hAns_ has joined #ruby
<hAns_> where them ruby squads at?
zacts has quit [Ping timeout: 258 seconds]
wald0 has quit [Read error: Connection reset by peer]
dar123 has joined #ruby
jottr has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
jefffrails35 has joined #ruby
<leitz> Recovering from a week...
cnsvc_ has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
planigan has quit [Ping timeout: 255 seconds]
<hAns_> any ruby open source teams out there?
<leitz> Start your own, one of the best ways to learn.
jenrzzz has quit [Ping timeout: 258 seconds]
<hAns_> aha I'm a noob though :( need that mentorship
jefffrails35 has quit [Ping timeout: 264 seconds]
planigan has joined #ruby
sgen has joined #ruby
octos has quit [Remote host closed the connection]
zacts has joined #ruby
octos has joined #ruby
jenrzzz has joined #ruby
tf2ftw has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
tf2ftw has quit [Client Quit]
<leitz> Understood. I'm a noob as well, so I speak from experience. You will have a better chance of getting a mentor (they seem rare) if you can show a body of code and a history of learning.
<leitz> My code still needs a lot of work, but i'm doing something for me. That makes me want to code more, and that's the key to improving.
tf2ftw has joined #ruby
<leitz> For example, I like role-playing games, so I have a lot of small programs to help with that. As I look back at my code I see lots of ways to improve it, and my plan is to do just that.
tdy has joined #ruby
<octos> You can ask for book/videos/courses recommendations too, I think everybody here have good ones to recommend :)
<leitz> You may well learn faster than I, so don't worry about making me look bad. Find stuff you want to code, find a gook book, and jump in.
dsmythe has quit [Remote host closed the connection]
dsmythe has joined #ruby
<leitz> "Programming Ruby" is old but a classic. Code Academy has a free on-line class.
jeremycw has quit [Ping timeout: 246 seconds]
<leitz> It depends on how much coding you've done, too. Experience in Python, Perl, C, or Java means you can learn faster.
<leitz> There's a "Ruby in Twenty Minutes" link on ruby-lang.org
cnsvc_ has joined #ruby
Freshnuts has joined #ruby
<lupine> _why's poignant guide is the one, the only, the true source of ruby learnings
<lupine> chunky bacon me
SeepingN has joined #ruby
jeremycw has joined #ruby
apg has quit [Read error: Connection reset by peer]
<leitz> We all have our "best". Why's guide kept me away from Ruby for a long time.
Nicmavr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
espinet has joined #ruby
<SeepingN> jesus. that's no guide
tf2ftw has quit [Quit: This computer has gone to sleep]
espinet has quit [Client Quit]
tf2ftw has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
ovnimancer has joined #ruby
<syndikate> Can someone help understand how I can log all the requests with IP address and path and body like how rails does in webrick?
<syndikate> I am kinda lost
<syndikate> I am stuck at Accesslog but I have not clue what or how to do with it
ruby634 has joined #ruby
jottr has joined #ruby
cnsvc_ has quit [Remote host closed the connection]
cnsvc_ has joined #ruby
Kestrel-029 has joined #ruby
Nicmavr has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 252 seconds]
espinet has joined #ruby
espinet has quit [Client Quit]
<havenwood> syndikate: Are you working with your own sockets or a Rack app or what?
<havenwood> syndikate: I don't understand what you're asking.
espinet has joined #ruby
<leitz> hAns_, if you're looking for someone that you should listen intently to, havenwood would be one of those people.
tdy has quit [Ping timeout: 255 seconds]
<havenwood> o/
<leitz> Hey, I call 'em like I see 'em. :)
zacts has quit [Quit: WeeChat 2.4]
eddof13 has joined #ruby
espinet has quit [Ping timeout: 268 seconds]
ravenous_ has joined #ruby
Nicmavr has joined #ruby
jottr has joined #ruby
Kestrel-029 has quit [Ping timeout: 245 seconds]
ravenous_ is now known as ravenousmoose
ravenousmoose has quit [Quit: Textual IRC Client: www.textualapp.com]
ravenousmoose has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jenrzzz has quit [Ping timeout: 268 seconds]
houhoulis has joined #ruby
kyrylo has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
Dbugger has quit [Ping timeout: 248 seconds]
ovnimancer has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tf2ftw has quit [Quit: This computer has gone to sleep]
bdonnahue has quit [Read error: Connection reset by peer]
reber has joined #ruby
dviola has quit [Quit: WeeChat 2.4]
bdonnahue has joined #ruby
aldodelgado has joined #ruby
tdy has joined #ruby
tf2ftw has joined #ruby
renich has quit [Quit: renich]
duderonomy has joined #ruby
sgen has quit [Remote host closed the connection]
KeyJoo has quit [Quit: KeyJoo]
i1nfusion has quit [Remote host closed the connection]
adam12 has quit [Quit: adam12]
cnsvc_ has quit [Remote host closed the connection]
tf2ftw has quit [Quit: This computer has gone to sleep]
aldodelgado has quit [Quit: aldodelgado]
ruby634 has quit [Quit: Page closed]
jefffrails35 has joined #ruby
prestorium has joined #ruby
digitalnomad91 has joined #ruby
tf2ftw has joined #ruby
zacts has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
jenrzzz has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
prestorium has quit [Quit: prestorium]
tf2ftw has quit [Quit: This computer has gone to sleep]
jefffrails35 has quit [Remote host closed the connection]
ramfjord has joined #ruby
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
adam12 has joined #ruby
jcalla has quit [Quit: Leaving]
reber has quit [Read error: Connection reset by peer]
skarlso has quit [Quit: Ping timeout (120 seconds)]
skarlso has joined #ruby
truenito has joined #ruby
truenito has quit [Remote host closed the connection]
Emmanuel_Chanel has quit [Quit: Leaving]
fphilipe_ has quit [Ping timeout: 250 seconds]
dan64- has quit [Quit: ZNC - http://znc.in]
jottr has joined #ruby
dan64 has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
bdonnahue has quit [Ping timeout: 268 seconds]
ur5us has joined #ruby
jottr has joined #ruby
eddof13 has quit [Quit: eddof13]
cthulchu has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
fphilipe_ has joined #ruby
Freshnuts has quit [Remote host closed the connection]
cthu| has quit [Ping timeout: 268 seconds]
Freshnuts has joined #ruby
eddof13 has joined #ruby
weteamsteve has joined #ruby
zacts has quit [Quit: WeeChat 2.4]
Nicmavr has quit [Ping timeout: 245 seconds]
Nicmavr has joined #ruby
Emmanuel_Chanel has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
ramfjord has quit [Ping timeout: 245 seconds]
hAns_ has quit [Ping timeout: 256 seconds]
fphilipe_ has quit [Ping timeout: 252 seconds]
jeremycw has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jottr has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 246 seconds]
haivron has joined #ruby
doodlebug has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
Azure has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
wald0 has joined #ruby
jenrzzz has joined #ruby
polishdub has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 248 seconds]
Emmanuel_Chanel has joined #ruby
bdonnahue has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #ruby
fphilipe_ has joined #ruby
renich has joined #ruby
yqt has joined #ruby
ramfjord_ has joined #ruby
ramfjord has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
dhaidhidh has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
Nebros has quit [Quit: Page closed]
Azure has joined #ruby
brool has joined #ruby
eddof13 has quit [Quit: eddof13]
fphilipe_ has quit [Ping timeout: 252 seconds]
noobineer has joined #ruby
orbyt_ has joined #ruby