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

Already on GitHub? Sign in to your account

bundler shall give `rvm notes` like info #2103

Closed
happypeter opened this Issue Sep 18, 2012 · 3 comments

Comments

Projects
None yet
3 participants

I just run bundle command for more than 10 times, to install a project!

everytime I run it, it stops while installing some gem, because that very gem required some dev-headers or sth, that means I need to

sudo apt-get/yum install sth

So the loop is "run bundler -> check the error mesage -> google it -> install the thing -> bundle again"
I would love if bundler give me some hint about what deb package to install, some info like rvm notes

Contributor

rohit commented Sep 18, 2012

This would be beyond the scope of Bundler. Maybe there is room for a gem the queries some service to get known requirements. Maybe Rubygems(the website) it self should store the info or maybe even the gemspec is the right place.

I was thinking on how to solve this problem too tbh. The best that I could think of was trapping a gem build failure exception (iirc rubygems throws a particular one) and display a message that tells you to check that particular gems dependencies.

@rohit platforms vary, so do the local packaging systems (yum homebrew ...), it's hard to make the whole thing pleasant, I believe, but certainly there is sth can be done to make it suck less.

Say, bundle dryrun or sth to show me all failure msg( maybe a bit polished ) in one go.

Contributor

radar commented Aug 8, 2013

The errors are different from operating sytem to operating system. Your best bet is to google for the error messages and hope something comes up. Bundler will never include a feature like this, as it is beyond the scope of what Bundler is designed for.

@radar radar closed this Aug 8, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment