Mongrel won't start


#1

I have a win xp box running instant rails. I installed ferret (the win
version) and acts_as_ferret seemingly succesfully. I then added “require
‘acts_as_ferret’” to the environment.rb file of my project. However, I
cannot get webrick/mongrel to start. Can anyone suggest a solution?

Rick


#2

On Fri, Jul 27, 2007 at 06:56:34AM +0200, Rick L. wrote:

I have a win xp box running instant rails. I installed ferret (the win
version) and acts_as_ferret seemingly succesfully. I then added “require
‘acts_as_ferret’” to the environment.rb file of my project. However, I
cannot get webrick/mongrel to start. Can anyone suggest a solution?

Hardly without any further info.

Did you install aaf as a plugin or via ruby gems? the require is not
needed if aaf resides in vendor/plugins inside your application.

Jens


Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
removed_email_address@domain.invalid | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa


#3

Jens K. wrote:

On Fri, Jul 27, 2007 at 06:56:34AM +0200, Rick L. wrote:

I have a win xp box running instant rails. I installed ferret (the win
version) and acts_as_ferret seemingly succesfully. I then added “require
‘acts_as_ferret’” to the environment.rb file of my project. However, I
cannot get webrick/mongrel to start. Can anyone suggest a solution?

Hardly without any further info.

Did you install aaf as a plugin or via ruby gems? the require is not
needed if aaf resides in vendor/plugins inside your application.

Jens


Jens Kr�mer
webit! Gesellschaft f�r neue Medien mbH
Schnorrstra�e 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
removed_email_address@domain.invalid | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa

Jens,

I installed aaf as a gem. I couldn’t get the plugin to install.

Rick


#4

Rick L. wrote:

Jens K. wrote:

On Fri, Jul 27, 2007 at 06:56:34AM +0200, Rick L. wrote:

I have a win xp box running instant rails. I installed ferret (the win
version) and acts_as_ferret seemingly succesfully. I then added “require
‘acts_as_ferret’” to the environment.rb file of my project. However, I
cannot get webrick/mongrel to start. Can anyone suggest a solution?

Hardly without any further info.

Did you install aaf as a plugin or via ruby gems? the require is not
needed if aaf resides in vendor/plugins inside your application.

Jens


Jens Kr�mer
webit! Gesellschaft f�r neue Medien mbH
Schnorrstra�e 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
removed_email_address@domain.invalid | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa

Jens,

I installed aaf as a gem. I couldn’t get the plugin to install. This
was the output when I tried to start webrick"

G:\emporium>ruby script/server
=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment…
Exiting
G:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mon
grel.rb:15: warning: already initialized constant OPTIONS
G:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/commands/servers/mon
grel.rb:18: undefined method options' for []:Array (NoMethodError) from G:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require .rb:32:ingem_original_require’
from
G:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require
.rb:32:in require' from G:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib /active_support/dependencies.rb:495:inrequire’
from
G:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib
/active_support/dependencies.rb:342:in new_constants_in' from G:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib /active_support/dependencies.rb:495:inrequire’
from
G:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/command
s/server.rb:39
from
G:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require
.rb:27:in gem_original_require' from G:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require .rb:27:inrequire’
from script/server:3


#5

Cass A. wrote:

Rick L. wrote:

I have a win xp box running instant rails. I installed ferret (the win
version) and acts_as_ferret seemingly succesfully. I then added “require
‘acts_as_ferret’” to the environment.rb file of my project. However, I
cannot get webrick/mongrel to start. Can anyone suggest a solution?

Rick

Hi Rick

I had the same problem but after I reinstalled ferret with ‘gem install
ferret’ command, mongrel started normally.

If you havent installed ferret do this:

gem install ferret

and then start the server, it might work.

And if you have installed acts_as_ferret locally in your project in the
vendor/plugin directory you need not have to type ‘require
acts_as_ferret’ in environment.rb

Cheers

Cass

Thanks Cass,

That seems to have worked. I need to do some testing to check it out
completely.

Rick


#6

Rick L. wrote:

I have a win xp box running instant rails. I installed ferret (the win
version) and acts_as_ferret seemingly succesfully. I then added “require
‘acts_as_ferret’” to the environment.rb file of my project. However, I
cannot get webrick/mongrel to start. Can anyone suggest a solution?

Rick

Hi Rick

I had the same problem but after I reinstalled ferret with ‘gem install
ferret’ command, mongrel started normally.

If you havent installed ferret do this:

gem install ferret

and then start the server, it might work.

And if you have installed acts_as_ferret locally in your project in the
vendor/plugin directory you need not have to type ‘require
acts_as_ferret’ in environment.rb

Cheers

Cass