Ruby Mac OS X 10.9.2 -


i'm trying figure out error.

i'm on mac os x 10.9.2 , ruby -v says ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]

the error is:

chadd:homebrew-openmw-master chadd$ ruby test.rb  /system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- formula (loaderror)     /system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ex/kernel_require.rb:45:in `require'     test.rb:1:in `<main>' 

the code i'm trying run looks this, left incomplete because don't need rest:

require 'formula'  class openmwboost < formula   homepage 'http://www.boost.org'   url 'http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.gz/download' 

why version of ruby not find 'formula', not native package should come ruby.

you need install forumla gem, gem install formula.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -