Project

General

Profile

[solved] dependancy broken while upgrading from redmine 1.3 to 2.6 on debian 7

Added by David M over 9 years ago

Hello everybody,

I'm encounter some errors while upgrading from 1.3 to 2.6.
The reason I upgrade redmine is the following one: all projects are linked to my subversions repositories.
But since few weeks, links seems broken and when I try to view repository informations since the repository tab on projects, I go the following error:

404
Entry or revision does not exists in repository 

(error label is my own translation of the error message displayed, which is in french "L'entrée et/ou la révision demandée n'existe pas dans le dépôt.").

So I think it's time to upgrade my redmine version.

Linux server 2.6.32-5-amd64 #1 SMP Mon Jan 16 16:22:28 UTC 2012 x86_64 GNU/Linux

To upgrade redmine, I've follow the related procedure displayed on help page:

So I've copied the 2.6 release and create a new website.
I've copied the configuration and database configuration file from 1.3.1 to 2.6.0

server:/usr/local/src# ls -la
total 16
drwxrwsr-x  4 root staff 4096 déc.  27 13:13 .
drwxrwsr-x 11 root staff 4096 déc.  11  2012 ..
lrwxrwxrwx  1 root staff   14 oct.  14  2012 redmine -> redmine-1.3.1/
drwxr-sr-x  3 root staff 4096 oct.  14  2012 redmine-1.3.1
drwxr-sr-x  3 root staff 4096 déc.  20 11:59 redmine-2.6.0
server:/usr/local/src# 

now, I try to update gems for redmine 2.6
cd redmine-2.6.0/

server:/usr/local/src/redmine-2.6.0# ll
total 4
drwxrwxr-x 17 dave dave 4096 déc.  20 16:21 website

server:/usr/local/src/redmine-2.6.0# cd website/
server:/usr/local/src/redmine-2.6.0/websiter# ll
total 76
drwxrwxr-x 7 dave dave 4096 oct.  21 21:13 app
drwxrwxr-x 5 dave dave 4096 déc.  20 12:00 config
-rw-rw-r-- 1 dave dave  160 oct.  21 21:13 config.ru
-rw-rw-r-- 1 dave dave  240 oct.  21 21:13 CONTRIBUTING.md
drwxrwxr-x 3 dave dave 4096 oct.  21 21:13 db
drwxrwxr-x 2 dave dave 4096 oct.  21 21:13 doc
drwxrwxr-x 5 dave dave 4096 oct.  21 21:13 extra
drwxrwxr-x 2 dave dave 4096 oct.  21 21:13 files
-rw-rw-r-- 1 dave dave 3555 oct.  21 21:13 Gemfile
drwxrwxr-x 8 dave dave 4096 oct.  21 21:13 lib
drwxrwxr-x 2 dave dave 4096 oct.  21 21:13 log
drwxrwxr-x 2 dave dave 4096 oct.  21 21:13 plugins
drwxrwxr-x 7 dave dave 4096 oct.  21 21:13 public
-rw-rw-r-- 1 dave dave  275 oct.  21 21:13 Rakefile
-rw-rw-r-- 1 dave dave  205 oct.  21 21:13 README.rdoc
drwxrwxr-x 2 dave dave 4096 oct.  21 21:13 script
drwxrwxr-x 9 dave dave 4096 oct.  21 21:13 test
drwxrwxr-x 8 dave dave 4096 oct.  21 21:13 tmp
drwxrwxr-x 4 dave dave 4096 déc.  20 16:21 vendor

