I am developing with rails at three platform
mac, windows, linux.
until Rails 2.1, we can describe gem dependencies in environment.rb.
( this one ~
http://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-gem-dependencies
)
so I write environment.rb like below for using will_paginate
...
config.gem ''capistrano''
config.gem ''mislav-will_paginate'', :version =>
''~> 2.3.2'', :lib =>
''will_paginate'', :source =>
''http://gems.github.com''
...
after describing, in mac rails task is good result.
sudo rake gems:install
...
but Windows''s result is fail.
That is result.
C:\developments\eclipse\workspace_sdk\ZumpWeb>rake gems:install --trace
(in C:/developments/eclipse/workspace_sdk/ZumpWeb)
** Invoke gems:install (first_time)
** Invoke gems:base (first_time)
** Execute gems:base
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `collect'' for nil:NilClass
c:/bin/ruby/lib/ruby/site_ruby/1.8/rubygems/version.rb:237:in
`initialize''
c:/bin/ruby/lib/ruby/site_ruby/1.8/rubygems/version.rb:29:in `new''
c:/bin/ruby/lib/ruby/site_ruby/1.8/rubygems/version.rb:29:in
`initialize''
c:/bin/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails/gem_dependency.rb:104:in
`new''
c:/bin/ruby/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/rails
...
I run not yet in linux.
Does anybody have same experience?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---