), which contains the corresponding SSHKeys, where id_rsa.pub is the SSH public key file required by Github.Go to the c: \ Users \ User Name \. ssh \ directory and find id_rsa.pub (the location may not be correct, but make sure it is a file ending with. pub). Open and copy all the content in notepad.Note: It is recommended that the name of the private key should be "id_rsa", so that this file will be found when you connect to Github. If the file name is set, you can rename the file later.On the
I only have windows and MacOS, so I can only write the installation information for these two versions. All the steps below ensure that the installation is successful on the instance.
Windows version:
1. ruby installation, version 1.9.2-p0
:
Http://rubyforge.org/frs/download.php/72170/rubyinstaller-1.9.2-p0.exe
Reference page:
Http://rubyinstaller.org/downloads/
2. rails Installation
Gem install rails-no-rdoc --- no-ri
After my machine is installed, it will be rails3.0.3.
3. ruby-debug instal
, and all of the following are performed in this environment Ruby
A Rubyinstaller installation is required in the Windows environment. This article uses the Ruby2.2.3 version. After installation in terminal input
Ruby-v
If you can see the Ruby version later, the installation is successful Rubydevkit
Installing Devkit needs to be consistent with the Ruby version, with devkit-mingw64-64-4.7.2. When the downlo
; "SSH Public Keys"> "Add another ".Public key, paste the copied content into the key text box.In this way, you can directly use Git and GitHub.Note: It is recommended to enter "ssh-v git@github.com" in Git Bash to test normal connection to githubInstall the Ruby EnvironmentDownload RubyInstaller and DevKit..Install RubyInstaller first, and decompress DevKit (the path cannot contain Chinese characters ).In
sources--remove https://rubygems.org/$ gem sources-ahttp://ruby.taobao.org/(https://ruby.taobao.org/)$ gem sources-lTIPS: I run the gem update--system 3 directly. The website in (1) Download development KIT in order to install some of the rails native extensions, there must be an auxiliary toolkit, this is devkit on the Rubyinstaller official website to download the ruby version of Devkit extracted to a pa
, the pro-test error. Installation will take some time to wait.After you have installed the Shutdown manager, in the Open manager, enter SENCHA-V to show whether thisThe display is not the one that represents no installation.Then open the download package page, search directly in the search box, JRE and Ruby and Devkit, the installation method is to copy the corresponding command code, the command management system to paste the carriage return, he wil
If such an error occurs: Project Error:unknown module (s) in Qt:svg
There is a good chance that qmake version inconsistencies are the result.
Versions of Qmake, Qtcreator, Qtdesigner, and QT must be identical. Either QT4, or QT5, Qtcreator is the QT5-specific Core,ui compiler IDE, where UI editing calls Qtdesigner. QT4 and QT 5 are installed in my Linux. So the installation of the time there are some incompatible version of the problem, later the version one by one unified, the problem
installation and open the Command line tool to detect if Ruby is successfully installed
PS: Open command line tool is cmd (same as below)
Install DevKit
Choose the right system version, mine is Devkit-mingw64-64-4.7.2-20130224-1432-sfx.exe
Installed under the C:\RubyDevKit
Next, you need to initialize the Devkit and bind it to
After building the Ruby on Rails environment, running the bundle command in a new project encounters the following error:Workaround: Install DevkitTo rubyinstaller website download page Select the Devkit download for your system (here I downloaded the last one):When the download is complete, double-click devkit-mingw64-64-4.7.2-20130224-1432-sfx.exe:Set the extracted folder (for example, C:\
as Executable/empty project) and be sure to select Cross GCC in Toolchains, which is the CDT's support for the crossover environment, providing additional functionality to facilitate the development of embedded applications.
Click Next to the "Select Configurations" page, and we take the default, direct next step, to the "Cross GCC Command" setting. Here we can fill in the Cross compilation tool chain of the prefix and path, such as:
Cross compiler prefix:arm-arago-linux-gnueabi-
Cross compiler
narrative. Anyway, until I was writing this article, CSDN's account mailbox still hasn't changed.
Second, git blog preparation, and local Jekyll buildingGit page blog building is rich in online information, such as the establishment of personal sites via GitHub pages (detailed steps) Run Jekyll on Windows Jekyll Quick Start
3 of them are Jekyll's official tutorials. Windows platform Build Jekyll
Because I installed the Windows platform first, so did not follow the official tutorial directly, bu
Rubyrailsdevkitsqlite3 environment dependencies installed with railsinstaller have been installed now want to try mysqlC: windowssystem32 gt; railsnewE: rubykk10-dmysqlInstallingmysql2 (0.3.13) Gem: Installer: ExtensionBuildError: ERROR: warning. f: railsRailsInstalle... mysqlgemrailsrailsinstallerruby
Ruby rails devkit sqlite3 on which the environment installed with railsinstaller depends has been installedNow I want to try mysqlC: \ windows \
Under the C:\DevKit\octopress directoryExecute the following commandRake PreviewOpen your browserHttp://localhost:4000/Regenerate rake GenerateDeploy Rake DeployThe C:\DevKit\octopress_deploy can be directlyFiles uploaded to GitHub in the directoryNew MD TagRake new_post["title"]Generate File Path octopress\source_postsYou can also create an MD file directly under this directory and thenRake GenerateRake Pr
/nginx does not need any complicated steps. Apache uses rewrite and nginx considers proxy_pass to be complete.
C-language Regular Expression Library, which can be in libc or PCRE or oniguruma.
FastCGI can be written in C, their devkit has an example http://www.fastcgi.com/devkit/examples/authorizer.c
Http://hyperpolyglot.org/lisp LISP: Common LISP, scheme, clojure, emacs lisp dialect comparison!
Http
Cross-compiled libraries and Examples
Cross-compilation Library
. /Configure-Prefix =/home/jrtp/-host = arm-montavista-Linux cc =/opt/mv_pro_4.0.1/montavista/Pro/devkit/ARM/v5t_le/bin/arm_v5t_le-gcc cxx = /opt/mv_pro_4.0.1/montavista/Pro/devkit/ARM/v5t_le/bin/arm_v5t_le-g ++
Make
Make install
-Prefix =/home/jrtp/indicates the path to which the library and header files will be installed when make install is
/defaults/operating_system.rb: 9: in 'block in
Op (required)> ': The 'mysql2' native gem requires installed build tools. (Gem: InstallError)
Cause: Unable to install mysql2 because devkit is missing;
Solution: Go to 'HTTP: // rubyinstaller.org/downloads to download devkit, install the test according to the instructions of the http://github.com/oneclick/rubyinstaller/wiki/Development-Kit, and then execute i
and Mac is. bash_profile)
This file is read only when bash shell is executed in login mode. This file is only executed once! By default, it sets some environment variables.
Here: Set the terminal color,
Here: Set the command alias ll = 'LS-la'
Here: Set the environment variable: export PATH =/opt/local/bin:/opt/local/sbin: $ PATH
View and add PATH environment variables in linux
The PATH format is:
-------------------------------------------------------
PATH = $ PATH:
Add PATHEnvironment
: In Linux, It Is. bashrc and Mac is. bash_profile)
This file is read only when bash shell is executed in login mode. This file is only executed once! By default, it sets some environment variables.
Here: Set the terminal color,
Here: Set the command alias ll = 'LS-la'
Here: Set the environment variable: export PATH =/opt/local/bin:/opt/local/sbin: $ PATH
View and add PATH environment variables in linux
The PATH format is:
-------------------------------------------------------
PATH = $ PATH:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.