Skip to content

Instantly share code, notes, and snippets.

@henrypoydar
Created April 13, 2010 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henrypoydar/364765 to your computer and use it in GitHub Desktop.
Save henrypoydar/364765 to your computer and use it in GitHub Desktop.
# Bundler doesn't seem to work with gems that have native extensions
# in 1.9.x unless they were installed beforehand. A problem when
# thinking about cloud deployments with fresh instances.
myapp$ rvm use system
=> Now using system ruby
myapp$ bundle install # Gems with native extensions are already installed for this ruby version
=> ... Your bundle is complete!
myapp$ rake
=> ... green
myapp$ rvm install ruby-head
=> ... ruby head installed
myapp$ rvm use ruby-head
=> Using ruby head
myapp$ bundle install
=> Your bundle is complete!
myapp$ rake
=> ... Seg fault on a gems with native extensions
myapp$ gem install (gems with native extensions)
=> ... gems installed
myapp$ bundle install
=> ... Your bundle is complete!
myapp$ rake
=> ... green
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment