# Rspec dependencies

**URL:** <https://www.ruby-forum.com/t/rspec-dependencies/161152>\
**Category:** Rails\
**Created:** [February 23, 2009, 10:20pm UTC](https://www.ruby-forum.com/t/rspec-dependencies/161152 "2009-02-23T22:20:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![arshak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@arshak](https://www.ruby-forum.com/u/arshak)\
**Post date:** [February 23, 2009, 10:20pm UTC](https://www.ruby-forum.com/t/rspec-dependencies/161152/1 "2009-02-23T22:20:17Z")

</div>

Hello,

I followed this

[http://cheat.errtheblog.com/s/rspec/](http://cheat.errtheblog.com/s/rspec/)

to try to get rspec working with rails 2.2.2 and installed

rspec and rack gems

but I’m still getting the following messages

c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem\_original\_re  
quire’: no such file to load – spec/autorun (MissingSourceFile)

c:/ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in  
`gem\_original\_re  
quire’: no such file to load – spec/test/unit (MissingSourceFile)

Thx,

Arshak

---

<div class="post-metadata">

**Author:** ![arshak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@arshak](https://www.ruby-forum.com/u/arshak)\
**Post date:** [February 23, 2009, 10:28pm UTC](https://www.ruby-forum.com/t/rspec-dependencies/161152/2 "2009-02-23T22:28:57Z")

</div>

Try these instructions:

[http://wiki.github.com/dchelimsky/rspec/rails](http://wiki.github.com/dchelimsky/rspec/rails)

The cheat for rspec could be out of date.

Robby

On Mon, Feb 23, 2009 at 1:20 PM, Arshak N.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Thx,
> 
> ## Arshak
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> >

–  
Robby R.  
Chief Evangelist, Partner

PLANET ARGON, LLC  
design // development // hosting w/Ruby on Rails

> **[Planet Argon](https://www.planetargon.com/)**
>
> Planet Argon is a Ruby on Rails development agency specializing in maintenance and support for existing Rails apps. Based in Portland, OR, Planet Argon has been a member of the Rails community since 2004.

[http://robbyonrails.com/](http://robbyonrails.com/)  
[http://twitter.com/planetargon](http://twitter.com/planetargon)  
aim: planetargon

+1 503 445 2457  
+1 877 55 ARGON [toll free]  
+1 815 642 4068 [fax]

---

<div class="post-metadata">

**Author:** ![arshak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@arshak](https://www.ruby-forum.com/u/arshak)\
**Post date:** [February 23, 2009, 11:27pm UTC](https://www.ruby-forum.com/t/rspec-dependencies/161152/3 "2009-02-23T23:27:47Z")

</div>

Robby,

Thanks. I had both installed as plugins and switched to gems (after I  
uninstalled the plugins) but still get that autorun error.

Arshak

Robby R. wrote:

> Try these instructions:
> 
> [http://wiki.github.com/dchelimsky/rspec/rails](http://wiki.github.com/dchelimsky/rspec/rails)
> 
> The cheat for rspec could be out of date.
> 
> Robby
> 
> On Mon, Feb 23, 2009 at 1:20 PM, Arshak N.  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Thx,
> > 
> > ## Arshak
> > 
> > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> > 
> > >
> 
> –  
> Robby R.  
> Chief Evangelist, Partner
> 
> PLANET ARGON, LLC  
> design // development // hosting w/Ruby on Rails
> 
> [http://planetargon.com/](http://planetargon.com/)  
> [http://robbyonrails.com/](http://robbyonrails.com/)  
> [http://twitter.com/planetargon](http://twitter.com/planetargon)  
> aim: planetargon
> 
> +1 503 445 2457  
> +1 877 55 ARGON [toll free]  
> +1 815 642 4068 [fax]

---

<div class="post-metadata">

**Author:** ![arshak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@arshak](https://www.ruby-forum.com/u/arshak)\
**Post date:** [February 24, 2009, 2:15am UTC](https://www.ruby-forum.com/t/rspec-dependencies/161152/4 "2009-02-24T02:15:36Z")

</div>

Did you do script/generate rspec

?

Hunted and pecked from my iPhone

On Feb 23, 2009, at 2:27 PM, Arshak N.  
\<removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![arshak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@arshak](https://www.ruby-forum.com/u/arshak)\
**Post date:** [February 24, 2009, 6:29pm UTC](https://www.ruby-forum.com/t/rspec-dependencies/161152/5 "2009-02-24T18:29:13Z")

</div>

Steve,

Sure did, and it generated spec/spec\_helper.rb, etc.

Hope all is well, btw 🙂

Arshak

Steve R. wrote:

> Did you do script/generate rspec
> 
> ?
> 
> Hunted and pecked from my iPhone
> 
> On Feb 23, 2009, at 2:27 PM, Arshak N.  
> \<removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![arshak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@arshak](https://www.ruby-forum.com/u/arshak)\
**Post date:** [March 10, 2009, 1:08pm UTC](https://www.ruby-forum.com/t/rspec-dependencies/161152/6 "2009-03-10T13:08:18Z")

</div>

If it can help, I was having the same problem. I solved it in removing  
both, plugins (rspec and rspec\_rails) AND all “./script/generate  
rspec” generated files. After re running ./script/generate rspec, all  
was working fine.

On 23 fév, 23:27, Arshak N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
