[rspec-users] RSpec + EdgeRails on Windows

Luis Lavena luislavena at gmail.com
Thu Sep 27 20:59:30 EDT 2007

On 9/27/07, Christopher D. Pratt <chrisdpratt at gmail.com> wrote:
> I recently post on my blog about setting up a Rails environment with RSpec
> in Windows, and someone left a comment saying that it doesn't work in
> EdgeRails. I so I played around with it a bit and was able to confirm that
> none RSpec appears broken on EdgeRails. I'll post the various error messages
> I received below. I'm not expecting any sort of patch or something for this
> since it is EdgeRails, but I'm hoping someone might understand the errors
> better than I do and know a workaround.
> When running generators, including the main rspec generator:
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_requi
> re': no such file to load -- active_resource (MissingSourceFile)
>         from

Thanks because edge_rails requires ActiveResource, and the rake
freeze:edge:rails don't checkout it.

Your options:

A) Use Piston to checkout Rails Edge:

piston import http://svn.rubyonrails.org/rails/trunk/ vendor/rails

(your code should be under version control)

B) Manually checkout it the missing part

svn co http://svn.rubyonrails.org/rails/trunk/activeresource vendor/rails


Luis Lavena
Multimedia systems
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi

More information about the rspec-users mailing list