Attempting to use ruby1.9 as ruby1.8:Īnother possibility, suggested/inspired by this answer by tres to that different question on Stack Overflow, is to "fool" redmine's installation script into acting like the later version of ruby (ruby1.9) is ruby1.8. I'm not sure which of the two is better or more reliable. How to install ruby 1.8.7 back on Ubuntu 14.04 after upgrade?Ĭurrently there are two answers, one suggesting to enable a software repository from 13.10 to install the old version intended for the preceding release, and the other suggesting to use a (perhaps especially) experimental PPA. You can install ruby1.8 using either of the two methods described in answers to: Unfortunately, as revealed by a "contents of packages" search, ruby1.8 is no longer provided in Ubuntu 14.04. This is trying to run ruby1.8 but there is no such program. The (first) error message shown was: /usr/bin/env: ruby1.8: No such file or directory Ruby-railties-3.2 : Depends: ruby-actionpack-3.2 (>= 3.2.16) but it is not going to be installedĭepends: ruby-actionmailer-3.2 (>= 3.2.16) but it is not going to be installedĮ: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. Libruby2.0 (>= 2.0.0) but it is not going to be installed Ruby-fcgi : Depends: libruby1.9.1 (>= 1.9.2.0) but it is not going to be installed or Redmine-sqlite : Depends: ruby-sqlite3 but it is not going to be installed The following packages have unmet dependencies: The following information may help to resolve the situation: Requested an impossible situation or if you are using the unstableĭistribution that some required packages have not yet been created But I got a different error while installing ruby1.8. usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find rake (>= 0) amongst (Gem::LoadError)įrom /usr/lib/ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'įrom /usr/lib/ruby/1.9.1/rubygems.rb:1231:in `gem'Īnd then I tried with re-installing ruby1.8 by as suggested in this issue. I have tried to "redmine" by linking /usr/bin/ruby1.8 to /usr/bin/ruby, but got stuck with different error.ĭbconfig-common: writing config to /etc/dbconfig-common/redmine/instances/nf Creating config file /etc/redmine/default/ with new version Subprocess installed post-installation script returned error exit status 1Įrrors were encountered while processing:Į: Sub-process /usr/bin/dpkg returned an error code (1) usr/bin/env: ruby1.8: No such file or directoryĮrror when running rake db:migrate, check database configuration.ĭpkg: error processing package redmine (-configure): Populating database for redmine instance "default". ĭbconfig-common: writing config to /etc/dbconfig-common/redmine/instances/nfĬreating config file /etc/redmine/default/ with new versionĭbconfig-common: flushing administrative password Everytime I ran apt-get upgrade, I'm getting a ruby not found error: Setting up redmine (2.4.2-1). I have not been able to update my redmine.
0 Comments
Leave a Reply. |