I believe Bundler, in order to compile native bins, needs some
development headers that installing XCode will provide. Please install
XCode from the App Store here (http://itunes.apple.com/us/app/xcode/
id448457090?mt=12) and give it a try. That should fix it!
Thanks,
--
Matt
On Dec 13, 8:25 pm, Trafonha <aucev...@gmail.com> wrote:
> Hi, I'm new & trying to install Mulberry on a Mac 10.6.8.
> When I run "bundle inslatall" I get the following error:
>
> localhost:Toura-mulberry beteesteves$ bundle install
> Fetching source index forhttp://rubygems.org/
>
> Enter your password to install the bundled RubyGems to your system:
> Using activesupport (3.0.10)
> Using deep_merge (1.0.0)
> Using haml (3.1.2)
> Using i18n (0.6.0)
> Installing json (1.5.3) with native extensions
> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
> extension.
>
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
> extconf.rb
> mkmf.rb can't find header files for ruby at
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
>
> Gem files will remain installed in
> /Users/beteesteves/.bundler/tmp/7370/gems/json-1.5.3 for inspection.
> Results logged to
> /Users/beteesteves/.bundler/tmp/7370/gems/json-1.5.3/ext/json/ext/parser/ge m_make.out
> An error occured while installing json (1.5.3), and Bundler cannot continue.
> Make sure that `gem install json -v '1.5.3'` succeeds before bundling.
> localhost:Toura-mulberry beteesteves$
>
> *The log file content:*
> localhost:Toura-mulberry beteesteves$ more
> /Users/beteesteves/.bundler/tmp/7370/gems/json-1.5.3/ext/json/ext/parser/ge m_make.out
Bundle works now and I built my first "Hello Mulberry Wolrd"
application!!!
Regards
Regards
On 13 dez, 23:29, Matt Rogish <mrog...@toura.com> wrote: