Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

267
Vistas
Ruby (File.exist? - FileTest.exist?) on S3 object?

Can someone help me with recommending convention to call File.exist? or FileTest.exist? on an AWS S3 object in Ruby/Rails?

I'm storing the object in a string ie:

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

Calling the above methods on the string all yield a FALSE return by Ruby.

File.exist?(aws_photo) => false

I've also tried:

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

to no avail...

Thanks!

about 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda