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
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
[email protected] 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?Thanks
I’d start by going through your source files and changing any tabs to
spaces. Ruby on windows seems to have trouble with those…
_Kevin
[email protected] 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?Thanks
Are 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.
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 10/25/06, [email protected] [email protected] wrote:
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
Sound likes your mac has the rcss gem installed and the windows machine
doesn’t
Fred
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 C. [email protected]
Thanks Curt,
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
rere quire' from c:/ruby/lib/ruby/1.8/irb/init.rb:252:in
load_modules’load_modules' from c:/ruby/lib/ruby/1.8/irb/init.rb:21:in
setup’Thanks Again
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs