<div dir="ltr">Hi everyone,<div><br></div><div>I maintain the websocket-driver gem (<a href="https://github.com/faye/websocket-driver-ruby">https://github.com/faye/websocket-driver-ruby</a>), which includes a small portion of native code done in C and Java. I use rake-compiler to build the extension during development, and rely on rubygems/bundler doing the right thing for users.</div>
<div><br></div><div>If you clone the repo and run:</div><div><br></div><div>$ bundle install</div><div>$ bundle exec rake compile</div><div><br></div><div>then you should see a file called lib/websocket_mask.{bundle,jar,so} appear, depending on your OS and Ruby version. The same should happen when you install the library from <a href="http://rubygems.org">rubygems.org</a>.</div>
<div><br></div><div>But one user of the library (using MRI 2.0) is reporting that when they install the gem with bundler, the extension is built in the 'ext' directory rather than in 'lib'.</div><div><br></div>
<div>Anyone know why this might be, and know how to fix it?<br clear="all"><div><br></div>-- <br>James Coglan<br><a href="http://jcoglan.com">http://jcoglan.com</a><br>+44 (0) 7771512510
</div></div>