Gem spec

JRuby 1.5.1, Rails app, with JDBC adapter 0.9.7

config.gem: Unpacked gem activerecord-jdbc-adapter-0.9.7 in
vendor/gems has a mismatched specification file. Run ‘rake
gems:refresh_specs’ to fix this.

mmm, OK.

jruby -S rake gems:refresh_specs
(in /blah/blah/blah)
config.gem: Unpacked gem activerecord-jdbc-adapter-0.9.7 in
vendor/gems has a mismatched specification file. Run ‘rake
gems:refresh_specs’ to fix this.
… snip stuff that apparently works…
Something bad is going on - gem directory not found for
activerecord-jdbc-adapter.

Wha? But jruby -S gem list --local shows
activerecord-jdbc-adapter (0.9.7, 0.9.2)

So, WTF? Not causing errors, but annoying when getting lots of cron
job notifications.

Any ideas? TIA!

Hassan S. ------------------------ [email protected]
twitter: @hassan


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Mon, Jul 12, 2010 at 3:46 PM, Nick S. [email protected]
wrote:

I think this might be related to a bug/mis-feature of Gem::Platform in
the gemspec and/or directory name. Try hand-editing any of the
vendored artifacts to not include “-java” in the name.

Other than deleting the ‘-java’ from the directory name itself, I see no
such artifacts. And I’d already renamed the directory, with no change
to the symptom.


Hassan S. ------------------------ [email protected]
twitter: @hassan


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I think this might be related to a bug/mis-feature of Gem::Platform in
the gemspec and/or directory name. Try hand-editing any of the
vendored artifacts to not include “-java” in the name.

/Nick

On Mon, Jul 12, 2010 at 4:04 PM, Hassan S.
[email protected] wrote:

config.gem: Unpacked gem activerecord-jdbc-adapter-0.9.7 in
job notifications.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Tue, Jul 13, 2010 at 1:04 PM, Kyle W. [email protected]
wrote:

rename the directory and remove the “platform: java” from the
specifications file

Excellent, that fixed it – thanks!

H*

Hassan S. ------------------------ [email protected]
twitter: @hassan


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

rename the directory and remove the “platform: java” from the
specifications file

On Tue, Jul 13, 2010 at 10:18 AM, Hassan S.
[email protected] wrote:

Hassan S. ------------------------ [email protected]
twitter: @hassan


To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email