Project

General

Profile

Don't know how to build task 'config/initializers/session_store.rb'

Added by Moisés Pinheiro over 15 years ago

Making the upgrade to redmine 0.8.2 the following error occurs:

# rake config/initializers/session_store.rb --trace
(in /opt/redmine-0.8)
rake aborted!
Don't know how to build task 'config/initializers/session_store.rb'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1706:in `[]'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2018:in `invoke_task'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19

Any suggestions to fix?


Replies (14)

RE: Don't know how to build task 'config/initializers/session_store.rb' - Added by Moisés Pinheiro over 15 years ago

Moisés Pinheiro wrote:

Making the upgrade to redmine 0.8.2 the following error occurs:

[...]

Any suggestions to fix?

I use the version 0.8.2 of the branch, and says it is to upgrade the rails who only uses the version of the trunk, the problem persists.

thanks

RE: Don't know how to build task 'config/initializers/session_store.rb' - Added by jdias jdias over 15 years ago

hi,

I have the same problem.

How to solve this?

Thanks

RE: Don't know how to build task 'config/initializers/session_store.rb' - Added by Moisés Pinheiro over 15 years ago

jdias jdias wrote:

hi,

I have the same problem.

How to solve this?

Thanks

I do not know

RE: Don't know how to build task 'config/initializers/session_store.rb' - Added by ian horne over 15 years ago

Any updates on this???? seems to be occuring on several instances and there's been little support from the community.

RE: Don't know how to build task 'config/initializers/session_store.rb' - Added by Eric Davis over 15 years ago

Redmine 0.8.3 doesn't need config/initializers/session_store.rb, only trunk. Also the 0.8.x version is still on Rails 2.1.2, not Rails 2.2.2. I think the upgrade instructions could be revised to make that clearer.

Eric

RE: Don't know how to build task 'config/initializers/session_store.rb' - Added by Eric Davis over 15 years ago

I've updated RedmineUpgrade to be a bit clearer on the upgrade process. Could you read it over and see how it compares to the steps you took?

Eric

RE: Don't know how to build task 'config/initializers/session_store.rb' - Added by ian horne over 15 years ago

clearer, definitely, but same error occurs on SVN upgrade, and although following these pages for install, am at a loss to what 'Copy the RAILS_ROOT/files directory content into your new installation.' means. My ruby instance has no 'files' folder. Is this '.\redmine-0.8.x\vendor\rails' folder from older version?

RE: Don't know how to build task 'config/initializers/session_store.rb' - Added by Anonymous over 15 years ago

Same error.
Rails 2.2.2, Redmine 0.8.2, no upgrades, fresh install.
And no file named session_store.rb in the config/initializers/ directory.

RE: Don't know how to build task 'config/initializers/session_store.rb' - Added by ian horne over 15 years ago

Same here. None of the options posted are working.

RE: Don't know how to build task 'config/initializers/session_store.rb' - Added by Lachlan Musicman about 15 years ago

I'm getting this error with both rails 2.1.2 and 2.2.2 on 0.8.4....?

RE: Don't know how to build task 'config/initializers/session_store.rb' - Added by Lachlan Musicman about 15 years ago

my mistake - that command is not needed for stable atm, running smoothly for me now

    (1-14/14)