I am trying to build logstash 5.3.2 from source. Below are the steps I followed. But the "rake bootstrap" command fails with the "Errno::EHOSTUNREACH: No route to host - connect(2)"
This is been done on a empty docker container hosted on a openstack vm.
Step 1: export the proxy variables
Step2 : Get the source file.
wget wget https://github.com/elastic/logstash/archive/v5.3.2.tar.gz
Step3 : yum install ruby
Step4 : gem install rake
Fetching: rake-12.0.0.gem (100%)
Successfully installed rake-12.0.0
Parsing documentation for rake-12.0.0
Installing ri documentation for rake-12.0.0
1 gem installed
bash-4.2# rake bootstrap
Errno::EHOSTUNREACH: No route to host - connect(2)
rescue in block in file_fetch' /home/logstash/rakelib/fetch.rake:22:inblock in file_fetch'
file_fetch' /home/logstash/rakelib/vendor.rake:77:inblock (2 levels) in <top (required)>'
<top (required)>' /usr/local/share/gems/gems/rake-12.0.0/exe/rake:27:in<top (required)>'