Rails控制台,指向编码没有错误

时间:2013-05-09 20:52:36

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

每当我启动rails控制台时,我都会收到此消息。它不会影响任何东西,但我希望我能摆脱它

From: /Users/me/.rvm/gems/jruby-1.7.0@global/bundler/gems/mongoid_optimistic_locking-f9a685139364/mongoid_optimistic_locking.gemspec @ line 1 :

 => 1: # -*- encoding: utf-8 -*-
    2: $:.push File.expand_path("../lib", __FILE__)
    3: require "mongoid/optimistic_locking/version"
    4:
    5: Gem::Specification.new do |s|
    6:   s.name        = "mongoid_optimistic_locking"
[4] pry(main)>

这就是propmt之前的所有内容。如果有人知道为什么会这样,我会很高兴。

0 个答案:

没有答案