Project

General

Profile

Redmine 3.2 on Ubuntu 10.04 v3

Added by Tom B almost 8 years ago

Can't reply to either of my previous posts as I'm getting an Internal Error..
http://www.redmine.org/boards/2/topics/50326
http://www.redmine.org/boards/2/topics/50340

Adressing this issue in this post, too since I don't now how one can reach an admin around here.


Alright so I tried this command and had some issues at first.
Deleted the old Gemfile.lock and it seems it works better than before.

I'm now getting the following error:

bundle install --without development test
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Installing rake (11.2.2) 
Gem::InstallError: rake requires Ruby version >= 1.9.3.
An error occurred while installing rake (11.2.2), and Bundler cannot continue.
Make sure that `gem install rake -v '11.2.2'` succeeds before bundling.

I (thought I) installed Ruby 2.2.5 using ruby-install.
It's located in /opt/rubies/
How do I make this version available to bundle since it obviously can't find it.


Replies (5)

RE: Redmine 3.2 on Ubuntu 10.04 v3 - Added by Toshi MARUYAMA almost 8 years ago

Chris F wrote:

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

Cannot reproduce.

http://www.redmine.org/builds/logs/build_3.3-stable_mysql_ruby-1.9.3-p194_21.html

Using rake 11.2.2

RE: Redmine 3.2 on Ubuntu 10.04 v3 - Added by Tom B almost 8 years ago

Well, that's very great but doesn't really help me.
Additional info:

gem install rake -v '11.2.2'
Successfully installed rake-11.2.2
Parsing documentation for rake-11.2.2
Done installing documentation for rake after 1 seconds
1 gem installed

RE: Redmine 3.2 on Ubuntu 10.04 v3 - Added by Tom B almost 8 years ago

bump

would be great if someone had an idea :/

RE: Redmine 3.2 on Ubuntu 10.04 v3 - Added by Tom B almost 8 years ago

bump

really stuck on this.
No clue here?

RE: Redmine 3.2 on Ubuntu 10.04 v3 - Added by Tom B over 7 years ago

Resolved by using an older version of rake which does not need ruby 1.9.3.
Added this to my Gemdfile:
gem "rake", "~> 10.5.0"
and ran
bundle update rake

    (1-5/5)