Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a default-gems file #35

Merged
merged 1 commit into from
Apr 28, 2017

Conversation

thiagoa
Copy link
Contributor

@thiagoa thiagoa commented Apr 24, 2017

#31

if gem install $name > /dev/null 2>&1; then
echo "SUCCESS"
else
echo "FAIL"
Copy link
Contributor Author

@thiagoa thiagoa Apr 24, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we could print the whole error message here? Or is this OK? If so, I guess the user can retry the command manually. Also, I'm not sure if we should exit 1 if at least one of the gems fails to install.

The README example would print out the following (supposing "pry" installation fails):

Installing bundler gem.... SUCCESS
Installing pry gem... FAIL
Installing gem-ctags... SUCCESS

@Stratus3D
Copy link
Member

Thanks! This is perfect.

@Stratus3D Stratus3D merged commit 6d4308a into asdf-vm:master Apr 28, 2017
@thiagoa thiagoa deleted the add-support-for-default-gems branch April 28, 2017 19:59
grepsedawk added a commit to grepsedawk/asdf-nodejs that referenced this pull request Jul 31, 2017
grepsedawk added a commit to grepsedawk/asdf-nodejs that referenced this pull request Jul 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants