Robert:
(1) bir/start_server. bin/kill_server scripts. The kill to use SIGINT
to a recorded pid file by the start script.
(2) Getting Rake gemspec task to add dependency for (at least) json
and rest-client.
(3) Crafting a "gemerator" like script to drop in a dir structure
wherever the user decides.(More on this in a following email.)
Ed will:
(1) Continue the cleanup effort. Adding some more specs to test out
both the Ruby and PHP servers. Esp. wrt to error handling.
(2) Resolving the problem with running just with the gem installed.
Making sure the gem loads it's parts in the correct sequence.
(3) Moving the google groups wiki page over to Guthub.wiki,
(4) Making a decent looking README and/web site ala Cukes.info and RS[ec.info.
The goal is to let attendees follow along with the presentation.
When ready, push the gem itself up to Gemcutter, so others can do:
sudo gem install spec_wire
# then....
cd project_home
spec_wire --php --server_dir=server_dir --server_url=...
And run with it.
Ed
Ed Howland
http://greenprogrammer.wordpress.com
http://twitter.com/ed_howland
Was working on this and noticed that the server isn't working for me.
I get this when I try to start the service:
$ servers/ruby_server.rb >sinatra.out 2>&1 &
[1] 31244
$
[1]+ Exit 1 servers/ruby_server.rb > sinatra.out 2>&1
$ cat sinatra.out
servers/ruby_server.rb:37: undefined method `require_relative' for
main:Object (NoMethodError)
servers/ruby_server.rb:37: undefined method `require_relative' for
main:Object (NoMethodError)
Regards,
- Robert
Despite that, I have a working version of both the start and stop
scripts. What's the right way for me to add them to git hub: git add
then git commit? Or some other way?
Regards,
- Robert
git add . # or indiv. files/folders
git commit -m "comment about the commit."
rake gemspec # adds files to the gemspec
git add spec_wire.gemspec
git commit -m "bumped gemspec"
rake github:release
# depending on what's going on, I may do a rake version:bunp:patch first.
Btw, require_relative is a 1.9 thing. I'll fix.
Ed
> --
> Post: spec...@googlegroups.com
> Subscribe: spec_wire...@googlegroups.com
> Unsubscribe: spec_wire+...@googlegroups.com
> Website: http://groups.google.com/group/spec_wire
>
$ rake gemspec
(in /home/rwcitek/lang/ruby/spec_wire)
[WARNING] The git gem requires git 1.6.0.0 or later, but only found
1.5.4.3. You should probably upgrade.
Generated: spec_wire.gemspec
spec_wire.gemspec is valid.
BTW, I made a bunch of commits of the startup scripts but I don't see
them on github. Should I assume that's what the last rake commands
does?
Regards,
- Robert
I don't see them when I do a git pull origin master
Did you fo 'rake github:release' ? What was the output?
Ed