Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ANN] pik 0.2.7 Released

Reply
Thread Tools

[ANN] pik 0.2.7 Released

 
 
Gordon Thiesfeld
Guest
Posts: n/a
 
      06-16-2010
pik version 0.2.7 has been released!

* <http://github.com/vertiginous/pik>
* <Mailing List: http://groups.google.com/group/discuss_pik>
* <Rubyforge: http://rubyforge.org/projects/pik/>
* <Bugs/Feature requests: http://github.com/vertiginous/pik/issues>
* <Gordon Thiesfeld>

Pik is a tool to manage multiple versions of ruby on Windows.

>pik help commands


add Adds another ruby location to pik.
benchmark|bench Runs bencmarks with all versions that pik is aware of.
checkup|cu Checks your environment for current Ruby best practices.
config Adds/modifies configuration options.
default Switches back to the default settings.
gem Runs the gem command with all versions that pik
is aware of.
gemsync Synchronizes gems from the version specified to
the current version.
help Displays help information.
implode Removes your pik configuration.
info Displays information about the current ruby version.
install|in Downloads and installs different ruby versions.
list|ls Lists ruby versions that pik is aware of.
rake Runs the rake command with all versions that pik
is aware of.
remove|rm Removes a ruby location from pik.
ruby|rb Runs ruby with all versions that pik is aware of.
run Runs command with all versions of ruby that pik
is aware of.
switch|sw|use Switches ruby versions based on patterns.
tag Adds the given tag to the current version.
tags Runs the pik command against the given tags.
uninstall|unin Deletes a ruby version from the filesystem and
removes it from Pik.
update|up updates pik.

For help on a particular command, use 'pik help COMMAND'.

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

=== 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:

>pik_install C:\bin

Thank you for using pik.

Installing to C:\bin

...

pik is installed

=== Install pik using the installer

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/vertigin.../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.

>pik add C:\ruby\IronRuby-091\bin

Adding: 091: IronRuby 0.9.1.0 on .NET 2.0.0.0
Located at: C:/ruby/IronRuby-091/bin

>pik install ruby

** Downloading:
http://rubyforge.org/frs/download.ph...mingw32-rc1.7z
to: c:\installs\ruby-1.9.1-p243-i386-mingw32-rc1.7z

...

* 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.

== Changes:

### 0.2.7 / 2010-06-15
* cleaner list output
* pik switch/use is no longer case sensitive
'>pik iron' vice '>pik Iron'
* created devkit implmentation (pik install devkit)
* created devkit update command (pik devkit update) creates batch
files if you install
a newer version of ruby after devkit.
* added devkit config option, if you already have it installed:
>pik config devkit=c:\ruby\devkit
>pik devkit update

* fixed Implementations::IronRuby to catch newer versions, and ignore
ipy packages
* improved pik_install instructions
* pik_install displays usage message when no argument is given
* fixed some bugs in info command
* fixed pik.bat to run in tcc/le
* removed RubyGems dependency ( the executable was causing weird
errors with plugins)
* fixed Implementations::Ruby to catch RC1 7z files
* fixed regression in version option

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] pik 0.2.5 Released Gordon Thiesfeld Ruby 0 11-02-2009 10:57 PM
[ANN] pik 0.2.3 Released Gordon Thiesfeld Ruby 0 10-26-2009 06:50 AM
[ANN] pik 0.2.2 Released Gordon Thiesfeld Ruby 0 10-21-2009 02:25 AM
[ANN] pik 0.2.1 Released Gordon Thiesfeld Ruby 2 10-20-2009 07:03 AM
[ANN] pik 0.1.0 Released Gordon Thiesfeld Ruby 2 10-07-2009 07:16 AM



Advertisments