[
https://issues.apache.org/jira/browse/BUILDR-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Boisvert resolved BUILDR-340.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.4
I added a note in the documentation that Apple dev tools are required prior to
installation.
> Install script fails on Mac OSX Snow Leopard
> --------------------------------------------
>
> Key: BUILDR-340
> URL: https://issues.apache.org/jira/browse/BUILDR-340
> Project: Buildr
> Issue Type: Bug
> Affects Versions: 1.3.5
> Environment: Macbook running Snow Leopard. No MacPorts or Fink
> installed. ruby is the OSs original version : ruby 1.8.7 (2008-08-11
> patchlevel 72) [universal-darwin10.0]
> Reporter: David Parks
> Fix For: 1.4
>
>
> The install script on the installing page:
> http://buildr.apache.org/installing.html#osx
> fails with the following output:
> ---------------------------------
> Setting JAVA_HOME
> Installing the latest version of Buildr
> Building native extensions. This could take a while...
> ERROR: Error installing buildr:
> ERROR: Failed to build gem native extension.
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
> extconf.rb install buildr
> 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 /Library/Ruby/Gems/1.8/gems/rjb-1.1.9 for
> inspection.
> Results logged to /Library/Ruby/Gems/1.8/gems/rjb-1.1.9/ext/gem_make.out
> install-osx.sh: line 52: buildr: command not found
> ---------------------------------
> The install-jruby.sh script fails due to a command that does not exist on
> mac, wget (it is available via DarwinPorts but not part of the original OS).
> This is the output:
> ---------------------------------
> Installing JRuby 1.1.6 in /opt/jruby
> install-jruby.sh: line 21: wget: command not found
> install-jruby.sh: line 22: jruby-bin-1.1.6.tar.gz: No such file or directory
> mv: rename jruby-1.1.6 to /opt/jruby: No such file or directory
> rm: jruby-bin-1.1.6.tar.gz: No such file or directory
> Installing the latest version of Buildr
> sudo: jruby: command not found
> install-jruby.sh: line 44: jruby: command not found
> ---------------------------------
> (My guess is that the second script isn't intended for OSX... but it doesn't
> mention that it is Linux-only.)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.