When online
- Download railsinstaller-2.2.1.exe from http://railsinstaller.org/
- Download uglifier-2.2.1.gem from http://rubygems.org/gems/uglifier
When offline (on another computer)
- Execute railsinstaller-2.2.1.exe
- Open command window
- Using the command window, navigate to the directory where uglifier-2.2.1.gem is saved
cd
<path where uglifier-2.2.1.gem is saved>
- Type the following command:
gem
install --local uglifier-2.2.1.gem
- Create your Rails site with the following command:
rails
new <name of your site>
- Using the command window, navigate to the directory of your site:
cd
<path of your site>
- While inside your site's directory, run the web server (WEBrick):
rails
server
- Open your web browser to view your site: http://localhost:3000/
No comments:
Post a Comment