Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

265
Views
Ruby (¿File.exist? - ¿FileTest.exist?) en el objeto S3?

¿Alguien puede ayudarme a recomendar una convención para llamar a File.exist? o FileTest.exist? en un objeto AWS S3 en Ruby/Rails?

Estoy almacenando el objeto en una cadena, es decir:

 aws_photo = "https://s3.us-east-2.amazonaws.com/examplesite/photo.JPG"

Llamar a los métodos anteriores en la cadena produce un retorno FALSO de Ruby.

 File.exist?(aws_photo) => false

También he intentado:

 FileTest.exist? and File.exist?(aws_photo.url) - (aws_photo.path)

en vano...

¡Gracias!

about 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!