Skip to content

Instantly share code, notes, and snippets.

@simplay
Last active November 24, 2015 14:55
Show Gist options
  • Save simplay/d834239dfb5751d7f3a9 to your computer and use it in GitHub Desktop.
Save simplay/d834239dfb5751d7f3a9 to your computer and use it in GitHub Desktop.
install rvm and jruby under windows 7

1 . cygwin installiere (x86 verion (auso nid 64bit)): source: http://cygwin.com/install.html

2 . Cygwin package manager installiere (drmit uf windows in cygwin s gliche wie apt-get uf linux distros chasch mache)

lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
install apt-cyg /bin

Source: https://github.com/transcode-open/apt-cyg itz hesch ä pseudo linux umgäbig wo unix packages via manager installiere chasch

3 . aus nöchschts muesch paar basic linux packages installiere.

das machtme so: du öffnisch cygwin und gisch näre für jedes package wode installiere wotsch ii:

apt-cyg install <PACKAGE_NAME>

wenn auso zb nano installiere wotsch, denne gisch das ii:

apt-cyg install nano

die fougende muesch itz auso glich wie im obige bsp installiere (weiss, s si arsch veu, abr windows cha haut nüd eifach so... :'( ):

+ wget
+ automake 
+ bison
+ colorgcc 
+ curl 
+ gcc-g++
+ gcc-core
+ git
+ git-completion 
+ git-gui
+ git-svn
+ gitk
+ libreadline7
+ libtool
+ libyaml-devel
+ libyaml0_2
+ make
+ mercurial
+ mingw64-i686-gcc-g++
+ nano
+ ncurses
+ openssh
+ openssl
+ openssl-devel
+ patch
+ readline
+ unzip
+ zlib
+ zlib-devel
+ sqlite3
+ mingw64-x86_64-gcc-g++
+ mingw64-x86_64-gcc-core
+ libreadline-devel
+ libreadline7

Protipp:

  • Mache txt file namens dependencies und füge alle obigen Abhängigkeiten Zeilenweise ein (ohne +).
  • in cygwin apt-cyg install 'dependencies.txt'

4 . rmv installiere (ruby version manager - das erliechteret eim s läbe ungemein)

curl -L https://get.rvm.io | bash -s stable
source ~/.profile

5 . ruby 2.2.3 installiere:

rvm install ruby-2.2.3

6 . jruby installiere (brucht >= jdk 1.7):

rvm install jruby-9.0.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment