我是Ruby on Rails的新手,我仍然围绕着它的工作原理。如果这是一个简单的问题,请道歉,但是:
当我们提到在我的Gemfile中启用“therubyracer”gem时,我正在关注将我的Rails应用程序部署到EC2的教程。我一直无法让服务器在我的Gemfile中使用这个gem,所以我将其删除了,但它仍然在寻找它并在其上出错。
我的问题是为什么?它是否缓存在我需要清除的地方?我运行了“捆绑安装”和“捆绑更新”,他们都对我不利。当我尝试启动“rails server”
时也一样下面是从终端运行“rails server”时得到的输出。
/Users/chris/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/spec_set.rb:90:in `block in materialize': Could not find therubyracer-0.10.1 in any of the sources (Bundler::GemNotFound)
from /Users/chris/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/spec_set.rb:83:in `map!'
from /Users/chris/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/spec_set.rb:83:in `materialize'
from /Users/chris/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/definition.rb:127:in `specs'
from /Users/chris/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.5/lib/bundler/environment.rb:27:in `specs'
from /Users/chris/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/noexec.rb:41:in `candidate?'
from /Users/chris/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/noexec.rb:60:in `setup'
from /Users/chris/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-1.0.3/lib/rubygems-bundler/noexec.rb:75:in `<top (required)>'
from /Users/chris/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require'
from /Users/chris/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require'
from /Users/chris/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
from /Users/chris/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:9:in `<main>'
答案 0 :(得分:0)
好吧愚蠢地我发布了一个关于我正面临的确切问题的帖子。我很确定它的Twitter Bootstrap相关。