New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error - invalid switch? #2

Closed
shevett opened this Issue Mar 21, 2015 · 5 comments

Comments

Projects
None yet
2 participants
@shevett

shevett commented Mar 21, 2015

I'm having a problem doing the installation. Ruby version:
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
This is on a mac:

Daves-MacBook-Pro:slim-pickins-jekyll-theme dave shevett$ bundle install --binstubs --path=vendor
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/..
Resolving dependencies...
Installing rake 10.4.2
Installing Platform 0.4.0
Installing open4 1.3.4
Installing POpen4 0.1.4
Installing blankslate 2.1.2.4

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: invalid switch in RUBYOPT: -s (RuntimeError)


Gem files will remain installed in /Users/dave shevett/Documents/v2usdra.org/slim-pickins-jekyll-theme/vendor/ruby/2.0.0/gems/hitimes-1.2.2 for inspection.
Results logged to /Users/dave shevett/Documents/v2usdra.org/slim-pickins-jekyll-theme/vendor/ruby/2.0.0/gems/hitimes-1.2.2/ext/hitimes/c/gem_make.out
An error occurred while installing hitimes (1.2.2), and Bundler cannot continue.
Make sure that `gem install hitimes -v '1.2.2'` succeeds before bundling.
Daves-MacBook-Pro:slim-pickins-jekyll-theme dave shevett$
@chrisanthropic

This comment has been minimized.

Show comment
Hide comment
@chrisanthropic

chrisanthropic Mar 21, 2015

Owner

I'm on a linux box here, but it looks like there were some issues recently with hitimes and OSX - copiousfreetime/hitimes#28 (among others)

Updating to Ruby 2.1.1 seems to fix the issue for most people.

Please let me know if that doesn't fix the issue.

Owner

chrisanthropic commented Mar 21, 2015

I'm on a linux box here, but it looks like there were some issues recently with hitimes and OSX - copiousfreetime/hitimes#28 (among others)

Updating to Ruby 2.1.1 seems to fix the issue for most people.

Please let me know if that doesn't fix the issue.

@shevett

This comment has been minimized.

Show comment
Hide comment
@shevett

shevett Mar 21, 2015

Not sure if it's hitimes giving the hassle here. When I run it manually, i get a warning, but I think it's installed:

Building native extensions.  This could take a while...
Successfully installed hitimes-1.2.2
Parsing documentation for hitimes-1.2.2
unable to convert "\xCA" from ASCII-8BIT to UTF-8 for lib/hitimes/2.0/hitimes.bundle, skipping
1 gem installed

shevett commented Mar 21, 2015

Not sure if it's hitimes giving the hassle here. When I run it manually, i get a warning, but I think it's installed:

Building native extensions.  This could take a while...
Successfully installed hitimes-1.2.2
Parsing documentation for hitimes-1.2.2
unable to convert "\xCA" from ASCII-8BIT to UTF-8 for lib/hitimes/2.0/hitimes.bundle, skipping
1 gem installed
@chrisanthropic

This comment has been minimized.

Show comment
Hide comment
@chrisanthropic

chrisanthropic Mar 21, 2015

Owner

You can try running bundle install and install the gems universally instead of bundle install --binstubs --path=vendor the path could be the issue here.

Owner

chrisanthropic commented Mar 21, 2015

You can try running bundle install and install the gems universally instead of bundle install --binstubs --path=vendor the path could be the issue here.

@shevett

This comment has been minimized.

Show comment
Hide comment
@shevett

shevett Mar 21, 2015

Nope. Same problem :(

shevett commented Mar 21, 2015

Nope. Same problem :(

@chrisanthropic

This comment has been minimized.

Show comment
Hide comment
@chrisanthropic

chrisanthropic Mar 21, 2015

Owner

The errors still make it look like a hitimes issue to me, in fact this one popped up again recently unable to convert "\xCA" from ASCII-8BIT to UTF-8 for lib/hitimes/2.0/hitimes.bundle, skipping - and was apparently fixed by running gem install --verbose hitimes or bundle update.

If that doesn't fix it, you'll need to troubleshoot your jekyll/ruby installation - here's a link that may help:
http://hasset.github.io/it/2015/01/01/issue-of-ruby-while-installing-jekyll/

Owner

chrisanthropic commented Mar 21, 2015

The errors still make it look like a hitimes issue to me, in fact this one popped up again recently unable to convert "\xCA" from ASCII-8BIT to UTF-8 for lib/hitimes/2.0/hitimes.bundle, skipping - and was apparently fixed by running gem install --verbose hitimes or bundle update.

If that doesn't fix it, you'll need to troubleshoot your jekyll/ruby installation - here's a link that may help:
http://hasset.github.io/it/2015/01/01/issue-of-ruby-while-installing-jekyll/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment