Forum: JRuby gems:refresh_specs

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9f4a65c520a69cd357d830661e172272?d=identicon&s=25 Mistress Janna Brossard (Guest)
on 2009-06-04 17:55
(Received via mailing list)
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:in `to_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:in `call'
Ede2aa10c6462f1d825143879be59e38?d=identicon&s=25 Charles Oliver Nutter (Guest)
on 2009-06-05 18:44
(Received via mailing list)
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_TA...
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
9f4a65c520a69cd357d830661e172272?d=identicon&s=25 Mistress Janna Brossard (Guest)
on 2009-06-05 23:43
(Received via mailing list)
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:in
`invoke_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:in `each'
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:in
`standard_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:in `run'
G:/jruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_excepti
on_handling'
Ede2aa10c6462f1d825143879be59e38?d=identicon&s=25 Charles Oliver Nutter (Guest)
on 2009-06-07 20:12
(Received via mailing list)
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_B...


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
This topic is locked and can not be replied to.