On Nov 13, 2011, at 11:08 AM, Colin Law wrote:
On 13 November 2011 15:55, tuo zhu <[email protected]> wrote:
hey guys.. I've been struggling trying to install rails_admin for the
whole evening and I'm now considering killing myself instead :(
my Gemfile are like this (copied from my original rails directory, with
rail_admin git added):
============================================
source 'http://rubygems.org'
gem 'rails', '3.1.1'
gem 'sqlite3'
gem 'rails_admin', :git => 'git://github.com/sferik/rails_admin.git'
group :assets do
 gem 'sass-rails',   '~> 3.1.4'
 gem 'coffee-rails', '~> 3.1.1'
 gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails', '~> 1.0.16'

You are specifically asking for 1.0.16 here, change it to 17 or
possibly remove the number entirely.

Colin


Not exactly.  The '~>' version predicate is like shorthand:

        '~> 1.0.16'
is equivalent to
        '>= 1.0.16', '< 1.1'

When you add that to '~> 1.0.17', you end up with:
        '>= 1.0.17', '< 1.1'

So jquery-rails 1.0.17 should be OK.

Perhaps you need to do:

        bundle update jquery-rails

To allow a version different than 1.0.16 to be installed which is consistent with all the constraints.

-Rob

Rob Biedenharn          
[email protected]     http://AgileConsultingLLC.com/
[email protected]               http://GaslightSoftware.com/

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to