Skip to content

Instantly share code, notes, and snippets.

@smathy
Last active April 20, 2016 17:29
Show Gist options
  • Save smathy/04c5c75966bee21bbf983c91150615b4 to your computer and use it in GitHub Desktop.
Save smathy/04c5c75966bee21bbf983c91150615b4 to your computer and use it in GitHub Desktop.
[10:32:07] smathy: shibly, but you can't reliably use the old gems with the new ruby.
[10:32:24] shibly: smathy, Why not? What's wrong?
[10:33:15] smathy: shibly, some gems have native (compiled) components, they won't work across different ruby versions. This all is why version managers (and bundler) were invented.
[10:37:00] smathy: shibly, chruby/rbenv and their install helpers: ruby-install or ruby-build
[10:37:23] shibly: smathy, If i use rvm, then will i be able to use older gem with newer ruby?
[10:37:52] smathy: shibly, no, you will never be able to do that for any gem that has a compiled component.
[10:40:00] shibly: smathy, If i use chruby/rbenv then will i be able to use older gems with newer ruby?
[10:40:12] smathy: [10:37:52] smathy: shibly, no, you will never be able to do that for any gem that has a compiled component.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment