/usr/bin/env ruby_noexec_wrapper fails with no file or directory

后端 未结 5 1069
遇见更好的自我
遇见更好的自我 2021-01-01 23:39

When I try to start chef-solr as service it\'s failing with the following error

# service chef-solr start
Starting chef-solr: /usr/bin/env: ruby_noexec_wrapp         


        
5条回答
  •  無奈伤痛
    2021-01-02 00:13

    make sure all the variables all set correctly, especially PATH and GEM_PATH, you can use this code to set the environment for you:

    source /usr/local/rvm/environments/ruby-1.9.3-p194
    

    add it in the service before chef-solr is run

提交回复
热议问题