• source 'https://rubygems.org'
    
    # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
    gem 'rails', '4.0.0'
    
    # Use mysql as the database for Active Record
    #gem 'mysql2'
    gem 'sqlite3'
    
    # Use SCSS for stylesheets
    gem 'sass-rails', '~> 4.0.0'
    gem 'sass', '>=3.3.13'
    
    # Use Uglifier as compressor for JavaScript assets
    gem 'uglifier', '>= 1.3.0'
    
    # Use CoffeeScript for .js.coffee assets and views
    gem 'coffee-rails', '~> 4.0.0'
    
    # See https://github.com/sstephenson/execjs#readme for more supported runtimes
    # gem 'therubyracer', platforms: :ruby
    
    # Use jquery as the JavaScript library
    gem 'jquery-rails'
    gem 'devise', '3.5.10'
    gem "seo_helper", "~> 1.0"
    gem "open_graph_helper"
    
    gem "rmagick"
    gem "carrierwave"
    gem "carrierwave-meta"
    
    gem "settingslogic"
    
    gem "anjlab-bootstrap-rails", ">= 2.2.2", :require => "bootstrap-rails"
    gem "bootstrap_helper", ">= 4.2.2.1"
    gem "simple_form", "~> 3.0.0.beta1"
    gem "will_paginate", "3.0.3"
    
    gem "high_voltage"
    
    gem "airbrake"
    
    gem "rvm-capistrano"
    
    gem "omniauth"
    gem "omniauth-facebook"
    gem "auto-facebook", '0.4'
    
    
    gem "hipchat"
    
    # Cache
    gem "dalli"
    
    group :assets do
      gem "compass-rails", '3.0.2'
    end
    
    group :development do
      gem "capistrano"
      gem "capistrano-ext"
      gem "cape"
      gem "binding_of_caller"
      gem "better_errors"
      gem "magic_encoding"
      gem "annotate"
      gem "powder"
      gem "pry-nav"
      gem "pry-remote"
    end
    
    
    
    # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
    gem 'turbolinks'
    
    # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
    gem 'jbuilder', '~> 1.0.1'
    
    group :doc do
      # bundle exec rake doc:rails generates the API under doc/api.
      gem 'sdoc', require: false
    end
    
    # Use ActiveModel has_secure_password
    # gem 'bcrypt-ruby', '~> 3.0.0'
    
    # Use unicorn as the app server
    # gem 'unicorn'
    
    # Use Capistrano for deployment
    # gem 'capistrano', group: :development
    
    # Use debugger
    # gem 'debugger', group: [:development, :test]
    
    
  • 我修改了 gem 'sass-rails', '~> 4.0.0.rc1' 为 gem 'sass-rails', '~> 4.0.0', 重新bundle install,rails s。 刷 新页面还是这个问题。有哪里不对吗?

  • 还是114.114.114.114的DNS好用呀。

  • 我ping了一下Google DNS

    8.8.8.8 8.8.4.4 OpenDNS

    208.67.222.222 208.67.220.220 延时都在120ms以上,大家有什么优化的办法吗?

  • 我这里是沈阳的联通,在单位就不行,回家也是联通,效果就挺好。可能是DNS的问题吧。

  • @falm 非常感谢!非常感谢 !这个gem太牛了,速度ms级。

  • 我没有调试明白,还是听从你的建议,用gem吧。不过,弱弱的问一句,将复杂多维的excel表格转换至数据库中,成为结构化的数据表,有没有更高效更简便的gem。嘻嘻。。。。。

  • 非常感谢!非常感谢 !

  • 还有,这些语法的说明在哪里能够查到?我打开指南与api文档,无从下手呀。

  • 非常感谢,老问题都解决了,但我比较笨,新问题出现了。我输入room字段的值,有返回结果,但是输入其他列中的关键词,就没有返回空值。例如:网络,141等。