Next steps

3 views
Skip to first unread message

Ed Howland

unread,
Jan 21, 2010, 11:32:21 AM1/21/10
to spec...@googlegroups.com
As discussd, the next tasks are:

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

Robert Citek

unread,
Jan 24, 2010, 1:57:11 AM1/24/10
to spec...@googlegroups.com
On Thu, Jan 21, 2010 at 11:32 AM, Ed Howland <ed.ho...@gmail.com> wrote:
> (1)  bir/start_server. bin/kill_server scripts. The kill to use SIGINT
> to a recorded pid file by the start script.

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

Robert Citek

unread,
Jan 24, 2010, 2:16:27 AM1/24/10
to spec...@googlegroups.com
On Sun, Jan 24, 2010 at 1:57 AM, Robert Citek <robert...@gmail.com> wrote:
> On Thu, Jan 21, 2010 at 11:32 AM, Ed Howland <ed.ho...@gmail.com> wrote:
>> (1)  bir/start_server. bin/kill_server scripts. The kill to use SIGINT
>> to a recorded pid file by the start script.
>
> Was working on this and noticed that the server isn't working for me.

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

Ed Howland

unread,
Jan 24, 2010, 7:06:21 PM1/24/10
to spec...@googlegroups.com
This is what I usually do.
git status
# examine to be committed, modifed but not to be committed and
untracked files. Fix what U want. Usually, fix the .gitignore file.
Then:

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
>

Robert Citek

unread,
Jan 25, 2010, 9:32:40 AM1/25/10
to spec...@googlegroups.com
Seems like I need to move my development environment to Ubuntu 9.04.
I get this with rake gemspec:

$ 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

Ed Howland

unread,
Jan 25, 2010, 11:47:44 AM1/25/10
to spec...@googlegroups.com
Yes,

I don't see them when I do a git pull origin master

Did you fo 'rake github:release' ? What was the output?

Ed

Robert Citek

unread,
Jan 25, 2010, 1:48:50 PM1/25/10
to spec...@googlegroups.com
Moved to 9.04 and all's well. The start/stop scripts are on github. - Robert
Reply all
Reply to author
Forward
0 new messages