How to install Ruby 1 9 3

Updated on technology 2024-02-08
3 answers
  1. Anonymous users2024-02-05

    Installation process:1When installing Ruby, it prompts you whether to add Ruby to the environment variables during the installation process, and you are all hooked.

    2.Unpack. Put the unzipped everything into the bin directory of the Ruby installation directory.

    3.Open cmd and run the following command:

    gem sources -l

    Go to d:uby-dev-tools and run the following command.

    ruby init

    ruby review

    ruby install

    gem install sqlite3

    5.To install rails, run the gem install rails under cmd

    6.Create a simple demo app:

    Start by creating your own working directory, e.g. :d:ruby works, and then go to cd d:

    Ruby Works, command line type: rails new demo --skip-bundle, wait a moment to finish, go to the demo directory, find the gemfile file, open it, and change the first line: source'

    Change the parameter to cmd to the demo directory and run the bundle install command

    7.Run the app.

    In the demo directory, enter rails server from the command line

  2. Anonymous users2024-02-04

    It is recommended to use RVM to manage and install Ruby under Linux

  3. Anonymous users2024-02-03

    The following sections provide basic information on how to install Ruby and RubyGems on Windows and various Linux computers.

    windows

    ** and the Ruby installer for Windows. Rubygems is already included in the installer. Be sure to use a Ruby-enabled command prompt window when you install and use VMC subsequently.

    You can access this command prompt from the Windows Start menu (All Programs> Ruby Versions > Launch Command Prompt with Ruby). Finally, update RubyGems via the following Ruby command prompt: prompt> gem update --system

    Support for Windows Gemfiles.

    After installing Ruby, read the instructions in the Ruby application on Cloud Foundry for more information about pushing applications and using gemfiles Windows users need to be aware of the following issues:

    When you build on a Windows machine, it contains a Windows-specific version of the gem. Mysql2, Thin, and PG versions include the "x86-mingw32" slip at the end. For example, when running Bundle Install with the following gemfile on a Windows machine:

    gem ‘sinatra’ gem ‘mysql2’ gem ‘json’

    The following file will be generated: gem

Related questions
15 answers2024-02-08

You install the old CPU again and try it, if it can start normally, it may be caused by your CPU and the motherboard is not compatible, or it may be caused by the fact that you did not install it when you installed it, if it can't start normally, it means that you have touched other hardware, such as memory modules, loose display ports, etc., check it well, be careful, you can find me if you have any problems.

3 answers2024-02-08

WordPress powerful plugin function is one of its major features, many novice friends still don't know how to install WordPress plugins, the following take the plugin Baidu Sitemap Generator as an example, for you to introduce how to install WordPress plugins. >>>More

5 answers2024-02-08

Installation quota 12 volume 7 chapter 1 section of the solar power supply part check which quota set, installation quota book 2 electrical equipment installation does not have photovoltaic related quota subheading.

5 answers2024-02-08

Author: MW HDS - Probationary Period Level 1 Don't talk nonsense!! An installation disk is nothing more than ***5 (the Blu-ray can't be that big). >>>More

9 answers2024-02-08

1. Connect through the network cable or wireless connection, enter the address in the address bar below, and the general initial address is; >>>More