Cause of work, i has long time didn't update this blog.
In last week, i need to install an project management system redmine. redmine develop in ruby on rails, so i try to install ruby on rails in ubuntu server.
Please follow below step use root account.
1. Install curl.
apt-get install curl
2. Install RVM with ruby.
\curl -L https://get.rvm.io | bash -s stable --ruby
RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.
3. Load rvm source
source [path your install rvm]/rvm
4. Install dependancies
rvm requirements
after this command, will showing the dependeices package you need to install
5. Install Ruby 1.9.3
rvm install 1.9.3
6. Set defualt ruby version
rvm use 1.9.3 --default
7. Install RubyGems
rvm rubygems current
RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries (in a self-contained format called a "gem").
8. Install Rails
rvm 1.9.3 do gem install rails
When finish all step, now we can start develop our ror projects.
In last week, i need to install an project management system redmine. redmine develop in ruby on rails, so i try to install ruby on rails in ubuntu server.
Please follow below step use root account.
1. Install curl.
apt-get install curl
2. Install RVM with ruby.
\curl -L https://get.rvm.io | bash -s stable --ruby
RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.
3. Load rvm source
source [path your install rvm]/rvm
4. Install dependancies
rvm requirements
after this command, will showing the dependeices package you need to install
5. Install Ruby 1.9.3
rvm install 1.9.3
6. Set defualt ruby version
rvm use 1.9.3 --default
7. Install RubyGems
rvm rubygems current
RubyGems is a package manager for the Ruby programming language that provides a standard format for distributing Ruby programs and libraries (in a self-contained format called a "gem").
8. Install Rails
rvm 1.9.3 do gem install rails
When finish all step, now we can start develop our ror projects.
Application.OnTime 指定時間, "指定子程式"
上段程式碼是在Office VBA中,如果要在指定的時間點上,執行指定的子程式時所使用的key code及其使用的引數代表的意思。
而在接下來的文章中將step-by-step說明如何在早上九點執行在Excel的某個工作表裡某個儲存格裡輸入文字的子程式。






