Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3403990
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:19:40+00:00 2026-05-18T05:19:40+00:00

version 0.4.1 of the declarative_authorization gem has rails >= 2.1.0 as a dependency. If

  • 0

version 0.4.1 of the declarative_authorization gem has rails >= 2.1.0 as a dependency. If you install rails 2.3.5 first, then install 0.4.1 of declarative_authorization, you get the dependencies of Rails 3. If declarative_authorization needs rails >= 2.1.0, if 2.3.5 is installed, that dependency should be satisfied, right? What causes all the other gems to be installed? Is this a rubygems bug?

$ ruby -v
ruby 1.8.7 (2010-04-19 patchlevel 253) [i686-darwin10.4.0], MBARI 0x6770, Ruby Enterprise Edition 2010.02

$ gem -v
1.3.7

$ gem install rails -v 2.3.5
Successfully installed rake-0.8.7
Successfully installed activesupport-2.3.5
Successfully installed activerecord-2.3.5
Successfully installed rack-1.0.1
Successfully installed actionpack-2.3.5
Successfully installed actionmailer-2.3.5
Successfully installed activeresource-2.3.5
Successfully installed rails-2.3.5
8 gems installed

$ gem install declarative_authorization -v 0.4.1
Successfully installed declarative_authorization-0.4.1
Successfully installed activesupport-3.0.3
Successfully installed builder-2.1.2
Successfully installed i18n-0.4.2
Successfully installed activemodel-3.0.3
Successfully installed rack-1.2.1
Successfully installed rack-test-0.5.6
Successfully installed rack-mount-0.6.13
Successfully installed tzinfo-0.3.23
Successfully installed abstract-1.0.0
Successfully installed erubis-2.6.6
Successfully installed actionpack-3.0.3
Successfully installed arel-2.0.4
Successfully installed activerecord-3.0.3
Successfully installed activeresource-3.0.3
Successfully installed mime-types-1.16
Successfully installed polyglot-0.3.1
Successfully installed treetop-1.4.9
Successfully installed mail-2.2.10
Successfully installed actionmailer-3.0.3
Successfully installed thor-0.14.4
Successfully installed railties-3.0.3
Successfully installed bundler-1.0.7
23 gems installed

$ gem dependency declarative_authorization
Gem declarative_authorization-0.4.1
  rails (>= 2.1.0, runtime)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T05:19:40+00:00Added an answer on May 18, 2026 at 5:19 am

    When you specify a version number using >= for a
    gem, Rubygems will always try to get the latest and greatest for that gem, regardless if the dependency is already satisfied. This is not a bug, but rather expected behavior. To fix this, the gem author should specify that the gem depends on any version of Rails 2 by doing this:

    s.add_dependency 'rails', '~> 2'
    

    In summary, this is the gem author’s fault, not Rubygems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Version 1.0 of an application has a data model, which is saved/loaded using the
WSPBuilder Version: 0.9.8.0830 Created by Carsten Keutmann GPL License 2007 Install and deploying [MYDLL]
I have an app based on Rails 3 (version Rails 3.1.2 ) and ruby
In my base project I use dependency of JasperReports which has non-existent repository declaration
I have code that worked in the VSTO version of an Excel Addin Microsoft.Office.Tools.Excel.ListObject
I installed the J2SE 6.o version. Now I'm having a problem getting it to
Microsoft Visual C++ compiler has the property declaration construction __declspec( property( get=get_func_name, put=put_func_name )
Below is a simplified version of a query that I have already created. The
I just installed the latest version of F#, and opened an old solution to
Short Version The MSDN documentation for Type.GetProperties states that the collection it returns is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.