“未初始化的常量 ActionPack”当启动轨道时
启动 Rails 服务器时,我收到“未初始化常量 ActionPack”错误。
我
在运行“bundle list”的rails 2.3.8中使用错误显示:
* actionmailer (2.3.8)
* actionpack (2.3.8)
* activerecord (2.3.8)
* activeresource (2.3.8)
* activesupport (2.3.8)
* acts-as-taggable-on (2.0.6)
* authlogic (2.1.5)
* builder (2.1.2)
* cucumber (0.7.3)
* cucumber-rails (0.3.1)
* database_cleaner (0.5.2)
* diff-lcs (1.1.2)
* faker (0.3.1)
* gherkin (1.0.30)
* haml (3.0.7)
* hoe (2.6.0)
* json_pure (1.4.3)
* machinist (1.0.6)
* nifty-generators (0.4.0)
* nokogiri (1.4.2)
* rack (1.1.0)
* rack-test (0.5.4)
* rails (2.3.8)
* rake (0.8.7)
* rr (0.10.11)
* rspec (1.3.0)
* rspec-rails (1.3.2)
* rubyforge (2.0.4)
* sqlite3-ruby (1.2.5)
* term-ansicolor (1.0.5)
* test-unit (1.2.3)
* trollop (1.16.2)
* webrat (0.7.1)
任何想法这是怎么回事?
When starting my rails server I'm getting an 'uninitialized constant ActionPack' error.
I'm using blunder with rails 2.3.8
running 'bundle list' shows:
* actionmailer (2.3.8)
* actionpack (2.3.8)
* activerecord (2.3.8)
* activeresource (2.3.8)
* activesupport (2.3.8)
* acts-as-taggable-on (2.0.6)
* authlogic (2.1.5)
* builder (2.1.2)
* cucumber (0.7.3)
* cucumber-rails (0.3.1)
* database_cleaner (0.5.2)
* diff-lcs (1.1.2)
* faker (0.3.1)
* gherkin (1.0.30)
* haml (3.0.7)
* hoe (2.6.0)
* json_pure (1.4.3)
* machinist (1.0.6)
* nifty-generators (0.4.0)
* nokogiri (1.4.2)
* rack (1.1.0)
* rack-test (0.5.4)
* rails (2.3.8)
* rake (0.8.7)
* rr (0.10.11)
* rspec (1.3.0)
* rspec-rails (1.3.2)
* rubyforge (2.0.4)
* sqlite3-ruby (1.2.5)
* term-ansicolor (1.0.5)
* test-unit (1.2.3)
* trollop (1.16.2)
* webrat (0.7.1)
Any idea what's going on here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是 Haml 3.0.7 中的一个错误。你可以看到它 http://github.com/nex3/haml/issues#issue/ 186
因此,您可以添加到您的捆绑程序中:
或者您可以等待 Haml 的下一个版本。
更新:下一个版本现已发布,即 3.0.8。就可以解决这个问题了
it's a bug in Haml 3.0.7. You can see it http://github.com/nex3/haml/issues#issue/186
So you can add in your bundler :
Or you can wait the next release of Haml.
Update: The next release is now out, it's the 3.0.8. It's fix this problem.