Start JRubyStack with Console 2 - jruby

I have installed the JRuby Stack environment in Windows which uses the default windows cmd as a console. I want to use Console 2 but unfourtunately I don't know how to configure it.
I tried creating a new tab in Console to and in Shell I gave it the path to
"C:\Program Files\BitNami JRubyStack\use_jruby.bat"
Unfourtunately, this bat opens the CMD by default:
#echo off
CALL C:\PROGRA~1\BITNAM~1\scripts\setenv.bat"
cd "C:\Program Files\BitNami JRubyStack"
START "BitNami JRubyStack Environment" cmd
So.. any ideas?
Thanks!

Related

How to open command prompt starting with "shell>" in windows?

The Documentation of mySQL explain some issues in command prompt starting with "shell>" command as shown in the picture , while the normal cmd prompt starting with"c:\users\pc>" and the cmd line client of mySQL5.7 starting with "mySql>" ...how to open cmd prompt starting with "shell>"? if not in windows OS what is the correspondent action in windows? .....picture
"shell>" is a placeholder for whatever your command shell of choice (e.g. bash, cmd.exe, etc.) actually uses. It is not literal text.

How to installing Pygame for Python 3.5 via pip?

I'm trying to install Pygame for python 3.5 32bit. I have learned that I can open the .whl files provided on the site by using the pip command. The problem is I've tried multiple ways doing this but with constant error.
python -m pip install pygame-1.9.2a0-cp35-none-win32.whl
'python' is not recognized as an internal or external command,
operable program or batch file.
The file I'm trying to install: pygame-1.9.2a0-cp35-none-win32.whl
My python program is located in my programs folder and everything else works fine.
You need to add python.exe to your Windows PATH variable.
The is the system variable that the operating system uses to locate the needed executables from the command line or Terminal windows. [1]
Actually there are many methods to set the PATH variable on windows. One way is to type
set PATH=%PATH%;location path of Python.exe
into the windows command-line interpreter (cmd):
set PATH=%PATH%;C:\Python35-32
Now -- before running the pip command -- you need to make sure that either
your working directory is set to the same folder where your pygame-1. ... in32.whl file is located
or
you supply the full absolute or relative path to the pip command.
Now you should be able to run your python -m pip command after restarting the cmd.exe.
if you get trouble when install pygame error about missing visual studio 10+. I have the answer: the problem is not about have or not have visual studio, because I try many version but it not work. The problem is file: between tar.gz and .whl so, this is the solution:
1) download file:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame go here and download your pygame version, notice about x64 or x86 and python version. my system is x64 and python is 3.4 so I choose: pygame-1.9.2a0-cp34-none-win_amd64.whl
2) put it in some where to install:
I put it in "C:", so open cmd: and type: cd C:\ (this changes the location to C:)
3) install
pip install C:\pygame-1.9.2a0-cp34-none-win_amd64.whl
done !

Openshift asks to change permission of file to 600 on Windows

while executing rhc setup i got following error
Your private SSH key file should be set as readable only to yourself. Please run CHMOD 600 C:/user/myuser/.ssh/id_rsa
Now how can i execute such command on windows.
However, I tried to use git bash. But have not got any success.!!
You can execute Linux commands on windows machine using Cygwin.
There are a couple of more tools using which you can do the same but I found Cygwin great!!!

is it possible to run git specific command's in phpstorm's console

Is it possible to run git commands in phpStorm's console? For example, I want to run git log command in the console that I open with Tools->Terminal?
I've found an answer myself - just set the path to the git bash in the terminal path:
"C:\Program Files\Git\bin\sh.exe"

How do I tell the Compute Engine gcutil-tool the location of a file when doing a push/pull?

gcutil does not understand when I use "d:/documents and settings/paul/desktop/somefile.txt"
I am using Cygwin terminal with Windows Xp.
Cygwin uses Unix-style paths, which do not have explicit drive letters.
Try /cygdrive/d/Documents and Settings/...
With my Windows XP is so that D:\cygwin\home\exampleusername\examplefile.txt can be referenced as ~/examplefile.txt from the cygwin command line.
And I can get files from the Linux instance when I am at my local command prompt: I can "gutil ... pull ..." files from the instance and "gcutil ... push ..." files to instance.
Push or pull at the Linux instance command prompt does not work, I think this is a issue with my local firewall.