Quoting Alpha Blue <[email protected]>:
> 
> The title says it all - please bear with me.  To let you know where I
> stand, I have been working for up to 12 hours a day for 2 months and 2
> weeks trying to get my site ready for release.  In development (on
> windows) it works perfectly.  In production (on linux ubuntu) it does
> not.
> 
I suggest starting small and expanding from there.

I don't know Slicehost, but one key thing is it sounds like you don't have
full root access.  The output from "rake gem:install" looks okay, but you must
add the Gems directory to your path.  If you don't know how to do this on
Linux, you have a long way to go, possibly too long and possibly should find a
Window hosting provider.

You should not need to include rubygems in the Rails environment.  And Rails
and a mode similar to irb, from you apps root directory, run
"script/console".  It defaults to development mode.  For test mode,
"script/console test".  From there you should be able to create, load,
destroy, update, etc. models.  For example, a model called Person:

script/console test
i = Person.new(:first_name => 'John', :last_name => 'Doe')
i.age = 21
i.save
j = Person.find(:all, :conditions => {:first_name => 'John'})
puts i.inspect
puts j.inspect
people = Person.find(:all)
puts people
quit


Start with Webrick as the server running in development mode.  This is/was
easy to do as a non-priviledged user and all the debugging is turned on.  All
my apps were started when Webrick was the default server, so this may not
apply any more (the default now is Mongrel).

HTH,
  Jeffrey

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to