Installing Cocoapods in EAP

Sorry for the repost - I didn't see I had to mark something as a "quetsion"

I use RVM to manage Rubies - and specific a version of Ruby local to my appcode project
(noted in a .ruby-version file in the directory)

I've successfully installed cocoapods via the command line, outside of AppCode, but when I look at preferences in AppCode (in AppCode DEAP 131.284), It shows I don't have cocoapods installed :(

I therefore click on "Install Cocoapds" and get this error:

---
CocoaPods are not installed:
WARNING: You don't have      /Users/ddosen/.gem/ruby/2.0.0/bin in your PATH,
gem executables will      not run.
ERROR: Error installing cocoapods:
ERROR: Failed to build      gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby      extconf.rb
mkmf.rb can't find header files for ruby at      /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h


Gem      files will remain installed in      /Users/ddosen/.gem/ruby/2.0.0/gems/json-1.8.0 for inspection.
Results      logged to      /Users/ddosen/.gem/ruby/2.0.0/gems/json-1.8.0/ext/json/ext/generator/gem_make.out   
---

I manually added that directory to my path (which incidentally didn't exist) and I still get the error.

It seems like you're not finding the ruby I want... Can you advise?  I think I need to know what version of ruby AppCode is looking at, because it's not obvious.

Thanks in advance.  Looking forward to trying Kiwi from within AppCode

Please sign in to leave a comment.