You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by shazron <gi...@git.apache.org> on 2017/06/12 18:44:33 UTC

[GitHub] cordova-docs pull request #710: Added instruction to install Ruby Gems local...

GitHub user shazron opened a pull request:

    https://github.com/apache/cordova-docs/pull/710

    Added instruction to install Ruby Gems locally

    ### What does this PR do?
    
    Modified instruction to install the required Ruby Gems locally in a subfolder of the repo. Installing jekyll and some modules under OS X 10.11 and up runs into problems, [especially with System Integrity Protection (SIP)](https://stackoverflow.com/questions/31567029/how-can-i-install-jekyll-on-osx-10-11/33059347#33059347)
    
    ### What testing has been done on this change?
    
    Ran `node_modules/.bin/gulp build`


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

    $ git pull https://github.com/shazron/cordova-docs readme-fix-1

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

    https://github.com/apache/cordova-docs/pull/710.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 #710
    
----

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-docs pull request #710: Added instruction to install Ruby Gems local...

Posted by filmaj <gi...@git.apache.org>.
Github user filmaj commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/710#discussion_r121519204
  
    --- Diff: README.md ---
    @@ -101,9 +101,9 @@ Verify the installation by running:
     Once Ruby and JavaScript are installed, install Ruby dependencies by running:
     
         gem install bundle
    -    bundle install
    --- End diff --
    
    Funnily enough, I think this is wrong (and I know it's been in here a while). I think this needs to be `gem install bundler`.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-docs issue #710: Added instruction to install Ruby Gems locally

Posted by filmaj <gi...@git.apache.org>.
Github user filmaj commented on the issue:

    https://github.com/apache/cordova-docs/pull/710
  
    Note that on my Windows 10 VM, following the exact Ruby setup instructions in here forced me to eventually update my RubyGems to a newer version - I followed [this](http://guides.rubygems.org/ssl-certificate-update/#installing-using-update-packages) on how to do that - otherwise I was unable to install `bundler` due to SSL certificate issues. Not sure if we want to call that out or otherwise update the install instructions (perhaps by recommending downloading a newer ruby installer). Possibly worth issuing a different PR for that.
    
    However, I can confirm that `bundle install --path ./ruby_modules` runs fine on a node-js command prompt on Windows 10.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-docs pull request #710: Added instruction to install Ruby Gems local...

Posted by filmaj <gi...@git.apache.org>.
Github user filmaj commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/710#discussion_r121519526
  
    --- Diff: README.md ---
    @@ -101,9 +101,9 @@ Verify the installation by running:
     Once Ruby and JavaScript are installed, install Ruby dependencies by running:
     
         gem install bundle
    -    bundle install
    --- End diff --
    
    Wait, I'm not sure about that now... my windows VM might just be freaking out.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-docs pull request #710: Added instruction to install Ruby Gems local...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/cordova-docs/pull/710


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-docs pull request #710: Added instruction to install Ruby Gems local...

Posted by shazron <gi...@git.apache.org>.
Github user shazron commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/710#discussion_r121513970
  
    --- Diff: README.md ---
    @@ -101,9 +101,9 @@ Verify the installation by running:
     Once Ruby and JavaScript are installed, install Ruby dependencies by running:
     
         gem install bundle
    -    bundle install
    +    bundle install --path ./ruby_modules
    --- End diff --
    
    I believe Windows can handle any slashes. @purplecabbage can you confirm? I'll test


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-docs pull request #710: Added instruction to install Ruby Gems local...

Posted by filmaj <gi...@git.apache.org>.
Github user filmaj commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/710#discussion_r121513335
  
    --- Diff: README.md ---
    @@ -101,9 +101,9 @@ Verify the installation by running:
     Once Ruby and JavaScript are installed, install Ruby dependencies by running:
     
         gem install bundle
    -    bundle install
    +    bundle install --path ./ruby_modules
    --- End diff --
    
    this wouldn't work on Windows, due to the foreslash, right?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-docs issue #710: Added instruction to install Ruby Gems locally

Posted by shazron <gi...@git.apache.org>.
Github user shazron commented on the issue:

    https://github.com/apache/cordova-docs/pull/710
  
    I'll update `gem install bundle` typo in this PR. I think we are good to go now. 
    
    @filmaj yeah let's do that in another PR. Also I found that `node_modules/.bin/gulp serve` does not work on Windows, the forward slashes need to be backward slashes.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-docs pull request #710: Added instruction to install Ruby Gems local...

Posted by dpogue <gi...@git.apache.org>.
Github user dpogue commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/710#discussion_r121519778
  
    --- Diff: README.md ---
    @@ -101,9 +101,9 @@ Verify the installation by running:
     Once Ruby and JavaScript are installed, install Ruby dependencies by running:
     
         gem install bundle
    -    bundle install
    --- End diff --
    
    yes, this should be `gem install bundler`


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


[GitHub] cordova-docs pull request #710: Added instruction to install Ruby Gems local...

Posted by shazron <gi...@git.apache.org>.
Github user shazron commented on a diff in the pull request:

    https://github.com/apache/cordova-docs/pull/710#discussion_r121526214
  
    --- Diff: README.md ---
    @@ -101,9 +101,9 @@ Verify the installation by running:
     Once Ruby and JavaScript are installed, install Ruby dependencies by running:
     
         gem install bundle
    -    bundle install
    +    bundle install --path ./ruby_modules
    --- End diff --
    
    Just tested `bundle install --path ./ruby_modules` on Windows 10. It works.


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org