[ANN] spec_wire 0.3.3 Gem now builds and runs

1 view
Skip to first unread message

Ed Howland

unread,
Jan 22, 2010, 1:01:24 PM1/22/10
to spec...@googlegroups.com
Fresh commit on Github.
(git pull origin master)

This version lets you:

rake build && sudo rake install

Then cp -r templates to a new folder, E.g. If you want to write PHP code:

cp -r spec_wire/templates ~/public_html/myproj
cp -r spec_wire/servers/lib ~/public_html/myproj/server
cp -r spec_wire/servers/server.php ~/public_html/myproj/server

cd ~/public_html/myproj
Edit config/environment.rb
Add:
config.server_url = 'http://localhost/~user/spec_wire/server/server.php'
config.session_key = 'Fresh_and_Minty_Limonade_App'
config.put_needs_method_arg = true
above config.class_cache =
File.join(File.expand_path(File.dirname(__FILE__)), '..', 'tmp',
'class_cache')

[Note: replace user with your username for this exaple]

Create a spec in spec/yyy_spec.rb and make a class in server/yyy.php
to make it pass.

(These manual steps will have to suffice till the generator script is done).

Enjoy,
Ed

Ed Howland
http://greenprogrammer.wordpress.com
http://twitter.com/ed_howland

Reply all
Reply to author
Forward
0 new messages