server:/usr/local/src/redmine-2.6.0/website# bundle install --path vendor/bundle/ --verbose
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
HTTP GET https://bundler.rubygems.org/api/v1/dependencies
HTTP 200 OK
Fetching gem metadata from https://rubygems.org/
Query List: ["rails", "jquery-rails", "coderay", "fastercsv", "builder", "request_store", "mime-types", "rbpdf", "net-ldap", "ruby-openid", "rack-openid", "rmagick", "redcarpet", "activerecord-jdbc-adapter", "mysql", "activerecord-jdbcmysql-adapter", "rdoc", "yard", "shoulda", "shoulda-matchers", "mocha"]
Query Gemcutter Dependency Endpoint API: rails,jquery-rails,coderay,fastercsv,builder,request_store,mime-types,rbpdf,net-ldap,ruby-openid,rack-openid,rmagick,redcarpet,activerecord-jdbc-adapter,mysql,activerecord-jdbcmysql-adapter,rdoc,yard,shoulda,shoulda-matchers,mocha
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=rails,jquery-rails,coderay,fastercsv,builder,request_store,mime-types,rbpdf,net-ldap,ruby-openid,rack-openid,rmagick,redcarpet,activerecord-jdbc-adapter,mysql,activerecord-jdbcmysql-adapter,rdoc,yard,shoulda,shoulda-matchers,mocha
HTTP 200 OK
Query List: ["activesupport", "bourne", "archive-tar-minitar", "nokogiri", "rcov", "hoe", "rack", "rails-dom-testing", "thor", "railties", "metaclass", "rake", "shoulda-context", "ruby-yadis", "json", "minitest", "erubis", "jdbc-mysql", "activerecord", "sprockets-rails", "bundler", "activejob", "actionmailer", "activemodel", "actionview", "actionpack", "activeresource", "actionwebservice"]
Query Gemcutter Dependency Endpoint API: activesupport,bourne,archive-tar-minitar,nokogiri,rcov,hoe,rack,rails-dom-testing,thor,railties,metaclass,rake,shoulda-context,ruby-yadis,json,minitest,erubis,jdbc-mysql,activerecord,sprockets-rails,bundler,activejob,actionmailer,activemodel,actionview,actionpack,activeresource,actionwebservice
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=activesupport,bourne,archive-tar-minitar,nokogiri,rcov,hoe,rack,rails-dom-testing,thor,railties,metaclass,rake,shoulda-context,ruby-yadis,json,minitest,erubis,jdbc-mysql,activerecord,sprockets-rails,bundler,activejob,actionmailer,activemodel,actionview,actionpack,activeresource,actionwebservice
HTTP 200 OK
Query List: ["rails-html-sanitizer", "rails-deprecated_sanitizer", "sprockets", "test-spec", "camping", "fcgi", "memcache-client", "mongrel", "thin", "RubyInline", "rubyforge", "gemcutter", "abstract", "mini_portile", "racc", "tenderlove-frex", "rake-compiler", "rexical", "weakling", "rails-observers", "mail", "text-format", "i18n", "bcrypt-ruby", "rack-test", "journey", "rack-cache", "rack-mount", "tzinfo", "rack-ssl", "thread_safe", "multi_json", "globalid", "activemodel-globalid", "arel", "activerecord-deprecated_finders"]
Query Gemcutter Dependency Endpoint API: rails-html-sanitizer,rails-deprecated_sanitizer,sprockets,test-spec,camping,fcgi,memcache-client,mongrel,thin,RubyInline,rubyforge,gemcutter,abstract,mini_portile,racc,tenderlove-frex,rake-compiler,rexical,weakling,rails-observers,mail,text-format,i18n,bcrypt-ruby,rack-test,journey,rack-cache,rack-mount,tzinfo,rack-ssl,thread_safe,multi_json,globalid,activemodel-globalid,arel,activerecord-deprecated_finders
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=rails-html-sanitizer,rails-deprecated_sanitizer,sprockets,test-spec,camping,fcgi,memcache-client,mongrel,thin,RubyInline,rubyforge,gemcutter,abstract,mini_portile,racc,tenderlove-frex,rake-compiler,rexical,weakling,rails-observers,mail,text-format,i18n,bcrypt-ruby,rack-test,journey,rack-cache,rack-mount,tzinfo,rack-ssl,thread_safe,multi_json,globalid,activemodel-globalid,arel,activerecord-deprecated_finders
HTTP 200 OK
Query List: ["text-hyphen", "ZenTest", "tlsmail", "treetop", "daemons", "fastthread", "gem_plugin", "cgi_multipart_eof_fix", "multimap", "tilt", "hike", "bcrypt", "flexmock", "markaby", "metaid", "mab", "eventmachine", "eventmachine-le", "http_parser.rb", "preforker", "json_pure", "net-scp", "atomic", "loofah"]
Query Gemcutter Dependency Endpoint API: text-hyphen,ZenTest,tlsmail,treetop,daemons,fastthread,gem_plugin,cgi_multipart_eof_fix,multimap,tilt,hike,bcrypt,flexmock,markaby,metaid,mab,eventmachine,eventmachine-le,http_parser.rb,preforker,json_pure,net-scp,atomic,loofah
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=text-hyphen,ZenTest,tlsmail,treetop,daemons,fastthread,gem_plugin,cgi_multipart_eof_fix,multimap,tilt,hike,bcrypt,flexmock,markaby,metaid,mab,eventmachine,eventmachine-le,http_parser.rb,preforker,json_pure,net-scp,atomic,loofah
HTTP 200 OK
Query List: ["net-ssh", "spruz", "facets", "polyglot"]
Query Gemcutter Dependency Endpoint API: net-ssh,spruz,facets,polyglot
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=net-ssh,spruz,facets,polyglot
HTTP 200 OK
Query List: ["needle", "jruby-pageant", "echoe"]
Query Gemcutter Dependency Endpoint API: needle,jruby-pageant,echoe
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=needle,jruby-pageant,echoe
HTTP 200 OK
Query List: ["highline", "allison"]
Query Gemcutter Dependency Endpoint API: highline,allison
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=highline,allison
HTTP 200 OK
Query List: ["termios"]
Query Gemcutter Dependency Endpoint API: termios
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=termios
HTTP 200 OK
Query List: []
Resolving dependencies........
Using rake 10.4.2
0:  rake (10.4.2) from /usr/local/src/redmine-2.6.0/website/vendor/bundle/ruby/1.8/specifications/rake-10.4.2.gemspec

