Accodrding to Ruby on Rails — A web-app framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
1.I run following:
gem install rails --include-dependencies
ERROR: While executing gem … (RuntimeError)
Error instaling rails:
rails requires rake >= 0.7.2
Don’t know how come and where can I find the “rake”.
2.Later re-run:
gem install rails --include-dependencies
ERROR: While executing gem … (Gem::RemoteSourceException)
HTTP Response 407
Why HTTP?
3.I downloaded:
rails-1.2.3.gem and rails-1.2.2.tgz, how to use them?
How come there is no complete doc?
How come so many seperated packages?
the cause of these errors is most likely to do with ruby/gems
try removing and reinstalling these items
then run the command line again
There is 2 ways to install rails on your computer :
-
Online Installation
a. first, make sure you have installed ruby and ruby gems
1. check ruby instalation (latest version 1.8.6)
ruby -v
2. check ruby gems installation (latest version 0.9.2)
gem -v
b. then do the installation with execute command :
gem install rails --include-dependencies
or (to get spesific version)
gem install rails -v=1.2.3 --include-dependencies
-
Offline / Manual Installation
a. first, make sure you have installed ruby and ruby gems
1. check ruby instalation (latest version 1.8.6)
ruby -v
2. check ruby gems installation (latest version 0.9.2)
gem -v
b. download gem list on http://rubyforge.vm.bytemark.co.uk/gems/
download listed file below :
rake-0.7.2.gem
activesupport-1.4.2.gem
activerecord-1.15.3.gem
actionpack-1.13.3.gem
actionmailer-1.3.3.gem
actionwebservice-1.2.3.gem
rails-1.2.3.gem
c. execute one by one with order
sudo gem install rake-0.7.2.gem
sudo gem install activesupport-1.4.2.gem
sudo gem install activerecord-1.15.3.gem
sudo gem install actionpack-1.13.3.gem
sudo gem install actionmailer-1.3.3.gem
sudo gem install actionwebservice-1.2.3.gem
sudo gem install rails-1.2.3.gem
Hope can solve your problem
regards,
Dhendy Ferdian
On Aug 17, 12:48 pm, Zhan feng Wang [email protected]
Zhan feng Wang wrote:
How come there is no complete doc?
For rails, you might try:
http://api.rubyonrails.org/
http://railshelp.com/