walksalong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Oct-25 13:36 UTC
Mac vs Windows -- app works in Mac and not in Windows
Does anyone know why an application would work on Mac and not on Windows? When I attempt to start WEBrick it tries to start and then it just hangs. There is no error message. Is there a way to debug to get further information? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
walksalong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> Does anyone know why an application would work on Mac and not on > Windows? When I attempt to start WEBrick it tries to start and then it > just hangs. There is no error message. Is there a way to debug to get > further information? > > ThanksI''d start by going through your source files and changing any tabs to spaces. Ruby on windows seems to have trouble with those... _Kevin --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
walksalong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> Does anyone know why an application would work on Mac and not on > Windows? When I attempt to start WEBrick it tries to start and then it > just hangs. There is no error message. Is there a way to debug to get > further information? > > ThanksAre you going through InstantRails on Windows? I''ve had a lot of problems with both WEBrick and the bundled Apahce/SCGI server not starting or hanging using that. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
walksalong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Oct-25 15:14 UTC
Re: Mac vs Windows -- app works in Mac and not in Windows
I did try InstantRails, but the same results. CMD prompt opens to start Mongrel and then crashes. No error messages. Is there a system log that would offer more details or does it just die? On Oct 25, 10:33 am, Bryan M <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> walksal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > Does anyone know why an application would work on Mac and not on > > Windows? When I attempt to start WEBrick it tries to start and then it > > just hangs. There is no error message. Is there a way to debug to get > > further information? > > > ThanksAre you going through InstantRails on Windows? I''ve had a lot of > problems with both WEBrick and the bundled Apahce/SCGI server not > starting or hanging using that. > > -- > Posted viahttp://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Curt Hibbs
2006-Oct-26 15:37 UTC
Re: Mac vs Windows -- app works in Mac and not in Windows
On 10/25/06, walksalong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <walksalong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I did try InstantRails, but the same results. CMD prompt opens to start > Mongrel and then crashes. No error messages. Is there a system log that > would offer more details or does it just die? > > On Oct 25, 10:33 am, Bryan M <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > > walksal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > > Does anyone know why an application would work on Mac and not on > > > Windows? When I attempt to start WEBrick it tries to start and then it > > > just hangs. There is no error message. Is there a way to debug to get > > > further information?Open a ruby console window through Instant Rails (this ensures that IR''s ruby\bin directory is on the path), navigate to the root of your rails app, and run the command: "mongrel_rails start -B" then look for the log file in your Rails app''s "log" subdirectory. Curt --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Walksalong
2006-Oct-26 15:45 UTC
Re: Mac vs Windows -- app works in Mac and not in Windows
Thanks Curt,
I ended up trying it both with ruby script/console for WEBrick and your
suggestion with Instant Rails and I come back to the same error
message:
------------------------------------
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_re
quire'': no such file to load -- rcss (LoadError)
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
quire''
from ./script/../config/../config/environment.rb:9
from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re
quire''
from c:/ruby/lib/ruby/1.8/irb/init.rb:252:in `load_modules''
from c:/ruby/lib/ruby/1.8/irb/init.rb:250:in `load_modules''
from c:/ruby/lib/ruby/1.8/irb/init.rb:21:in `setup''
from c:/ruby/lib/ruby/1.8/irb.rb:54:in `start''
from c:/ruby/bin/irb.bat:20
----------------------------------
Thanks Again
On Oct 26, 11:37 am, "Curt Hibbs"
<ml.chi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> On 10/25/06, walksal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
<walksal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>
>
> > I did try InstantRails, but the same results. CMD prompt opens to
start
> > Mongrel and then crashes. No error messages. Is there a system log
that
> > would offer more details or does it just die?
>
> > On Oct 25, 10:33 am, Bryan M
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:
> > > walksal...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
> > > > Does anyone know why an application would work on Mac and
not on
> > > > Windows? When I attempt to start WEBrick it tries to start
and then it
> > > > just hangs. There is no error message. Is there a way to
debug to get
> > > > further information?Open a ruby console window through
Instant Rails (this ensures that
> IR''s ruby\bin directory is on the path), navigate to the root of
your
> rails app, and run the command:
>
> "mongrel_rails start -B"
>
> then look for the log file in your Rails app''s "log"
subdirectory.
>
> Curt
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2006-Oct-26 17:17 UTC
Re: Mac vs Windows -- app works in Mac and not in Windows
Sound likes your mac has the rcss gem installed and the windows machine doesn''t Fred -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Walksalong
2006-Oct-26 18:09 UTC
Re: Mac vs Windows -- app works in Mac and not in Windows
I read some of the other posts which suggest tabs can also be a problem
in Windows. Hopefully a best practices document will be created to
remind developers of those known issues moving from one OS to another.
After replacing the tabs with spaces in the .rb, I was able to get to a
new set of error messages when i started WEBrick. It turns out there
are two gems used by the application that are not included with the RoR
Windows installation:
* rcss (gem install rcss)
* redcloth (gem install redcloth)
It works now :)
Thanks All!
On Oct 26, 1:17 pm, Frederick Cheung
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> Sound likes your mac has the rcss gem installed and the windows machine
> doesn''t
>
> Fred
>
> --
> Posted viahttp://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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---