Project

General

Profile

Missing the Rails 2.3.5 gem.

Added by Karlheinz Petersen about 14 years ago

Hello,

I'm trying to run redmine on a debian lenny machine.

I always got the message

Missing the Rails 2.3.5 gem. Please `gem install -v=2.3.5 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.

gem list shows:

@
  • LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.1, 3.0.0, 2.3.5)
actionpack (3.0.1, 3.0.0, 2.3.5)
activemodel (3.0.1, 3.0.0)
activerecord (3.0.1, 3.0.0, 2.3.5)
activeresource (3.0.1, 3.0.0, 2.3.5)
activesupport (3.0.1, 3.0.0, 2.3.5)
arel (1.0.1)
builder (2.1.2)
bundler (1.0.2)
daemon_controller (0.2.5)
erubis (2.6.6)
fastthread (1.0.7)
file-tail (1.0.5)
i18n (0.4.1)
mail (2.2.7)
mime-types (1.16)
mysql (2.8.1)
passenger (3.0.0)
polyglot (0.3.1)
rack (1.2.1, 1.0.1)
rack-mount (0.6.13)
rack-test (0.5.6)
rails (3.0.1, 3.0.0, 2.3.5)
railties (3.0.1, 3.0.0)
rake (0.8.7)
rdoc (2.5.11)
rdoc-data (2.5.3)
spruz (0.2.0)
thor (0.14.3)
treetop (1.4.8)
tzinfo (0.3.23)@

any hints?


Replies (7)

RE: Missing the Rails 2.3.5 gem. - Added by Felix Schäfer about 14 years ago

Your rails 2.3.5 seems incomplete, for example activemodel 2.3.5 isn't installed. Make sure your rails 2.3.5 install is correct.

RE: Missing the Rails 2.3.5 gem. - Added by Karlheinz Petersen about 14 years ago

How can I do that?

I always get this:


root@absolutelytopsecretmachine:~# gem install -v=2.3.5 rails
Successfully installed rails-2.3.5
1 gem installed
Installing ri documentation for rails-2.3.5...
Installing RDoc documentation for rails-2.3.5...

how/where do I have to continue?

RE: Missing the Rails 2.3.5 gem. - Added by Felix Schäfer about 14 years ago

Mmh, maybe gem uninstall rails && gem install rails -v=2.3.5 would work, but that would remove gem 3.0 obviously. Anyway, I don't really know how you got to this state, and I remember debian doing stuff "their own way" with gems, so I don't really know what would help.

RE: Missing the Rails 2.3.5 gem. - Added by Karlheinz Petersen about 14 years ago

I followed your advice and executed your command (I don't need version 3 at the moment) but it didn't help.

Any other advice?

RE: Missing the Rails 2.3.5 gem. - Added by Felix Schäfer about 14 years ago

As I said, I can't help much more, there's something very wonky with your install, can't fathom what it is though.

RE: Missing the Rails 2.3.5 gem. - Added by Holger Just about 14 years ago

Felix, just FYI: ActiveModel is an addition of Rails3. It defines the new public API used by OR implementations like ActiveRecord. Thus Rails3 can be used with interchangable OR-mappers.

Karlheiz: You should uninstall rack 1.2.1 (which might be required by Rails3 but is incompatible with Rails 2.3.5)

RE: Missing the Rails 2.3.5 gem. - Added by Karlheinz Petersen about 14 years ago

I just uninstalled rack 1.2.1 and everything that look like rails3 to me.

@
#gem list

abstract (1.0.0)
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
arel (1.0.1)
builder (2.1.2)
bundler (1.0.2)
daemon_controller (0.2.5)
erubis (2.6.6)
fastthread (1.0.7)
file-tail (1.0.5)
i18n (0.4.1)
mail (2.2.7)
mime-types (1.16)
mysql (2.8.1)
passenger (3.0.0)
polyglot (0.3.1)
rack (1.0.1)
rack-mount (0.6.13)
rack-test (0.5.6)
rails (2.3.5)
rake (0.8.7)
rdoc (2.5.11)
rdoc-data (2.5.3)
spruz (0.2.0)
thor (0.14.3)
treetop (1.4.8)
tzinfo (0.3.23)

@

Anyone any hints? Also did re-execute the passenger-install-apache2-module and reloaded/restartet apache.

    (1-7/7)