I am encountering an odd behavior of gem install function. Can anyone
explain me what "gem install" actually does?
I have several C code and header files, and one extconf.rb file, +
mygem.gemspec file. So, when I build a gem it successfully creates
So, when I install it locally using "gem install mygem-0.61.gem" I
expect the gem to create a makefile, because in the extconf.rb file I
explicitly indicate it, and then "make install" that newly created
Makefile. However, "gem install' does not create a Makefile and does
not install it. What it does is just copies those several files to the
gem directory, where Gem keeps all its gems.
What I have to do is manually rub "ruby extconf.rb", which creates the
Makefile, and manually "make install".
The questions is: Should not "gem install" perform all these operation
by itself, when I type "gem install mygem"?
Thank you in advance for your help.