Gem::InstallError: i18n requires Ruby version >= 1.9.3.
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:164:in `install'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/source/rubygems.rb:106:in `install'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/rubygems_integration.rb:130:in `preserve_paths'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/source/rubygems.rb:105:in `install'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/installer.rb:104:in `install_gem_from_spec'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/rubygems_integration.rb:162:in `with_build_args'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/installer.rb:103:in `install_gem_from_spec'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/installer.rb:264:in `install_sequentially'
(__FORWARDABLE__):3:in `each'
(__FORWARDABLE__):3:in `__send__'
(__FORWARDABLE__):3:in `each'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/installer.rb:263:in `install_sequentially'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/installer.rb:90:in `run'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/installer.rb:18:in `install'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/cli/install.rb:79:in `run'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/cli.rb:145:in `install'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/vendor/thor/command.rb:27:in `__send__'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/vendor/thor/command.rb:27:in `run'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/vendor/thor/invocation.rb:121:in `invoke_command'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/vendor/thor.rb:363:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/vendor/thor/base.rb:440:in `start'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/cli.rb:9:in `start'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/bin/bundle:20
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/friendly_errors.rb:5:in `with_friendly_errors'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/bin/bundle:18
/usr/bin/bundle:19:in `load'
/usr/bin/bundle:19
An error occurred while installing i18n (0.7.0), and Bundler cannot continue.
Make sure that `gem install i18n -v '0.7.0'` succeeds before bundling.

server:/usr/local/src/redmine-2.6.0/website# bundle clean
Resolving dependencies...
Could not find gem 'rails (= 3.2.19) ruby' in the gems available on this machine.

I've try to foce install the 0.7.0 release of i18n
server:/usr/local/src/redmine-2.6.0/website# gem install i18n -v '0.7.0'
Successfully installed i18n-0.7.0
1 gem installed
Installing ri documentation for i18n-0.7.0...
Installing RDoc documentation for i18n-0.7.0...

