Questions tagged [pik]

Pik is a Ruby version manager for Windows

pik is a tool to manage multiple versions of ruby on Windows. It can be used from the Windows command line (cmd.exe), Windows PowerShell, or Git Bash.

39 questions
1
vote
0 answers

Ruby version conflict while using pik in windows

I'm working on a project that runs Rails Backend. I'm using Pik for managing the Ruby versions. But when I try to run the server, terminal shows following error: C:\Users\DELL\frontend-development\aidhumanity>rails s -p 3001 Your Ruby version is…
Fuaad
  • 197
  • 15
1
vote
0 answers

How to get Pik running in Git/Cygwin after it gets running in Command prompt of Windows XP?

I have Installed Ruby 1.8.7. Now I want to have Ruby 1.9.2 as well on my system.Having a windows system I have to go for PIK instead of RVm. I have already in place Cygwin and Git Bash. I now have installed pik through windows XP command prompt and…
Nikhil
  • 19
  • 2
1
vote
1 answer

gradle version manager tool for windows like pik for ruby

Like pik which provides the facility to switch between ruby versions on the fly from command prompt, is there any tool which provides the same kind of behavior for gradle, so that i can switch to gradle version I'm using based on need. I googled it,…
kaluva
  • 621
  • 8
  • 27
1
vote
1 answer

Program added to path but cmd not recognizing/finding it (ruby version manager for windows)

I've installed pik in a windows machine so I can manage my ruby versions I also added the path to the PATH variable, but pik is not being recognized, I also created an alias but that just results in an error when it's used but the program runs fine…
Thermatix
  • 2,757
  • 21
  • 51
1
vote
2 answers

How to use Ruby and PIK together with Windows Services?

I have a Windows server that runs multiple Ruby apps, some requiring different Ruby versions. For managing Ruby versions we use the "PIK" Ruby version manager. For an app we use Windows Services + SrvAny + Thin to run it. Screenshot of…
Simon Fredsted
  • 964
  • 2
  • 14
  • 26
1
vote
2 answers

My Ruby pik is crashing: "can't dup NilClass"

It goes like this (note that I enabled echo in pik.bat). All latest release versions downloaded today (though there may be some collisions with old software not properly uninstalled) F:\ruby\pik>pik.bat F:\ruby\pik>"F:\ruby\pik\pik_runner.exe"…
Irina Rapoport
  • 1,404
  • 1
  • 20
  • 37
1
vote
0 answers

Ruby 2.0.0 doesn't work after update

I originally had Ruby 1.9.3 installed on my window box but I need to run a Ruby 2.0.0 app so I installed pik and use it to switch between 2 different versions of Ruby. I was able to switch between the 2 versions but when I attempted to run my Ruby…
CYC0616
  • 645
  • 3
  • 9
  • 14
1
vote
2 answers

Ruby EventMachine failed to build gem native extension

Using ruby v 1.9.3p448 I get a failed to build gem native extension error, but it seems to be using Ruby 2.0.0 I'm new to ruby and am just trying to run this program https://github.com/propublica/qis This is the notes from the aptana 3…
AlecPerkey
  • 659
  • 2
  • 11
  • 21
1
vote
1 answer

Why can't I get 'pik use' working?

I installed Pik and all commands seem to be working fine except for pik use. Here is what happens when I use it at the command-line: C:\Users\Taylor>pik use Select which Ruby you want: 1. 193: ruby 1.9.3p448 (2013-06-27) [i386-mingw32] 2. 200: ruby…
Taylor
  • 177
  • 2
  • 11
1
vote
1 answer

ruby on rails PIK gemset like RVM gemset?

I've worked with RVM where I can get gemset's and stuff, but there's no way of getting it with PIK? any idea? I tried looking for a solution but couldn't find one. Hopefully someone has any clue on this issue? Thanks!
hellomello
  • 8,219
  • 39
  • 151
  • 297
1
vote
1 answer

rails server command not working and no gems on another version of ruby

i'm running rails on a windows 7 machine and am using pik as my RVM. i have ruby 1.9.3 currently installed but i have a project that requires ruby 1.9.2. so using pik, i run these commands from gitbash: pik 192 ruby -v ruby 1.9.2p180…
user571099
  • 1,491
  • 6
  • 24
  • 42
1
vote
1 answer

how to create gemsets in windows using pik?

I am using windows machine and want to install pik (similar to RVM) for managing different versions of ruby and rails. However as far as I know pik currently do not have facility to create gemsets as we do with RVM. In such a case how do I create…
Parth
  • 23
  • 3
0
votes
1 answer

Pik path on a windows machine doesn't work because of space character

I'm trying to set up pik on my windows machine. In the .pikrc file, there's these lines of code: pik_path=/c/Program files/pik function pik { $pik_path/pik_runner.exe pik.sh $@ [[ -s $USERPROFILE/.pik/pik.sh ]] && source…
Lieven Cardoen
  • 25,140
  • 52
  • 153
  • 244
0
votes
1 answer

Do I have to install Ruby from source to get Ruby 2.2.0 and Rails 4.2.0 installed on my windows machine?

I currently have Ruby 2.2.6 and Rails 5.0.1 installed on my Windows 10 machine. I have cloned an existing project that has the following settings included in its Gemfile: # Lock-in Lang and Framework: ruby '2.2.0' gem 'rails', '4.2.0' I'm having a…
DanHam
  • 340
  • 2
  • 17
0
votes
1 answer

Gemfile issues and Ruby install issues

I am working on a Windows 7 64-bit machine. I had Ruby version 2.1.5 installed on my machine and everything was working great. I went and installed a gem that would set up a project for you with most of the basics already completed, but it required…
Dylan O.
  • 3
  • 1