X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.1 required=5.0 tests=AWL,BAYES_40,FAKE_REPLY_C,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Message-ID: From: "Chloe" To: Subject: Re: Ruby: stack level too deep (SystemStackError) Date: Mon, 28 Jan 2013 23:52:45 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I see the Ruby packager is here a.. From: Yaakov (Cygwin/X) b.. Subject: [ANNOUNCEMENT] Updated: ruby-1.9.3-p374-1 Additional info: I tried both versions of Ruby, ruby 1.9.3p327 and ruby-1.9.3-p374-1. I found something from Google that hinted that 1.9.2 might fix the problem, but I could not select that in setup.exe. I also tried peflags -x8192000 `which ruby` which did not help. (I don't really know what peflags is.) I also tried 18192000. I uninstalled Ruby and re-installed. Same with rails. It only fails when it's inside of an app directory. When I try rails new testapp It creates the directory and files, but fails on 'bundle install'. I can't run 'rails -v' in that directory either. I suspect there are other commands that will fail too, but I haven't found them yet. I'm using Windows XP SP3. $ uname -a CYGWIN_NT-5.1 dumbopc 1.7.17(0.262/5/3) 2012-10-19 14:39 i686 Cygwin Here are the bad lines if you are curious $ rails -v /usr/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb:114: stack level too deep (SystemStackError) $ cat -n /usr/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb | grep '^ *114' 114 requirements.map { |op, version| "#{op} #{version}" }.sort $ bundle install /usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb:32: stack level too deep (SystemStackError) $ cat -n /usr/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb | grep '^ *32' 32 raise e I also tried the suggestions from bundler following its link. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple