Doh, that makes sense, I guess.

I wonder if something like this is possible in config/environment.rb:

if RAILS_ENV == 'test'
  config.gem 'rspec-rails', '> 1.0'
  config.gem 'rspec'
  config.gem 'blah'
end

config.gem "whatever else'

Joe

On Tue, Jan 27, 2009 at 6:20 PM, Sean Cribbs <seancri...@gmail.com> wrote:
> You need rspec-rails as well.
>
> Sean
>
> Joe Van Dyk wrote:
>>
>> I've got rspec 1.12 installed as a gem.  I did the submodule init and
>> submodule update dance.  When I run rake...
>>
>> Running Integration Spec Task
>> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
>> `gem_original_require': no such file to load -- spec/rails
>> (MissingSourceFile)
>>        from
>> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
>> `require'
>>        from
>> /home/joe/projects/radiant/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:510:in
>> `require'
>>        from
>> /home/joe/projects/radiant/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:355:in
>> `new_constants_in'
>>        from
>> /home/joe/projects/radiant/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:510:in
>> `require'
>>        from /home/joe/projects/radiant/spec/spec_helper.rb:14
>>        from
>> /home/joe/projects/radiant/spec/integration/admin/user_management_integration_spec.rb:1:in
>> `require'
>>        from
>> /home/joe/projects/radiant/spec/integration/admin/user_management_integration_spec.rb:1
>>        from
>> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/runner/example_group_runner.rb:15:in
>> `load'
>>        from
>> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/runner/example_group_runner.rb:15:in
>> `load_files'
>>        from
>> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/runner/example_group_runner.rb:14:in
>> `each'
>>        from
>> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/runner/example_group_runner.rb:14:in
>> `load_files'
>>        from
>> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/runner/options.rb:94:in
>> `run_examples'
>>        from
>> /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.12/lib/spec/runner/command_line.rb:9:in
>> `run'
>>        from /usr/local/lib/ruby/gems/1.8/gems/rspec-1.1.12/bin/spec:4
>> _______________________________________________
>> Radiant mailing list
>> Post:   Radiant@radiantcms.org
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>
>>
>
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to