scripts/install.sh in ff-ruby-server-sdk-1.0.0 vs scripts/install.sh in ff-ruby-server-sdk-1.0.1
- old
+ new
@@ -4,7 +4,13 @@
dir_path=$(dirname "$full_path")
. "$dir_path/sdk_specs.sh"
# shellcheck disable=SC2154
-cd "$dir_path/.." && gem build "$ff_ruby_sdk.gemspec" && \
- echo "Please enter your 'sudo' password if asked" && sudo gem install "$ff_ruby_sdk"
+if cd "$dir_path/.." && gem build "$ff_ruby_sdk.gemspec" && gem install "$ff_ruby_sdk"; then
+
+ echo "The '$ff_ruby_sdk' is installed with success"
+else
+
+ echo "ERROR: the '$ff_ruby_sdk' is NOT installed with success"
+ exit 1
+fi
\ No newline at end of file