Skip to content
Browse files

readme updates, feature cleanup

1 parent 1de1bb7 commit e90d3b79625a98493bc65c083727a9e2dbddae86 @vertiginous committed Jan 21, 2011
Showing with 22 additions and 9 deletions.
  1. +11 −8 README.rdoc
  2. +0 −1 features/support/env.rb
  3. +11 −0 tasks/build.rb
View
19 README.rdoc
@@ -42,11 +42,19 @@ Pik is a tool to manage multiple versions of ruby on Windows. It can be used fr
* Windows
-* Build dependencies: exerb-mingw, highline, crown
+* Development dependencies:
-* Packaging dependencies upx, wix, uuid gem
+ ruby 1.8.7 p330: http://rubinstaller.org
+ upx: http://upx.sourceforge.net/
-* Development dependencies: rake, cucumber, rspec, hoe, hoe-git
+ rake: gem install rake
+ isolate: gem install isolate
+
+ exerb-mingw: http://vert.igino.us/2011/01/05/exerb-101-building-windows-executables-with-ruby/
+
+* Packaging dependencies:
+
+ wix 3.5: http://wix.sourceforge.net/
== INSTALL:
@@ -98,11 +106,6 @@ If you install to a directory that's not in your path, you'll need to add it to
...
-* If you're upgrading from version 0.2.6, you should be able to upgrade with 'pik update'
-
-* If you're upgrading from a version <= 0.1.1, you'll want to delete the pik.bat file
- from all of your ruby versions. Gem uninstall should do the trick.
-
== MORE INFORMATION:
View
1 features/support/env.rb
@@ -30,7 +30,6 @@
require 'fileutils'
require 'lib/pik'
require 'rbconfig'
-require 'win32/process'
REAL_PATH = SearchPath.new(ENV['PATH']).replace(RbConfig::CONFIG['bindir'], 'C:\temp\more spaces in path\ruby\Ruby-186-p398-2\bin').join
OTHER_RUBY = 'c:\\temp\\more spaces in path\\ruby\\Ruby-191-p378-1\\bin'
View
11 tasks/build.rb
@@ -1,3 +1,14 @@
+@ruby_version = "1.8.7"
+@ruby_patchlevel = 330
+
+def correct_version?
+ @ruby_version == RUBY_VERSION &&
+ @ruby_patchlevel == RUBY_PATCHLEVEL
+end
+
+abort "You can only build pik with ruby-1.8.7-p330" unless correct_version?
+
+
EXE_VERSION = {
'version' => {
'file_version_number' => "#{Pik::VERSION}.0",

0 comments on commit e90d3b7

Please sign in to comment.
Something went wrong with that request. Please try again.