[Rails] Re: rake gems:freeze GEM=pdf-writer not working on MAC
It looks like Gem::Commands::UnpackCommand#get_path changed it's
signature (from 2 args to 1) fairly recently - and much more recently
than gemsonrails was last updated (July 2008 according to Github).
You'll definitely want to switch to a different mechanism for
vendoring gems.
--Matt Jones
On Jun 4, 12:39 am, Tushar Gandhi <li...@ruby-forum.com> wrote:
> Hi,
> Here is the complete trace of error:-
> Can anyone help me out what is wrong with my configuration?
>
> administrators-macbook:browsercms_demo Administrator$ rake gems:freeze
> GEM=pdf-writer --trace
> (in /railsproject/bcms/browsercms_demo)
> DEPRECATION WARNING: Rake tasks in vendor/plugins/gemsonrails/tasks,
> vendor/plugins/gemsonrails/tasks, vendor/plugins/gemsonrails/tasks, and
> vendor/plugins/gemsonrails/tasks are deprecated. Use lib/tasks instead.
> (called from
> /Library/Ruby/Gems/1.8/gems/rails-2.3.8/lib/tasks/rails.rb:10)
> ** Invoke gems:freeze (first_time)
> ** Execute gems:freeze
> rake aborted!
> wrong number of arguments (2 for 1)
> /railsproject/bcms/browsercms_demo/vendor/plugins/gemsonrails/tasks/gems_fr eeze.rake:41:in
> `get_path'
> /railsproject/bcms/browsercms_demo/vendor/plugins/gemsonrails/tasks/gems_fr eeze.rake:41
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
> `invoke_with_call_chain'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/mon itor.rb:242:in
> `synchronize'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
> `invoke_with_call_chain'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
> `standard_exception_handling'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
> `standard_exception_handling'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
> /Library/Ruby/Gems/1.8/gems/rake-0.8.7/bin/rake:31
> /usr/bin/rake:19:in `load'
> /usr/bin/rake:19
>
> Thanks,
> Tushar
> --
> Posted viahttp://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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home