Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Install error #173

Closed
caryblack opened this issue Jul 8, 2013 · 2 comments
Closed

Install error #173

caryblack opened this issue Jul 8, 2013 · 2 comments

Comments

@caryblack
Copy link

I am attempting to install Slogger and I receive an error after the "bundle install" command. I receive the following output:

Last login: Mon Jul 8 11:51:53 on ttys000
CB-MBA:~ caryblack$ cd Dropbox/Apps/Slogger/
CB-MBA:Slogger caryblack$ sudo gem install bundler
Successfully installed bundler-1.3.5
1 gem installed
Installing ri documentation for bundler-1.3.5...
Installing RDoc documentation for bundler-1.3.5...
CB-MBA:Slogger caryblack$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using multipart-post (1.2.0)
Using faraday (0.8.7)
Installing hpricot (0.8.6)
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/caryblack/.bundler/tmp/711/gems/hpricot-0.8.6 for inspection.
Results logged to /Users/caryblack/.bundler/tmp/711/gems/hpricot-0.8.6/ext/fast_xs/gem_make.out

An error occurred while installing hpricot (0.8.6), and Bundler cannot continue.
Make sure that gem install hpricot -v '0.8.6' succeeds before bundling.
CB-MBA:Slogger caryblack$

I'll be the first to suggest this is user error, how can I fix this?

CB

@gmcz
Copy link

gmcz commented Jul 8, 2013

I was able to get past this by:

  1. installing the latest version of XCode (from Mac AppStore)
  2. installing command line tools from the Downloads pane in XCode Prefrences
  3. running "sudo gem install rails" in terminal

@ttscoff
Copy link
Owner

ttscoff commented Jul 8, 2013

Please see #168

@ttscoff ttscoff closed this as completed Jul 8, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants