Skip to content

Instantly share code, notes, and snippets.

@JESii
Created December 19, 2010 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JESii/747349 to your computer and use it in GitHub Desktop.
Save JESii/747349 to your computer and use it in GitHub Desktop.
Description of problems running RVM on Cygwin
Unable to get RVM running under Cygwin in either Vista or Windows 7, info/results follow. Everything installs normally and rvm is_a function, but when I try to run irb, gem, or even rvm debug, it just sits there. When I interrupt these commands with Ctrl-C, I get output that generally looks like this:
<internal:lib/rubygems/custom_require>:29:in `require': Interrupt
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:gem_prelude>:167:in `load_full_rubygems_library'
<snip - full output later>
Cygwin Version: CYGWIN_NT-6.0 1.7.7(0.230/5/3) 2010-08-31 09:58
RVM Version: rvm 1.1.6 by Wayne E. Seguin
Output from rvm info
====================
ruby-1.9.2-head:
system:
uname: "CYGWIN_NT-6.0 EDP19 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin"
bash: "/usr/bin/bash => GNU bash, version 3.2.51(24)-release (i686-pc-cygwin)"
zsh: " => not installed"
rvm:
version: "rvm 1.1.6 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]"
ruby:
interpreter: "ruby"
version: "1.9.2p94"
date: "2010-12-08"
platform: "i386-cygwin"
patchlevel: "2010-12-08 revision 30140"
full_version: "ruby 1.9.2p94 (2010-12-08 revision 30140) [i386-cygwin]"
homes:
gem: "/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head"
ruby: "/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head"
binaries:
ruby: "/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/bin/ruby"
irb: "/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/bin/irb"
gem: "/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/bin/gem"
rake: "/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head/bin/rake"
environment:
PATH: "/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head/bin:/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head@global/bin:/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/bin:/cygdrive/c/home/jes/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/l/bin:/cygdrive/c/user/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Program Files/Common Files/Roxio Shared/DLLShared/:/cygdrive/c/Program Files/Common Files/Roxio Shared/9.0/DLLShared/:/cygdrive/c/Program Files/SizeExplorer Pro 4:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/:/cygdrive/c/Program Files/QuickTime/QTSystem/:/cygdrive/c/Dev/InstantRails/ruby/bin"
GEM_HOME: "/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head"
GEM_PATH: "/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head:/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head@global"
MY_RUBY_HOME: "/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head"
IRBRC: "/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/.irbrc"
RUBYOPT: ""
gemset: ""
Output from rvm debug
=====================
ruby-1.9.2-head:
rvm 1.1.6 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
ruby-1.9.2-head:
system:
uname: "CYGWIN_NT-6.0 EDP19 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin"
bash: "/usr/bin/bash => GNU bash, version 3.2.51(24)-release (i686-pc-cygwin)"
zsh: " => not installed"
rvm:
version: "rvm 1.1.6 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]"
ruby:
interpreter: "ruby"
version: "1.9.2p94"
date: "2010-12-08"
platform: "i386-cygwin"
patchlevel: "2010-12-08 revision 30140"
full_version: "ruby 1.9.2p94 (2010-12-08 revision 30140) [i386-cygwin]"
homes:
gem: "/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head"
ruby: "/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head"
binaries:
ruby: "/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/bin/ruby"
irb: "/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/bin/irb"
gem: "/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/bin/gem"
rake: "/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head/bin/rake"
environment:
PATH: "/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head/bin:/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head@global/bin:/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/bin:/cygdrive/c/home/jes/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/l/bin:/cygdrive/c/user/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Program Files/Common Files/Roxio Shared/DLLShared/:/cygdrive/c/Program Files/Common Files/Roxio Shared/9.0/DLLShared/:/cygdrive/c/Program Files/SizeExplorer Pro 4:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/:/cygdrive/c/Program Files/QuickTime/QTSystem/:/cygdrive/c/Dev/InstantRails/ruby/bin"
GEM_HOME: "/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head"
GEM_PATH: "/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head:/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head@global"
MY_RUBY_HOME: "/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head"
IRBRC: "/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/.irbrc"
RUBYOPT: ""
gemset: ""
PATH:
/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head/bin:/cygdrive/c/home/jes/.rvm/gems/ruby-1.9.2-head@global/bin:/cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/bin:/cygdrive/c/home/jes/.rvm/bin:/usr/local/bin
uname -a: CYGWIN_NT-6.0 EDP19 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin
permissions: /cygdrive/c/home/jes/.rvm:
total 120
drwxr-xr-x+ 1 carol None 4096 2010-12-19 04:46 .
drwxrwxrwx+ 1 Administrators None 81920 2010-12-19 05:51 ..
-rw-r--r-- 1 carol None 1043 2010-12-19 05:48 LICENCE
-rw-r--r-- 1 carol None 6680 2010-12-19 05:48 README
drwxr-xr-x+ 1 carol None 0 2010-12-18 21:02 archives
drwxr-xr-x+ 1 carol None 8192 2010-12-19 05:48 bin
drwxr-xr-x+ 1 carol None 0 2010-12-19 04:51 config
drwxr-xr-x+ 1 carol None 0 2010-12-19 04:46 environments
drwxr-xr-x+ 1 carol None 0 2010-12-18 21:02 examples
drwxr-xr-x+ 1 carol None 0 2010-12-19 04:49 gems
drwxr-xr-x+ 1 carol None 4096 2010-12-18 21:02 gemsets
drwxr-xr-x+ 1 carol None 4096 2010-12-18 21:02 help
drwxr-xr-x+ 1 carol None 0 2010-12-18 21:02 lib
drwxr-xr-x+ 1 carol None 0 2010-12-18 21:05 log
drwxr-xr-x+ 1 carol None 0 2010-12-18 21:02 patches
drwxr-xr-x+ 1 carol None 0 2010-12-18 21:43 repos
drwxr-xr-x+ 1 carol None 0 2010-12-19 04:45 rubies
drwxr-xr-x+ 1 carol None 8192 2010-12-19 05:48 scripts
drwxr-xr-x+ 1 carol None 0 2010-12-19 04:14 src
drwxr-xr-x+ 1 carol None 0 2010-12-18 21:02 tmp
drwxr-xr-x+ 1 carol None 0 2010-12-19 04:46 wrappers
/cygdrive/c/home/jes/.rvm/rubies:
total 8
drwxr-xr-x+ 1 carol None 0 2010-12-19 04:45 .
drwxr-xr-x+ 1 carol None 4096 2010-12-19 04:46 ..
drwxr-xr-x+ 1 carol None 4096 2010-12-19 04:51 ruby-1.9.2-head
/cygdrive/c/home/jes/.bashrc:
# rvm
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
/cygdrive/c/home/jes/.bash_profile:
/cygdrive/c/home/jes/.rvm/config/db \(filtered\):
#General
niceness=0
# Rubies
interpreter=ruby
ruby_version=1.8.7
ruby_configure_flags=--enable-shared
ruby_patchlevel=299
ruby_configure=--enable-shared
ruby_repo_url=http://svn.ruby-lang.org/repos/ruby
ruby_1.0_url=ftp://ftp.ruby-lang.org/pub/ruby/1.0
ruby_1.2_url=ftp://ftp.ruby-lang.org/pub/ruby/1.2
ruby_1.3_url=ftp://ftp.ruby-lang.org/pub/ruby/1.3
ruby_1.4_url=ftp://ftp.ruby-lang.org/pub/ruby/1.4
ruby_1.5_url=ftp://ftp.ruby-lang.org/pub/ruby/1.5
ruby_1.6_url=ftp://ftp.ruby-lang.org/pub/ruby/1.6
ruby_1.7_url=ftp://ftp.ruby-lang.org/pub/ruby/1.7
ruby_1.8_url=ftp://ftp.ruby-lang.org/pub/ruby/1.8
ruby_1.9_url=ftp://ftp.ruby-lang.org/pub/ruby/1.9
ruby_2.0_url=ftp://ftp.ruby-lang.org/pub/ruby/2.0
ruby_1.9.1_patch_level=378
ruby_1.9.2_patch_level=0
ruby_1.8.5_patch_level=231
ruby_1.8.6_patch_level=399
ruby_1.8.7_patch_level=302
rubygems_version=1.3.7
rubygems_1.3.5_url=http://rubyforge.org/frs/download.php/60718
rubygems_1.3.6_url=http://rubyforge.org/frs/download.php/69365
rubygems_1.3.7_url=http://rvm.beginrescueend.com/src/
rbx_version=head
rbx_1.0.0_patch_level=20100514
rbx_1.0.1_patch_level=20100603
rbx_1.1.0_patch_level=20100923
rbx_1.1.1_patch_level=20101116
rbx_url=http://asset.rubini.us
rubinius_repo_url=git://github.com/evanphx/rubinius.git
http://rubini.us/download/latest
ree_version=1.8.7
ree_configure_flags=--dont-install-useful-gems
ree_1.8.6_patch_level=20090610
ree_1.8.6_url=http://rubyforge.org/frs/download.php/58677
ree_1.8.6_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition.git
ree_1.8.7_url=http://rvm.beginrescueend.com/src/
ree_1.8.7_repo_url=git://github.com/FooBarWidget/rubyenterpriseedition187.git
ree_1.8.7_patch_level=2010.02
jruby_version=1.5.6
jruby_repo_url=git://github.com/jruby/jruby.git
jruby_url=http://jruby.org.s3.amazonaws.com/downloads
macruby_version=0.8
macruby_url=http://www.macruby.org/files
macruby_repo_url=git://git.macruby.org/macruby/MacRuby.git
macruby_nightly_url=http://www.macruby.org/files/nightlies/macruby_nightly-latest.pkg
maglev_version=24864
maglev_url=http://glass-downloads.gemstone.com/maglev
maglev_repo_url=git://github.com/MagLev/maglev.git
ironruby_version=1.0
ironruby_repo_url=git://github.com/ironruby/ironruby.git
ironruby_1.0_url=http://rubyforge.org/frs/download.php/70179/
# Packages
readline_url=ftp://ftp.gnu.org/gnu/readline
libiconv_url=http://ftp.gnu.org/pub/gnu/libiconv
curl_url=http://curl.haxx.se/download
openssl_url=http://www.openssl.org/source
zlib_url=http://www.zlib.net
autoconf_url=ftp.gnu.org/gnu/autoconf
ncurses_url=http://ftp.gnu.org/pub/gnu/ncurses
pkg-config_url=http://pkgconfig.freedesktop.org/releases
gettext_url=ftp://ftp.gnu.org/pub/gnu/gettext
libxml2_url=ftp://xmlsoft.org/libxml2/
glib_url=http://ftp.gnome.org/pub/gnome/sources/glib/2.23
mono_url=http://ftp.novell.com/pub/mono/sources/mono/
llvm_url=https://llvm.org/svn/llvm-project/llvm/trunk
/cygdrive/c/home/jes/.gemrc \(filtered\):
---
:sources:
- http://gems.rubyforge.org/
- http://gems.github.com/
:bulk_threshold: 1000
:benchmark: false
:verbose: true
:update_sources: true
:backtrace: false
gem sources:
Error output from rvm debug interrupt
=====================================
<internal:lib/rubygems/custom_require>:29:in `require': Interrupt
from <internal:lib/rubygems/custom_require>:29:in `require'
from /cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems/source_index.rb:7:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/rubygems.rb:1088:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/bin/gem:12:in `<main>'
Error output from irb interrupt
===============================
<internal:lib/rubygems/custom_require>:29:in `require': Interrupt
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:gem_prelude>:167:in `load_full_rubygems_library'
from <internal:gem_prelude>:217:in `try_activate'
from <internal:lib/rubygems/custom_require>:32:in `rescue in require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/input-method.rb:98:in `<module:IRB>'
from /cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb/input-method.rb:14:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/irb.rb:19:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /cygdrive/c/home/jes/.rvm/rubies/ruby-1.9.2-head/bin/irb:13:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment