Ruby: uninitialized constant Config (NameError)

3k Views Asked by At

i've tried to install missing gem

$> bundle install

and got error because of installing below gem

sudo gem install bluecloth -v '2.1.0'

--ruby=/Users/raksa/.rvm/rubies/ruby-2.3.0/bin/ $(RUBY_BASE_NAME) extconf.rb:7:in `main': uninitialized constant Config (NameError) Did you mean? RbConfig CONFIG

extconf failed, exit code 1

is anyone know how to fix this?

1

There are 1 best solutions below

0
Sachin Singh On

please try installing latest version of gem by doing

gem install bluecloth

or update the Gemfile with

gem 'bluecloth', '~> 2.2'