I'm currently using a Ruby on Rails app and I'm trying to find an easy way to find the hostname / IP address on the box I'm on (since it's a virtual machine). Could someone tell me if there's an easy way to do this in Ruby on Rails?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!