vendredi 4 novembre 2016

An error occurred while installing byebug (2.7.0), and Bundler cannot continue

I am getting following error when i am doing bundle install or bundle udpate

An error occurred while installing byebug (2.7.0), and Bundler cannot
continue.
Make sure that `gem install byebug -v '2.7.0'` succeeds before bundling.

If i do sudo gem install byebug -v '2.7.0' i get

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

and then if i do bundle install or bundle udpate i get same error.

I tried removing byebug from gem file but then if i try to go to console, i get

bin/console:6:in `require': cannot load such file -- byebug (LoadError)
    from bin/console:6:in `<main>'

here's the gemfile

gem 'roll_out'
gem 'roll_out-jira'
gem 'philter', '~> 1.11.0'

# Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'pry-byebug'
# An IRB alternative and runtime developer console
gem 'pry', '~> 0.9.12'
# Walk the stack in a Pry session
gem 'pry-stack_explorer', '~> 0.4.9'
# Simple, feature rich ascii table generation library
gem 'terminal-table', '~> 1.5', '>= 1.5.2'
# Great Ruby dubugging companion: pretty print Ruby objects to visualize their structure.
# Supports custom object formatting via plugins
gem 'awesome_print', '~> 1.6', '>= 1.6.1'

# BDD for Ruby
gem 'rspec', '~> 3.1.0'
# Code coverage for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across test suites
gem 'simplecov', '~> 0.7.1'
# factory_girl provides a framework and DSL for defining and using factories - less error-prone,
# more explicit, and all-around easier to work with than fixtures.
gem 'factory_girl', '~> 4.0'
# Faker, a port of Data::Faker from Perl, is used to easily generate fake data: names, addresses, phone numbers, etc.
gem 'faker', '~> 1.6', '>= 1.6.6'
#gem 'wellness_client'

Aucun commentaire:

Enregistrer un commentaire