我的宝石出了点问题

时间:2017-09-26 17:27:26

标签: ruby linux ruby-on-rails-3 rubygems

每次我运行gem install something,我都会

Successfully installed bundle-0.0.1
ERROR:  While executing gem ... (NoMethodError)
    undefined method `source_paths' for #<Gem::Specification:0x6ab2aec bundle-0.0.1>

我尝试重新安装gem,尝试重新安装bundle / bundler - 没有帮助。当我尝试rails new blog时,我得到了

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

In Gemfile:
  sqlite3
         run  bundle exec spring binstub --all
Could not find gem 'sqlite3' in any of the gem sources listed in your Gemfile.

我该怎么做才能解决这个问题?

0 个答案:

没有答案