<nesoi>
No such file or directory @ rb_sysopen - /etc/hosts (Errno::ENOENT) (Excon::Error::Socket)
<nesoi>
from resolv.rb
<nesoi>
what is it looking for?
MalkbabY has quit [Remote host closed the connection]
<newton>
does /etc/hosts exist
MalkbabY has joined #ruby
flooose has quit [Ping timeout: 240 seconds]
<newton>
also I do not use vscode but I'd slap something like byebug or pry in my dependencies and use that to set some breakpoints for debugging
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
<nesoi>
newton: do we need /etc/hosts?
<nesoi>
it doesn't seem to exist
<newton>
if you're on macos I'm surprised it doesn't
<nesoi>
it doesn't!
<newton>
does /etc exist? on my system it symlinks to /private/etc
<nesoi>
I touched it and that stopped the compaint
motherr has joined #ruby
<nesoi>
progress! now I get: .gem/ruby/2.6.8/gems/excon-0.85.0/lib/excon/middlewares/expects.rb:13:in `response_call': Expected(200) <=> Actual(400 Bad Request) (Excon::Error::BadRequest)
<nesoi>
:(
<nesoi>
which is odd because gems should be in ~/.rubies
<newton>
does your app use excon
<newton>
directly anyway
<newton>
Expected(200) <=> Actual(400 Bad Request) seems direct enough of an error to me
xuochi has quit [Quit: leaving]
MalkbabY has quit [Remote host closed the connection]
MalkbabY has joined #ruby
bobdobbs has joined #ruby
MalkbabY has quit [Ping timeout: 240 seconds]
lunarkitty has joined #ruby
crankharder has joined #ruby
<nesoi>
newton: yeah
<nesoi>
maybe the server is rejecting the API credentials or something
MalkbabY has joined #ruby
MalkbabY has quit [Remote host closed the connection]
postmodern has quit [Read error: Connection reset by peer]
motherr has quit [Quit: zzz]
Oxfuxxx has joined #ruby
mmalter has joined #ruby
mmalter has quit [Client Quit]
mmalter has joined #ruby
mmalter has quit [Client Quit]
mmalter has joined #ruby
mrkz_c has quit [Quit: Connection closed for inactivity]
ur5us has quit [Ping timeout: 240 seconds]
dorian has quit [Read error: Connection reset by peer]
dorian has joined #ruby
ur5us has joined #ruby
michigan has joined #ruby
neshpion has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
bobdobbs` has joined #ruby
bobdobbs has quit [Ping timeout: 240 seconds]
Guest0 has joined #ruby
Guest0 has quit [Client Quit]
Guest6685 has joined #ruby
<Guest6685>
hello guys, if anyone available to help me, I have two Files the first is (loaddemo.rb) and (loadd.rb) when i using require "loadd.rb" in file one to calling is not working I googling it but i don't any solution of it
<Guest6685>
This is the first (master) program file.
<Guest6685>
Traceback (most recent call last):
<Guest6685>
2: from loaddemo.rb:2:in `<main>'
<Guest6685>
1: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
venuex has quit [Quit: was tired]
<Guest6685>
it's works only when i write the full path of the file
<weaksauce>
what about if you use ./ or ../ syntax?
<Guest6685>
it's works now :) thanks, But i have a question i need to explaining it [ why i get this is error above ]
<Guest6685>
To see how this works, change this line in loaddemo.rb
<Guest6685>
load "loadee.rb"
<Guest6685>
to this:
<Guest6685>
require "loadee"
<Guest6685>
When you run loaddemo.rb, you get the same result as before, even though you haven’t supplied the full name of the file you want loaded.
<Guest6685>
[ this is from The well grounded rubyiest ]
<weaksauce>
.rb is superfluous since that's all you're going to be requiring
<Guest6685>
yeah right, clearly why is the code is working when i add ./ of full path even when is the 2 files in the same dir
Guest6685 has quit [Quit: Client closed]
mrkz_c has joined #ruby
Guest15 has joined #ruby
lunar has joined #ruby
lunarkitty has quit []
lunar is now known as pyrareae
crankharder has quit [Ping timeout: 252 seconds]
mattil has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 240 seconds]
_ht has joined #ruby
jpw has quit [Remote host closed the connection]
crankharder has joined #ruby
neshpion has quit [Quit: neshpion]
crankharder has quit [Ping timeout: 268 seconds]
mattil has quit [Quit: Leaving]
crankharder has joined #ruby
swaggboi has quit [Ping timeout: 256 seconds]
crankharder has quit [Ping timeout: 252 seconds]
crankharder has joined #ruby
swaggboi has joined #ruby
_ht has quit [Remote host closed the connection]
jpw has joined #ruby
crankharder has quit [Quit: Lost terminal]
ur5us has quit [Ping timeout: 240 seconds]
nesoi has quit [Quit: Leaving.]
jpw has quit [Remote host closed the connection]
reset has quit [Quit: reset]
gggp__ has joined #ruby
ur5us has joined #ruby
gggp_ has joined #ruby
gggp has joined #ruby
gggp__ has quit [Ping timeout: 248 seconds]
gggp_ has quit [Ping timeout: 245 seconds]
gggp_ has joined #ruby
roadie has joined #ruby
gggp has quit [Ping timeout: 245 seconds]
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 252 seconds]
Rounin has joined #ruby
Guest15 has quit [Ping timeout: 246 seconds]
gggp_ has joined #ruby
gggp__ has quit [Ping timeout: 268 seconds]
ur5us has quit [Ping timeout: 240 seconds]
Guest15 has joined #ruby
ckrailo has quit [Quit: Bridge terminating on SIGTERM]
jhass[m] has quit [Quit: Bridge terminating on SIGTERM]
execat has quit [Quit: Bridge terminating on SIGTERM]
sixecho has quit [Quit: Bridge terminating on SIGTERM]
mewfree[m] has quit [Quit: Bridge terminating on SIGTERM]
jhass[m] has joined #ruby
sixecho has joined #ruby
mewfree[m] has joined #ruby
execat has joined #ruby
ckrailo has joined #ruby
noa has joined #ruby
gggp__ has joined #ruby
gggp_ has quit [Ping timeout: 268 seconds]
gggp_ has joined #ruby
gggp__ has quit [Ping timeout: 245 seconds]
RougeR has joined #ruby
RougeR has quit [Remote host closed the connection]
gggp__ has joined #ruby
gggp__ has quit [Remote host closed the connection]