Displaying 2 results from an estimated 2 matches for "rspecrail".
Did you mean:
rspecrails
2007 Jun 20
2
Rspec for the svn-less
Here is a short bash script I wrote to install rspec if your just using
the tarballs like me. I probably should have written it in ruby, but
there it is:
#!/bin/bash
RSPEC=rspec-1.0.4-pre-release.tgz
RSPECRAILS=rspec_on_rails-1.0.4-pre-release.tgz
[ -z "$1" ] && {
echo
echo "You must include a pathname"
echo
exit 1
}
if [ -d $1/vendor/plugins ]; then
cd $1/vendor/plugins
else
echo "path: $1/vendor/plugins doesn''t exist"
exit 1
fi
tar zxvf $RSPEC...
2007 Jul 01
1
rspec for the svn-less (ruby version)
...end
if ARGV[0].nil? then
usage
puts
puts "You must include a pathname"
puts
exit 1
end
version = ARGV[1]
if ARGV[1].nil? then
puts
puts "Defaulting to version: 1.0.5"
puts
version = "1.0.5"
end
rspec="rspec-" + version + ".tgz"
rspecrails="rspec_on_rails-" + version + ".tgz"
app = ARGV[0]
if ! File.exist?(rspec) then
puts
puts "Rspec tarball (" + rspec + ") does not exist in the current directory"
puts
exit 1
end
if ! File.exist?(rspecrails) then
puts
puts "Rspec-rails tarb...