public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: [ANNOUNCEMENT] Updated: ruby, ruby-json, ruby-rake, ruby-rdoc
@ 2013-02-10  7:51 Chloe
  0 siblings, 0 replies; 6+ messages in thread
From: Chloe @ 2013-02-10  7:51 UTC (permalink / raw)
  To: cygwin

Hi Yaakov, thanks for the updated Ruby, however it still doesn't seem to 
work:

    $ gem install rails
    $ rails new testapp # error
    $ cd testapp
    $ rails -v                # error
    $ rails console       # error

Transcript
----------

$ which ruby
/usr/bin/ruby

Chloe@dumbopc ~
$ ruby -v
ruby 1.9.3p385 (2013-02-06 revision 39114) [i386-cygwin]

Chloe@dumbopc ~
$ gem install rails
Successfully installed rails-3.2.11
1 gem installed

Chloe@dumbopc ~
$ which rails
/usr/bin/rails

Chloe@dumbopc ~
$ rails -v
Rails 3.2.11

Chloe@dumbopc ~
$ rails new testapp
      create
      create  README.rdoc
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
      create  app
      create  app/assets/images/rails.png
      create  app/assets/javascripts/application.js
      create  app/assets/stylesheets/application.css
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  app/views/layouts/application.html.erb
      create  app/mailers/.gitkeep
      create  app/models/.gitkeep
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/environments
      create  config/environments/development.rb
      create  config/environments/production.rb
      create  config/environments/test.rb
      create  config/initializers
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.rb
      create  config/initializers/secret_token.rb
      create  config/initializers/session_store.rb
      create  config/initializers/wrap_parameters.rb
      create  config/locales
      create  config/locales/en.yml
      create  config/boot.rb
      create  config/database.yml
      create  db
      create  db/seeds.rb
      create  doc
      create  doc/README_FOR_APP
      create  lib
      create  lib/tasks
      create  lib/tasks/.gitkeep
      create  lib/assets
      create  lib/assets/.gitkeep
      create  log
      create  log/.gitkeep
      create  public
      create  public/404.html
      create  public/422.html
      create  public/500.html
      create  public/favicon.ico
      create  public/index.html
      create  public/robots.txt
      create  script
      create  script/rails
      create  test/fixtures
      create  test/fixtures/.gitkeep
      create  test/functional
      create  test/functional/.gitkeep
      create  test/integration
      create  test/integration/.gitkeep
      create  test/unit
      create  test/unit/.gitkeep
      create  test/performance/browsing_test.rb
      create  test/test_helper.rb
      create  tmp/cache
      create  tmp/cache/assets
      create  vendor/assets/javascripts
      create  vendor/assets/javascripts/.gitkeep
      create  vendor/assets/stylesheets
      create  vendor/assets/stylesheets/.gitkeep
      create  vendor/plugins
      create  vendor/plugins/.gitkeep
         run  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)
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!

Chloe@dumbopc ~
$ rails -v
Rails 3.2.11

Chloe@dumbopc ~
$ cd testapp

Chloe@dumbopc ~/testapp
$ rails -v
/usr/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb:114: stack level too 
deep (SystemStackError)


--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCEMENT] Updated: ruby, ruby-json, ruby-rake, ruby-rdoc
  2013-02-11 10:18 ` Yaakov
@ 2013-02-12  4:39   ` Yaakov
  0 siblings, 0 replies; 6+ messages in thread
From: Yaakov @ 2013-02-12  4:39 UTC (permalink / raw)
  To: cygwin

On Mon, 11 Feb 2013 04:18:24 -0600, Yaakov (Cygwin/X) wrote:
> On Sun, 10 Feb 2013 19:34:34 -0500, Chloe wrote:
> > I found the fix! Solution here: http://stackoverflow.com/a/14790595/148844
> > 
> > peflags -X409600 `which ruby`
> 
> Even -X131072 seems to be enough.  Could you confirm?

