Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #6396

Closed
Open
Created Feb 24, 2014 by Administrator@rootOwner

[V. 6.6] couldn't find file 'underscore'

Created by: maltefiala

Version

Issue observed in Gitlab 6-6-stable (6.6.0).

Summary

While Upgrading to 6.6.0 assets:precompile failed with

couldn't find file 'underscore'

Steps to reproduce

Follow upgrade guide to "# Clean up assets and cache" sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production

Error Msg:

couldn't find file 'underscore' (in /home/git/gitlab/app/assets/javascripts/application.js:31)

Expected behavior

/home/git/gitlab/app/assets/javascripts/application.js (std. directory) line 31 includes 'underscore':

//= require underscore This file should be found, but it is nowhere

Observed behavior

sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production and sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production exit without error

sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production exits with error message:

couldn't find file 'underscore' (in /home/git/gitlab/app/assets/javascripts/application.js:31)

Assignee
Assign to
Time tracking