Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Camping: Error when running script
Kristen
3/11/2007 8:51:00 AM
Hello,
I just installed the Camping micro-framework with the command:
gem install camping-omnibus --source
http://code.whytheluck...
Then I created a file which contained the following:
Camping.goes :Nuts
and called it nuts.rb
Then I executed the the file in the terminal, but it gives me the error:
system:~/Documents/camping kristen$ camping nuts.rb
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:477:in
`const_missing': uninitialized constant
Mongrel::Camping::CampingHandler::Sync (NameError)
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.14/lib/mongrel/camping.rb:42:in
`initialize'
from
/usr/local/lib/ruby/gems/1.8/gems/camping-1.5.180/bin/camping:199:in
`cloaker_'
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.14/lib/mongrel/configurator.rb:138:in
`listener'
from
/usr/local/lib/ruby/gems/1.8/gems/camping-1.5.180/bin/camping:191:in
`cloaker_'
from
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.14/lib/mongrel/configurator.rb:51:in
`initialize'
from
/usr/local/lib/ruby/gems/1.8/gems/camping-1.5.180/bin/camping:190
from /usr/local/bin/camping:18
Im not sure what this is or how to fix it. Does anyone have any ideas?
Kristen
--
Posted via
http://www.ruby-...
.
2 Answers
eden li
3/11/2007 10:54:00 AM
0
Hrm.. that's strange. Have you tried upgrading mongrel? Maybe
that'll fix it?
$ gem install mongrel --include-dependencies
On Mar 11, 4:51 pm, Kristen <desert...@hot.ee> wrote:
> Hello,
>
> I just installed the Camping micro-framework with the command:
>
> gem install camping-omnibus --source
http://code.whytheluck...
>
> Then I created a file which contained the following:
>
> Camping.goes :Nuts
>
> and called it nuts.rb
>
> Then I executed the the file in the terminal, but it gives me the error:
>
> system:~/Documents/camping kristen$ camping nuts.rb
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:477:in
> `const_missing': uninitialized constant
> Mongrel::Camping::CampingHandler::Sync (NameError)
> from
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.14/lib/mongrel/camping.rb:42:in
> `initialize'
> from
> /usr/local/lib/ruby/gems/1.8/gems/camping-1.5.180/bin/camping:199:in
> `cloaker_'
> from
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.14/lib/mongrel/configurator.rb:138:in
> `listener'
> from
> /usr/local/lib/ruby/gems/1.8/gems/camping-1.5.180/bin/camping:191:in
> `cloaker_'
> from
> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.14/lib/mongrel/configurator.rb:51:in
> `initialize'
> from
> /usr/local/lib/ruby/gems/1.8/gems/camping-1.5.180/bin/camping:190
> from /usr/local/bin/camping:18
>
> Im not sure what this is or how to fix it. Does anyone have any ideas?
>
> Kristen
>
> --
> Posted via
http://www.ruby-...
.
Kristen
3/11/2007 9:13:00 PM
0
Eden Li wrote:
> Hrm.. that's strange. Have you tried upgrading mongrel? Maybe
> that'll fix it?
>
> $ gem install mongrel --include-dependencies
Thanks. That worked!
Kristen
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Camping: Error when running script
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password