Gems:refresh_specs


#1

Why, when I do a :

jruby -S rake gems:refresh_specs --trace

from the top-level dir of my rails app, do I get the following stack
trace:

** Invoke gems:refresh_specs (first_time)
** Invoke gems:base (first_time)
** Execute gems:base
** Invoke environment (first_time)
** Execute environment
** Execute gems:refresh_specs
Reloaded specification for authlogic from installed gems.
rake aborted!
The system cannot find the path specified
G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/gem_dependency.rb:233:in
open' G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/gem_dependency.rb:233:in
write_specification’
G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/gem_dependency.rb:200:in
refresh' G:/jruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/core_ext/ symbol.rb:11:into_proc’
G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/gems.rake:46:in
each' G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/tasks/gems.rake:46 G:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:incall’


#2

I’ve never used this feature before. Is there any bootstrapping we’d
need to reproduce the problem?

Also, can you toss this into a bug until we know what’s wrong?

Mistress Janna Brossard wrote:

** Execute environment
G:/jruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/gem_dependency.rb:200:in
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

#3

Sure, can you tell me where to file a bug report? The error occurred
when a file a “warred-up” in warbler failed to load in JBoss, and the
resultant error told me to run rake gems:refresh_specs.

Insidentally, when I run unpack on some of these gems, which I know I
have installed correctlt (through >jruby -S gem install <…> ) I get the
following:

G:\jruby\rails_apps\ggripv2>jruby -S rake gems:unpack paginator --trace
(in G:/jruby/rails_apps/ggripv2)
** Invoke gems:unpack (first_time)
** Invoke gems:install (first_time)
** Invoke gems:base (first_time)
** Execute gems:base
** Invoke environment (first_time)
** Execute environment
** Execute gems:install
** Execute gems:unpack
rake aborted!
Don’t know how to build task ‘paginator’
G:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1728:in []' G:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:ininvoke_task’
G:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level' G:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:ineach’
G:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level' G:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:instandard_excepti
on_handling’
G:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
top_level' G:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:inrun’
G:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_excepti
on_handling’


#4

File bugs here:

http://jira.codehaus.org/browse/JRUBY

And try to include as much information as you can. We may be a little
slow this week (week after JavaOne, need some days off) but if you can
reduce it more it will help us solve it more quickly.

Mistress Janna Brossard wrote:

** Invoke gems:unpack (first_time)
G:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2050:in `invoke_task’
on_handling’

** Execute gems:base
open’


Windows Liveâ„¢: Keep your life in sync. Check it out.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email