Project

General

Profile

Actions

Defect #22331

closed

bundler error: Ruby 1.9.3 = "mime-types-data requires Ruby version >= 2.0."

Added by Deoren Moor about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Error message encountered when running bundle update from my Redmine installation directory:

Gem::InstallError: mime-types-data requires Ruby version >= 2.0.
An error occurred while installing mime-types-data (3.2016.0221), and Bundler cannot continue.
Make sure that `gem install mime-types-data -v '3.2016.0221'` succeeds before bundling.

Redmine installation details (taken once I restored the installation directory from backup):

sh: 1: darcs: not found
sh: 1: cvs: not found
sh: 1: bzr: not found
Environment:
  Redmine version                3.2.0.stable.14966
  Ruby version                   1.9.3-p0 (2011-10-30) [i686-linux]
  Rails version                  4.2.5.1
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.17
  Mercurial                      2.0.2
  Git                            1.7.9.5
  Filesystem
Redmine plugins:
  no plugin installed

Does Redmine still support Ruby 1.9.3? I looked at the RedmineInstall page and it is still listed there. From what I can recall you guys don't have a habit of switching requirements in the middle of maintaining a branch, so I figured this was something that folks just haven't reported yet.

P.S.

I use a Subversion tag for the installation. I then just switch tags when it is time to upgrade to a new version and then run the applicable upgrade steps.

Actions #1

Updated by Toshi MARUYAMA about 8 years ago

  • Subject changed from Redmine 3.2.0 to 3.2.1 upgrade attempt with Ruby 1.9.3 = "mime-types-data requires Ruby version >= 2.0." to Ruby 1.9.3 = "mime-types-data requires Ruby version >= 2.0."
  • Category deleted (Ruby support)
  • Priority changed from High to Normal
  • Target version set to 3.1.5
  • Affected version changed from 3.2.0 to 3.1.0
Actions #2

Updated by Toshi MARUYAMA about 8 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Try r15277.

Actions #3

Updated by Toshi MARUYAMA about 8 years ago

  • Subject changed from Ruby 1.9.3 = "mime-types-data requires Ruby version >= 2.0." to bundler error: Ruby 1.9.3 = "mime-types-data requires Ruby version >= 2.0."
Actions #4

Updated by Deoren Moor about 8 years ago

Toshi MARUYAMA wrote:

Try r15277.

Thanks! I modified Gemfile to include that change and it allowed me to complete the 3.2.0 to 3.2.1 upgrade without issue.

Actions

Also available in: Atom PDF