Project

General

Profile

Actions

Defect #17350

closed

awesome_nested_set

Added by Roy Keyes almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Core Plugins
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

We upgraded from 2.2.4 to 2.5-stable and I can't run rake until I go into the /lib/plugins/ directory and create a symlink to /lib/plugins/awesome_nested_set/ from an older build. In my case, I used 2.4-stable and now everything works.

Actions #1

Updated by Roy Keyes almost 11 years ago

I also had to add the line in config/application.rb to set i18n locales to false, or else it won't run with old 0.6.1 versions of i18n

Actions #2

Updated by Toshi MARUYAMA almost 11 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Roy Keyes wrote:

We upgraded from 2.2.4 to 2.5-stable and I can't run rake until I go into the /lib/plugins/ directory and create a symlink to /lib/plugins/awesome_nested_set/ from an older build. In my case, I used 2.4-stable and now everything works.

Because you did not run "bundle update".

Actions #3

Updated by Roy Keyes almost 11 years ago

  • Status changed from Closed to Reopened

Actually, I did run bundle update. I still get the following error....

rake aborted!
LoadError: cannot load such file -- awesome_nested_set/version
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
/vagrant/redmine_sources/redmine-2.5-stable/config/initializers/10-patches.rb:206:in `<top (required)>'
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load'
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `block in load'
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:245:in `load'
/var/lib/gems/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
/var/lib/gems/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:587:in `each'
/var/lib/gems/1.9.1/gems/railties-3.2.13/lib/rails/engine.rb:587:in `block in <class:Engine>'
/var/lib/gems/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec'
/var/lib/gems/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'
/var/lib/gems/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in run_initializers'
/var/lib/gems/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `each'
/var/lib/gems/1.9.1/gems/railties-3.2.13/lib/rails/initializable.rb:54:in `run_initializers'
/var/lib/gems/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:136:in `initialize!'
/var/lib/gems/1.9.1/gems/railties-3.2.13/lib/rails/railtie/configurable.rb:30:in `method_missing'
/vagrant/redmine_sources/redmine-2.5-stable/config/environment.rb:14:in `<top (required)>'
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require'
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236:in `load_dependency'
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'
/var/lib/gems/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:103:in `require_environment!'
/var/lib/gems/1.9.1/gems/railties-3.2.13/lib/rails/application.rb:297:in `block (2 levels) in initialize_tasks'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

Actions #4

Updated by Toshi MARUYAMA almost 11 years ago

  • Status changed from Reopened to Closed

Roy Keyes wrote:

/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `require'

Your installation is broken.
2.5.1 uses Rails 3.2.17.
source:tags/2.5.1/Gemfile#L3

Actions #5

Updated by Roy Keyes almost 11 years ago

Ok, thanks. We are building on a vagrant install and after a pull of the 2.5 branch, I was copying an old Gemfile over (forgot to comment that line out). The original version we installed back at 2.0 had postgresql settings that came with it by default and we had modified the Gemfile.

In any case, looks like it all works now.

Thanks for your help.

Actions

Also available in: Atom PDF