Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 611753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:49:06+00:00 2026-05-13T17:49:06+00:00

Pik looks great if you’re stuck on a windows machine. The only problem is

  • 0

Pik looks great if you’re stuck on a windows machine. The only problem is it appears to be set up for a windows command prompt, and I’m using cygwin.
Whenever I try to switch to a different version of ruby in cygwin, it still just uses the default cygwin installation of ruby.

$ pik list  
186: ruby 1.8.6 (2009-06-08 patchlevel 369) [i386-mswin32]  
187: ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin] *  
187: ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mswin32]  
191: ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-mswin32]

$ pik switch 191

$ pik list  
186: ruby 1.8.6 (2009-06-08 patchlevel 369) [i386-mswin32]  
187: ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-cygwin] *  
187: ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mswin32]  
191: ruby 1.9.1p376 (2009-12-07 revision 26041) [i386-mswin32]

Doesn’t seem to matter what I attempt – it always defaults to the cygwin installation. If I test this on a windows command prompt everything works just fine. It’s just cygwin getting in the way somehow, and I’ll be damned if I’m giving up my cygwin for the crappy XP command line. :}

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:49:07+00:00Added an answer on May 13, 2026 at 5:49 pm

    So I ditched pik and went with a (what is to me at least) common approach on mac/linux systems.
    I unzipped the compiled binaries of the various ruby versions I wanted into /tools/ruby. I then wrote a few aliases 'ruby191' etc in my .zshrc that create a symbolic link to the ruby version I want in /tools/current_ruby. Add /tools/current_ruby/bin onto your path before any system installed version of ruby and voila, you’re ready to go.
    If you want rubygems installed, simply download the rubygems.zip, switch to the version of ruby you want to install the gems under and run ruby setup.rb in the rubygems directory. I’ve now got four different ruby versions, each with rubygems installed, up and running on my machine.
    This obviously only works in cygwin now, as windows doesn’t understand symbolic links at all. But poking around a bit, it seems to be working just fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to set up pik on my windows machine. In the .pikrc file,
I just installed pik (ruby version control) on my windows machine at work (
Can rails server be specified for the particular ruby version? I'm on windows using
Does anyone know of a good RVM clone on Windows? Are there any efforts
I'm using ruby 1.9.2p180 (2011-02-18) [i386-mingw32] . Is it safe to install ActiveScriptRuby (based
I'm running Aptana 3.0.6 on Windows XP I also have JRuby 1.6.4 installed and
I attempt to create a movie by looping through frames in MATLAB. Refering to
I've started learning rails3 few days ago, and since today, every time I run
Hi all as i in learning stage of django so support me. I have
I'm trying to initiate a Rails 3 console from Netbeans 6.9.1 (just upgraded) and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.