How to install Ruby on Rails with mysql and get it working, a step by step guide?

后端 未结 4 1302
青春惊慌失措
青春惊慌失措 2020-12-09 00:46

Some time ago I managed to get RoR working on Windows XP. I\'ve been trying to get it working on Windows 7 for 2 days but there\'s just no way, there\'s always a problem, on

相关标签:
4条回答
  • 2020-12-09 00:59

    I like Aptana Studio 3 for developping with RoR on Windows 7. The book "Agile Web Development with Rails" is also full of good advices.

    Here are the steps I followed:

    1- Installing Ruby via RubyInstaller

    2- Install MySQL (follow @Reuben Mallaby instructions)

    3- Install Rails

    With the Built-in Terminal, make dev' easy. You should take a look: Aptana Studio

    0 讨论(0)
  • 2020-12-09 01:02

    To setup Rails on windows, just download and click:

    http://railsinstaller.org/

    0 讨论(0)
  • 2020-12-09 01:06

    Take a look at http://rubyinstaller.org/ it should get you up and running.

    0 讨论(0)
  • 2020-12-09 01:11

    This is basically what I do to install on Windows 7:

    • Download and install latest mysql from http://dev.mysql.com/downloads/mysql/
    • Install Ruby http://rubyinstaller.org/downloads/ (check the box to update PATH)
    • Install Ruby Devkit http://rubyinstaller.org/downloads/ (for example extract to C:\DevKit)
    • Setup Devkit

      cd [MY_DEVKIT_INSTALL_DIR]

      ruby dk.rb init

      ruby dk.rb install

    • Copy libmysql.dll from your mysql/bin install to C:\Ruby192\bin

      gem install rails

      gem install mysql2 -v 0.2.6

      rails new my_test_app -d mysql

    0 讨论(0)
提交回复
热议问题