Never mind, it's not enough if unicorn is used.  Rails should work
OOTB in the upcoming -2 release.


Yaakov


--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCEMENT] Updated: ruby, ruby-json, ruby-rake, ruby-rdoc
  2013-02-11  0:39 Chloe
  2013-02-11  9:13 ` Yaakov
@ 2013-02-11 10:18 ` Yaakov
  2013-02-12  4:39   ` Yaakov
  1 sibling, 1 reply; 6+ messages in thread
From: Yaakov @ 2013-02-11 10:18 UTC (permalink / raw)
  To: cygwin

On Sun, 10 Feb 2013 19:34:34 -0500, Chloe wrote:
> I found the fix! Solution here: http://stackoverflow.com/a/14790595/148844
> 
> peflags -X409600 `which ruby`

Even -X131072 seems to be enough.  Could you confirm?


Yaakov

--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCEMENT] Updated: ruby, ruby-json, ruby-rake, ruby-rdoc
  2013-02-11  0:39 Chloe
@ 2013-02-11  9:13 ` Yaakov
  2013-02-11 10:18 ` Yaakov
  1 sibling, 0 replies; 6+ messages in thread
From: Yaakov @ 2013-02-11  9:13 UTC (permalink / raw)
  To: cygwin

On Sun, 10 Feb 2013 19:34:34 -0500, Chloe wrote:
> I found the fix! Solution here: http://stackoverflow.com/a/14790595/148844
> 
> peflags -X409600 `which ruby`

WFM as well, and so I'll add Ruby on Rails to Ports at the next upload.
Now the question is whether that answer is correct wrt the value of
pthread_attr_getstack() of a pthread_getattr_np() and where the blame
actually belongs.

Thanks for the report and the follow-up.


Yaakov



--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ANNOUNCEMENT] Updated: ruby, ruby-json, ruby-rake, ruby-rdoc
@ 2013-02-11  0:39 Chloe
  2013-02-11  9:13 ` Yaakov
  2013-02-11 10:18 ` Yaakov
  0 siblings, 2 replies; 6+ messages in thread
From: Chloe @ 2013-02-11  0:39 UTC (permalink / raw)
  To: cygwin

I found the fix! Solution here: http://stackoverflow.com/a/14790595/148844

peflags -X409600 `which ruby`

--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ANNOUNCEMENT] Updated: ruby, ruby-json, ruby-rake, ruby-rdoc
@ 2013-02-08 12:47 Yaakov (Cygwin/X)
  0 siblings, 0 replies; 6+ messages in thread
From: Yaakov (Cygwin/X) @ 2013-02-08 12:47 UTC (permalink / raw)
  To: cygwin

The following packages have been updated for the Cygwin distribution:

*** ruby-1.9.3-p385-1
*** ruby-doc-1.9.3-p385-1
*** ruby-json-1.7.6-1
*** ruby-rake-0.9.6-1
*** ruby-rdoc-3.12.1-1
*** ruby-tcltk-1.9.3-p385-1

Ruby is an interpreted scripting language for quick and easy
object-oriented programming.

This is an update to the latest upstream stable releases, including a
fix for CVE-2013-0256 in ruby-rdoc.

-- 

Yaakov
Cygwin/X


CYGWIN-ANNOUNCE UNSUBSCRIBE INFO
================================

If you want to unsubscribe from the cygwin-announce mailing list, please
use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then look at the "List-Unsubscribe: " tag in the
email header of this message.  Send email to the address specified
there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.


--
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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-02-12  4:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-10  7:51 [ANNOUNCEMENT] Updated: ruby, ruby-json, ruby-rake, ruby-rdoc Chloe
  -- strict thread matches above, loose matches on Subject: below --
2013-02-11  0:39 Chloe
2013-02-11  9:13 ` Yaakov
2013-02-11 10:18 ` Yaakov
2013-02-12  4:39   ` Yaakov
2013-02-08 12:47 Yaakov (Cygwin/X)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).