05 Jan '13, 3am

Understanding binstubs

This is an excerpt from the Understanding binstubs guide I wrote on the rbenv wiki . Project-specific binstubs When you run rspec within your project’s directory, rbenv can ensure that it will get executed with the Ruby version configured for that project. However, nothing will ensure that the right version of RSpec gets activated; in fact, RubyGems will simply activate the latest RSpec version even if your project depends on an older version. In the context of a project, this is unwanted behavior. This is why bundle exec <command> is so often needed. It ensures the right versions of dependencies get activated, ensuring a consistent ruby runtime environment. However, bundle exec is a pain to always have to write. Bundler-generated binstubs Bundler can install binstubs in your project for all executables contained in the current bundle. bundle install --binstubs This create...

Full article: http://mislav.uniqpath.com/2013/01/understanding-binstubs/

Tweets

Understanding Defense Acquisition, and More fro...

fas.org 03 Jan '13, 4pm

Understanding Defense Acquisition, and More from CRS January 3rd, 2013 by Steven Aftergood Noteworthy new and updated repo...