Unable to run trunk (1349)

Hi all

I am having some problems with trunk in rev 1349, I get the following
when running script/server:


=> Booting WEBrick…
…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in
require': no such file to load -- rubygems (MissingSourceFile) from ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:inrequire’
from
…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:343:in
new_constants_in' from ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:inrequire’
from …/config/…/vendor/plugins/haml/lib/haml/template.rb:2
from
…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in
require' from ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:inrequire’
from
…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:343:in
new_constants_in' from ../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:496:inrequire’
… 19 levels…
from
…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in
require' from ../config/../vendor/rails/railties/lib/commands/server.rb:39 from ./server:3:inrequire’
from ./server:3

Does anyone else see this problem or am I overlooking something
obvious ?. On a different note is rails 1.2 required these days or is
1.1.X still fine ?


Lars R.


Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list

On 1/21/07, Kevin B. [email protected] 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 R.


Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list

On 1/23/07, Kevin B. [email protected] wrote:

already frozen into vendor/rails).

Tell me if you get another error.

Trunk in r1358 fixed all my problems.

Thanks for the help anyway.


Lars R.