Skip to content

Commit

Permalink
Updated Readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed May 23, 2011
1 parent f8c3928 commit b7ce79f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
18 changes: 12 additions & 6 deletions README.md
Expand Up @@ -12,20 +12,25 @@ required prerequisites on a Windows system.


RailsInstaller is bootstrapped, built and packaged via rake tasks. RailsInstaller is bootstrapped, built and packaged via rake tasks.


1. Download and install the latest RailsInstaller from 1. Download and install the [latest RailsInstaller](http://railsinstaller.org/)
http://railsinstaller.org/
1. Bootstrap the project, from the project root run 1. Bootstrap the project, from the project root run

> rake bootstrap > rake bootstrap
1. Install latest 1. Install latest
[Inno Setup Quick Start Pack](http://www.jrsoftware.org/isdl.php#qsp), [Inno Setup Quick Start Pack](http://www.jrsoftware.org/isdl.php#qsp),
ensure iscc.exe is in your PATH ensure iscc.exe is in your PATH
1. Hackety hack!!! Type it like you mean it!!! 1. Hackety hack!!! Type it like you mean it!!!
1. Download and build all components on the stage 1. Download and build all components on the stage

> rake build > rake build
1. Use Inno Setup to package RailsInstaller 1. Use Inno Setup to package RailsInstaller

> rake package > rake package
1. Use the generated RailsInstaller.exe, be happy and prosperous! Be
sure to share it with all of your friends! 1. Use the generated RailsInstaller.exe, be happy and prosperous!
Be sure to share it with all of your friends!


### Configuration ### Configuration


Expand All @@ -42,7 +47,7 @@ Methods are implemented in
In order to kick off a build into staging run the following rake command. In order to kick off a build into staging run the following rake command.
> rake build > rake build


## Packaging ### Packaging


Packaging of the installer from the stage path into an executable can be done Packaging of the installer from the stage path into an executable can be done
via the following rake command. via the following rake command.
Expand All @@ -55,7 +60,7 @@ packages, both for Ruby and gems. DevKit is built and maintained by the
wonderful folks over at the RubyInstaller (http://rubyinstaller.org/) project. wonderful folks over at the RubyInstaller (http://rubyinstaller.org/) project.




### Ruby 1.8.7 on Windows ### Ruby 1.8.7/1.9.2 on Windows


RubyInstaller is a self contained package installer which installs Ruby and RubyInstaller is a self contained package installer which installs Ruby and
RubyGems on a windows system, head over to http://rubyinstaller.org/ for more RubyGems on a windows system, head over to http://rubyinstaller.org/ for more
Expand All @@ -65,3 +70,4 @@ information.


We are using [Inno Setup](http://www.jrsoftware.org/isinfo.php "Inno Setup"), We are using [Inno Setup](http://www.jrsoftware.org/isinfo.php "Inno Setup"),
a free installer for Windows programs. a free installer for Windows programs.

3 changes: 0 additions & 3 deletions lib/railsinstaller/methods.rb
Expand Up @@ -379,9 +379,7 @@ def self.stage_setup_scripts


# MSVC Runtime 2008 is Required for Postgresql Server # MSVC Runtime 2008 is Required for Postgresql Server
def self.stage_msvc_runtime def self.stage_msvc_runtime

download(MsvcRuntime) download(MsvcRuntime)

pkg_path = File.join(RailsInstaller::Stage, "pkg") pkg_path = File.join(RailsInstaller::Stage, "pkg")


FileUtils.mkdir_p(pkg_path) unless File.exist?(pkg_path) FileUtils.mkdir_p(pkg_path) unless File.exist?(pkg_path)
Expand All @@ -390,7 +388,6 @@ def self.stage_msvc_runtime
File.join(RailsInstaller::Archives, File.basename(MsvcRuntime.url)), File.join(RailsInstaller::Archives, File.basename(MsvcRuntime.url)),
File.join(pkg_path, File.basename(MsvcRuntime.url)) File.join(pkg_path, File.basename(MsvcRuntime.url))
) )

end end


# #
Expand Down

0 comments on commit b7ce79f

Please sign in to comment.