Ruby bindings to C libraries and other ruby binary files should be installed to the sitearchdir: i.e. /usr/lib/ruby/site_ruby/1.8/i386_linux. Currently, Player's ruby bindings are going into the sitelibdir, /usr/lib/ruby/site_ruby/1.8/, which is for pure ruby .rb files that aren't architecture specific. This patch changes the CMakeLists.txt to utilize the RUBY_SITEARCH_DIR instead of the RUBY_SITELIB_DIR. It was created against Player 3.0.1.
Log in to post a comment.