Skip to content

Commit

Permalink
add todos (remove after build is fixed)
Browse files Browse the repository at this point in the history
  • Loading branch information
thewoolleyman committed Oct 19, 2010
1 parent aa2f270 commit d8850c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boxbuilder
Expand Up @@ -287,7 +287,7 @@ install_rvm_ruby() {
echo "$_log_prefix Not installing RVM Ruby $boxbuilder_default_ruby because it is already installed ..."
else
$HOME/.rvm/bin/rvm install "$boxbuilder_default_ruby"
if [[ ! $? = 0 ]]; then
if [[ ! $? = 0 ]]; then # TODO: remove, unnecessary since error checking is not enabled
echo "$_log_prefix Error installing RVM default ruby"
return 1
fi
Expand All @@ -298,7 +298,7 @@ install_rvm_ruby() {
set_rvm_default_ruby() {
echo "$_log_prefix Setting RVM default ruby: $boxbuilder_default_ruby"
$HOME/.rvm/bin/rvm --default use $boxbuilder_default_ruby
if [[ ! $? = 0 ]]; then
if [[ ! $? = 0 ]]; then # TODO: remove, unnecessary since error checking is not enabled
# TODO: This manual check is only required because RVM can't be invoked without
# disable_error_checking. See http://www.pivotaltracker.com/story/show/5021131
echo "$_log_prefix Error setting RVM default ruby"
Expand Down

0 comments on commit d8850c4

Please sign in to comment.