Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails 在OSX 10.9 Mavericks Bug崩溃报告上运行Rails s应用程序时出错_Ruby On Rails_Macos_Terminal_Ruby On Rails 4_Osx Mavericks - Fatal编程技术网

Ruby on rails 在OSX 10.9 Mavericks Bug崩溃报告上运行Rails s应用程序时出错

Ruby on rails 在OSX 10.9 Mavericks Bug崩溃报告上运行Rails s应用程序时出错,ruby-on-rails,macos,terminal,ruby-on-rails-4,osx-mavericks,Ruby On Rails,Macos,Terminal,Ruby On Rails 4,Osx Mavericks,在OSX Mavericks中运行Rails 4 创建了一个新的目录“code”,名为rails new app,名为rails s,一切都很好,然后我cd app尝试了rails s,结果发生了故障: evans-air:code evanewing$ cd app evans-air:app evanewing$ rails s /Users/evanewing/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/ext/parser.b

在OSX Mavericks中运行Rails 4

创建了一个新的目录“code”,名为
rails new app
,名为
rails s
,一切都很好,然后我
cd app
尝试了
rails s
,结果发生了故障:

evans-air:code evanewing$ cd app

evans-air:app evanewing$ rails s

/Users/evanewing/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/ext/parser.bundle: [BUG] Segmentation fault
ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin13.0.0]

-- Crash Report log information --------------------------------------------

   See Crash Report log file under the one of following:

     * ~/Library/Logs/CrashReporter
     * /Library/Logs/CrashReporter
     * ~/Library/Logs/DiagnosticReports
     * /Library/Logs/DiagnosticReports
   the more detail of.

-- Control frame information -----------------------------------------------

c:0033 p:-17542664622486 s:0098 e:000097 TOP    [FINISH]

c:0032 p:---- s:0096 e:000095 CFUNC  :require
c:0031 p:0009 s:0092 e:000091 CLASS  /Users/evanewing/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/ext.rb:13
c:0030 p:0011 s:0090 e:000089 CLASS  /Users/evanewing/.rvm/gems/ruby-2.0.0-p247/gems/json-1.8.1/lib/json/ext.rb:12
下面是大约300行类似的代码…在底部:
您只能在rails应用程序的根目录中调用
rails s
,而不能在应用程序目录中调用。

您有没有想过?
-- C level backtrace information -------------------------------------------

-- Other runtime information -----------------------------------------------

* Loaded script: bin/rails

* Loaded features:

0 enumerator.so
1 /Users/evanewing/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin13.0.0/enc/encdb.bundle
2 /Users/evanewing/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/x86_64-darwin13.0.0/enc/trans/transdb.bundle

###

[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

Abort trap: 6