gem install compass-rails
[/home/shanks/.rvm/gems/ruby-1.9.3-p194/specifications/compass-rails-1.0.3.gemspec] isn't a Gem::Specification (NilClass instead). [/home/shanks/.rvm/gems/ruby-1.9.3-p194/specifications/compass-rails-1.0.3.gemspec] isn't a Gem::Specification (NilClass instead). ERROR: While executing gem ... (NoMethodError) undefined method `spec' for nil:NilClass
Try to remove these files, using
rm /home/shanks/.rvm/gems/ruby-1.9.3-p194/specifications/compass-rails-1.0.3.gemspec
rm /home/shanks/.rvm/gems/ruby-1.9.3-p194/specifications/compass-rails-1.0.3.gemspec
And then try using your command. This worked when I had such issue.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.