diff options
author | jayashri garud <jgarud@msystechnologies.com> | 2021-08-13 12:04:19 +0530 |
---|---|---|
committer | jayashri garud <jgarud@msystechnologies.com> | 2021-08-13 12:04:19 +0530 |
commit | 9580f6d19ff63b29c1feb275b56545a064f76697 (patch) | |
tree | 64cbc21101166f542636c52f413089c0ec01d941 /omnibus/README.md | |
parent | 3215647d0cfa39a549f467d1011d3d0fe529c6c5 (diff) | |
download | chef-9580f6d19ff63b29c1feb275b56545a064f76697.tar.gz |
Replace deprecated --without flag with bundle config
Signed-off-by: jayashri garud <jgarud@msystechnologies.com>
Diffstat (limited to 'omnibus/README.md')
-rw-r--r-- | omnibus/README.md | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/omnibus/README.md b/omnibus/README.md index a10190c136..79c809b70f 100644 --- a/omnibus/README.md +++ b/omnibus/README.md @@ -10,7 +10,8 @@ This project creates full-stack platform-specific packages for the following pro You must have a sane Ruby environment with Bundler installed. Ensure all the required gems are installed: ```shell -bundle install --without development +bundle config set without development +bundle install ``` ## Usage @@ -80,7 +81,8 @@ Then login to the instance and build the project as described in the Usage secti ```shell $ bundle exec kitchen login <PROJECT>-ubuntu-1204 [vagrant@ubuntu...] $ cd chef/omnibus -[vagrant@ubuntu...] $ bundle install --without development # Don't install dev tools! +[vagrant@ubuntu...] $ bundle config set without development # Don't install dev tools! +[vagrant@ubuntu...] $ bundle install [vagrant@ubuntu...] $ ... [vagrant@ubuntu...] $ bundle exec omnibus build <PROJECT> -l internal ``` @@ -89,7 +91,8 @@ $ bundle exec kitchen login <PROJECT>-ubuntu-1204 $ kitchen login chef-ubuntu-1604 [vagrant@ubuntu...] $ source load-omnibus-toolchain.sh [vagrant@ubuntu...] $ cd chef/omnibus -[vagrant@ubuntu...] $ bundle install --without development # Don't install dev tools! +[vagrant@ubuntu...] $ bundle config set without development # Don't install dev tools! +[vagrant@ubuntu...] $ bundle install [vagrant@ubuntu...] $ ... [vagrant@ubuntu...] $ bundle exec omnibus build chef -l internal ``` @@ -106,7 +109,9 @@ C:\>C:\vagrant\load-omnibus-toolchain.ps1 C:\>cd C:\vagrant\chef\omnibus -C:\vagrant\chef\omnibus>bundle install --without development +C:\vagrant\chef\omnibus>bundle config set without development + +C:\vagrant\chef\omnibus>bundle install C:\vagrant\chef\omnibus>bundle exec omnibus build chef -l internal ``` |