I do not installation time on Windows is included in those 2 hours :-D
Based on my experience, rails on windows always requires a bit "more"
than for instance osx.

But if you want something simple up and running that normally works
out of the box, then try our the the RubyStack installer from Bitnami.
http://bitnami.org/stack/rubystack.
Or choose the redmine stack, http://bitnami.org/stack/redmine. then
you have a project/bugtracker app as well preinstalled.

SQL are always a pain to get in. Also MySQL is a bit tricky on
Windows, since latest MySQL server for windows, have a sql.dll library
file that is incompatible with ruby 1.8.7. So you have to add a
earlier version dll.

I agree that postgre is best, but for rapid deployment, SQLite is very
handy.
My normal recommendation is to use SQlite when prototyping
application. Once you see that database model finalizes, move to
postgre or other SQL server.

As for your problem:
- Do a netstat on your windows machine to see if server even has
created anything listening ports.
- Have you tried an empty rails app and see if that works?
  rails myapp + cd myapp + ruby script/server
  then maybe scaffolding one model and test:
  ruby script/generate scaffold post title:string body:text
  rake db:migrate
  ruby script/server
  -> http://0.0.0.0:3000/posts
- You may try to start the rails server with mongrel.
  gem install mongrel
  then script/server will pick mongrel instead. Maybe mongrel gives
you a better error message.

/MartOn


/MartOn

On Feb 28, 10:17 pm, Wildman <[email protected]> wrote:
> I'm taking a fresh look at ror and hobo after a couple of years. The
> "Hobo in Two Minutes" tutorial on the hobo website is not working for
> me and I'd like some help with that. Maybe someone involved with the
> hobo project will take a look at the tutorial, if it needs revision.
>
> First it seems to be true that rails no longer uses mysql as the
> default db? That's an interesting change...postgres would be my
> preferred db in any case, if I decide to pursue ror and or hobo.
>
> I'm on windows xp. I used the windows installer to get ruby 1.8.7 on
> the box. Then gem install rails. Then gem install hobo.
>
> The "Hobo in Two Minutes" tutorial seems to fall apart because sqlite
> is not installed automatically. Maybe that's already understood by
> everyone. I think I got sqlite 3 installed after some struggling - the
> dll and def go into ruby\bin, and then gem install sqlite3-ruby. That
> generates a heap of error messages like "No definition for
> _wrap_new_CallbackData" but apparently that's mostly about the build
> in documentation?
>
> So then I go back and delete the thingybob folder and start the
> tutuorial again. As far as I can tell there are not errors. But when I
> issue
>
> ruby script/server
>
> and then browse tohttp://localhost:3000, it just sits there with
> 'waiting forhttp://localhost:3000'in the status bar, forever.
>
> Any clues?

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to