guyuqi commented on pull request #620:
URL: https://github.com/apache/bigtop/pull/620#issuecomment-626440993


   If we still put ruby-installation into Bigtop_toolchain, it would override 
the ruby package already provided by distros. 
   So both remove ruby compiling and ruby installation from Bigtop_toolchain.
   
   For compile time: we must take ruby-2.4 to build logstash:
   So just install ruby-2.4 in the phase of build `do-component-build` : 
   ```
   curl -sSL https://get.rvm.io | bash -s stable
   [ -s /usr/local/rvm/scripts/rvm ] && source /usr/local/rvm/scripts/rvm
   rvm install ruby-2.4.0 && rvm use 2.4.0
   
   ```
   For logstash runtime, we could leverage the ruby > 2.4 which has been 
already provided by distros.
   Then we doesn't support logstash on CentOS-7, Debian-9 ,ubuntu-16.04 which 
provides ruby < 2.4 by [the previous 
disscussion](https://github.com/apache/bigtop/pull/632#issuecomment-624187208)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to