rose_nd_ash has quit [Remote host closed the connection]
ajunior has joined #ruby
stormbytes has joined #ruby
<stormbytes>
have get 'demo/index' in my routes.rb file. I'm following a rails tutorial. I'm getting 'No route matches [GET] "/demo"" but its exactly as the tutorial has it. What am I missing?
Dreamer3 has joined #ruby
drincruz has joined #ruby
wymillerlinux has quit [Ping timeout: 240 seconds]
rose_nd_ash has joined #ruby
ajunior has quit [Client Quit]
adu has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
rose_nd_ash has quit [Ping timeout: 246 seconds]
DaRock has quit [Ping timeout: 240 seconds]
ajunior has joined #ruby
<havenwood>
kline: seems fine
<havenwood>
stormbytes: restarted rails server after updating route?
<kline>
havenwood: thanks, i saw as well the download count is increasing as well for jekyll, and having a poke around i see that other users on the build service also have stuck builds
<stormbytes>
havenwood I had the route defined as *get 'demo/index* but I was accessing it as /demo instead of demo/index
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mynameisdebian has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #ruby
alexherbo2_ has joined #ruby
rose_nd_ash has joined #ruby
kline has left #ruby ["Leaving"]
Dreamer3 has quit [Quit: Leaving...]
cb` has quit [Ping timeout: 260 seconds]
cthu| has quit [Ping timeout: 256 seconds]
adu has quit [Quit: adu]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roadt_ has quit [Ping timeout: 265 seconds]
ChmEarl has quit [Quit: Leaving]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rose_nd_ash has quit [Remote host closed the connection]
roadt_ has joined #ruby
skape has quit [Quit: Connection closed for inactivity]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Ping timeout: 264 seconds]
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
ajunior has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
adu has joined #ruby
cliluw has quit [Ping timeout: 240 seconds]
schne1der has joined #ruby
adu has quit [Quit: adu]
drincruz has joined #ruby
cliluw has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
Itsame1 has joined #ruby
alexherbo2_ has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Ping timeout: 265 seconds]
drincruz has quit [Ping timeout: 256 seconds]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
alexherbo2_ has joined #ruby
alexherbo2 has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nicholaslyang has joined #ruby
fercell has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo2_ has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #ruby
alexherbo2_ has joined #ruby
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Tuor>
I'snt there a onliner to pretty print a json file with ruby?
alexherbo2_ has quit [Remote host closed the connection]
alexherbo2 has quit [Remote host closed the connection]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
<leftylink>
hmm. well there is the possibility of using JSON.pretty_generate. but that requires parsing the JSON file. if I have a JSON file and I want to pretty print it, using jq would be shorter than the ruby
prestorium has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
tankf33der has joined #ruby
darkstardev13 has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
Itsame1 has quit [Quit: Itsame1]
schne1der has quit [Ping timeout: 264 seconds]
<Tuor>
ok thx.
<Tuor>
this works also :) .bash_aliases: alias prettyjson="ruby -e \"require 'json'; puts JSON.pretty_generate(JSON.parse(ARGF.read))\""
<Tuor>
I have tried to understand jq in the past and it's just not the right thing for my brain... ^^
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Ping timeout: 240 seconds]
rose_nd_ash has joined #ruby
ur5us has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
drincruz has joined #ruby
drincruz has quit [Ping timeout: 246 seconds]
sameerynho has joined #ruby
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 265 seconds]
vondruch_ is now known as vondruch
tpanarch1st has joined #ruby
ujjain2 has joined #ruby
ujjain2 has quit [Client Quit]
rose_nd_ash has quit [Remote host closed the connection]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
akem has quit [Remote host closed the connection]
roadt__ has joined #ruby
roadt_ has quit [Ping timeout: 256 seconds]
ruurd has quit [Read error: Connection reset by peer]
ruurd has joined #ruby
alexherbo2 has joined #ruby
rose_nd_ash has joined #ruby
imode has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
akem has joined #ruby
roadt__ has quit [Ping timeout: 256 seconds]
infinityfye has joined #ruby
roadt__ has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
braincrash has quit [Ping timeout: 260 seconds]
greypack has quit [Ping timeout: 256 seconds]
braincrash has joined #ruby
arahael1 is now known as Arahael
bukkitgerman8608 has quit [Quit: Ping timeout (120 seconds)]
bukkitgerman8608 has joined #ruby
greypack has joined #ruby
drincruz has joined #ruby
GodFather has joined #ruby
darkstardev13 has quit [Ping timeout: 244 seconds]
darkstardevx has joined #ruby
snosk8r has joined #ruby
wallace_mu has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
darkstardevx has quit [Ping timeout: 256 seconds]
wallace_mu has quit [Ping timeout: 264 seconds]
chalkmonster has joined #ruby
mikecmpbll has quit [Ping timeout: 264 seconds]
mikecmpbll has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
iNs_ has joined #ruby
iNs has quit [Ping timeout: 240 seconds]
rose_nd_ash has joined #ruby
dviola has joined #ruby
rose_nd_ash has quit [Ping timeout: 260 seconds]
rose_nd_ash has joined #ruby
wallace_mu has joined #ruby
rose_nd_ash has quit [Ping timeout: 265 seconds]
rose_nd_ash has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
schne1der has quit [Ping timeout: 256 seconds]
rose_nd_ash has quit [Remote host closed the connection]
sgen has joined #ruby
ajunior has joined #ruby
s2013 has joined #ruby
sgen has quit [Ping timeout: 256 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SeepingN has joined #ruby
howdoi has joined #ruby
sgen has joined #ruby
fercell has quit [Quit: WeeChat 2.8]
lucasb has joined #ruby
ajunior has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sgen has quit [Ping timeout: 265 seconds]
TCZ has joined #ruby
GGMethos has quit [Ping timeout: 260 seconds]
skape has joined #ruby
tankf33der has left #ruby [#ruby]
postmodern has quit [Quit: Leaving]
roadt__ has quit [Ping timeout: 260 seconds]
roadt__ has joined #ruby
ChmEarl has joined #ruby
factormystic has quit [Read error: Connection reset by peer]
rippa has joined #ruby
mekster has joined #ruby
Xiti has quit [Ping timeout: 264 seconds]
Xiti has joined #ruby
TomyWork has quit [Quit: Leaving]
vircung has quit [Ping timeout: 256 seconds]
shansen has quit [Ping timeout: 244 seconds]
CrazyEddy has joined #ruby
vircung has joined #ruby
shansen has joined #ruby
BSaboia has joined #ruby
Xiti` has joined #ruby
andremedeiros has quit [Quit: ZNC 1.8.1 - https://znc.in]
andremedeiros has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
DaRock has quit [Ping timeout: 256 seconds]
sameerynho has quit [Ping timeout: 240 seconds]
adu has joined #ruby
impermanence has joined #ruby
catphish has joined #ruby
nicholaslyang has joined #ruby
<catphish>
is anyone intimately familiar with Resolv and could tell me why this DNS request times out and eventually returns nothing? https://paste.ubuntu.com/p/5GRJbnd5K8/
<catphish>
the query is send, and the reply comes back, but Resolv doesn't seems to ignore the response
<catphish>
s/doesn't//
sameerynho has joined #ruby
<catphish>
i suppose it could be because the root nameservers never respnd with actual answers, but with athoritative records instead and this upsets Resolv
cthu| has joined #ruby
schne1der has joined #ruby
impermanence has quit [Quit: Connection closed]
coniptor has quit [Ping timeout: 264 seconds]
BSaboia has quit [Quit: This computer has gone to sleep]
nicholaslyang has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chalkmonster has quit [Quit: WeeChat 2.9]
coniptor has joined #ruby
andremedeiros has quit [Quit: ZNC 1.8.1 - https://znc.in]
chalkmonster has joined #ruby
Itsame1 has joined #ruby
cliluw has quit [Ping timeout: 256 seconds]
cliluw has joined #ruby
alexherbo2_ has quit [Ping timeout: 260 seconds]
Itsame1 has quit [Quit: Itsame1]
alexherbo2 has joined #ruby
s2013 has joined #ruby
alexherbo2 has quit [Ping timeout: 256 seconds]
akem has quit [Quit: Leaving]
alexherbo2 has joined #ruby
impermanence has joined #ruby
andremedeiros has joined #ruby
jidar has quit [Quit: rebooting]
rose_nd_ash has joined #ruby
infinityfye has quit [Ping timeout: 240 seconds]
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.9]
davispuh has joined #ruby
rose_nd_ash has quit [Remote host closed the connection]
rose_nd_ash has joined #ruby
prestorium has quit [Ping timeout: 240 seconds]
TCZ has quit [Quit: Leaving]
alexherbo2 has quit [Remote host closed the connection]
Technodrome has quit [Ping timeout: 256 seconds]
jidar has joined #ruby
jidar has quit [Remote host closed the connection]
jidar has joined #ruby
mikecmpbll has quit [Ping timeout: 246 seconds]
imode has joined #ruby
mikecmpbll has joined #ruby
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
Xiti` has quit [Quit: Leaving]
rose_nd_ash has quit [Remote host closed the connection]
Xiti has joined #ruby
rose_nd_ash has joined #ruby
mynameisdebian has joined #ruby
mynameisdebian has quit [Ping timeout: 240 seconds]
rose_nd_ash has quit [Remote host closed the connection]
LtHummus has quit [Ping timeout: 264 seconds]
bocaneri has quit [Read error: Connection reset by peer]
LtHummus_ has joined #ruby
Itsame1 has joined #ruby
Itsame1 has quit [Client Quit]
lucianp has joined #ruby
gix has joined #ruby
chalkmonster has joined #ruby
cnsvc has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mnemon>
catphish: you're asking it for the returned A record, it does not get an A record
cliluw has quit [Ping timeout: 240 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mnemon>
could try Resolv::DNS::Resource::IN::ANY
cliluw has joined #ruby
<catphish>
mnemon: i decided to write my own in the end, as i suspect i'm going beyond what it was designed to do
stryek has joined #ruby
<catphish>
but i'm still puzzled why it just times out instead of returning an empty set immediately
<mnemon>
just tried it out and returns immediately for me using just one isnatead of all the roots, maybe one of them fails or something
<mnemon>
any didn't do anything :(
<catphish>
what i'm trying to do is write an uncached resolver to get the "live" value of a record, even if the DNS servers for a domain have been changed, so the intention is to query the root name servers,then if i get back an NS record, follow it
<catphish>
i don't think methods like getresources are designed to return "extra" data, it data that wasn't explicitly requested, but te resolv library provides nice packet generators / parsers that should allow me to write my own
s2013 has joined #ruby
BrianWGray has joined #ruby
BrianWGray has quit [Client Quit]
BrianWGray has joined #ruby
cdubo has joined #ruby
nicholaslyang has joined #ruby
nicholaslyang has quit [Client Quit]
cdubo has quit [Ping timeout: 272 seconds]
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 246 seconds]
vondruch_ is now known as vondruch
schne1der has quit [Ping timeout: 240 seconds]
sameerynho has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
akem has quit [Ping timeout: 240 seconds]
prestorium has joined #ruby
akem has joined #ruby
edwardly has quit [Ping timeout: 256 seconds]
prestorium has quit [Remote host closed the connection]
prestorium has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cliluw has quit [Ping timeout: 260 seconds]
lxsameer has quit [Quit: WeeChat 2.8]
cliluw has joined #ruby
lxsameer has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
s2013 has joined #ruby
jetchisel has joined #ruby
chalkmonster has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]