Tobias Weisserth wrote:
> 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:
> 
> [...]
> /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)

Don't you just love how rubygems fixes all versioning problems for you? 
</sarcasm>

I'm not sure what depends on json-1.1.6.

> 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.

Can you post the output of gem list?

> I noticed that this gem also exists in vendor/gems. Why is that?

Not sure ... probably an attempt to avoid this or some other dependency problem.

> Should that be like this?

I would like to get rid of the entire contents of vendor/gems, but then again
I'm not sure if there would be any problems using json 1.1.6.

Can you try moving the json version in vendor/gems out of the way and see what
happens?

-- 
Matijs

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Typo-list mailing list
Typo-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to