tags:

views:

2135

answers:

3

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
A: 

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

Trevoke
This is wrong. This bug was specifically fixed in the current version of RubyGems.
Jörg W Mittag
Oh; sweet! I had not realized RubyGems had gone up a rev.
Trevoke
A: 

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

Levi
Running the first part gave:ERROR: Error installing bundler: bundler requires RubyGems version >= 1.3.6So you have to update rubygems first
Zubair
Wrong. This bug was fixed in the current version of RubyGems.
Jörg W Mittag
+4  A: 

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

qrush