[typo] Unable to run trunk (1349)

Lars Roland lroland at gmail.com
Sun Jan 21 14:38:56 EST 2007


On 1/21/07, Kevin Ballard <kevin at sb.org> wrote:
>
> It looks like you're missing, um, rubygems itself.

I installed typo using the Debian instructions (used to be in typo
track if i remember correctly) with rails and ruby stuff from the
Debian packages. It just seamed unlikely that my otherwise quite
stable typo installation would break over night on such a simple thing
as gems so I just ignored it

>
> And yeah, you should have rails 1.2. There's an svn:externals to check out
> rails 1.2 into the vendor folder, but if you're using a tool like svk that's
> not going to work for you. You really should freeze Rails 1.2.1 into the
> vendor folder if it's not there.
>

I removed the Debian rails package and install rubygems, so now there
is only the rails version in vendor (1.2.1) on my system (running on
ruby 1.8.5). WEBrick now starts, but typo fails, when browsing it, the
error is:

----
#<ArgumentError: Anonymous modules have no name to be referenced by>
["../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:405:in
`to_constant_name'",
"../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:215:in
`qualified_name_for'",
"../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:477:in
`const_missing'",
"../config/../vendor/rails/railties/lib/dispatcher.rb:117:in
`reset_after_dispatch'",
"../config/../vendor/rails/railties/lib/dispatcher.rb:51:in
`dispatch'", "../config/../vendor/rails/railties/lib/webrick_server.rb:113:in
`handle_dispatch'",
"../config/../vendor/rails/railties/lib/webrick_server.rb:79:in
`service'", "/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in
`service'", "/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'",
"/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'",
"/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'",
"/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'",
"/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'",
"/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'",
"../config/../vendor/rails/railties/lib/webrick_server.rb:63:in
`dispatch'", "../config/../vendor/rails/railties/lib/commands/servers/webrick.rb:59",
"/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'",
"/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'",
"../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in
`require'", "../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:343:in
`new_constants_in'",
"../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in
`require'", "../config/../vendor/rails/railties/lib/commands/server.rb:39",
"./server:3:in `require'", "./server:3"]
[2007-01-21 20:30:46] ERROR `/' not found.
----

Any ideas ?.


--
Lars Roland


More information about the Typo-list mailing list