How can I create a Ruby project in Xcode?

I have a question about Ruby on Mac. When I bully a project, an error occurs:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- plist (LoadError)

from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from .../app.build/Debug-iphonesimulator/iphone.build/Script-2095E433129114D900424894.sh:3
Command /bin/sh failed with exit code 1

Xcode 4.3.3 is installed on my computer that uses Mac OS X 10.7.4, and I installed ruby ​​1.9.3 with rvm and installed ruby ​​1.9.3 by default:

$ rvm use 1.9.3

Using ../.rvm/gems/ruby-1.9.3-p194

$ ruby -v

ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]

Does anyone know a solution to solve this problem?

+5
source share
1 answer

You may need to install command line tools in Xcode? I think that you open Xcode, go to the settings, and somewhere there, you can install command line utilities. You may need to recompile your rvm ruby ​​afterwards.

0
source

All Articles