Newbie - Installing Mulberry

36 views
Skip to first unread message

Trafonha

unread,
Dec 13, 2011, 8:25:57 PM12/13/11
to toura-m...@googlegroups.com
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 for http://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/gem_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/gem_make.out
/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


My ruby version is 1.8.7

Do I need:
1 -  Xcode?
2 - Ruby source?
3 - Anything else?

Tks for help

Guto(Trafonha)

Matt Rogish

unread,
Dec 13, 2011, 8:29:26 PM12/13/11
to Toura Mulberry
Hi Trafonha,

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

Trafonha

unread,
Dec 14, 2011, 1:30:22 PM12/14/11
to Toura Mulberry
Thank you!

Bundle works now and I built my first "Hello Mulberry Wolrd"
application!!!

Regards

Trafonha

unread,
Dec 14, 2011, 1:31:36 PM12/14/11
to Toura Mulberry
Thank you! Bundle works now and I built my first "Hello Mulberry
Wolrd" application !!!

Regards

On 13 dez, 23:29, Matt Rogish <mrog...@toura.com> wrote:

Reply all
Reply to author
Forward
0 new messages