Skip to content
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

Can't install Jazzi from Gemfile #438

Closed
artemsamoylov opened this issue Dec 30, 2015 · 8 comments
Closed

Can't install Jazzi from Gemfile #438

artemsamoylov opened this issue Dec 30, 2015 · 8 comments
Assignees
Labels

Comments

@artemsamoylov
Copy link

Hi everyone!
I use Jazzi with Travis-ci(https://travis-ci.org) for auto generation docs.
When i use "gem install jazzi", everything is ok.
But if I install Jazzi from Gemfile, i get such fail:

Using jazzy 0.4.1 from git@github.com:realm/jazzy.git (at master)
Installing cert 1.2.7

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /Users/travis/.rvm/rubies/ruby-2.0.0-p643/bin/ruby -rubygems /Users/travis/.rvm/gems/ruby-2.0.0-p643/gems/rake-10.4.2/bin/rake RUBYARCHDIR=/Users/travis/.rvm/gems/ruby-2.0.0-p643/bundler/gems/extensions/x86_64-darwin-14/2.0.0-static/jazzy-4f4235f1e80c RUBYLIBDIR=/Users/travis/.rvm/gems/ruby-2.0.0-p643/bundler/gems/extensions/x86_64-darwin-14/2.0.0-static/jazzy-4f4235f1e80c
rake aborted!
Errno::EEXIST: File exists - (A, Versions/Current)
/Users/travis/.rvm/gems/ruby-2.0.0-p643/bundler/gems/jazzy-4f4235f1e80c/lib/jazzy/SourceKitten/Rakefile:10:in `symlink'
/Users/travis/.rvm/gems/ruby-2.0.0-p643/bundler/gems/jazzy-4f4235f1e80c/lib/jazzy/SourceKitten/Rakefile:10:in `block (3 levels) in <top (required)>'
/Users/travis/.rvm/gems/ruby-2.0.0-p643/bundler/gems/jazzy-4f4235f1e80c/lib/jazzy/SourceKitten/Rakefile:6:in `chdir'
/Users/travis/.rvm/gems/ruby-2.0.0-p643/bundler/gems/jazzy-4f4235f1e80c/lib/jazzy/SourceKitten/Rakefile:6:in `block (2 levels) in <top (required)>'
/Users/travis/.rvm/gems/ruby-2.0.0-p643/bundler/gems/jazzy-4f4235f1e80c/lib/jazzy/SourceKitten/Rakefile:5:in `each'
/Users/travis/.rvm/gems/ruby-2.0.0-p643/bundler/gems/jazzy-4f4235f1e80c/lib/jazzy/SourceKitten/Rakefile:5:in `block in <top (required)>'
Tasks: TOP => default => prepare
(See full trace by running task with --trace)

rake failed, exit code 1

Gem files will remain installed in /Users/travis/.rvm/gems/ruby-2.0.0-p643/bundler/gems/jazzy-4f4235f1e80c for inspection.
Results logged to /Users/travis/.rvm/gems/ruby-2.0.0-p643/bundler/gems/extensions/x86_64-darwin-14/2.0.0-static/jazzy-4f4235f1e80c/gem_make.out

What can be wrong?

@segiddins
Copy link
Collaborator

What version of rubygems do you have installed?

@jpsim jpsim added the question label Dec 30, 2015
@artemsamoylov
Copy link
Author

@segiddins
My environment:
gem --version 2.4.6
ruby 2.0.0p643 (2015-02-25 revision 49749) [x86_64-darwin14.1.0]
rvm 1.26.11
Bundler version 1.10.6

@jpsim
Copy link
Collaborator

jpsim commented Apr 6, 2016

@artemsamoylov do you still need help with this?

@zwaldowski
Copy link
Contributor

This still seems to be the case. Checking out from Git has the symlinks, which cause this Rakefile to fail.

@jpsim
Copy link
Collaborator

jpsim commented Jun 10, 2016

@meleyal I see you made a PR in PSPDFKit-labs#1 which presumably resolved this. Have you had any issues since merging that in your fork? This is something we could consider doing here too.

@meleyal
Copy link
Contributor

meleyal commented Jun 10, 2016

@jpsim no issues so far, I'd be happy to submit a PR for this.

@jpsim
Copy link
Collaborator

jpsim commented Jun 10, 2016

Yes please!

@meleyal
Copy link
Contributor

meleyal commented Jun 14, 2016

PR #595

meleyal added a commit to PSPDFKit-labs/jazzy that referenced this issue Jun 15, 2016
@jpsim jpsim closed this as completed in 8b88e33 Jun 15, 2016
@pigeondotdev pigeondotdev modified the milestones: The Past, Before November 23rd, 2016 Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants