Share gems library between operating systems?
I need to have my ruby application run on both solaris and
linux. I have installed
ruby on both platforms. My question is do I need to have two
different gems
repositories, one on each platform, and install everything I need
twice, or
can I share the respository?
Thanks in advance
Don
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Luis Lavena on 11 Feb, 2011 03:45 PM
If the gems are pure-ruby code, it can be shared, but that could be a
problem due filesystem permissions and different userid's between OS.
If the gems contain compiled code, then you can't run them across
platforms because the compiled extension that the gem needs is
compiled for the platform is running into.
3 Posted by dmcclean on 11 Feb, 2011 03:58 PM
Luis,
Thank you for the quick response!
Regards,
Don
Nick Quaranto closed this discussion on 26 Feb, 2011 07:16 PM.