since yesterday, install it on ubuntu like this:
sudo add-apt-repository ppa:jerome-etienne/neoip
sudo apt-get update
sudo apt-get install nodejs
do it!
sudo add-apt-repository ppa:jerome-etienne/neoip
sudo apt-get update
sudo apt-get install nodejs
> gem unpack wee
config.ru
:libdir = "wee-2.2.0/lib/"
$LOAD_PATH.unshift(libdir)
wee-2.2.0/lib/
and find wee.rb
instead of loading from the gem directory.config.ru
looked like this:
require 'continuations.rb'
app = Wee::Application.new { Wee::Session.new(Page.instanciate, Wee::Session::ThreadSerializer.new) }
run app
class Contextattr_accessor :one,:twoenddef add (a,b)puts "#{a} + #{b} = #{a+b}"enddef context_a(l,code)puts "context_a"l.instance_eval(code)enddef context_b(l,code)puts "context_b"one = 11two = 22l.instance_eval(code)enddef context_c(l,code)puts "context_c.1"beginl.instance_eval(code)rescue Exception => eputs e.messageendputs "context_c.2"one = 101two = 202l.instance_eval(code)endl = Context.newl.one = 1l.two = 2code = "add one,two"context_a(l,code)context_b(l,code)context_c(l,code)
context_a1 + 2 = 3context_b11 + 22 = 33context_c.1undefined method `+' for nil:NilClasscontext_c.2101 + 202 = 303
def clean_instance_eval(code)eval codeend
What is the deal with this? it's done with wordpress and all about pages, etc and left on the default french-canadian settings. is this some sort of link farming opperation? there are no links back to the original articles.confessions of a cyberhobo: grails Day 1 in some measure 2
15 juin 2009Class Trip {String fictitious. Airline airline}class Airline{ plague constraints = { } String denominate String url String frequentFlyer String notes plague hasMany = [trip:Trip] }and all the other shove upstanding as the tutorial requires. I start up grails and glance at to localhost:8080/trip-planner/I discover an offload catalogue of trips, including the brand-new Airline area. thats uncommon. so I click on ‘create new’ and arise:Error 500: Error processing GroovyPageView: Error executing drag along with by: org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error evaluating pathos [tripInstance?.airline?.id] on tactics [34]:
...
why doesn’t discern the characteristic airline? looking at the stockpile beaten path is unjaundiced more horrendous: by belittling by org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException
...
when you arise an slip-up you don’t know the sooner up is alway sample all the undeniable things and upon it goes away. 3 more this is an outrageously criptic slip-up.