server:/usr/local/src/redmine-2.6.0/website# bundle install --path vendor/bundle/ --verbose
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
HTTP GET https://bundler.rubygems.org/api/v1/dependencies
HTTP 200 OK
Fetching gem metadata from https://rubygems.org/
Query List: ["rails", "jquery-rails", "coderay", "fastercsv", "builder", "request_store", "mime-types", "rbpdf", "net-ldap", "ruby-openid", "rack-openid", "rmagick", "redcarpet", "activerecord-jdbc-adapter", "mysql", "activerecord-jdbcmysql-adapter", "rdoc", "yard", "shoulda", "shoulda-matchers", "mocha"]
Query Gemcutter Dependency Endpoint API: rails,jquery-rails,coderay,fastercsv,builder,request_store,mime-types,rbpdf,net-ldap,ruby-openid,rack-openid,rmagick,redcarpet,activerecord-jdbc-adapter,mysql,activerecord-jdbcmysql-adapter,rdoc,yard,shoulda,shoulda-matchers,mocha
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=rails,jquery-rails,coderay,fastercsv,builder,request_store,mime-types,rbpdf,net-ldap,ruby-openid,rack-openid,rmagick,redcarpet,activerecord-jdbc-adapter,mysql,activerecord-jdbcmysql-adapter,rdoc,yard,shoulda,shoulda-matchers,mocha
HTTP 200 OK
Query List: ["activesupport", "bourne", "archive-tar-minitar", "nokogiri", "rcov", "hoe", "rack", "rails-dom-testing", "thor", "railties", "metaclass", "rake", "shoulda-context", "ruby-yadis", "json", "minitest", "erubis", "jdbc-mysql", "activerecord", "sprockets-rails", "bundler", "activejob", "actionmailer", "activemodel", "actionview", "actionpack", "activeresource", "actionwebservice"]
Query Gemcutter Dependency Endpoint API: activesupport,bourne,archive-tar-minitar,nokogiri,rcov,hoe,rack,rails-dom-testing,thor,railties,metaclass,rake,shoulda-context,ruby-yadis,json,minitest,erubis,jdbc-mysql,activerecord,sprockets-rails,bundler,activejob,actionmailer,activemodel,actionview,actionpack,activeresource,actionwebservice
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=activesupport,bourne,archive-tar-minitar,nokogiri,rcov,hoe,rack,rails-dom-testing,thor,railties,metaclass,rake,shoulda-context,ruby-yadis,json,minitest,erubis,jdbc-mysql,activerecord,sprockets-rails,bundler,activejob,actionmailer,activemodel,actionview,actionpack,activeresource,actionwebservice
HTTP 200 OK
Query List: ["rails-html-sanitizer", "rails-deprecated_sanitizer", "sprockets", "test-spec", "camping", "fcgi", "memcache-client", "mongrel", "thin", "RubyInline", "rubyforge", "gemcutter", "abstract", "mini_portile", "racc", "tenderlove-frex", "rake-compiler", "rexical", "weakling", "rails-observers", "mail", "text-format", "i18n", "bcrypt-ruby", "rack-test", "journey", "rack-cache", "rack-mount", "tzinfo", "rack-ssl", "thread_safe", "multi_json", "globalid", "activemodel-globalid", "arel", "activerecord-deprecated_finders"]
Query Gemcutter Dependency Endpoint API: rails-html-sanitizer,rails-deprecated_sanitizer,sprockets,test-spec,camping,fcgi,memcache-client,mongrel,thin,RubyInline,rubyforge,gemcutter,abstract,mini_portile,racc,tenderlove-frex,rake-compiler,rexical,weakling,rails-observers,mail,text-format,i18n,bcrypt-ruby,rack-test,journey,rack-cache,rack-mount,tzinfo,rack-ssl,thread_safe,multi_json,globalid,activemodel-globalid,arel,activerecord-deprecated_finders
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=rails-html-sanitizer,rails-deprecated_sanitizer,sprockets,test-spec,camping,fcgi,memcache-client,mongrel,thin,RubyInline,rubyforge,gemcutter,abstract,mini_portile,racc,tenderlove-frex,rake-compiler,rexical,weakling,rails-observers,mail,text-format,i18n,bcrypt-ruby,rack-test,journey,rack-cache,rack-mount,tzinfo,rack-ssl,thread_safe,multi_json,globalid,activemodel-globalid,arel,activerecord-deprecated_finders
HTTP 200 OK
Query List: ["text-hyphen", "ZenTest", "tlsmail", "treetop", "daemons", "fastthread", "gem_plugin", "cgi_multipart_eof_fix", "multimap", "tilt", "hike", "bcrypt", "flexmock", "markaby", "metaid", "mab", "eventmachine", "eventmachine-le", "http_parser.rb", "preforker", "json_pure", "net-scp", "atomic", "loofah"]
Query Gemcutter Dependency Endpoint API: text-hyphen,ZenTest,tlsmail,treetop,daemons,fastthread,gem_plugin,cgi_multipart_eof_fix,multimap,tilt,hike,bcrypt,flexmock,markaby,metaid,mab,eventmachine,eventmachine-le,http_parser.rb,preforker,json_pure,net-scp,atomic,loofah
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=text-hyphen,ZenTest,tlsmail,treetop,daemons,fastthread,gem_plugin,cgi_multipart_eof_fix,multimap,tilt,hike,bcrypt,flexmock,markaby,metaid,mab,eventmachine,eventmachine-le,http_parser.rb,preforker,json_pure,net-scp,atomic,loofah
HTTP 200 OK
Query List: ["net-ssh", "spruz", "facets", "polyglot"]
Query Gemcutter Dependency Endpoint API: net-ssh,spruz,facets,polyglot
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=net-ssh,spruz,facets,polyglot
HTTP 200 OK
Query List: ["needle", "jruby-pageant", "echoe"]
Query Gemcutter Dependency Endpoint API: needle,jruby-pageant,echoe
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=needle,jruby-pageant,echoe
HTTP 200 OK
Query List: ["highline", "allison"]
Query Gemcutter Dependency Endpoint API: highline,allison
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=highline,allison
HTTP 200 OK
Query List: ["termios"]
Query Gemcutter Dependency Endpoint API: termios
HTTP GET https://bundler.rubygems.org/api/v1/dependencies?gems=termios
HTTP 200 OK
Query List: []
Resolving dependencies........
Using rake 10.4.2
0:  rake (10.4.2) from /usr/local/src/redmine-2.6.0/website/vendor/bundle/ruby/1.8/specifications/rake-10.4.2.gemspec

