sameersbn / sameersbn/docker-gitlab
bundle exec rake not working
Open
Nobody has claimed this yet.
wontfix
- Dominant language
- Shell
- Stars
- 8.1k
- Forks
- 2.1k
- Avg merge
- 17h 47m
- Merged PRs (30d)
- 7
Description
In the 9.4.5 image, I cannot get bundle exec rake to work. Similar problems encountered with https://github.com/sameersbn/docker-gitlab/issues/929.
[host] # docker container exec -i -t gitlab bash
e3f34ae38d03# su - git
git@e3f34ae38d03:~/gitlab$ bundle exec rake gitlab:test RAILS_ENV=production
rake aborted!
LoadError: cannot load such file -- haml_lint/rake_task
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:274:in `require'
...
/home/git/gitlab/Rakefile:10:in `<top (required)>'
(See full trace by running task with --trace)
rake aborted!
["rake", "brakeman"] failed!
/home/git/gitlab/lib/tasks/gitlab/test.rake:13:in `block (3 levels) in <top (required)>'
/home/git/gitlab/lib/tasks/gitlab/test.rake:12:in `each'
/home/git/gitlab/lib/tasks/gitlab/test.rake:12:in `block (2 levels) in <top (required)>'
Tasks: TOP => gitlab:test
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure in the 9.4.5 image with the shown docker container exec and bundle exec rake gitlab:test RAILS_ENV=production commands. Start at Rakefile:10 and lib/tasks/gitlab/test.rake:12-13, then inspect why haml_lint/rake_task cannot load. Done means the test task runs without this LoadError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, ruby
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100