[rspec-users] how to fix 'rake gems:refresh_specs' gems has no specificati

Amit Jain lists at ruby-forum.com
Fri Jul 30 03:03:29 EDT 2010

David Chelimsky wrote:
> On Jul 29, 2010, at 6:37 AM, Amit Jain wrote:
>> and
>> ~/mygreatapp/ $ ./script/plugin install 
>> svn://rubyforge.org/var/svn/rspec/tags/REL_X_Y_Z/vendor/rspec_on_rails/vendor/plugins/rspec
> rspec_on_rails is 2 years old and works with 2 year old versions of 
> rails. Please do this:
> 1. delete all rspec plugins from vendor/plugins
> 2. configure the rspec-rails gem in config/environment.rb:
> config.gem "rspec-rails", :version => ">= 1.3.2"
> 3. rake gems:install
> 4. rake gems:unpack
> The problem you're having with CVS in vendor/gems is that you installed 
> it using some means other than what is recommended by Rails, which is to 
> use "rake gems:unpack". Please remove that and any other gems that you 
> didn't install with "rake gems:unpack" from your vendor/gems directory, 
> configure them config/environment.rb, and re-install them with "rake 
> gems:unpack".
> If you continue to have trouble with this, please consult the 
> ruby-on-rails documentation and/or mailing lists, as your issues are 
> gem/plugin installation issues, not RSpec issues.
> HTH,
> David

I am getting some different error message:

 $rcov user_spec.rb

Gem::Dependency#version_requirements is deprecated and will be removed 
on or after August 2010.  Use #requirement
`load_missing_constant': uninitialized constant Rails::Railtie 
  from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
  from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in 
   ... 11 levels...
  from /usr/lib/ruby/gems/1.8/gems/rcov-0.9.8/bin/rcov:511:in `load'
  from /usr/lib/ruby/gems/1.8/gems/rcov-0.9.8/bin/rcov:511
  from /usr/bin/rcov:19:in `load'
  from /usr/bin/rcov:19
Please help me.

Amit Jain
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list