Project

General

Profile

Can't install: "can't activate activesupport-3.1.0, already activated activesupport-2.3.5"

Added by Ofer Nave over 12 years ago

Decided I want to try Redmine for the first time on a fresh server I'm setting up for my first Rails 3.1 app.

Ubuntu 11.04
rvm 1.8.3
- installed ruby 1.8.7
- installed ruby 1.9.2, set to default

From the command line:

which ruby /usr/local/rvm/rubies/ruby-1.9.2-p290/bin/ruby
ruby -v ruby 1.9.2p290 (2011-07-09 revision 32553) [i686-linux]

which gem /usr/local/rvm/rubies/ruby-1.9.2-p290/bin/gem
gem -v 1.8.10

which rake /usr/local/rvm/gems/ruby-1.9.2-p290/bin/rake
rake -V rake, version 0.9.2

which rails /usr/local/rvm/gems/ruby-1.9.2-p290/bin/rails
rails -v Rails 3.1.0

I created a test server and it ran correctly. Finally, I tried to install redmine with:

root@vm1c:~# aptitude install redmine
The following partially installed packages will be configured:
redmine
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up redmine (1.0.5-1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
dbconfig-common: writing config to /etc/dbconfig-common/redmine/instances/default.conf

Creating config file /etc/redmine/default/database.yml.new with new version
creating database redmine_default: already exists.
[* BUNCH OF DEPRECATION WARNINGS SNIPPED *]
rake aborted!
can't activate activesupport-3.1.0, already activated activesupport-2.3.5

(See full trace by running task with --trace)
dpkg: error processing redmine (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
redmine

Any suggestions? I'm a bit new to all of this (dabbled with Rails 2.3 a few years back once).


Replies (1)

RE: Can't install: "can't activate activesupport-3.1.0, already activated activesupport-2.3.5" - Added by Ofer Nave over 12 years ago

I've since also tried installing v1.2.1 from source (failed), and BitNami's "Stack" package (failed). I'm about ready to give up...

    (1-1/1)