Invalid gemspec ruby color box

77 views Asked by At
mustdos@antix1:~
$ rails new demo
Invalid gemspec in [/usr/share/rubygems-integration/all/specifications/rails-assets-colorbox.gemspec]: stack level too deep
Traceback (most recent call last):
    5: from /usr/local/bin/rails:23:in `<main>'
    4: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in `activate_bin_path'
    3: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in `synchronize'
    2: from /usr/lib/ruby/vendor_ruby/rubygems.rb:303:in `block in activate_bin_path'
    1: from /usr/lib/ruby/vendor_ruby/rubygems.rb:236:in `finish_resolve'
/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:167:in `require': CRITICAL: RUBYGEMS_ACTIVATION_MONITOR.owned?: before false -> after true (RuntimeError)

How do I fix this issue?

was following this: tutorialspoint.com/ruby-on-rails/ruby-on-rails-tutorial.pdf and accidentally installed ruby and ruby-* before rbenv. Should I just clean=up and start over?

0

There are 0 answers