Ruby On Rails 3 and Webrick issue

后端 未结 5 713
余生分开走
余生分开走 2020-12-20 03:26

Thanks for taking a look at this.

I started a beginner\'s tutorial on RoR through lynda.com. I followed the instructions to the letter. Everything was working so far

5条回答
  •  [愿得一人]
    2020-12-20 03:52

    Correct way that worked for me was:

    cd ~ [command]

    nano .bash_profile [command]

    add this line of code:

    export DYLD_LIBRARY_PATH="/usr/local/mysql/lib:$DYLD_LIBRARY_PATH"

    ctrl+x [save]

    y [yes]

    cd Sites/sitename/ [command]

    rails server [run WEBrick server]

    and you should get this message:

    => Booting WEBrick
    => Rails 3.2.11 application starting in development on localhost:3000
    => Call with -d to detach

提交回复
热议问题