Skip to content

Commit

Permalink
install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
vertiginous committed Jun 16, 2010
1 parent 76bdb96 commit f6f8975
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions README.rdoc
Expand Up @@ -49,31 +49,40 @@ Windows, more than one version of Ruby (otherwise, what's the point?) and Rubyge
* Development dependencies: rake, cucumber, rspec, hoe, hoe-git, rack, rack-cache

== INSTALL:

You can install pik via rubygems, or the Windows installer.

* install pik using rubygems.
* *install pik using rubygems*

>gem install pik
...

Successfully installed pik-0.2.6
1 gem installed

After the gem is installed, you can use the 'pik_install' script to install the pik executable. Install pik to a location that's in your path, but someplace other than your ruby\bin dir. For instance, the directory C:\bin is in my path:

>path
PATH=c:\bin;C:\Program Files\Windows Resource Kits\Tools\;c:\ruby\Ruby-186-p383\bin;

So I run:
After the gem is installed, you can use the 'pik_install' script to install the pik executable. Install pik to a location that's in your path, but someplace other than your ruby\bin dir. For instance, the directory C:\bin is in my path:

>pik_install C:\bin
Thank you for using pik.

Installing to C:\bin
>path
PATH=c:\bin;C:\Program Files\Windows Resource Kits\Tools\;c:\ruby\Ruby-186-p383\bin;

...
So I run:

>pik_install C:\bin
Thank you for using pik.

pik is installed
Installing to C:\bin

...

pik is installed

* *install pik using rubygems*

If you want to install to a machine that doesn't have Ruby installed yet, you can download the latest msi file from github[http://github.com/vertiginous/pik/downloads]. Or, just run:

>msiexec /i http://github.com/downloads/vertiginous/pik/pik-n.n.n.msi


If you install to a directory that's not in your path, you'll need to add it to the path yourself. Microsoft has good instructions[http://support.microsoft.com/kb/310519] on that. After that, you should be ready to run pik.

* If this is a first-time install, look at pik add, and pik install to set up your environment.
Expand Down

0 comments on commit f6f8975

Please sign in to comment.