GitHub user soralee opened a pull request:

    https://github.com/apache/zeppelin/pull/1966

    [ZEPPELIN-2039] Upgrade safe_yaml version in gh-page

    ### What is this PR for?
    This PR will fix some problem which I faced when starting the gh-page 
server like the following code.
    ```
    $ bundle exec jekyll serve --watch
    
/var/lib/gems/2.3.0/gems/commander-4.1.5/lib/commander/user_interaction.rb:328: 
warning: constant ::TimeoutError is deprecated
    /var/lib/gems/2.3.0/gems/commander-4.1.5/lib/commander/runner.rb:365:in 
`block in require_program': program version required 
(Commander::Runner::CommandError)
        from 
/var/lib/gems/2.3.0/gems/commander-4.1.5/lib/commander/runner.rb:364:in `each'
        from 
/var/lib/gems/2.3.0/gems/commander-4.1.5/lib/commander/runner.rb:364:in 
`require_program'
        from 
/var/lib/gems/2.3.0/gems/commander-4.1.5/lib/commander/runner.rb:52:in `run!'
        from 
/var/lib/gems/2.3.0/gems/commander-4.1.5/lib/commander/delegates.rb:7:in `run!'
        from 
/var/lib/gems/2.3.0/gems/commander-4.1.5/lib/commander/import.rb:10:in `block 
in <top (required)>'
    
/var/lib/gems/2.3.0/gems/safe_yaml-0.9.7/lib/safe_yaml/syck_node_monkeypatch.rb:42:in
 `<top (required)>': uninitialized constant Syck (NameError)
        from /var/lib/gems/2.3.0/gems/safe_yaml-0.9.7/lib/safe_yaml.rb:200:in 
`require'
        from /var/lib/gems/2.3.0/gems/safe_yaml-0.9.7/lib/safe_yaml.rb:200:in 
`<module:YAML>'
        from /var/lib/gems/2.3.0/gems/safe_yaml-0.9.7/lib/safe_yaml.rb:132:in 
`<top (required)>'
        from /var/lib/gems/2.3.0/gems/jekyll-1.3.0/lib/jekyll.rb:21:in `require'
        from /var/lib/gems/2.3.0/gems/jekyll-1.3.0/lib/jekyll.rb:21:in `<top 
(required)>'
        from /var/lib/gems/2.3.0/gems/jekyll-1.3.0/bin/jekyll:7:in `require'
        from /var/lib/gems/2.3.0/gems/jekyll-1.3.0/bin/jekyll:7:in `<top 
(required)>'
        from /usr/local/bin/jekyll:23:in `load'
        from /usr/local/bin/jekyll:23:in `<main>'
    ```
    This issue is similar with 
[ZEPPELIN-813](https://issues.apache.org/jira/browse/ZEPPELIN-813) and it was 
solved by [PR #1167](https://github.com/apache/zeppelin/pull/1167).
    
    ### What type of PR is it?
    [Bug Fix | Improvement | Documentation(`README.md`)]
    
    ### What is the Jira issue?
    [ZEPPELIN-2039](https://issues.apache.org/jira/browse/ZEPPELIN-2039)
    
    ### How should this be tested?
    **Please read `README.md` if you didn't installed dependencies ever.**
    
    1. If you already installed dependencies before, you need
    ```
    $ bundle update safe_yaml
    ```
    2. Check what version of safe_yaml is installed and then run this command
    ```
    $ bundle exec jekyll serve --watch
    ```
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/soralee/zeppelin ZEPPELIN-2039_gh

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1966.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1966
    
----
commit 5581874e1f716fb86c29c5155af2bb4c800b816d
Author: soralee <sora0...@zepl.com>
Date:   2017-02-01T10:11:17Z

    update dependency

commit 7311a28750de79314001f971c097bb0834e9cdd4
Author: soralee <sora0...@zepl.com>
Date:   2017-02-01T10:22:42Z

    update dependency and README document

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to