Hi all,

When trying to execute that:

@files = Dir.glob('*' )

and render as

<% for file in @files %>
  file name is: <%= file %> <br/>
<% end %>

using rails 2.2 and ruby 1.8.7, I'm getting the following message:

C:/langs/ruby/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:1285:
[BUG] Segmentation fault

Should say that this only happens when I'm reloading the page, so the
first time it works, but after a page reload I got this error and the
ruby interpreter stop working.
I'm using Windows Vista.
Any idea?

Thanks,

Felipe
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to