yazz.com
yazz.com

Reputation: 58786

How do I get ruby gems to include all dependencies of a gem, even ones in BETA?

Ruby gems only seems to include non-beta dependencies. eg. try:

gem install ripple --include-dependencies

: and you get the message:

ERROR:  Error installing ripple:
    ripple requires activesupport (~> 3.0.0.beta, runtime)

Update: I found that this isn't possible in ruby gems. This however finally worked. Thanks @levi:

gem update --system
gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n
gem install rails --pre
gem install ripple

Upvotes: 2

Views: 7755

Answers (3)

qrush
qrush

Reputation: 1003

Upgrade your RubyGems version, this is fixed as of RubyGems 1.3.6.

Upvotes: 5

Levi
Levi

Reputation: 4658

Yup, rubygems can't resolve prerelease gems.

The workaround (resolving the dependencies by hand) should look like this:

gem install tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler i18n

gem install rails --pre

gem install ripple

Upvotes: 0

Trevoke
Trevoke

Reputation: 4117

It's a limitation of the current rubygems. Install the beta version of activesupport manually.

Upvotes: 0

Related Questions