Project

General

Profile

Redmine 2.0, Linux Mint 12, installation broken

Added by Em Kay over 12 years ago

Hello all,

first: I am very new to Linux (I switched a few days ago to Linux) and never had to do with Ruby before. Please, bear with me if my description feels incomplete. Thanks!

The problem:
Calling...

rake generate_secret_token

leads to the following output:
Invalid gemspec in [/var/lib/gems/1.8/specifications/mime-types-1.18.gemspec]: invalid date format in specification: "2012-03-21 00:00:00.000000000Z" 
Invalid gemspec in [/var/lib/gems/1.8/specifications/mail-2.4.4.gemspec]: invalid date format in specification: "2012-03-14 00:00:00.000000000Z" 
Invalid gemspec in [/var/lib/gems/1.8/specifications/tilt-1.3.3.gemspec]: invalid date format in specification: "2011-08-25 00:00:00.000000000Z" 
Invalid gemspec in [/var/lib/gems/1.8/specifications/mime-types-1.18.gemspec]: invalid date format in specification: "2012-03-21 00:00:00.000000000Z" 
Invalid gemspec in [/var/lib/gems/1.8/specifications/mail-2.4.4.gemspec]: invalid date format in specification: "2012-03-14 00:00:00.000000000Z" 
Invalid gemspec in [/var/lib/gems/1.8/specifications/tilt-1.3.3.gemspec]: invalid date format in specification: "2011-08-25 00:00:00.000000000Z" 
Invalid gemspec in [/var/lib/gems/1.8/specifications/mime-types-1.18.gemspec]: invalid date format in specification: "2012-03-21 00:00:00.000000000Z" 
Invalid gemspec in [/var/lib/gems/1.8/specifications/mail-2.4.4.gemspec]: invalid date format in specification: "2012-03-14 00:00:00.000000000Z" 
Invalid gemspec in [/var/lib/gems/1.8/specifications/tilt-1.3.3.gemspec]: invalid date format in specification: "2011-08-25 00:00:00.000000000Z" 
Could not find tilt-1.3.3 in any of the sources

The output of the foregone call...

bundle install --without development test postgresql sqlite

looks like this:

Fetching gem metadata from http://rubygems.org/.......
Installing rake (0.9.2.2) 
Installing i18n (0.6.0) 
Installing multi_json (1.3.5) 
Installing activesupport (3.2.3) 
Installing builder (3.0.0) 
Installing activemodel (3.2.3) 
Installing erubis (2.7.0) 
Installing journey (1.0.3) 
Installing rack (1.4.1) 
Installing rack-cache (1.2) 
Installing rack-test (0.6.1) 
Installing hike (1.2.1) 
Installing tilt (1.3.3) 
Installing sprockets (2.1.3) 
Installing actionpack (3.2.3) 
Installing mime-types (1.18) 
Installing polyglot (0.3.3) 
Installing treetop (1.4.10) 
Installing mail (2.4.4) 
Installing actionmailer (3.2.3) 
Installing arel (3.0.2) 
Installing tzinfo (0.3.33) 
Installing activerecord (3.2.3) 
Installing activeresource (3.2.3) 
Installing coderay (1.0.6) 
Installing fastercsv (1.5.5) 
Installing json (1.7.3) with native extensions 
Installing mysql (2.8.1) with native extensions 
Installing net-ldap (0.3.1) 
Using bundler (1.1.3) 
Installing rack-ssl (1.3.2) 
Installing rdoc (3.12) 
Installing thor (0.14.6) 
Installing railties (3.2.3) 
Installing rails (3.2.3) 
Installing prototype-rails (3.2.1) 
Installing ruby-openid (2.1.8) 
Installing rack-openid (1.3.1) 
Installing rmagick (2.13.1) with native extensions 
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

<= 1.8.6 : unsupported
 = 1.8.7 : gem install rdoc-data; rdoc-data --install
 = 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!

Any suggestions/ideas/questions?
Thank you!

Em


Replies (1)

RE: Redmine 2.0, Linux Mint 12, installation broken - Added by Em Kay over 12 years ago

Solution for the above problem:
Due to invalid date-formats, gem seems to think that tilt is not installed yet.
To fix this, you can run

sudo sed -i 's/ 00:00:00.000000000Z//' /var/lib/gems/1.8/specifications/*

as shown here:
http://npenkov.com/2011/11/08/get-ruby-on-rails-working-on-ubuntu-11-10/

Everything else works as stated by the install-guide at Redmine.org.

I'll continue to proxy Redmine through apache.

    (1-1/1)