# Compiling "pure" ruby + installing gpref for msys

**URL:** <https://www.ruby-forum.com/t/compiling-pure-ruby-installing-gpref-for-msys/139140>\
**Category:** Ruby\
**Created:** [May 31, 2008, 10:59am UTC](https://www.ruby-forum.com/t/compiling-pure-ruby-installing-gpref-for-msys/139140 "2008-05-31T10:59:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gogmangog](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/258eb7/32.png) [@gogmangog](https://www.ruby-forum.com/u/gogmangog)\
**Post date:** [May 31, 2008, 10:59am UTC](https://www.ruby-forum.com/t/compiling-pure-ruby-installing-gpref-for-msys/139140/1 "2008-05-31T10:59:07Z")

</div>

Hey guys,

it’s my first post and I hope I put it in the right category.

1. 

Background: I’m experimenting a little bit with Ruby. I wanted to  
compile Ruby only with the only needed libs. So that the compiled Ruby  
only would have the primitive data types (including object, string etc)  
with only a few operations on these data types. No libs etc. shall be in  
the compiled Ruby.

Problem: I don’t know where to configure the source. (looked into  
mkconfig.rb, extmk.rb …) Can anyone of you tell me how to configure  
this “pure” Ruby?

1. 

Background: I had a look at the file “keywords” where the keywords like  
“while”, “do” etc. are defined. I just wanted to add another keyword  
(just for experimentation purpose). Therefore gpref is needed.

Problem: I’m using msys combined with mingw to compile Ruby. I don’t  
know how to “implement” gpref into msys. Does anyone know how to do it?

Thank you for reading this topic. Possibly someone can help me with my  
problems.

Bye gogmangog
