Solved The Makefile and Ruby gem parameters

Nicola Mingotti

Well-Known Member

Reaction score: 138
Messages: 356

Hi all,

I am finally convinced to make my first port;)
Which will be Ruby gem Tk.

I took a look at a few rubygem Makefiles but I don't understand one
point which in my case it is important: "hot to pass parameters to 'gem' ".

To install the gem manually I needed to run something similar to this (from my notes):
#> gem install tk -- --with-tcltkversion=8.5,8.5 \
           --with-tk-include=/usr/local/include/tk8.5 \ 
[forget the 8.5 release, i will try to make it work for 8.6 as well ]

Do you know how I can specify parameters to "gem install" in the Makefile ?