In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail what is the more convenient installation package for the Fedora ruby project. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Do you want to know the truth about the Fedora ruby engineering system? do you want to know the inner meaning hidden in the Fedora ruby engineering system? only I will give you a comprehensive introduction to the Fedora ruby engineering system * projects to build rails projects rails-- Fedora ruby Project = path locked in the path project to modify the database.yml in the environment and then do an example to restart the server Fedora ruby project script\ server close the control c access address http://localhost:3000/chinese/list
Ruby script\ generate model paper modifies db\ migrate\ new rb file by adding: t.column: name,:string rake db:migrate ruby script\ generate controller paper ruby script\ generate scaffold paper paper
Fc6 more convenient installation package the next yumexsudo yum install yumex in yumex can directly choose an installation with yum, then you have to enter a command font problem operating system language chooses english, Chinese becomes garbled.
Font * Font installation is required to copy the corresponding TrueType of Microsoft Windows (windows\ fonts\) to the appropriate directory of the Fedora ruby project. I put it in the / usr/share/fonts/windows directory. Then execute the following command with root
Cd / usr/share/fonts/windows ttmkfdir. Cp fonts.scale fonts.dir chkfontpath-add / usr/share/fonts/windows
The following is the font file I installed
(Arial)-arial.ttf arialbd.ttf arialbi.ttf ariali.ttf (Tahoma)-tahoma.ttf tahomabd.ttf (Verdana)-verdana.ttf verdanab.ttf verdanai.ttf verdanaz.ttf (GB)-simsun.ttc (BIG5)-mingliu.ttc
After installing gb and big5, there will be no problem with the Chinese in the web page and openoffice. To develop oracle applications, you need to install OCI to download from the http://Fedora ruby project forge.org/frs/?group_id=256&release_id=12694 and then run the Fedora ruby project ruby-oci8-1.0.0-rc3-mswin32.rb in cmd. After the installation is successful, you can rake db:migrate.
Http://www.railsapi.org/activerecord-base-set_primary_key set_primary_key Description set_primary_key (value = nil, & block) Sets the name of the primary key column to use to the given value, or (if the value is nil or false) to the value returned by the given block. Examples: add Suggest an example Examples currently must be approved. This means that when you submit the example, it will not show up on this page until approved (generally 24 hours) Enclose ruby in tags to get it syntax highlighted. Description or Cancel Example: class Project < ActiveRecord::Base set_primary_key "sysid" end User Contributed Notes add Add Comment Name Email Title Body or Cancel No comments on "what is a more convenient installation package for the Fedora ruby project?" this article ends here. I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.