2012-05-09 54 views
3

我一直在運行Rails 3.2.3一切運行良好。昨晚我做了一個軟件包更新來更新我的Gemfile中的所有東西,這裏是更新日誌。捆綁更新然後鏈輪扔filenotfound錯誤軌3.2.3 ruby​​1.9.3p194

Updating git://github.com/stefants/negative-captcha.git 
Fetching gem metadata from http://rubygems.org/...... 
Fetching gem metadata from http://rubygems.org/.. 
Using rake (0.9.2.2) 
Using i18n (0.6.0) 
Installing multi_json (1.3.4) 
Using activesupport (3.2.3) 
Using builder (3.0.0) 
Using activemodel (3.2.3) 
Using erubis (2.7.0) 
Using journey (1.0.3) 
Using rack (1.4.1) 
Using rack-cache (1.2) 
Using rack-test (0.6.1) 
Using hike (1.2.1) 
Using tilt (1.3.3) 
Installing sprockets (2.1.3) 
Using actionpack (3.2.3) 
Using mime-types (1.18) 
Using polyglot (0.3.3) 
Using treetop (1.4.10) 
Using mail (2.4.4) 
Using actionmailer (3.2.3) 
Using arel (3.0.2) 
Installing tzinfo (0.3.33) 
Using activerecord (3.2.3) 
Using activeresource (3.2.3) 
Installing addressable (2.2.8) 
Using bundler (1.1.3) 
Using rack-ssl (1.3.2) 
Installing json (1.7.1) with native extensions 
Using rdoc (3.12) 
Using thor (0.14.6) 
Using railties (3.2.3) 
Using rails (3.2.3) 
Using awesome_nested_fields (0.6.0) 
Using xml-simple (1.1.1) 
Using aws-s3 (0.6.2) 
Using bcrypt-ruby (3.0.1) 
Installing bson (1.6.2) 
Installing bson_ext (1.6.2) with native extensions 
Installing business_time (0.6.1) 
Using cancan (1.6.7) 
Installing carrierwave (0.6.2) 
Installing mongo (1.6.2) 
Installing mongoid (2.4.9) 
Installing carrierwave-mongoid (0.2.0) 
Using chronic (0.6.7) 
Installing cocoon (1.0.20) 
Installing coderay (1.0.6) 
Installing coffee-script-source (1.3.1) 
Installing execjs (1.3.2) 
Using coffee-script (2.2.0) 
Using coffee-rails (3.2.2) 
Using coffeebeans (1.0.1) 
Using datejs-rails (1.1.0) 
Installing delayed_job (3.0.2) 
Using delayed_job_mongoid (1.0.8) 
Using orm_adapter (0.0.7) 
Using warden (1.1.1) 
Using devise (2.0.4) 
Using ejs (1.0.0) 
Using eventmachine (0.12.10) 
Using em-websocket (0.3.6) 
Installing excon (0.13.4) 
Using faker (1.0.1) 
Using multipart-post (1.1.5) 
Using faraday (0.7.6) 
Using ffi (1.0.11) 
Using formatador (0.2.1) 
Using net-ssh (2.3.0) 
Using net-scp (1.0.4) 
Using nokogiri (1.5.2) 
Using ruby-hmac (0.4.0) 
Using fog (1.3.1) 
Using git (1.2.5) 
Using term-ansicolor (1.0.7) 
Installing grizzled-rails-logger (0.1.3) 
Using rb-appscript (0.6.1) 
Using growl_notify (0.0.3) 
Installing guard (1.0.2) 
Using guard-livereload (0.4.2) 
Using hirb (0.6.2) 
Using humane-rails (2.8.0.0.1.2) 
Using jeweler (1.8.3) 
Installing jquery-rails (2.0.2) 
Installing jquery-ui-rails (0.4.0) 
Using kaminari (0.13.0) 
Using knockout-rails (1.0.1) 
Using method_source (0.7.1) 
Using momentjs-rails (1.5.0) 
Using mongoid-data_table (1.3.3) 
Using mongoid-eager-loading (0.3.1) 
Using negative-captcha (0.1.0) from git://github.com/stefants/negative-captcha.git (at master) 
Using nifty-generators (0.4.6) 
Installing oauth (0.4.6) 
Using oauth2 (0.5.2) 
Using typhoeus (0.3.3) 
Using panda (1.5.0) 
Using slop (2.4.4) 
Installing pry (0.9.9.4) 
Using pry-rails (0.1.6) 
Installing rails-backbone (0.7.2) 
Using rb-fchange (0.0.5) 
Installing rb-fsevent (0.9.1) 
Using rb-inotify (0.8.8) 
Using rest-client (1.6.7) 
Installing sass (3.1.17) 
Using sass-rails (3.2.5) 
Installing simple_form (2.0.2) 
Installing simple_oauth (0.1.7) 
Using stripe (1.6.3) 
Installing stylus-source (0.26.0) 
Installing stylus (0.5.1) 
Using uglifier (1.2.4) 
Using underscore-rails (1.3.1) 
Using webshims-rails (0.1) 
Using wirble (0.1.3) 
Using youtube_it (2.1.4) 
Using zero-clipboard-rails (1.0.1) 
Your bundle is updated! Use `bundle show [gemname]` to see where a bundled gem is installed. 

然後我重新啓動服務器,現在鏈輪:: FileNotFound錯誤拋出在我SASS文件中的某些@import「file.css」行。

我做了一些關於鏈輪寶石的研究,我發現目前的版本是2.4.2。但是我的軟件包更新將鏈輪更新爲2.1.3。 Rails應用程序也是這樣的嗎?Rails使用的鏈接是Github的幾個版本? - 我該如何處理這個Sprockets :: FileNotFound問題?

附加:我剛纔也看到gemfile.lock中的鏈輪版本是2.1.2。但捆綁顯示鏈輪說2.1.3。

謝謝

回答

3

嘗試刪除Gemfile.lock(先備份),並再次

運行 bundle install