-
Notifications
You must be signed in to change notification settings - Fork 96
problems with setting up portfolio plugin for rails 3.2.15 #120
Description
I need to add portfolio plugin to my old rails application (rails 3.2.15, refinerycms 2.1.5).
I tried to add gem by this way:
`gem 'refinerycms-portfolio', :git => 'git://github.com/resolve/refinerycms-portfolio.git', :branch => '1-0-stable'
(because in other cases bundler hadn't installed the gem). So then I tried to run:
rails generate refinery:portfolio
but I have this error:
-- DEPRECATION WARNING --
The use of 'Refinery::Plugin#version=' is deprecated and will be removed at version 2.2.
/home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:251:in require': cannot load such file -- globalize3 (LoadError) from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:251:in block in require'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:234:in block in load_dependency' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:639:in new_constants_in'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:234:in load_dependency' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:251:in require'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/bundler/gems/refinerycms-portfolio-7c1f2506368d/app/models/portfolio_entry.rb:1:in <top (required)>' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:469:in load'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:469:in block in load_file' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:639:in new_constants_in'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:468:in load_file' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:353:in require_or_load'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:502:in load_missing_constant' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:192:in block in const_missing'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:190:in each' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:190:in const_missing'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:514:in load_missing_constant' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:192:in block in const_missing'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:190:in each' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:190:in const_missing'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:514:in load_missing_constant' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:192:in block in const_missing'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:190:in each' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:190:in const_missing'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:514:in load_missing_constant' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:192:in block in const_missing'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:190:in each' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:190:in const_missing'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/bundler/gems/refinerycms-portfolio-7c1f2506368d/lib/refinerycms-portfolio.rb:26:in block (2 levels) in <class:Engine>' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/refinerycms-core-2.1.5/lib/refinery/plugin.rb:9:in register'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/bundler/gems/refinerycms-portfolio-7c1f2506368d/lib/refinerycms-portfolio.rb:21:in block in <class:Engine>' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/lazy_load_hooks.rb:34:in call'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/lazy_load_hooks.rb:34:in execute_hook' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/lazy_load_hooks.rb:43:in block in run_load_hooks'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/lazy_load_hooks.rb:42:in each' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/lazy_load_hooks.rb:42:in run_load_hooks'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/application/finisher.rb:59:in block in <module:Finisher>' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/initializable.rb:30:in instance_exec'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/initializable.rb:30:in run' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/initializable.rb:55:in block in run_initializers'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/initializable.rb:54:in each' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/initializable.rb:54:in run_initializers'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/application.rb:136:in initialize!' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/railtie/configurable.rb:30:in method_missing'
from /home/nataly/Projects/mrsk/config/environment.rb:5:in <top (required)>' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:251:in require'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:251:in block in require' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:236:in load_dependency'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.15/lib/active_support/dependencies.rb:251:in require' from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/application.rb:103:in require_environment!'
from /home/nataly/Projects/mrsk/vendor/bundle/ruby/2.0.0/gems/railties-3.2.15/lib/rails/commands.rb:25:in <top (required)>' from script/rails:6:in require'
from script/rails:6:in `
How can I fix it?