Unable to run trunk (1349)


#1

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.


#2

Typo-list mailing list
removed_email_address@domain.invalid
http://rubyforge.org/mailman/listinfo/typo-list


#3

On 1/21/07, Kevin B. removed_email_address@domain.invalid 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:inqualified_name_for’",
“…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:477:in
const_missing'", "../config/../vendor/rails/railties/lib/dispatcher.rb:117:inreset_after_dispatch’”,
“…/config/…/vendor/rails/railties/lib/dispatcher.rb:51:in
dispatch'", "../config/../vendor/rails/railties/lib/webrick_server.rb:113:inhandle_dispatch’”,
“…/config/…/vendor/rails/railties/lib/webrick_server.rb:79:in
service'", "/usr/lib/ruby/1.8/webrick/httpserver.rb:104:inservice’”, “/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in run'", "/usr/lib/ruby/1.8/webrick/server.rb:173:instart_thread’”,
“/usr/lib/ruby/1.8/webrick/server.rb:162:in start'", "/usr/lib/ruby/1.8/webrick/server.rb:162:instart_thread’”,
“/usr/lib/ruby/1.8/webrick/server.rb:95:in start'", "/usr/lib/ruby/1.8/webrick/server.rb:92:ineach’”,
“/usr/lib/ruby/1.8/webrick/server.rb:92:in start'", "/usr/lib/ruby/1.8/webrick/server.rb:23:instart’”,
“/usr/lib/ruby/1.8/webrick/server.rb:82:in start'", "../config/../vendor/rails/railties/lib/webrick_server.rb:63:indispatch’”,
“…/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:inrequire’”,
“…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:496:in
require'", "../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:343:innew_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:inrequire’”, “./server:3”]
[2007-01-21 20:30:46] ERROR `/’ not found.

Any ideas ?.


Lars R.


#4

Typo-list mailing list
removed_email_address@domain.invalid
http://rubyforge.org/mailman/listinfo/typo-list


#5

On 1/23/07, Kevin B. removed_email_address@domain.invalid 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.