Gem::InstallError: i18n requires Ruby version >= 1.9.3.
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:164:in `install'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/source/rubygems.rb:106:in `install'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/rubygems_integration.rb:130:in `preserve_paths'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/source/rubygems.rb:105:in `install'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/installer.rb:104:in `install_gem_from_spec'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/rubygems_integration.rb:162:in `with_build_args'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/installer.rb:103:in `install_gem_from_spec'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/installer.rb:264:in `install_sequentially'
(__FORWARDABLE__):3:in `each'
(__FORWARDABLE__):3:in `__send__'
(__FORWARDABLE__):3:in `each'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/installer.rb:263:in `install_sequentially'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/installer.rb:90:in `run'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/installer.rb:18:in `install'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/cli/install.rb:79:in `run'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/cli.rb:145:in `install'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/vendor/thor/command.rb:27:in `__send__'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/vendor/thor/command.rb:27:in `run'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/vendor/thor/invocation.rb:121:in `invoke_command'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/vendor/thor.rb:363:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/vendor/thor/base.rb:440:in `start'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/cli.rb:9:in `start'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/bin/bundle:20
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/lib/bundler/friendly_errors.rb:5:in `with_friendly_errors'
/usr/lib/ruby/gems/1.8/gems/bundler-1.7.9/bin/bundle:18
/usr/bin/bundle:19:in `load'
/usr/bin/bundle:19
An error occurred while installing i18n (0.7.0), and Bundler cannot continue.
Make sure that `gem install i18n -v '0.7.0'` succeeds before bundling.

Why this gem is still marked as uninstall?
How can I upgrade redmine to this release?

server:/usr/local/src/redmine-2.6.0/website# rails --version
Rails 2.3.14

server:/usr/local/src/redmine-2.6.0/website# bundle install --path vendor/bundle/ 
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies........
Using rake 10.4.2

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

server:/usr/local/src/redmine-2.6.0/website# ruby --version
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]

Thanks for your help

Replies (2)

RE: dependancy broken while upgrading from redmine 1.3 to 2.6 on debian 7 - Added by Martin Denizet (redmine.org team member) over 9 years ago

David M wrote:

Gem::InstallError: i18n requires Ruby version >= 1.9.3.
/usr/local/lib/site_ruby/1.8/rubygems/installer.rb:164:in `install'

Hello David,

I think you simply ran the bundler with Ruby 1.8.

I suggest you to check rubies installed by RVM:

rvm list rubies

And rubies installed using distro package:
dpkg --get-selections | grep ruby

Remove the Ruby 1.8, it's deprecated.

Cheers,

    (1-2/2)