OK,
I've followed the README, this is my first venture with RoR so some of
the terminology is a bit confusing, however, I've updated the
following:
Edit config/initializers/exception_notifier.rb
I amended the ExceptionNotifier.exception_recipients to = %W
([email protected])
Edit the config/environment.rb file and change the
config.action_controller.session data
I amended ":session_key => 'LolitaLVL'" and ":secret" to the
secret generated by rake secret.
Edit config/environments/development.rb and production.rb to suit your
tastes. (Specifically config.action_mailer.delivery_method)
I changed the config.action_controller.asset_host to "http://
lolitateaparty.net" in all 3 positions and left the rest of the
settings as default
9. Change the values in config/initializers/global_variables.rb to
match your site and domain. (Specifically SITE_NAME, SITE,
MAILER_TO_ADDRESS, MAILER_FROM_ADDRESS, REGISTRATION_RECIPIENTS)
I changed SITE_NAME to the site name, SITE = RAILS_ENV ==
'production' ? 'lolitateaparty.net' : 'localhost:3000', and each of
the email variables to the admin's email address.
Also followed the flickr steps and received this error:
ruby script/authorize_flickr.rb
/home/lolitate/.gem/ruby/1.8/gems/xml-simple-1.0.12/lib/xmlsimple.rb:
984:in `find_xml_file': File does not exist: . (ArgumentError)
from /home/lolitate/.gem/ruby/1.8/gems/xml-simple-1.0.12/lib/
xmlsimple.rb:168:in `xml_in'
from /home/lolitate/.gem/ruby/1.8/gems/xml-simple-1.0.12/lib/
xmlsimple.rb:203:in `xml_in'
from /home/lolitate/.gem/ruby/1.8/gems/flickr-1.0.2/./
flickr.rb:66:in `request'
from /home/lolitate/.gem/ruby/1.8/gems/flickr-1.0.2/./
flickr.rb:90:in `login'
from /home/lolitate/.gem/ruby/1.8/gems/flickr-1.0.2/./
flickr.rb:61:in `initialize'
from script/authorize_flickr.rb:3:in `new'
from script/authorize_flickr.rb:3
I've not amended the error files or css etc. yet.
The paths are still wrong but I'm happy to move everything from the
lovdbyless subdirectory to the root of the site if it'll sort this
(and make any necessary DB changes). Still no luck in starting the
app from the cpanel.
Many thanks,
Jon
On Aug 5, 6:54 pm, Steven Bristol <[email protected]> wrote:
> On Wed, Aug 5, 2009 at 1:28 PM, Jon<[email protected]> wrote:
>
> > Hi Steven,
>
> > Rails: 2.2.2
> > Ruby 1.8.7
>
> > I've successfully started the app via ./script/server - however,
> > accessing mydomain:3000 means that all the paths for stylesheets and
> > images are incorrect .. I should be able to track down the config file
> > for that though I'd imagine.
>
> > The output from 'rake mig a=no' is:
> > [email protected] [~/public_html/lovdbyless]# rake mig a=no
> > (in /home/lolitate/public_html/lovdbyless)
> > rake db:migrate RAILS_ENV="development"
> > (in /home/lolitate/public_html/lovdbyless)
> > Loaded suite /usr/local/bin/rake
> > Started
>
> > Finished in 0.000195 seconds.
>
> > 0 tests, 0 assertions, 0 failures, 0 errors
> > rake db:test:clone
> > (in /home/lolitate/public_html/lovdbyless)
> > Loaded suite /usr/local/bin/rake
> > Started
>
> > Finished in 0.000221 seconds.
>
> > 0 tests, 0 assertions, 0 failures, 0 errors
> > NOT RUNNING: rake annotate_models
> > [email protected] [~/public_html/lovdbyless]#
>
> > I'm still unable to start it via cpanel.
>
> > Many thanks,
>
> > Jon
>
> Are the variables in the initializers setup? Go through the README and
> make sure all is good.
>
> cheers,
> steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" 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/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---