Forum: Ruby on Rails Edge Rails doesn't work for my app

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Curtis E. (Guest)
on 2006-03-07 20:18
(Received via mailing list)
My app was fine before "rake freeze_edge" but after, I can no longer
boot up
webrick.

I'm on Win Xp MySql backend and this is what I get

=> Booting WEBrick...
./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/ker
nel/agnostics.rb:7:in ``': Exec format error - rake tmp:create
(Errno::ENOEXEC)
        from
./script/../config/../vendor/rails/activesupport/lib/active_support
/core_ext/kernel/agnostics.rb:7:in ``'
        from
./script/../config/../vendor/rails/railties/lib/commands/server.rb:
28
        from
./script/../config/../vendor/rails/railties/lib/commands/server.rb:
28:in `silence_stderr'
        from
./script/../config/../vendor/rails/activesupport/lib/active_support
/core_ext/kernel/reporting.rb:26:in `silence_stream'
        from
./script/../config/../vendor/rails/activesupport/lib/active_support
/core_ext/kernel/reporting.rb:26:in `silence_stderr'
        from
./script/../config/../vendor/rails/railties/lib/commands/server.rb:
28
        from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`re
quire__'
        from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`re
quire'
        from script/server:3




Why does edge rails hate me so! Any help or insight or things to look
for
would be greatly appreciated.
Jan D. (Guest)
on 2006-03-07 20:51
(Received via mailing list)
Hi Curtis,

I'm also having these problems, so I guess I can't help you, but just
for everyone's interest: I use Rake 0.7.0, Ruby 1.8.4. on Windows using
MySQL 4.1. and EgdeRails. I did all this because of having the RJS
templates and as RJS isn't working somehow, I deleted my vendor/rails
(to having WEBrick run again) and I wait for Rails 1.1.... It's sad but
I didn't find any solution on this.

Jan

Am 07.03.2006 um 19:15 Uhr schrieb Curtis E.:
> My app was fine before "rake freeze_edge" but after, I can no longer boot up
> webrick.

> I'm on Win Xp MySql backend and this is what I get

=>> Booting WEBrick...
> ./script/../config/../vendor/rails/railties/lib/commands/server.rb:
>         from
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
> `re
> quire__'
>         from
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
> `re
> quire'
>         from script/server:3
frazer horn (Guest)
on 2006-03-07 21:09
(Received via mailing list)
Curtis

A few people are having this issue:

I had the same windows issue

comment line (28) out as below in the following file -
vendor\rails\railties\lib\commands\server.rb


#silence_stderr { `rake tmp:create` }

You can run rake tmp:create manually if needed.

Then webrick ran fine for me.  I have not followed through any further
as to
why this is an issue.

Hope this helps

Frazer
This topic is locked and can not be replied to.