简体   繁体   English

堆栈级别太深错误

[英]stack level deep too error

I have installed Ruby 1.9.2 with RVM on my system. 我已经在系统上安装了带有RVM的Ruby 1.9.2。 When I am trying to start the rails server I am getting the following error: 当我尝试启动Rails服务器时,出现以下错误:

/Desktop/projects/mod/feedback$ ./script/server 

internal:lib/rubygems/custom_require:29: stack level too deep (SystemStackError)

It works perfectly with ruby 1.8.7. 它与ruby 1.8.7完美搭配。

Thanks for your response. 感谢您的答复。 I got the solution for the above issue. 我得到了上述问题的解决方案。 Updating my system gem to 1.8.25 would fix my issue. 将我的系统gem更新到1.8.25将解决我的问题。

  gem update --system 1.8.25

The error caused because of your session have less data store length. 由于会话导致的错误具有较少的数据存储长度。

If you are using MySQL then just change the column name data(varchar) to data(longtext) inside session table. 如果您使用的是MySQL,则只需将会话表中的列名data(varchar)更改为data(longtext)。

This change was solve my problem. 这项更改解决了我的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM