Project

General

Profile

[RESOLVED] Unable to generate session store with redmine 1.4

Added by Jose de Leon over 12 years ago

** RESOLVED **

Just ignore the request to install RDoc 2.4.2+  (assuming you already have it installed)

** RESOLVED **

Just following the general instructions for installation. I'm not able to generate the session store with redmine 1.4. I don't know if this is redmine complaining or rake. I'm new to redmine and ruby, however, I have successfully setup redmine 1.3 on several systems in the last few weeks and now redmine 1.4 is giving me some trouble. The error says to install RDoc 2.4.2+, but as far as I can tell I have RDoc 2.4.2 or greater. I have 3.12 and then I also installed 2.4.2 on a whim.

I get an error when running this command:

[root@snorkelbuckle redmine]# RAILS_ENV=production bundle exec rake generate_session_store
Please install RDoc 2.4.2+ to generate documentation.

Here are the specs of my system:

OS: Fedora Core 16, x64
Database Server: mysql Ver 14.14 Distrib 5.5.21, for Linux (x86_64) using readline 5.1
Using Passenger with Apache

[root@snorkelbuckle redmine]# script/about
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /usr/lib/ruby/gems/1.8/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.8.11
Rack version 1.1.3
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Application root /var/www/virtual/redmine.snorkelbuckle.com/redmine
Environment production
Database adapter mysql
Database schema version 0

gem listing:

  • LOCAL GEMS ***

actionmailer (2.3.14)
actionpack (2.3.14)
activerecord (2.3.14)
activeresource (2.3.14)
activesupport (2.3.14)
bundler (1.1.3)
coderay (1.0.6)
daemon_controller (1.0.0)
fastercsv (1.5.4)
fastthread (1.0.7)
i18n (0.4.2)
json (1.6.6)
mysql (2.8.1)
net-ldap (0.3.1)
passenger (3.0.11)
pg (0.13.2)
rack (1.4.1, 1.1.3)
rails (2.3.14)
rake (0.9.2.2)
rdoc (3.12, 2.4.2)
rmagick (2.13.1)
ruby-openid (2.1.8)
tzinfo (0.3.33)

Any ideas on what I am doing wrong or is this an issue with redmine 1.4?

Thanks,
Jose


Replies (6)

RE: Unable to generate session store with redmine 1.4 - Added by рустам салаватов over 12 years ago

debian 6, redmine 1.3 -> 1.4

yes and my error:

...# rake config/initializers/session_store.rb
Please install RDoc 2.4.2+ to generate documentation.

....# rake db:migrate RAILS_ENV=production
Please install RDoc 2.4.2+ to generate documentation.
Missing these required gems:
prawn = 0.12.0

You're running:
ruby 1.8.7.302 at /usr/bin/ruby1.8
rubygems 1.8.22 at /usr/lib/ruby/gems/1.8, /root/.gem/ruby/1.8

Run `rake gems:install` to install the missing gems.

...# gem list

  • LOCAL GEMS ***

actionmailer (3.2.3, 2.3.14, 2.3.5)
actionpack (3.2.3, 2.3.14, 2.3.5)
activemodel (3.2.3)
activerecord (3.2.3, 2.3.14, 2.3.5)
activeresource (3.2.3, 2.3.14, 2.3.5)
activesupport (3.2.3, 2.3.14, 2.3.5)
acts-as-taggable-on (2.0.6)
arel (3.0.2)
Ascii85 (1.0.1)
builder (3.0.0)
bundler (1.1.3)
coderay (1.0.6)
daemon_controller (1.0.0)
erubis (2.7.0)
fastercsv (1.5.4)
fastthread (1.0.7)
hike (1.2.1)
i18n (0.6.0, 0.4.2)
journey (1.0.3)
json (1.6.6)
mail (2.4.4)
mime-types (1.18)
multi_json (1.2.0)
mysql (2.8.1)
net-ldap (0.3.1)
passenger (3.0.11)
pdf-reader (1.1.0)
pg (0.13.2)
polyglot (0.3.3)
prawn (0.12.0)
rack (1.4.1, 1.1.3, 1.0.1)
rack-cache (1.2)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.3, 2.3.14, 2.3.5)
railties (3.2.3)
rake (0.9.2.2, 0.8.7)
rdoc (3.12, 2.4.3, 2.4.2)
rmagick (2.13.1)
ruby-openid (2.1.8)
ruby-rc4 (0.1.5)
rubygems-update (1.8.22, 1.8.21, 1.6.2)
sprockets (2.1.2)
sqlite3 (1.3.5)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
ttfunk (1.0.3)
tzinfo (0.3.33, 0.3.32)
vpim (0.695)

RE: Unable to generate session store with redmine 1.4 - Added by Ivan Cenov over 12 years ago

Have you run

bundle install --without development test rmagick
or
bundle install --without development test
?

RE: Unable to generate session store with redmine 1.4 - Added by рустам салаватов over 12 years ago

..... # bundle install --without development test rmagick
Using rake (0.9.2.2)
Using activesupport (2.3.14)
Using rack (1.1.3)
Using actionpack (2.3.14)
Using actionmailer (2.3.14)
Using activerecord (2.3.14)
Using activeresource (2.3.14)
Using coderay (1.0.6)
Using fastercsv (1.5.4)
Using i18n (0.4.2)
Using mysql (2.8.1)
Using net-ldap (0.3.1)
Using pg (0.13.2)
Using rails (2.3.14)
Using ruby-openid (2.1.8)
Using sqlite3 (1.3.5)
Using tzinfo (0.3.33)
Using vpim (0.695)
Using bundler (1.1.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.

root@3dstr .... # bundle install --without development test
Using rake (0.9.2.2)
Using activesupport (2.3.14)
Using rack (1.1.3)
Using actionpack (2.3.14)
Using actionmailer (2.3.14)
Using activerecord (2.3.14)
Using activeresource (2.3.14)
Using coderay (1.0.6)
Using fastercsv (1.5.4)
Using i18n (0.4.2)
Using mysql (2.8.1)
Using net-ldap (0.3.1)
Using pg (0.13.2)
Using rails (2.3.14)
Using rmagick (2.13.1)
Using ruby-openid (2.1.8)
Using sqlite3 (1.3.5)
Using tzinfo (0.3.33)
Using vpim (0.695)
Using bundler (1.1.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.

RE: Unable to generate session store with redmine 1.4 - Added by Ivan Cenov over 12 years ago

Hmmm, may be you want to create Gemfile.local in the root Redmine directory with this content:

gem "prawn" 

RE: Unable to generate session store with redmine 1.4 - Added by Jose de Leon over 12 years ago

Thanks for all the suggestions.

The problem is resolved, I ran a trace on the command and there really wasn't anything wrong. It turns out the message "Please install RDoc 2.4.2+ to generate documentation." in this case can be ignored.

The message occurs with any 'rake' command. After running the required rake commands for Redmine, Redmine 1.4 seems to be working just fine.

    (1-6/6)