2

I fee like I've seen that this was possible in some documentation before, but now I'm not able to find it. Is it possible to have a gemfile like:

gem "somegem", :interpreter => :MRI
gem "othergem", :interpreter => :macruby

etc, etc

I am needing this because in macruby some gems do not work, so it'd be great if you could get around that this way.

Michiel de Mare
  • 41,982
  • 29
  • 103
  • 134
Jeremy Smith
  • 14,727
  • 19
  • 67
  • 114
  • 1
    Are you looking for the [platforms](http://gembundler.com/man/gemfile.5.html) parameters? `:platforms => mri_19` and so on. They only alow you to specify which gems to run under the current platform not how to run the gems... – Yet Another Geek Aug 25 '11 at 20:46
  • Yet Another Geek - That's an answer, make it so! – Douglas F Shearer Aug 25 '11 at 20:49

1 Answers1

4

Are you looking for the platforms parameters? :platforms => mri_19 and so on. They only alow you to specify which gems to run under the current platform not how to run the gems.

EDIT: Anyways if you are not building any Cocoa applications use CRuby (MRI) by default, as it the most complete implementation of Ruby, or try RVM for handling multiple Ruby installations.

Yet Another Geek
  • 4,251
  • 1
  • 28
  • 40