the Windows platform. It is used to simulate the make, GCC, sh to compile on the Linux platform. This method currently supports only Ruby that is installed through Rubyinstaller.Download Devkit:http://rubyinstaller.org/downloadsIf the above address is not open, download it from here: https://github.com/oneclick/rubyinstaller/downloads/Installation steps:1) Unzip the download DevKit to the D:\DevKit directo
, GCC, sh to compile on the Linux platform. This method currently supports only Ruby that is installed through Rubyinstaller.Download Devkit:http://rubyinstaller.org/downloadsIf the above address is not open, download it from here: https://github.com/oneclick/rubyinstaller/downloads/Installation steps:1) Unzip the download DevKit to the D:\DevKit directory. 2) Open the CMD window, enter the D:\
while...ERROR: Error installing eventmachine: ERROR: Failed to build gem native extension.
Or another one:
ERROR: Error installing ruby-debug: The 'linecache' native gem requires installed build tools. Please update your PATH to include build tools or download the DevKit from 'http://rubyinstaller.org/downloads' and follow the instructions at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
After a long journey to Goog
Document directory
Port vsftpd (FTP Server) on Linux
Port vsftpd (FTP Server) on Linux
Just follow the README of vsftpd.1. Download[Url = ResponseVsftpd-2.0.6.tar.gz2. install.A. Unzip and enter the vsftpd-2.0.6 directoryCommand: Tar zxvf vsftpd-2.0.6.tar.gzCD vsftpd-2.0.6B. Modify the MAKEFILE file according to your compiler.If it is used on a PC, do not change it. Cc = gccI port vsftpd to the Development Office and use the arm_v5t_le-gcc compiler.Modify: CC =/opt/mv_pro_4.0.1/montavista/Pro
Github + Jekyll -- create a personal free blog (2) Ruby + Jekyll deployment
Abstract:
In this article, I will introduce how to set up a personal Blog (Blog) on github. By the way, let's take a look at githubPages, and also involve Jekyll technology.
============================================ ======================================
I. Environment deployment:
1. Download resources:
We have said that the Jekyll used to generate Web pages is based on Ruby technology, so Ruby is essential here. M
Install the ruby environment in Windows
Http://rubyinstaller.org/download installation package and devkit
Ruby installation is unnecessary. Double-click Next. Remember to add to path
Install devkit
Decompress the downloaded compressed file to a devkit folder, for example:
Ruby installation path: D: \ Ruby \
Devkit
' and follow the instructionsat 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
If an error is reported, the system prompts you to download and install "DevKit". Download and install it here. Then, the system prompts you to find your answer at http://github.com/oneclick/rubyinstaller/wiki/development-kit.
The above prompt says:
After DevKit is installed, switch to the installation directo
Ruby uses eventmachine to add the file download function to the HTTP server,
Ideas:Use ruby eventmachine and em-http-server gem to complete a simple HttpServer that provides the file download function;The FileStreamer of EM is used to send files asynchronously. When a file is sent, the header is assembled and FileStreamer is called.
Code:
require 'rubygems'require 'eventmachine'require 'em-http-server' class HTTPHandler
PS: eventmachine Installation ErrorWhen eventmachine is installed on window
. Change to that directory enters the catalog that you just created. [Email protected]-desktop:~ $CD hello- World4. Source the environment Setup toGetaccess to Qmake and the GCC compiler import environment variables so that you can use the Qmake and GCC compilers. [Email protected]-desktop:~/hello-world$ source/home/user/ti-sdk-am335x-evm-05.03.00.00/linux-devkit/environment-Setup5. Create ANewFile:hello-world.cpp and copyinchThe following sour
organize relevant documents through wiki. In this way, developers do not have to unify the system and environment on their PCs, and further strengthen resource integration. Therefore, we need to install the following software:
apt-get install vsftpdapt-get install sshapt-get install apache2apt-get install mysql-server-5.0 mysql-client-5.0apt-get install mediawiki1.7 php-pear php5-gd imagemagick mediawiki1.7-math memcached clamavapt-get install tftpdapt-get install git-coreapt-get install minico
machine and run it on the PowerPC Development Board.
1. Download and decompress the source code# Cd/home/wanghui/# Tar xvfz ethtool-6.tar.gz# Cd ethtool-6
2. Cross-CompilationMake sure that the binfile of the Cross-compilation toolchain is in the path environment variable.# Echo $ path/Usr/local/bin:/usr/bin:/opt/montavista41/montavista/CGE/devkit/PPC/85xx/bin/:/home/wanghui/bin#./Configure -- Host = PPC-Linux# Make
3. view the generated file# File e
Tags: str updating tran conf download gem COM online classRun ' bundle install ' or ' gem install mysql2′ ' encountered the following error > Gem install mysql2
Error: Error installing MYSQL2: The
' mysql2 ' native gem requires installed build tools .
Please update your PATH to include build tools or download the DevKit from
' http://rubyinstaller.org/downloads ' and fo Llow the instructions at
' Http://github.com/oneclick/rubyinstaller/wiki
-android.When installing Ruby make sure the installed directory is set in the Environment path (the last step in the installer prompts for this)
After installing Ruby 1.9.3, install the development kit.Download the correct version of development kit as defined in the rubyDownload Page. For Ruby 1.8.6 to 1.9.3, tdm-32-4.5.2 isThe suggested devkit.
Follow the detailed instructions as given hereSetup the devkit
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.