You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/09/20 10:39:52 UTC

[GitHub] [arrow] okadakk commented on a change in pull request #11181: ARROW-14033: [Ruby][Doc] Add macOS development guide for Red Arrow

okadakk commented on a change in pull request #11181:
URL: https://github.com/apache/arrow/pull/11181#discussion_r712053096



##########
File path: ruby/red-arrow/README.md
##########
@@ -50,3 +50,20 @@ table = Arrow::Table.load("/dev/shm/data.arrow")
 # Process data in table
 table.save("/dev/shm/data-processed.arrow")
 ```
+
+## development
+```
+$ cd ruby/red-arrow
+$ bundle install
+$ bundle exec rake test
+```
+
+### Mac OS
+```
+$ cd ruby/red-arrow
+$ bundle install
+$ brew install apache-arrow --head
+$ brew install apache-arrow-glib --head
+$ export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@1.1/lib/pkgconfig"

Review comment:
       @kou
   Thank you for reviewing! 
   
   I added the following patch and removed the comment.
   https://github.com/apache/arrow/pull/11188
   This change worked correctly in my environment!
   
   > BTW, could you show your $(brew --prefix)/lib/pkgconfig/arrow*.pc?
   
   ```
   > ls $(brew --prefix)/lib/pkgconfig/arrow*.pc
   
   /opt/homebrew/lib/pkgconfig/arrow-compute.pc            /opt/homebrew/lib/pkgconfig/arrow-glib.pc
   /opt/homebrew/lib/pkgconfig/arrow-csv.pc                /opt/homebrew/lib/pkgconfig/arrow-json.pc
   /opt/homebrew/lib/pkgconfig/arrow-dataset-glib.pc       /opt/homebrew/lib/pkgconfig/arrow-orc-glib.pc
   /opt/homebrew/lib/pkgconfig/arrow-dataset.pc            /opt/homebrew/lib/pkgconfig/arrow-orc.pc
   /opt/homebrew/lib/pkgconfig/arrow-filesystem.pc         /opt/homebrew/lib/pkgconfig/arrow-python-flight.pc
   /opt/homebrew/lib/pkgconfig/arrow-flight-glib.pc        /opt/homebrew/lib/pkgconfig/arrow-python.pc
   /opt/homebrew/lib/pkgconfig/arrow-flight.pc             /opt/homebrew/lib/pkgconfig/arrow.pc
   ```
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org