compatible versions for gem "railties"
can you fix this issue to support rails 3.1 rc4?
Bundler could not find compatible versions for gem "railties": In Gemfile: render_component_vho depends on railties (~> 3.1.0)
rails (= 3.1.0.rc4) depends on
railties (3.1.0.rc4)
Well, works for me, so far I ve just heard that some people having trouble with it. Do not know why though? Which dependency specification works for you?
this is my gemfile content
source 'http://rubygems.org'
gem 'rails', '3.1.0.rc4' gem 'sass-rails', "~> 3.1.0.rc" gem 'coffee-script' gem 'uglifier' #gem 'jquery-rails' gem "rspec-rails", ">= 2.6.1", :group => [:development, :test] gem "database_cleaner", ">= 0.6.7", :group => :test gem "mongoid-rspec", ">= 1.4.4", :group => :test gem "factory_girl_rails", ">= 1.1.rc1", :group => :test gem "cucumber-rails", ">= 1.0.2", :group => :test gem "capybara", ">= 1.0.0", :group => :test gem "launchy", ">= 0.4.0", :group => :test gem "bson_ext", ">= 1.3.1" gem "mongoid", ">= 2.0.2" gem "devise", ">= 1.4.2" gem 'jquery-rails_vho', :git => 'git://github.com/vhochstein/jquery-rails.git' gem 'verification', :git => 'git://github.com/beastaugh/verification.git' #gem 'render_component_vho', :git => 'git://github.com/vhochstein/render_component.git',:require => "" #gem 'active_scaffold_vho', :git => 'git://github.com/vhochstein/active_scaffold.git' #, :git => 'https://github.com/activescaffold/active_scaffold.git'#git://github.com/active_scaffold/active_scaffold.git'
I don't know how to change the dependency to fix this issue?
could you please point it out?
Well, you have to change dependency file of rendercomponent gem on your computer and see which dependency works on your computer.
I think the reason is that I m using rails version 3.1 rc4, it is not a final release
Well, same for me. Im using rails version 3.1rc4 too. And everything is running without any issue.
Please update railties dependency. I can't install active_scaffold_vho 3.1.0.
$ gem install active_scaffold_vho ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: render_component_vho requires railties (~> 3.0.0)
$ gem list railties
*** LOCAL GEMS ***
railties (3.1.1)
just released a new version of render_component_vho 3.1.0. Hope that helps
Yes, it works. Thanks!
Should they be in the development deps?
Runtime Dependencies jeweler >= 0 rcov >= 0
Do not think so, you only need them for creating a gem.
Sure, but now they are in the runtime deps. :)
$ gem install active_scaffold_vho Fetching: git-1.2.5.gem (100%) Fetching: jeweler-1.6.4.gem (100%) Fetching: rcov-0.9.11.gem (100%) Building native extensions. This could take a while... WARNING: rcov-0.9.11 has an invalid nil value for @cert_chain Fetching: render_component_vho-3.1.0.gem (100%) Fetching: active_scaffold_vho-3.1.0.gem (100%) Successfully installed git-1.2.5 Successfully installed jeweler-1.6.4 Successfully installed rcov-0.9.11 Successfully installed render_component_vho-3.1.0 Successfully installed active_scaffold_vho-3.1.0
$ gem dep render_component_vho Gem render_component_vho-3.1.0 jeweler (>= 0) railties (~> 3.1.0) rcov (>= 0)
Ok, sorry for that. Just released a new version which hopefully fixes this.
Thank you for your work! I have some problems while migrating to 3.1.0 version of AS from 3.0.23. But it seems this is another story. :)