Note that there are some explanatory texts on larger screens.

plurals
  1. POGitlab PUSH syntax error, unexpected ':', expecting $end
    primarykey
    data
    text
    <p>I've installed Gitlab 5, all ran smoothly until I attempted to make a test PUSH. The error is:</p> <pre><code>remote: /usr/local/rvm/gems/ruby-2.0.0-p0/gems/bundler-1.3.5/lib/bundler/dsl.rb:33:in `eval_gemfile': Gemfile syntax error: (Bundler::GemfileError) remote: /home/git/gitlab/Gemfile:14: syntax error, unexpected ':', expecting $end remote: gem "mysql2", group: :mysql remote: ^ </code></pre> <p>I searched all over the internet (well, kind of), but mostly the answer is about using a lower version of ruby (1.8.7). Which is not the case here, as you can see, I'm using 2.0.0-p0. </p> <p>I'm attaching the Gemfile as well, which is from Gitlab source code, so I reckon there's nothing wrong with it. Just in case:</p> <pre><code>source "https://rubygems.org" def darwin_only(require_as) RUBY_PLATFORM.include?('darwin') &amp;&amp; require_as end def linux_only(require_as) RUBY_PLATFORM.include?('linux') &amp;&amp; require_as end gem "rails", "3.2.13" # Supported DBs gem "mysql2", group: :mysql gem "pg", group: :postgres # Auth gem "devise" gem 'omniauth', "~&gt; 1.1.3" gem 'omniauth-google-oauth2' gem 'omniauth-twitter' gem 'omniauth-github' # Extracting information from a git repository # Since gollum requires grit we cannot use gitlab-grit gem name any more. Use grit instead gem "grit", '~&gt; 2.5.0', git: 'https://github.com/gitlabhq/grit.git', ref: '42297cdcee16284d2e4eff23d41377f52fc28b9d' gem 'grit_ext', '~&gt; 0.8.1' # Ruby/Rack Git Smart-HTTP Server Handler gem 'gitlab-grack', '~&gt; 1.0.0', require: 'grack' # LDAP Auth gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap" # Syntax highlighter gem "gitlab-pygments.rb", '~&gt; 0.3.2', require: 'pygments.rb' # Language detection gem "github-linguist", "~&gt; 2.3.4" , require: "linguist" # API gem "grape", "~&gt; 0.3.1" gem "grape-entity", "~&gt; 0.2.0" # Format dates and times # based on human-friendly examples gem "stamp" # Enumeration fields gem 'enumerize' # Pagination gem "kaminari", "~&gt; 0.14.1" # HAML gem "haml-rails" # Files attachments gem "carrierwave" # Authorization gem "six" # Seed data gem "seed-fu" # Markdown to HTML gem "redcarpet", "~&gt; 2.2.2" gem "github-markup", "~&gt; 0.7.4", require: 'github/markup' # Servers gem "puma", '~&gt; 2.0.0.b7' # State machine gem "state_machine" # Issue tags gem "acts-as-taggable-on", "2.3.3" # Background jobs gem 'slim' gem 'sinatra', require: nil gem 'sidekiq' # HTTP requests gem "httparty" # Colored output to console gem "colored" # GitLab settings gem 'settingslogic' # Git Wiki gem "gollum-lib", "~&gt; 1.0.0" # Misc gem "foreman" # Cache gem "redis-rails" group :assets do gem "sass-rails", "~&gt; 3.2.5" gem "coffee-rails", "~&gt; 3.2.2" gem "uglifier", "~&gt; 1.3.0" gem "therubyracer" gem 'chosen-rails', "0.9.8" gem 'select2-rails' gem 'jquery-atwho-rails', "0.1.7" gem "jquery-rails", "2.1.3" gem "jquery-ui-rails", "2.0.2" gem "modernizr", "2.6.2" gem "raphael-rails", git: "https://github.com/gitlabhq/raphael-rails.git" gem 'bootstrap-sass', "2.2.1.1" gem "font-awesome-sass-rails", "~&gt; 3.0.0" gem "gemoji", "~&gt; 1.2.1", require: 'emoji/railtie' gem "gon" end group :development do gem "annotate", git: "https://github.com/ctran/annotate_models.git" gem "letter_opener" gem 'quiet_assets', '~&gt; 1.0.1' gem 'rack-mini-profiler' # Better errors handler gem 'better_errors' gem 'binding_of_caller' gem 'rails_best_practices' # Docs generator gem "sdoc" # thin instead webrick gem 'thin' end group :development, :test do gem 'coveralls', require: false gem 'rails-dev-tweaks' gem 'spinach-rails' gem "rspec-rails" gem "capybara" gem "pry" gem "awesome_print" gem "database_cleaner" gem "launchy" gem 'factory_girl_rails' # Generate Fake data gem "ffaker" # Guard gem 'guard-rspec' gem 'guard-spinach' # Notification gem 'rb-fsevent', require: darwin_only('rb-fsevent') gem 'growl', require: darwin_only('growl') gem 'rb-inotify', require: linux_only('rb-inotify') # PhantomJS driver for Capybara gem 'poltergeist', git: 'https://github.com/jonleighton/poltergeist.git', ref: '9645b52009e258921b860d3b7601d00008b22c45' gem 'spork', '~&gt; 1.0rc' end group :test do gem "simplecov", require: false gem "shoulda-matchers", "1.3.0" gem 'email_spec' gem "webmock" gem 'test_after_commit' end group :production do gem "gitlab_meta", '5.0' end </code></pre> <p>Could anyone help? Thanks in advance.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload