Using Ruby 2.0 on Amazon OpsWorks

前端 未结 4 1231
野趣味
野趣味 2021-02-10 07:09

I\'d like to use Ruby 2.0 on Amazon OpsWorks, so I\'m trying the following:

  • Choose custom cookbooks and set them to my fork of https://github.com/aws/opsworks-cook
4条回答
  •  孤独总比滥情好
    2021-02-10 07:33

    Opsworks already has support for Ruby 2.0, it's just not exposed through the UI. However, you can easily enable it by simply passing in the following custom JSON

    {
      "opsworks" : {
        "ruby_version" : "2.0.0"
      }
    }
    

    That's it! No need to install any custom packages or anything.

提交回复
热议问题