strange inability to require config/boot after upgrading to ruby 1.9.2

前端 未结 7 1483
孤独总比滥情好
孤独总比滥情好 2020-12-05 04:18

I upgraded my ruby to 1.9.2 and now when I try to start up a Rails 2.3.5 app with script/server I get this error:



        
相关标签:
7条回答
  • 2020-12-05 05:11

    I met the exact same problem as described. Ubuntu 10.04 x64, Eclipse Helio, AptanaStudion2 with RadRail, Ruby 1.9.2, Rails 2.3.5 this doesn't work for me:

    require File.expand_path('../../config/boot', __FILE__)
    

    This works for me

    require File.expand_path(__FILE__)+ '/../../config/boot'
    
    0 讨论(0)
提交回复
热议问题