Closed Cyancaly closed 9 years ago
You must do bundle exec
and not exec
facepalm ough. did it again, this time i made sure i did it right. getting another error now,
redmine@test123:/usr/share/redmine# bundle install --without development test
Your Gemfile lists the gem redcarpet (~> 3.1.2) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Updating https://github.com/jbox-web/gitolite-rugged.git
Updating https://github.com/jbox-web/grack.git
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
Bundler could not find compatible versions for gem "rack":
In Gemfile:
rails (~> 4.1.4) ruby depends on
actionpack (= 4.1.4) ruby depends on
rack (~> 1.5.2) ruby
gitlab-grack (>= 0) ruby depends on
rack (1.6.0
I found your answer in #429 did both things - deleted Gemfile.lock. I don't need to comment/uncomment anything in the Gemfile becaue I'm using Redmine 3.x which is alreadz uncommented.
Any further ideas?
Thanks so far :)
What version of Redmine are you running? This is weird because I see rails 4.1.4 in your ouput whereas Redmine use rails 4.2.
Ok. Is it the Debian Jessie package?
Yes it is the debian jessie package
I guess that's why it's using rails 4.1 instead of rails 4.2.
In plugin's Gemfile change the grack repo to : https://github.com/gitlabhq/grack.git. It should pass as they also use rails 4.1.
will try this later the day :) Thanks
I replaced the grack repo just now. After recieving an error which told me
fatal: ambiguous argument 'fix_rails4': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Git error: command `git rev-parse fix_rails4` in directory /var/lib/gems/2.1.0/cache/bundler/git/grack-8ecd9f643cfb6a2df1fbbbb053038ca8312a02a3 has failed.
If this error persists you could try removing the cache directory '/var/lib/gems/2.1.0/cache/bundler/git/grack-8ecd9f643cfb6a2df1fbbbb053038ca8312a02a3'
I replaced
branch: 'fix_rails3'
with
branch: 'master'
and everthings working now.
Thank you very much for your help :)
Simon
Im currently trying to migrate our redmine from an old version (1.4.4) to 3.02.
After installing and migrating all necessary databases etc. I"m trying to install redmine_git_hosting following the getting started documentation.
Looking fine so far, no error messages \0/.
but when I try to
my ssh session gets dropped after I get the following error message
I did NOT edit the Gemfile in REDMINE_ROOT/lib/plugin/redmine_git_hosting/ because I'm using Redmine 3.x which is already uncommented while Redmine 2.x is commented
looing thrugh your issues and asking google told me that maybe a gem is missing in my installation (github-markup).
I tried reinstalling redmine from scratch 2 times already.
Im using a debian Jessie, ruby 2.1.
btw: dropping my ssh session after that rake failure is really annoying
Maybe someone is able to help me out here :)
greetings,