adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
BSaboia has quit [Quit: Leaving]
<nesoi> I am getting an error:
<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]
gggp__ has joined #ruby
lessless has left #ruby [Textual IRC Client: www.textualapp.com]
rubion has joined #ruby
gggp_ has quit [Ping timeout: 252 seconds]
noa has quit [Ping timeout: 240 seconds]
flooose has joined #ruby
rubion has quit [Ping timeout: 240 seconds]
Oxfuxxx has quit [Ping timeout: 240 seconds]
Oxfuxxx has joined #ruby
Oxfuxxx has quit [Ping timeout: 252 seconds]
gggp_ has joined #ruby
gggp has joined #ruby
gggp__ has quit [Ping timeout: 245 seconds]
gggp_ has quit [Ping timeout: 256 seconds]
rubion has joined #ruby
lessless has joined #ruby
gggp has quit [Ping timeout: 248 seconds]
Guest15 has quit [Ping timeout: 246 seconds]
roadie has quit [Ping timeout: 258 seconds]
roadie has joined #ruby
noa has joined #ruby
motherr has joined #ruby
mjh has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mjh has joined #ruby
mjh has quit [Client Quit]
mjh has joined #ruby
michigan has quit [Quit: Connection closed for inactivity]
noa has quit [Ping timeout: 268 seconds]
gr33n7007h has quit [Ping timeout: 268 seconds]
gr33n7007h has joined #ruby
nemesit has quit [Ping timeout: 245 seconds]
reset has joined #ruby
xuochi has joined #ruby
weaksauce has quit [Ping timeout: 248 seconds]
aestheti1 is now known as aesthetikx
aesthetikx has quit [Quit: WeeChat 3.2]
aesthetikx has joined #ruby
Oxfuxxx has joined #ruby
bit4bit has joined #ruby
glider_ is now known as glider
venue has joined #ruby
va5c0 has joined #ruby
va5c0 has quit [Client Quit]
va5c0 has joined #ruby
va5c0 has quit [Ping timeout: 252 seconds]
va5c0 has joined #ruby
va5c0 has quit [Quit: WeeChat 3.1]
Oxfuxxx has quit [Ping timeout: 248 seconds]
_ht has joined #ruby
gggp has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
roadie has joined #ruby
Oxfuxxx has joined #ruby
noa has joined #ruby
easbarbosa has joined #ruby
Oxfuxxx has quit [Ping timeout: 248 seconds]
Oxfuxxx has joined #ruby
mrkz_c has quit [Quit: Connection closed for inactivity]
noa has quit [Remote host closed the connection]
noa has joined #ruby
gggp has quit [Ping timeout: 252 seconds]
orbyt has joined #ruby
Guest88 has joined #ruby
gr33n7007h has quit [Ping timeout: 252 seconds]
RougeR has joined #ruby
nesoi has joined #ruby
mattil has joined #ruby
nesoi has quit [Quit: Leaving.]
nesoi has joined #ruby
mattil has quit [Ping timeout: 252 seconds]
mattil has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
jpw has joined #ruby
rubion has quit [Ping timeout: 240 seconds]
mjh has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
flooose has quit [Ping timeout: 248 seconds]
weaksauce has joined #ruby
Guest88 has quit [Quit: Client closed]
nesoi has quit [Quit: Leaving.]
rubion has joined #ruby
xuochi has quit [Quit: leaving]
e2 has quit [*.net *.split]
Starfoxxes has quit [*.net *.split]
nakilon has quit [*.net *.split]
ollysmith has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
infernix has quit [*.net *.split]
balo has quit [*.net *.split]
wnd has quit [*.net *.split]
wnd has joined #ruby
Starfoxxes has joined #ruby
balo has joined #ruby
nakilon has joined #ruby
ollysmith has joined #ruby
Fridtjof has joined #ruby
e2 has joined #ruby
bit4bit has quit [Quit: Leaving]
infernix has joined #ruby
easbarbosa has quit [Remote host closed the connection]
noa has quit [Ping timeout: 240 seconds]
noa has joined #ruby
goldfish has joined #ruby
goldfish has quit [Remote host closed the connection]
xuochi has joined #ruby
gr33n7007h has joined #ruby
roadie has joined #ruby
RougeR has quit [Ping timeout: 258 seconds]
mattil has quit [Quit: Leaving]
nesoi has joined #ruby
jpw has quit [Remote host closed the connection]
flooose has joined #ruby
xuochi has quit [Quit: leaving]
nesoi has quit [Read error: Connection reset by peer]
nesoi has joined #ruby
roadie has quit [Ping timeout: 258 seconds]
roadie has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
nmollerup has quit [Quit: Leaving]
orbyt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadie has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
roadie has joined #ruby
motherr has quit [Quit: zzz]
roadie has quit [Ping timeout: 250 seconds]
roadie has joined #ruby
motherr has joined #ruby
motherr has quit [Client Quit]
roadie has quit [Ping timeout: 250 seconds]
drincruz has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
roadie has joined #ruby
roadie has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
mrkz_c has joined #ruby
rubion has quit [Ping timeout: 252 seconds]
_ht has quit [Remote host closed the connection]
drincruz_ has joined #ruby
drincruz has quit [Ping timeout: 250 seconds]
noa has quit [Quit: Leaving]
drincruz_ has quit [Quit: WeeChat 3.1]
nesoi has quit [Quit: Leaving.]
drincruz has joined #ruby
orbyt has joined #ruby
sam113101 has quit [Read error: Connection reset by peer]
sam113101 has joined #ruby