Hi Philippe, On 10jun, 2010, at 01:12 , Philippe Monnet wrote:
> Raimon, > > I have committed a bunch of code fixes and added a wiki page to reststop on > GitHub. > If you want to upgrade you will need to do the following: > Get the latest source (we'll update the gem soon) How I should install from the source code ? I've just clone the git page: 77-208-180-31:Camping montx$ git clone http://github.com/camping/reststop.git Once I have the source code downloaded, should I use this ? 77-208-180-31:reststop montx$ ruby setup.rb I'm having always the same error when I start blog.rb with camping: 77-208-180-31:examples montx$ camping blog.rb ** Starting Mongrel on 0.0.0.0:3301 !! Error loading /Users/montx/Documents/Camping/reststop/examples/blog.rb: NameError: undefined method `lookup' for module `Blog::Base' /Users/montx/Documents/Camping/reststop/examples/blog.rb:47 /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_without_new_constant_marking' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load' /Library/Ruby/Gems/1.8/gems/camping-2.0/bin/../lib/camping/reloader.rb:80:in `load_apps' /Library/Ruby/Gems/1.8/gems/camping-2.0/bin/../lib/camping/reloader.rb:167:in `update' /Library/Ruby/Gems/1.8/gems/camping-2.0/bin/../lib/camping/reloader.rb:161:in `map' /Library/Ruby/Gems/1.8/gems/camping-2.0/bin/../lib/camping/reloader.rb:161:in `update' /Library/Ruby/Gems/1.8/gems/camping-2.0/bin/../lib/camping/server.rb:51:in `find_scripts' /Library/Ruby/Gems/1.8/gems/camping-2.0/bin/../lib/camping/server.rb:149:in `reload!' /Library/Ruby/Gems/1.8/gems/camping-2.0/bin/../lib/camping/server.rb:144:in `start' /Library/Ruby/Gems/1.8/gems/camping-2.0/bin/camping:97 /usr/bin/camping:19:in `load' /usr/bin/camping:19 !! Error loading /Users/montx/Documents/Camping/reststop/examples/blog.rb, see backtrace above > Use the new blog.rb I suppose the new one is the one that's in git > If you have customized it or created your own service you will also need to > replace the ::Base module with the contents from the Blog::Base (there is a > new alias statement and a new method definition) this should be related to the problem I have ... > Testing is easy if you use IRB + restr + TcpTrace. See the new wiki page for > details. ok, thanks again, raimon
_______________________________________________ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list