This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Ruby: stack level too deep (SystemStackError)
- From: "Chloe" <starrychloe at oliveyou dot net>
- To: <cygwin at cygwin dot com>
- Date: Mon, 28 Jan 2013 23:52:45 -0500
- Subject: Re: Ruby: stack level too deep (SystemStackError)
I see the Ruby packager is here
a.. From: Yaakov (Cygwin/X) <yselkowitz at users dot sourceforge dot net>
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