Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"only for use with JRuby" warnings thrown from bundler #88

Closed
aaronfeng opened this issue Aug 16, 2011 · 1 comment
Closed

"only for use with JRuby" warnings thrown from bundler #88

aaronfeng opened this issue Aug 16, 2011 · 1 comment

Comments

@aaronfeng
Copy link

These gems require themselves in their gemspec files to get the version information:

  • jdbc-derby
  • jdbc-h2
  • jdbc-hsqldb
  • jdbc-jtds
  • jdbc-mysql
  • jdbc-postgres
  • jdbc-SQLite3

See example at https://github.com/nicksieger/activerecord-jdbc-adapter/blob/master/jdbc-derby/jdbc-derby.gemspec#L4

Since bundler seems to load the gemspec files regardless of platform, this leads to "only for use with JRuby" warnings when running a jruby/mri project on MRI.

We could probably move the version information to a separate file and avoid this warning.

@nicksieger
Copy link
Member

Sounds good. Do you mind sending a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants