-
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
-
It is recommended to use RVM to manage and install Ruby under Linux
-
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
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.
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
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.
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
1. Connect through the network cable or wireless connection, enter the address in the address bar below, and the general initial address is; >>>More