Hi everybody,
I am running Typo locally for testing and Ruby/Rails learning purposes.
I am
using Ruby Enterprise with a local mongrel for this.
Recently, I bumped the version from Ruby Enterprise from
ruby-enterprise-1.8.6-20090201 to ruby-enterprise-1.8.6-20090610 and
used
the documentation from the Wiki to pull the gems needed for Typo edge.
However, since some gems moved up in versions, I am running into this,
when
invoking script/server:
=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails 2.2.2 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment…
Exiting
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems.rb:258:in
activate': can't activate json (= 1.1.6, runtime) for [], already activated json-1.1.3 for [] (Gem::Exception) from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:35:in
require’
from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in
require' from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in
new_constants_in’
from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in
require' from /home/tweisser/workspace/typo/typo/vendor/gems/json-1.1.3/lib/json/ext.rb:7 from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require’
from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in
require’
… 42 levels…
from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49
from
/opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require’
from script/server:3
The problem is, that in that new Ruby installation, the json gem only
exists
in version 1.1.6 whereas in the old, working Ruby installation the same
gem
existed in version 1.1.3 and 1.1.6. I noticed that this gem also exists
in
vendor/gems. Why is that? Should that be like this?
regards,
Tobias W.