undefined method `partial_pieces' for module `ActionView::Partials'

MrV's Avatar

MrV

14 Sep, 2011 02:17 PM

Hi there..

Hi there..

I have hit this problem and tried to update the actual module for action pack (same version as was running), this site has been recently migrated and I am a total noob when it comes to ruby on rails

Can anyone help?

  1. Installation of new action pack

~]# wget http://rubyforge.org/frs/download.php/42606/actionpack-2.1.1.gem

Saving to: `actionpack-2.1.1.gem'

100%[====================================================================================================================>] 743,936 2.35M/s in 0.3s

2011-09-14 14:06:10 (2.35 MB/s) - `actionpack-2.1.1.gem' saved [743936/743936]

~]# cd /usr/lib//ruby/gems/1.8/gems/ gems]# ls -l total 36
drwxr-xr-x 4 root root 4096 Aug 8 14:34 actionmailer-2.1.1
drwxr-xr-x 4 root root 4096 Aug 8 14:34 actionpack-2.1.1
drwxr-xr-x 5 root root 4096 Aug 8 14:34 activerecord-2.1.1
drwxr-xr-x 4 root root 4096 Aug 8 14:34 activeresource-2.1.1
drwxr-xr-x 4 root root 4096 Aug 8 14:34 activesupport-2.1.1
drwxr-xr-x 5 root root 4096 Sep 5 12:24 builder-3.0.0
drwxr-xr-x 4 root root 4096 Sep 5 12:02 columnize-0.3.4
drwxr-xr-x 11 root root 4096 Aug 8 14:34 rails-2.1.1
drwxr-xr-x 6 root root 4096 Aug 8 14:34 rake-0.8.7

gems]# mv actionpack-2.1.1 ~/

gems]# gem install ~/actionpack-2.1.1.gem
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
Successfully installed actionpack-2.1.1
1 gem installed
Installing ri documentation for actionpack-2.1.1...

Installing RDoc documentation for actionpack-2.1.1...
gems]#

  1. Trying to start ruby server..

ruby script/server -e production
=> Booting WEBrick... /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/core_ext/module/aliasing.rb:31:in alias_method': undefined methodpartial_pieces' for module `ActionView::Partials' (NameError)

    from /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/core_ext/module/aliasing.rb:31:in `alias_method_chain'
    from /web/sites/xxx/current/vendor/plugins/resource_fu/lib/proto_cool/resource_fu/default_template_path.rb:57:in `included'
    from /web/sites/xxx/current/vendor/plugins/resource_fu/lib/proto_cool/resource_fu/default_template_path.rb:56:in `class_eval'
    from /web/sites/xxx/current/vendor/plugins/resource_fu/lib/proto_cool/resource_fu/default_template_path.rb:56:in `included'
    from /web/sites/xxx/current/vendor/plugins/resource_fu/lib/proto_cool/resource_fu/default_template_path.rb:10:in `include'
    from /web/sites/xxx/current/vendor/plugins/resource_fu/lib/proto_cool/resource_fu/default_template_path.rb:10:in `send'
    from /web/sites/xxx/current/vendor/plugins/resource_fu/lib/proto_cool/resource_fu/default_template_path.rb:10:in `included'
    from /web/sites/xxx/current/vendor/plugins/resource_fu/init.rb:13:in `include'
     ... 25 levels...
    from /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/commands/server.rb:39
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from script/server:3
  1. rake test..

rake --trace --require=config/environment.rb db:migrate
rake aborted!
undefined method partial_pieces' for moduleActionView::Partials'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/core_ext/module/aliasing.rb:31:in alias_method' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/core_ext/module/aliasing.rb:31:inalias_method_chain' /web/sites/xxx/current/vendor/plugins/resource_fu/lib/proto_cool/resource_fu/default_template_path.rb:57:in included' /web/sites/xxx/current/vendor/plugins/resource_fu/lib/proto_cool/resource_fu/default_template_path.rb:56:inclass_eval' /web/sites/XXX/current/vendor/plugins/resource_fu/lib/proto_cool/resource_fu/default_template_path.rb:56:in included' /web/sites/XXX/current/vendor/plugins/resource_fu/lib/proto_cool/resource_fu/default_template_path.rb:10:ininclude' /web/sites/XXX/current/vendor/plugins/resource_fu/lib/proto_cool/resource_fu/default_template_path.rb:10:in send' /web/sites/XXX/current/vendor/plugins/resource_fu/lib/proto_cool/resource_fu/default_template_path.rb:10:inincluded' /web/sites/XXX/current/vendor/plugins/resource_fu/init.rb:13:in include' /web/sites/XXX/current/vendor/plugins/resource_fu/init.rb:13:insend' /web/sites/XXX/current/vendor/plugins/resource_fu/init.rb:13:in evaluate_init_rb' /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/rails/plugin.rb:95:inevaluate_init_rb' /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/core_ext/kernel/reporting.rb:11:in silence_warnings' /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/rails/plugin.rb:91:inevaluate_init_rb' /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/rails/plugin.rb:44:in load' /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/rails/plugin/loader.rb:33:inload_plugins' /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/rails/plugin/loader.rb:32:in each' /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/rails/plugin/loader.rb:32:inload_plugins' /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/initializer.rb:292:in load_plugins' /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/initializer.rb:142:inprocess' /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/initializer.rb:97:in send' /usr/lib/ruby/gems/1.8/gems/rails-2.1.1/lib/initializer.rb:97:inrun' ./config/environment.rb:13 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2253:in standard_rake_options' /usr/lib/ruby/1.8/optparse.rb:1218:incall' /usr/lib/ruby/1.8/optparse.rb:1218:in order!' /usr/lib/ruby/1.8/optparse.rb:1205:incatch' /usr/lib/ruby/1.8/optparse.rb:1205:in order!' /usr/lib/ruby/1.8/optparse.rb:1279:inpermute!' /usr/lib/ruby/1.8/optparse.rb:1300:in parse!' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2312:inhandle_options' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2008:in init' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:instandard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2006:in init' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:inrun' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2067:in standard_exception_handling' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1997:inrun' /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /usr/bin/rake:19:in `load' /usr/bin/rake:19

  1. 2 Posted by MrV on 14 Sep, 2011 02:19 PM

    MrV's Avatar

    Above output attached for easier read

  2. Support Staff 3 Posted by Luis Lavena on 14 Sep, 2011 05:23 PM

    Luis Lavena's Avatar

    Hello,

    help.rubygems.org aims to provide support and assistance when dealing with RubyGems (the package manager) and rubygems.org as gem hosting service and not about gem installation issues on each platform.

    I recommend you reach a Ruby on Rails forum/group and ask there in relation to gem update and changes between versions.

  3. Luis Lavena closed this discussion on 14 Sep, 2011 05:23 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

29 Aug, 2014 06:23 PM
28 Aug, 2014 07:18 PM
27 Aug, 2014 12:03 PM
26 Aug, 2014 07:09 PM
26 Aug, 2014 07:07 PM