It s ok now
sorry for the noise

Le vendredi 14 mars 2014 08:45:37 UTC+1, [email protected] a écrit :
>
> i would like install gitlab version 1.8.4, ii use ruby 2.1.1.
> i use debian jessie 
> when iwant install gitlab-shell 
> i use the command : sudo -u git -H ./bin/install 
> i have the error message : 
> /usr/local/lib/ruby/2.1.0/psych.rb:370:in `parse': 
> (/home/git/gitlab-shell/config.yml): did not find expected key while 
> parsing a block mapping at line 2 column 1 (Psych::SyntaxError)
> after is ok :
> from /usr/local/lib/ruby/2.1.0/psych.rb:370:in `parse_stream'
> from /usr/local/lib/ruby/2.1.0/psych.rb:318:in `parse'
> from /usr/local/lib/ruby/2.1.0/psych.rb:245:in `load'
> from /usr/local/lib/ruby/2.1.0/psych.rb:464:in `block in load_file'
> from /usr/local/lib/ruby/2.1.0/psych.rb:464:in `open'
> from /usr/local/lib/ruby/2.1.0/psych.rb:464:in `load_file'
> from /home/git/gitlab-shell/lib/gitlab_config.rb:7:in `initialize'
> from ./bin/install:9:in `new'
> from ./bin/install:9:in `<main>'
>
> my /home/git/gitlab-shell/config.yml is :
> # GitLab user. git by default                                             
>                                                                             
>                                                                             
>                                                                             
>                  
> user: git
>
> # Url to gitlab instance. Used for api calls. Should end with a slash.
> gitlab_url: "http://git.int/";
>
> http_settings:
> #  user: someone
> #  password: somepass
> #  ca_file: /etc/ssl/cert.pem
> #  ca_path: /etc/pki/tls/certs
> #  self_signed_cert: false
>
> # Repositories path
> # Give the canonicalized absolute pathname,
> # REPOS_PATH MUST NOT CONTAIN ANY SYMLINK!!!
> # Check twice that none of the components is a symlink, including "/home".
> repos_path: "/repositories"
>
> # File used as authorized_keys for gitlab user
> auth_file: "/home/git/.ssh/authorized_keys"
>
> # Redis settings used for pushing commit notices to gitlab
> redis:
>   bin: /usr/bin/redis-cli
>   host: 127.0.0.1
>   port: 6379
>   # socket: /tmp/redis.socket # Only define this if you want to use sockets
>   namespace: resque:gitlab
>
> # Log file.
> # Default is gitlab-shell.log in the root directory.
>  log_file: "/home/git/gitlab-shell/gitlab-shell.log"
>
> # Log level. INFO by default
> log_level: INFO
>
> # Audit usernames.
> # Set to true to see real usernames in the logs instead of key ids, which 
> is easier to follow, but
> # incurs an extra API call on every gitlab-shell command.
> audit_usernames: false
>
> it seems it gitlab_url: "http://git.int/"; the problem 
>
> Thx for your help
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to