Project

General

Profile

REDMINE installation CentOS --> rake generate_session_store --> rake aborted!

Added by Jean-Bernard Favreau almost 13 years ago

Hello to all,
It's my first installation of REDMINE 1.2.1 on CentOS 5.3
I follow the guide for CentOS5 (http://www.redmine.org/projects/redmine/wiki/HowTo_install_Redmine_on_CentOS_5)
up to bundle install --> no problems,

[root@itsdir redmine]# bundle install
Fetching source index for http://rubygems.org/
Using rake (0.8.3)
Using RedCloth (4.2.7)
Using activesupport (2.3.11)
Using rack (1.1.0)
Using actionpack (2.3.11)
Using actionmailer (2.3.11)
Using activerecord (2.3.11)
Using activeresource (2.3.11)
Using coderay (0.9.8)
Using i18n (0.4.2)
Using mysql (2.8.1)
Using rails (2.3.11)
Using rubytree (0.8.1)
Using bundler (1.0.15)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.

but after for the command line:
RAILS_ENV=production bundle exec rake generate_session_store

I've got the error:
[root@itsdir redmine]# RAILS_ENV=production bundle exec rake generate_session_store
(in /webdir/redmine)
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /webdir/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#refresh! called from /webdir/redmine/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:34.
NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#load_gems_in called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:322.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:127.

Please does anyone have any idea or advise, or update of the installation "How to page for CentOS 5"


Replies (4)

RE: REDMINE installation CentOS --> rake generate_session_store --> rake aborted! - Added by Michael Diederich almost 13 years ago

The install guide says, you need rake 0.8.7. Someone from the redmine-irc-chats told me to use rack 1.1.1 with the latest redmine

http://www.redmine.org/projects/redmine/wiki/RedmineInstall

Maybe you can try this?

RE: REDMINE installation CentOS --> rake generate_session_store --> rake aborted! - Added by Jean-Bernard Favreau over 12 years ago

Ok I will try with rake 0.8.7 and rack 1.1.1, thanks, Jean-Bernard

RE: REDMINE installation CentOS --> rake generate_session_store --> rake aborted! - Added by Jean-Bernard Favreau over 12 years ago

As it is my first start with REDMINE, I've also downloaded and turned on a VM REDMINE server (turnkey-redmine-11.1-lucid-x86-vmdk.zip), to compare with my own installation and to learn about "rake" "rails" "rack" components ... Many thanks to TURNKEY project people. J.B

RE: REDMINE installation CentOS --> rake generate_session_store --> rake aborted! - Added by Jorge Gomes Raimundo over 12 years ago

Hi.

I am using ruby 1.8.7 with the following gems:
  • abstract (1.0.0)
  • actionmailer (2.3.11)
  • actionpack (2.3.11)
  • activerecord (2.3.11)
  • activeresource (2.3.11)
  • activesupport (2.3.11)
  • arel (2.0.10)
  • builder (2.1.2)
  • bundler (1.0.15)
  • erubis (2.6.6)
  • i18n (0.4.2)
  • mail (2.2.19)
  • mime-types (1.16)
  • polyglot (0.3.2)
  • rack (1.1.2)
  • rails (2.3.11)
  • rake (0.8.7)
  • rdoc (3.9.1)
  • thor (0.14.6)
  • treetop (1.4.10)
  • tzinfo (0.3.29)

I already tried with rack 1.1.1, but I keep having the same error:

NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /home/redmine/redmine-1.2.1/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#refresh! called from /home/redmine/redmine-1.2.1/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:34.
NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#load_gems_in called from /home/redmine/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:322.

Please, any help would be appreciated.

Thanke,
Jorge

    (1-4/4)