Skip to content

Conversation

@bruno-
Copy link
Contributor

@bruno- bruno- commented Jun 2, 2015

Hi,
this PR brings Ruby C extension files support discussed in #24.

I think all the suggestions from there are implemented.

Additionally I've checked the Ruby "logic" (fetching Ruby include directory) on multiple Linux machines and even on Windows (Cygwin). Ruby code has been tweaked a bit to support older ruby versions (1.8.7).

Please let me know if you have any feedback on this!
Thanks

@tpope
Copy link
Owner

tpope commented Jun 2, 2015

Calling cd in system() can cause portability issues. Try using the try/finally trick found in s:Rake.

Please add the same escape(..., ', ') call from the previous autocommand.

@tpope
Copy link
Owner

tpope commented Jun 2, 2015

Oh, and while you're making changes, please swap self['_ruby_include_path'] out for self._ruby_include_path, thanks.

@bruno-
Copy link
Contributor Author

bruno- commented Jun 2, 2015

Thanks for the prompt feedback! I've made the changes now.

Please let me know if you have any other remarks!

tpope added a commit that referenced this pull request Jun 6, 2015
@tpope tpope merged commit e67086b into tpope:master Jun 6, 2015
@bruno- bruno- deleted the c_extensions_support branch June 6, 2015 11:46
tpope added a commit that referenced this pull request Jun 6, 2015
Also lower the precedence of the path addition.  References #25.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants