Quantcast
Viewing latest article 7
Browse Latest Browse All 14

Silver Bullet solution to issues with Rails, Ruby Gems

I have been using Ruby version 1.9.2 with Rails 3.2.1 and this is setup with RVM.

From time to time I have been facing issues for example I was getting following errors but at different point in time:

  • /json/common.rb:66: [BUG] unknown type 0x22 (0xc given)
  • /rails_generator/options.rb:32:in `default_options': undefined method `write_inheritable_attribute' for Rails::Generator::Base:Class (NoMethodError)

And both the times this little command came to my rescue:

gem pristine –all


Viewing latest article 7
Browse Latest Browse All 14

Trending Articles