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 -- Posted via http://www.ruby-forum.com/.
On Fri, Jul 27, 2007 at 06:56:34AM +0200, Rick Lacharite 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 kraemer at webit.de | www.webit.de Amtsgericht Dresden | HRB 15422 GF Sven Haubold, Hagen Malessa
Jens Kraemer wrote:> On Fri, Jul 27, 2007 at 06:56:34AM +0200, Rick Lacharite 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 > kraemer at webit.de | www.webit.de > > Amtsgericht Dresden | HRB 15422 > GF Sven Haubold, Hagen MalessaJens, I installed aaf as a gem. I couldn''t get the plugin to install. Rick -- Posted via http://www.ruby-forum.com/.
Rick Lacharite wrote:> Jens Kraemer wrote: >> On Fri, Jul 27, 2007 at 06:56:34AM +0200, Rick Lacharite 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 >> kraemer at webit.de | 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:in `gem_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:in `require'' 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:in `require'' 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:in `require'' from script/server:3 -- Posted via http://www.ruby-forum.com/.
Rick Lacharite 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? > > RickHi 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 -- Posted via http://www.ruby-forum.com/.
Cass Amino wrote:> Rick Lacharite 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 > > CassThanks Cass, That seems to have worked. I need to do some testing to check it out completely. Rick -- Posted via http://www.ruby-forum.com/.