简体   繁体   English

Ruby on Rails应用程序无法启动

[英]Ruby on Rails application could not be started

As you can see at https://ssl.virtualweb.at/redmine/ i try to get Redmine up & running. 正如您在https://ssl.virtualweb.at/redmine/上看到的那样,我尝试让Redmine启动并运行。

At the start i got this error: undefined method `mattr_accessor' for ActiveSupport::Deprecation:Module 在开始时我得到了这个错误:ActiveSupport的未定义方法`mattr_accessor':: Deprecation:Module

Could someone be so nice an give some tipps how to get it to run? 有人可以这么好,给一些tipps如何让它运行?

tia TIA

Can you give us a little more information? 你能给我们一些信息吗? For example - can you go and look at the logs and find the full backtrace of the error that is occurring? 例如 - 您可以查看日志并查找正在发生的错误的完整回溯吗? Otherwise we don't know where the error is occurring. 否则我们不知道错误发生在哪里。 Then we can narrow it down a bit better 然后我们可以把它缩小一点

My best guess atm, though, is that you have the wrong version of ruby or rails or rake (or something similarly important). 不过,我最好的猜测是你有错误版本的ruby或rails或rake(或类似的东西)。 mattr_acessor is a fundamental method in ruby - so I'd start by reading the redmine docs to see what version of ruby you need. mattr_acessor是ruby中的一个基本方法 - 所以我首先阅读redmine文档,看看你需要什么版本的ruby。

Then go check if you've got that version installed... repeat with rails, required gems etc. 然后去检查你是否安装了那个版本......重复使用rails,需要宝石等。

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

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