#6 √ resolved
sinclair bain

Permission Denied error on script/spec

Reported by sinclair bain | May 13th, 2008 @ 06:33 PM

The following error occurs when i run rspactor as an app 0.9.10 or gem 0.2.0

** RSpactor is now watching at '/Users/mine/Sandbox/work/trunk/admin-service-3.2'

** Hit to skip initial spec run...

sh: /Users/mine/Sandbox/work/trunk/admin-service-3.2/script/spec: Permission denied

The fix was to add ruby to the command string

*/Applications/RSpactor.app/Contents/Resources/command.rb (line 15)*

cmd = "RAILS_ENV=test; "

cmd << "ruby #{spec_runner_bin} "

cmd << "#{locations} #{spec_opts(base_spec_root)} "

and similarly for the gem

*/lib/runner.rb (line 50)*

I run ruby out of /opt/local/bin which may have some bearing on the problem.

Hope this helps.

Let me know if you need anything else.

rspec 1.1.3

ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-darwin9.2.0]

Cheers!

sinclair

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

RSpactor is a Mac OS X application that takes care of your RSpec examples.

People watching this ticket