rubi 启动服务器的时候报错 - V2EX
amrxjks

rubi 启动服务器的时候报错

  •  
  •   amrxjks Dec 11, 2015 4220 views
    This topic created in 3806 days ago, the information mentioned may be changed or developed.

    C:\eduplatform>ruby -v
    ruby 2.0.0p598 (2014-11-13) [i386-mingw32]

    C:\eduplatform>sqlite3 --version
    3.8.7.2 2014-11-18 20:57:56 2ab564bf9655b7c7b97ab85cafc8a48329b27f93

    C:\eduplatformgt;rails --version
    Rails 4.0.1

    C:\eduplatform>rails server
    C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-4.0.1/lib/act
    ive_support/dependencies.rb:229:in require': cannot load such file -- 2.0/Conso
    le_ext (LoadError)
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
    4.0.1/lib/active_support/dependencies.rb:229:in
    block in require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
    4.0.1/lib/active_support/dependencies.rb:214:in load_dependency'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
    4.0.1/lib/active_support/dependencies.rb:229:in
    require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/win32console-1
    .3.2-x86-mingw32/lib/Win32/Console.rb:12:in rescue in <top (required)>'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/win32console-1
    .3.2-x86-mingw32/lib/Win32/Console.rb:8:in
    <top (required)>'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
    4.0.1/lib/active_support/dependencies.rb:229:in require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
    4.0.1/lib/active_support/dependencies.rb:229:in
    block in require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
    4.0.1/lib/active_support/dependencies.rb:214:in load_dependency'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
    4.0.1/lib/active_support/dependencies.rb:229:in
    require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/win32console-1
    .3.2-x86-mingw32/lib/Win32/Console/ANSI.rb:13:in <top (required)>'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
    4.0.1/lib/active_support/dependencies.rb:229:in
    require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
    4.0.1/lib/active_support/dependencies.rb:229:in block in require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
    4.0.1/lib/active_support/dependencies.rb:214:in
    load_dependency'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/activesupport-
    4.0.1/lib/active_support/dependencies.rb:229:in require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/win32console-1
    .3.2-x86-mingw32/lib/win32console.rb:1:in
    <top (required)>'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/bundler-1.7.7/
    lib/bundler/runtime.rb:76:in require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/bundler-1.7.7/
    lib/bundler/runtime.rb:76:in
    block (2 levels) in require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/bundler-1.7.7/
    lib/bundler/runtime.rb:72:in each'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/bundler-1.7.7/
    lib/bundler/runtime.rb:72:in
    block in require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/bundler-1.7.7/
    lib/bundler/runtime.rb:61:in each'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/bundler-1.7.7/
    lib/bundler/runtime.rb:61:in
    require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/bundler-1.7.7/
    lib/bundler.rb:133:in require'
    from C:/eduplatform/config/application.rb:14:in
    <top (required)>'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.0.1
    /lib/rails/commands.rb:74:in require'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.0.1
    /lib/rails/commands.rb:74:in
    block in <top (required)>'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.0.1
    /lib/rails/commands.rb:71:in tap'
    from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/railties-4.0.1
    /lib/rails/commands.rb:71:in
    <top (required)>'
    from bin/rails:4:in require'
    from bin/rails:4:in
    <main>'

    10 replies    2015-12-11 14:21:11 +08:00
    kikyous
        1
    kikyous  
       Dec 11, 2015
    用 vagrant 吧
    amrxjks
        2
    amrxjks  
    OP
       Dec 11, 2015
    @kikyous 已经做完的项目,不能换
    chaucerling
        3
    chaucerling  
       Dec 11, 2015
    answeryou
        4
    answeryou  
       Dec 11, 2015
    what is rubi ?
    lujiajing1126
        5
    lujiajing1126  
       Dec 11, 2015
    windows 出问题就别问了。。
    amrxjks
        6
    amrxjks  
    OP
       Dec 11, 2015
    @answeryou my bad
    amrxjks
        7
    amrxjks  
    OP
       Dec 11, 2015
    @chaucerling 我这是后期维护,原来就是用的 win32Console ,所以我不能随便换掉
    amrxjks
        8
    amrxjks  
    OP
       Dec 11, 2015
    @lujiajing1126 为什么?这个本来就已经运行在 windows 上的,我做维护需要另行搭建
    dorentus
        9
    dorentus  
       Dec 11, 2015
    @amrxjks https://github.com/luislavena/win32console 已经不再维护,去掉它应该不会影响你的 rails 项目的核心功能才对……

    另外,命令最好用 bundle exec rails server 吧
    wate
        10
    wate  
       Dec 11, 2015
    rubi 是什么?我不懂
    About     Help     Advertise     Blog     API     FAQ     Solana     991 Online   Highest 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 63ms UTC 22:23 PVG 06:23 LAX 15:23 JFK 18:23
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86