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

multiple notes from installation #1

Open
arsenyspb opened this issue Jun 23, 2017 · 5 comments
Open

multiple notes from installation #1

arsenyspb opened this issue Jun 23, 2017 · 5 comments

Comments

@arsenyspb
Copy link

ERROR: Your bundle is locked to json (1.8.1), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of json
(1.8.1) has removed it. You'll need to update your bundle to a different version of json (1.8.1) that hasn't been removed in order to install.

solution is to:

gem install json -v '1.8.1'

@arsenyspb
Copy link
Author

ERROR: Retrying git clone '[email protected]:muness/tripit_api.git' "/Library/Ruby/Gems/2.0.0/cache/bundler/git/tripit_api-1b5045c85a5af410b8f4cf44379b0d1d06e51e46" --bare --no-hardlinks --quiet due to error (4/4): Bundler::Source::Git::GitCommandError Git error: command git clone '[email protected]:muness/tripit_api.git' "/Library/Ruby/Gems/2.0.0/cache/bundler/git/tripit_api-1b5045c85a5af410b8f4cf44379b0d1d06e51e46" --bare --no-hardlinks --quiet in directory ........ has failed.

solution is to:

vi Gemfile
gem 'tripit', :git => '[email protected]:muness/tripit_api.git', :ref => '71d7b48'
change to:
gem 'tripit', :git => 'https://[email protected]/muness/tripit_api.git', :ref => '71d7b48'

@arsenyspb
Copy link
Author

ERROR: Your bundle is locked to mini_portile (0.5.3), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author
of mini_portile (0.5.3) has removed it. You'll need to update your bundle to a different version of mini_portile (0.5.3) that hasn't been removed in order to install.

solution is to:

gem install mini_portile -v '0.5.3'

@arsenyspb
Copy link
Author

ERROR: Your Gemfile has no gem server sources. If you need gems that are not already on your machine, add a line like this to your Gemfile:
source 'https://rubygems.org'
Could not find nokogiri-1.6.2.rc2 in any of the sources

solution is to:

vi Gemfile
add top line:
source 'https://rubygems.org'

@arsenyspb
Copy link
Author

ERROR: Building nokogiri using system libraries.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory: .............-krwsdf.rb extconf.rb --use-system-libraries

Building nokogiri using system libraries.
libxml2 version 2.6.21 or later is required!
*** extconf.rb failed ***

solution is:
brew install libxml2 bundle config build.nokogiri "--use-system-libraries --with-xml2 include=/usr/local/opt/libxml2/include/libxml2" bundle install

@arsenyspb arsenyspb changed the title bundle is locked to json (1.8.1) multiple notes from installation Jun 23, 2017
@fharper
Copy link

fharper commented Jul 29, 2018

You need to delete the Gemfile.lock file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants