Here's what happens when I run "ruby script/server -e setup"
=> Booting Mongrel
=> Rails 2.3.2 application starting on http://0.0.0.0:3000 Missing these required gems:
mislav-will_paginate ~> 2.3.0
seven1m-acts_as_scoped_globally
seven1m-has_one_photo
seven1m-has_one_file
seven1m-campaign_monitor
javan-whenever
nokogiri
pauldix-feedzirra
You're running:
ruby 1.8.7.173 at /usr/bin/ruby
rubygems 1.3.5 at /home/myusername/.gem/ruby/1.8, /usr/lib/ruby/gems/
1.8
Run `rake gems:install` to install the missing gems.
-bash-3.00$ rake gems:install
(in /home/myusername/public_html/community)
rake aborted!
At first I had a larger list of missing gems, but I was to install
them individually using "gem install name" but the ones listed above
could not be found in the repository. Any ideas??
no such file to load -- sqlite3
Then, run the "sudo rake gems:install" command again and let us know what
happens.
As for the reason you can't install some of the gems -- they're hosted on
GitHub. To install the gems from the command line, you'll first need to add
GitHub as a gem source, like this:
On Mon, Aug 24, 2009 at 10:16 AM, jack <pastorjackl...@gmail.com> wrote:
> Here's what happens when I run "ruby script/server -e setup"
> => Booting Mongrel
> => Rails 2.3.2 application starting on http://0.0.0.0:3000 > Missing these required gems:
> mislav-will_paginate ~> 2.3.0
> seven1m-acts_as_scoped_globally
> seven1m-has_one_photo
> seven1m-has_one_file
> seven1m-campaign_monitor
> javan-whenever
> nokogiri
> pauldix-feedzirra
> You're running:
> ruby 1.8.7.173 at /usr/bin/ruby
> rubygems 1.3.5 at /home/myusername/.gem/ruby/1.8, /usr/lib/ruby/gems/
> 1.8
> Run `rake gems:install` to install the missing gems.
> -bash-3.00$ rake gems:install
> (in /home/myusername/public_html/community)
> rake aborted!
> At first I had a larger list of missing gems, but I was to install
> them individually using "gem install name" but the ones listed above
> could not be found in the repository. Any ideas??
> no such file to load -- sqlite3
Thanks for the quick reply Tim!
Here's what happened when I tried that:
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb
checking for fdatasync() in -lrt... yes
checking for sqlite3.h... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Does onebody require sqlite or can it use mysql?
I was able to add github as a repository and install the other gems
individually.
Thanks for your help!!!!
On Aug 24, 8:28 am, Tim Morgan <seve...@gmail.com> wrote:
> Then, run the "sudo rake gems:install" command again and let us know what
> happens.
> As for the reason you can't install some of the gems -- they're hosted on
> GitHub. To install the gems from the command line, you'll first need to add
> GitHub as a gem source, like this:
> > You're running:
> > ruby 1.8.7.173 at /usr/bin/ruby
> > rubygems 1.3.5 at /home/myusername/.gem/ruby/1.8, /usr/lib/ruby/gems/
> > 1.8
> > Run `rake gems:install` to install the missing gems.
> > -bash-3.00$ rake gems:install
> > (in /home/myusername/public_html/community)
> > rake aborted!
> > At first I had a larger list of missing gems, but I was to install
> > them individually using "gem install name" but the ones listed above
> > could not be found in the repository. Any ideas??
> > no such file to load -- sqlite3
> Thanks for the quick reply Tim!
> Here's what happened when I tried that:
> ERROR: Error installing sqlite3-ruby:
> ERROR: Failed to build gem native extension.
> /usr/bin/ruby extconf.rb
> checking for fdatasync() in -lrt... yes
> checking for sqlite3.h... no
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of
> necessary libraries and/or headers. Check the mkmf.log file for more
> details. You may need configuration options.
> Does onebody require sqlite or can it use mysql?
> I was able to add github as a repository and install the other gems
> individually.
> Thanks for your help!!!!
> On Aug 24, 8:28 am, Tim Morgan <seve...@gmail.com> wrote:
> > Jack, can you try the following command:
> > sudo gem install sqlite3-ruby
> > Then, run the "sudo rake gems:install" command again and let us know what
> > happens.
> > As for the reason you can't install some of the gems -- they're hosted on
> > GitHub. To install the gems from the command line, you'll first need to add
> > GitHub as a gem source, like this:
> > > Run `rake gems:install` to install the missing gems.
> > > -bash-3.00$ rake gems:install
> > > (in /home/myusername/public_html/community)
> > > rake aborted!
> > > At first I had a larger list of missing gems, but I was to install
> > > them individually using "gem install name" but the ones listed above
> > > could not be found in the repository. Any ideas??
> > > no such file to load -- sqlite3
> > > (See full trace by running task with --trace)
On Mon, Aug 24, 2009 at 1:13 PM, Dan Taylor <dan.a.tay...@gmail.com> wrote:
> mysql works great. I use it.
> On Aug 24, 4:08 pm, jack <pastorjackl...@gmail.com> wrote:
> > Thanks for the quick reply Tim!
> > Here's what happened when I tried that:
> > ERROR: Error installing sqlite3-ruby:
> > ERROR: Failed to build gem native extension.
> > /usr/bin/ruby extconf.rb
> > checking for fdatasync() in -lrt... yes
> > checking for sqlite3.h... no
> > *** extconf.rb failed ***
> > Could not create Makefile due to some reason, probably lack of
> > necessary libraries and/or headers. Check the mkmf.log file for more
> > details. You may need configuration options.
> > Does onebody require sqlite or can it use mysql?
> > I was able to add github as a repository and install the other gems
> > individually.
> > Thanks for your help!!!!
> > On Aug 24, 8:28 am, Tim Morgan <seve...@gmail.com> wrote:
> > > Jack, can you try the following command:
> > > sudo gem install sqlite3-ruby
> > > Then, run the "sudo rake gems:install" command again and let us know
> what
> > > happens.
> > > As for the reason you can't install some of the gems -- they're hosted
> on
> > > GitHub. To install the gems from the command line, you'll first need to
> add
> > > GitHub as a gem source, like this:
> > > > Run `rake gems:install` to install the missing gems.
> > > > -bash-3.00$ rake gems:install
> > > > (in /home/myusername/public_html/community)
> > > > rake aborted!
> > > > At first I had a larger list of missing gems, but I was to install
> > > > them individually using "gem install name" but the ones listed above
> > > > could not be found in the repository. Any ideas??
> > > > no such file to load -- sqlite3
> > > > (See full trace by running task with --trace)
Here's what happened next:
-bash-3.00$ rake gems:install
(in /home/seefbcco/public_html/community)
rake aborted!
no such file to load -- sqlite3
(See full trace by running task with --trace)
-bash-3.00$ ruby script/server -e setup
=> Booting Mongrel
=> Rails 2.3.2 application starting on http://0.0.0.0:3000 Error reading settings for bug notification (OK if running setup).
No email.yml config found for this environment.
=> Call with -d to detach
=> Ctrl-C to shutdown server
now I don't know what to do. I tried going to http://mydomain:3000 but it
doesn't load
On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <seve...@gmail.com> wrote:
> Jack, can you try the following command:
> sudo gem install sqlite3-ruby
> Then, run the "sudo rake gems:install" command again and let us know what
> happens.
> As for the reason you can't install some of the gems -- they're hosted on
> GitHub. To install the gems from the command line, you'll first need to add
> GitHub as a gem source, like this:
> On Mon, Aug 24, 2009 at 10:16 AM, jack <pastorjackl...@gmail.com> wrote:
>> Here's what happens when I run "ruby script/server -e setup"
>> => Booting Mongrel
>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >> Missing these required gems:
>> mislav-will_paginate ~> 2.3.0
>> seven1m-acts_as_scoped_globally
>> seven1m-has_one_photo
>> seven1m-has_one_file
>> seven1m-campaign_monitor
>> javan-whenever
>> nokogiri
>> pauldix-feedzirra
>> You're running:
>> ruby 1.8.7.173 at /usr/bin/ruby
>> rubygems 1.3.5 at /home/myusername/.gem/ruby/1.8, /usr/lib/ruby/gems/
>> 1.8
>> Run `rake gems:install` to install the missing gems.
>> -bash-3.00$ rake gems:install
>> (in /home/myusername/public_html/community)
>> rake aborted!
>> At first I had a larger list of missing gems, but I was to install
>> them individually using "gem install name" but the ones listed above
>> could not be found in the repository. Any ideas??
>> no such file to load -- sqlite3
On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <pastorjackl...@gmail.com> wrote:
> Here's what happened next:
> -bash-3.00$ rake gems:install
> (in /home/seefbcco/public_html/community)
> rake aborted!
> no such file to load -- sqlite3
> (See full trace by running task with --trace)
> -bash-3.00$ ruby script/server -e setup
> => Booting Mongrel
> => Rails 2.3.2 application starting on http://0.0.0.0:3000 > Error reading settings for bug notification (OK if running setup).
> No email.yml config found for this environment.
> => Call with -d to detach
> => Ctrl-C to shutdown server
> now I don't know what to do. I tried going to http://mydomain:3000 but it
> doesn't load
> On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <seve...@gmail.com> wrote:
>> Jack, can you try the following command:
>> sudo gem install sqlite3-ruby
>> Then, run the "sudo rake gems:install" command again and let us know what
>> happens.
>> As for the reason you can't install some of the gems -- they're hosted on
>> GitHub. To install the gems from the command line, you'll first need to add
>> GitHub as a gem source, like this:
>> On Mon, Aug 24, 2009 at 10:16 AM, jack <pastorjackl...@gmail.com> wrote:
>>> Here's what happens when I run "ruby script/server -e setup"
>>> => Booting Mongrel
>>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >>> Missing these required gems:
>>> mislav-will_paginate ~> 2.3.0
>>> seven1m-acts_as_scoped_globally
>>> seven1m-has_one_photo
>>> seven1m-has_one_file
>>> seven1m-campaign_monitor
>>> javan-whenever
>>> nokogiri
>>> pauldix-feedzirra
>>> You're running:
>>> ruby 1.8.7.173 at /usr/bin/ruby
>>> rubygems 1.3.5 at /home/myusername/.gem/ruby/1.8, /usr/lib/ruby/gems/
>>> 1.8
>>> Run `rake gems:install` to install the missing gems.
>>> -bash-3.00$ rake gems:install
>>> (in /home/myusername/public_html/community)
>>> rake aborted!
>>> At first I had a larger list of missing gems, but I was to install
>>> them individually using "gem install name" but the ones listed above
>>> could not be found in the repository. Any ideas??
>>> no such file to load -- sqlite3
On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <t...@timmorgan.org> wrote:
> Jack, if you're using MySQL, you'll need to adjust your config/database.yml
> to indicate that.
> As for the bug install sqlite3-ruby, I think you can do "sudo aptitude
> install libsqlite3-dev" (on Ubuntu at least).
> Let us know.
> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
>> Here's what happened next:
>> -bash-3.00$ rake gems:install
>> (in /home/seefbcco/public_html/community)
>> rake aborted!
>> no such file to load -- sqlite3
>> (See full trace by running task with --trace)
>> -bash-3.00$ ruby script/server -e setup
>> => Booting Mongrel
>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >> Error reading settings for bug notification (OK if running setup).
>> No email.yml config found for this environment.
>> => Call with -d to detach
>> => Ctrl-C to shutdown server
>> now I don't know what to do. I tried going to http://mydomain:3000 but it
>> doesn't load
>> On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <seve...@gmail.com> wrote:
>>> Jack, can you try the following command:
>>> sudo gem install sqlite3-ruby
>>> Then, run the "sudo rake gems:install" command again and let us know
>>> what happens.
>>> As for the reason you can't install some of the gems -- they're hosted on
>>> GitHub. To install the gems from the command line, you'll first need to add
>>> GitHub as a gem source, like this:
>>> On Mon, Aug 24, 2009 at 10:16 AM, jack <pastorjackl...@gmail.com> wrote:
>>>> Here's what happens when I run "ruby script/server -e setup"
>>>> => Booting Mongrel
>>>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >>>> Missing these required gems:
>>>> mislav-will_paginate ~> 2.3.0
>>>> seven1m-acts_as_scoped_globally
>>>> seven1m-has_one_photo
>>>> seven1m-has_one_file
>>>> seven1m-campaign_monitor
>>>> javan-whenever
>>>> nokogiri
>>>> pauldix-feedzirra
>>>> You're running:
>>>> ruby 1.8.7.173 at /usr/bin/ruby
>>>> rubygems 1.3.5 at /home/myusername/.gem/ruby/1.8, /usr/lib/ruby/gems/
>>>> 1.8
>>>> Run `rake gems:install` to install the missing gems.
>>>> -bash-3.00$ rake gems:install
>>>> (in /home/myusername/public_html/community)
>>>> rake aborted!
>>>> At first I had a larger list of missing gems, but I was to install
>>>> them individually using "gem install name" but the ones listed above
>>>> could not be found in the repository. Any ideas??
>>>> no such file to load -- sqlite3
>>>> (See full trace by running task with --trace)
are you setting this up on your local machine? or on a remote server. If
local goto http://localhost:3000 and see what happens. If it is a remote
machine, have you setup apache? or some other webserver? I know to point to
a port you have to do a little tinkering. Like this:
On Mon, Aug 24, 2009 at 9:53 PM, Jack Lamb <pastorjackl...@gmail.com> wrote:
> thanks Tim - I changed the adapter to mysql in config/database.yml but I
> still can't load the page at http://community.firsbaptistmiami.org:3000
> sorry to be so much trouble; I'm really looking forward to getting this up
> and running!
> On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <t...@timmorgan.org> wrote:
>> Jack, if you're using MySQL, you'll need to adjust your
>> config/database.yml to indicate that.
>> As for the bug install sqlite3-ruby, I think you can do "sudo aptitude
>> install libsqlite3-dev" (on Ubuntu at least).
>> Let us know.
>> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
>>> Here's what happened next:
>>> -bash-3.00$ rake gems:install
>>> (in /home/seefbcco/public_html/community)
>>> rake aborted!
>>> no such file to load -- sqlite3
>>> (See full trace by running task with --trace)
>>> -bash-3.00$ ruby script/server -e setup
>>> => Booting Mongrel
>>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >>> Error reading settings for bug notification (OK if running setup).
>>> No email.yml config found for this environment.
>>> => Call with -d to detach
>>> => Ctrl-C to shutdown server
>>> now I don't know what to do. I tried going to http://mydomain:3000 but
>>> it doesn't load
>>> On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <seve...@gmail.com> wrote:
>>>> Jack, can you try the following command:
>>>> sudo gem install sqlite3-ruby
>>>> Then, run the "sudo rake gems:install" command again and let us know
>>>> what happens.
>>>> As for the reason you can't install some of the gems -- they're hosted
>>>> on GitHub. To install the gems from the command line, you'll first need to
>>>> add GitHub as a gem source, like this:
>>>> On Mon, Aug 24, 2009 at 10:16 AM, jack <pastorjackl...@gmail.com>wrote:
>>>>> Here's what happens when I run "ruby script/server -e setup"
>>>>> => Booting Mongrel
>>>>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >>>>> Missing these required gems:
>>>>> mislav-will_paginate ~> 2.3.0
>>>>> seven1m-acts_as_scoped_globally
>>>>> seven1m-has_one_photo
>>>>> seven1m-has_one_file
>>>>> seven1m-campaign_monitor
>>>>> javan-whenever
>>>>> nokogiri
>>>>> pauldix-feedzirra
>>>>> You're running:
>>>>> ruby 1.8.7.173 at /usr/bin/ruby
>>>>> rubygems 1.3.5 at /home/myusername/.gem/ruby/1.8, /usr/lib/ruby/gems/
>>>>> 1.8
>>>>> Run `rake gems:install` to install the missing gems.
>>>>> -bash-3.00$ rake gems:install
>>>>> (in /home/myusername/public_html/community)
>>>>> rake aborted!
>>>>> At first I had a larger list of missing gems, but I was to install
>>>>> them individually using "gem install name" but the ones listed above
>>>>> could not be found in the repository. Any ideas??
>>>>> no such file to load -- sqlite3
>>>>> (See full trace by running task with --trace)
> are you setting this up on your local machine? or on a remote server. If
> local goto http://localhost:3000 and see what happens. If it is a remote
> machine, have you setup apache? or some other webserver? I know to point to
> a port you have to do a little tinkering. Like this:
>> sorry to be so much trouble; I'm really looking forward to getting this up
>> and running!
>> On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <t...@timmorgan.org> wrote:
>>> Jack, if you're using MySQL, you'll need to adjust your
>>> config/database.yml to indicate that.
>>> As for the bug install sqlite3-ruby, I think you can do "sudo aptitude
>>> install libsqlite3-dev" (on Ubuntu at least).
>>> Let us know.
>>> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
>>>> Here's what happened next:
>>>> -bash-3.00$ rake gems:install
>>>> (in /home/seefbcco/public_html/community)
>>>> rake aborted!
>>>> no such file to load -- sqlite3
>>>> (See full trace by running task with --trace)
>>>> -bash-3.00$ ruby script/server -e setup
>>>> => Booting Mongrel
>>>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >>>> Error reading settings for bug notification (OK if running setup).
>>>> No email.yml config found for this environment.
>>>> => Call with -d to detach
>>>> => Ctrl-C to shutdown server
>>>> now I don't know what to do. I tried going to http://mydomain:3000 but
>>>> it doesn't load
>>>> On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <seve...@gmail.com> wrote:
>>>>> Jack, can you try the following command:
>>>>> sudo gem install sqlite3-ruby
>>>>> Then, run the "sudo rake gems:install" command again and let us know
>>>>> what happens.
>>>>> As for the reason you can't install some of the gems -- they're hosted
>>>>> on GitHub. To install the gems from the command line, you'll first need to
>>>>> add GitHub as a gem source, like this:
>>>>> On Mon, Aug 24, 2009 at 10:16 AM, jack <pastorjackl...@gmail.com>wrote:
>>>>>> Here's what happens when I run "ruby script/server -e setup"
>>>>>> => Booting Mongrel
>>>>>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >>>>>> Missing these required gems:
>>>>>> mislav-will_paginate ~> 2.3.0
>>>>>> seven1m-acts_as_scoped_globally
>>>>>> seven1m-has_one_photo
>>>>>> seven1m-has_one_file
>>>>>> seven1m-campaign_monitor
>>>>>> javan-whenever
>>>>>> nokogiri
>>>>>> pauldix-feedzirra
>>>>>> You're running:
>>>>>> ruby 1.8.7.173 at /usr/bin/ruby
>>>>>> rubygems 1.3.5 at /home/myusername/.gem/ruby/1.8, /usr/lib/ruby/gems/
>>>>>> 1.8
>>>>>> Run `rake gems:install` to install the missing gems.
>>>>>> -bash-3.00$ rake gems:install
>>>>>> (in /home/myusername/public_html/community)
>>>>>> rake aborted!
>>>>>> At first I had a larger list of missing gems, but I was to install
>>>>>> them individually using "gem install name" but the ones listed above
>>>>>> could not be found in the repository. Any ideas??
>>>>>> no such file to load -- sqlite3
>>>>>> (See full trace by running task with --trace)
Thanks Justin
I was trying to install this on a remote machine running apache. It's
actually my shared hosting account. I could probably get my host to do a
little tinkering, but I would need to get a few more details. Is there
anything on onebody's wiki about this? I can't find it....
On Mon, Aug 24, 2009 at 8:55 PM, Justin Richter <jrich...@jetfive.com>wrote:
> Thats assuming your using apache on a remote machine ofcourse.
> On Mon, Aug 24, 2009 at 10:52 PM, Justin Richter <jrich...@jetfive.com>wrote:
>> are you setting this up on your local machine? or on a remote server. If
>> local goto http://localhost:3000 and see what happens. If it is a remote
>> machine, have you setup apache? or some other webserver? I know to point to
>> a port you have to do a little tinkering. Like this:
>>> sorry to be so much trouble; I'm really looking forward to getting this
>>> up and running!
>>> On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <t...@timmorgan.org> wrote:
>>>> Jack, if you're using MySQL, you'll need to adjust your
>>>> config/database.yml to indicate that.
>>>> As for the bug install sqlite3-ruby, I think you can do "sudo aptitude
>>>> install libsqlite3-dev" (on Ubuntu at least).
>>>> Let us know.
>>>> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
>>>>> Here's what happened next:
>>>>> -bash-3.00$ rake gems:install
>>>>> (in /home/seefbcco/public_html/community)
>>>>> rake aborted!
>>>>> no such file to load -- sqlite3
>>>>> (See full trace by running task with --trace)
>>>>> -bash-3.00$ ruby script/server -e setup
>>>>> => Booting Mongrel
>>>>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >>>>> Error reading settings for bug notification (OK if running setup).
>>>>> No email.yml config found for this environment.
>>>>> => Call with -d to detach
>>>>> => Ctrl-C to shutdown server
>>>>> now I don't know what to do. I tried going to http://mydomain:3000 but
>>>>> it doesn't load
>>>>> On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <seve...@gmail.com> wrote:
>>>>>> Jack, can you try the following command:
>>>>>> sudo gem install sqlite3-ruby
>>>>>> Then, run the "sudo rake gems:install" command again and let us know
>>>>>> what happens.
>>>>>> As for the reason you can't install some of the gems -- they're hosted
>>>>>> on GitHub. To install the gems from the command line, you'll first need to
>>>>>> add GitHub as a gem source, like this:
>>>>>> On Mon, Aug 24, 2009 at 10:16 AM, jack <pastorjackl...@gmail.com>wrote:
>>>>>>> Here's what happens when I run "ruby script/server -e setup"
>>>>>>> => Booting Mongrel
>>>>>>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >>>>>>> Missing these required gems:
>>>>>>> mislav-will_paginate ~> 2.3.0
>>>>>>> seven1m-acts_as_scoped_globally
>>>>>>> seven1m-has_one_photo
>>>>>>> seven1m-has_one_file
>>>>>>> seven1m-campaign_monitor
>>>>>>> javan-whenever
>>>>>>> nokogiri
>>>>>>> pauldix-feedzirra
>>>>>>> You're running:
>>>>>>> ruby 1.8.7.173 at /usr/bin/ruby
>>>>>>> rubygems 1.3.5 at /home/myusername/.gem/ruby/1.8,
>>>>>>> /usr/lib/ruby/gems/
>>>>>>> 1.8
>>>>>>> Run `rake gems:install` to install the missing gems.
>>>>>>> -bash-3.00$ rake gems:install
>>>>>>> (in /home/myusername/public_html/community)
>>>>>>> rake aborted!
>>>>>>> At first I had a larger list of missing gems, but I was to install
>>>>>>> them individually using "gem install name" but the ones listed above
>>>>>>> could not be found in the repository. Any ideas??
>>>>>>> no such file to load -- sqlite3
>>>>>>> (See full trace by running task with --trace)
This probably won't work, but it might. I don't know if Tim hijacked the
development mode of rails when he added the setup mode to the script/server
line, but it could be worth a try. I am thinking if you install passenger,
sudo gem install passenger, then follow what it says to do, ie install
dependencies and then copy lines into your apache config file, you may be
able to set the RailsEnv variable to setup and see what happens. Your
configured sites wouldn't have to use proxypass if this were to work. You
basically just tell apache/passenger where your rails app's public directory
is and it does all the work. Like I said I really have no clue if this will
work.
On Mon, Aug 24, 2009 at 11:00 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
> Thanks Justin
> I was trying to install this on a remote machine running apache. It's
> actually my shared hosting account. I could probably get my host to do a
> little tinkering, but I would need to get a few more details. Is there
> anything on onebody's wiki about this? I can't find it....
> On Mon, Aug 24, 2009 at 8:55 PM, Justin Richter <jrich...@jetfive.com>wrote:
>> Thats assuming your using apache on a remote machine ofcourse.
>> On Mon, Aug 24, 2009 at 10:52 PM, Justin Richter <jrich...@jetfive.com>wrote:
>>> are you setting this up on your local machine? or on a remote server. If
>>> local goto http://localhost:3000 and see what happens. If it is a
>>> remote machine, have you setup apache? or some other webserver? I know to
>>> point to a port you have to do a little tinkering. Like this:
>>>> sorry to be so much trouble; I'm really looking forward to getting this
>>>> up and running!
>>>> On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <t...@timmorgan.org> wrote:
>>>>> Jack, if you're using MySQL, you'll need to adjust your
>>>>> config/database.yml to indicate that.
>>>>> As for the bug install sqlite3-ruby, I think you can do "sudo aptitude
>>>>> install libsqlite3-dev" (on Ubuntu at least).
>>>>> Let us know.
>>>>> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
>>>>>> Here's what happened next:
>>>>>> -bash-3.00$ rake gems:install
>>>>>> (in /home/seefbcco/public_html/community)
>>>>>> rake aborted!
>>>>>> no such file to load -- sqlite3
>>>>>> (See full trace by running task with --trace)
>>>>>> -bash-3.00$ ruby script/server -e setup
>>>>>> => Booting Mongrel
>>>>>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >>>>>> Error reading settings for bug notification (OK if running setup).
>>>>>> No email.yml config found for this environment.
>>>>>> => Call with -d to detach
>>>>>> => Ctrl-C to shutdown server
>>>>>> now I don't know what to do. I tried going to http://mydomain:3000but it doesn't load
>>>>>> On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <seve...@gmail.com>wrote:
>>>>>>> Jack, can you try the following command:
>>>>>>> sudo gem install sqlite3-ruby
>>>>>>> Then, run the "sudo rake gems:install" command again and let us know
>>>>>>> what happens.
>>>>>>> As for the reason you can't install some of the gems -- they're
>>>>>>> hosted on GitHub. To install the gems from the command line, you'll first
>>>>>>> need to add GitHub as a gem source, like this:
>>>>>>> On Mon, Aug 24, 2009 at 10:16 AM, jack <pastorjackl...@gmail.com>wrote:
>>>>>>>> Here's what happens when I run "ruby script/server -e setup"
>>>>>>>> => Booting Mongrel
>>>>>>>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >>>>>>>> Missing these required gems:
>>>>>>>> mislav-will_paginate ~> 2.3.0
>>>>>>>> seven1m-acts_as_scoped_globally
>>>>>>>> seven1m-has_one_photo
>>>>>>>> seven1m-has_one_file
>>>>>>>> seven1m-campaign_monitor
>>>>>>>> javan-whenever
>>>>>>>> nokogiri
>>>>>>>> pauldix-feedzirra
>>>>>>>> You're running:
>>>>>>>> ruby 1.8.7.173 at /usr/bin/ruby
>>>>>>>> rubygems 1.3.5 at /home/myusername/.gem/ruby/1.8,
>>>>>>>> /usr/lib/ruby/gems/
>>>>>>>> 1.8
>>>>>>>> Run `rake gems:install` to install the missing gems.
>>>>>>>> -bash-3.00$ rake gems:install
>>>>>>>> (in /home/myusername/public_html/community)
>>>>>>>> rake aborted!
>>>>>>>> At first I had a larger list of missing gems, but I was to install
>>>>>>>> them individually using "gem install name" but the ones listed above
>>>>>>>> could not be found in the repository. Any ideas??
>>>>>>>> no such file to load -- sqlite3
>>>>>>>> (See full trace by running task with --trace)
>>>>>> --
>>>>>> Thanks,
>>>>>> Pastor Jack Lamb
>>>>>> First Baptist Church of Miami, AZ
>>>>>> http://www.firstbaptistmiami.org
> This probably won't work, but it might. I don't know if Tim hijacked the
> development mode of rails when he added the setup mode to the script/server
> line, but it could be worth a try. I am thinking if you install passenger,
> sudo gem install passenger, then follow what it says to do, ie install
> dependencies and then copy lines into your apache config file, you may be
> able to set the RailsEnv variable to setup and see what happens. Your
> configured sites wouldn't have to use proxypass if this were to work. You
> basically just tell apache/passenger where your rails app's public directory
> is and it does all the work. Like I said I really have no clue if this will
> work.
> On Mon, Aug 24, 2009 at 11:00 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
>> Thanks Justin
>> I was trying to install this on a remote machine running apache. It's
>> actually my shared hosting account. I could probably get my host to do a
>> little tinkering, but I would need to get a few more details. Is there
>> anything on onebody's wiki about this? I can't find it....
>> On Mon, Aug 24, 2009 at 8:55 PM, Justin Richter <jrich...@jetfive.com>wrote:
>>> Thats assuming your using apache on a remote machine ofcourse.
>>> On Mon, Aug 24, 2009 at 10:52 PM, Justin Richter <jrich...@jetfive.com>wrote:
>>>> are you setting this up on your local machine? or on a remote server.
>>>> If local goto http://localhost:3000 and see what happens. If it is a
>>>> remote machine, have you setup apache? or some other webserver? I know to
>>>> point to a port you have to do a little tinkering. Like this:
>>>>> sorry to be so much trouble; I'm really looking forward to getting this
>>>>> up and running!
>>>>> On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <t...@timmorgan.org> wrote:
>>>>>> Jack, if you're using MySQL, you'll need to adjust your
>>>>>> config/database.yml to indicate that.
>>>>>> As for the bug install sqlite3-ruby, I think you can do "sudo aptitude
>>>>>> install libsqlite3-dev" (on Ubuntu at least).
>>>>>> Let us know.
>>>>>> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
>>>>>>> Here's what happened next:
>>>>>>> -bash-3.00$ rake gems:install
>>>>>>> (in /home/seefbcco/public_html/community)
>>>>>>> rake aborted!
>>>>>>> no such file to load -- sqlite3
>>>>>>> (See full trace by running task with --trace)
>>>>>>> -bash-3.00$ ruby script/server -e setup
>>>>>>> => Booting Mongrel
>>>>>>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >>>>>>> Error reading settings for bug notification (OK if running setup).
>>>>>>> No email.yml config found for this environment.
>>>>>>> => Call with -d to detach
>>>>>>> => Ctrl-C to shutdown server
>>>>>>> now I don't know what to do. I tried going to http://mydomain:3000but it doesn't load
>>>>>>> On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <seve...@gmail.com>wrote:
>>>>>>>> Jack, can you try the following command:
>>>>>>>> sudo gem install sqlite3-ruby
>>>>>>>> Then, run the "sudo rake gems:install" command again and let us
>>>>>>>> know what happens.
>>>>>>>> As for the reason you can't install some of the gems -- they're
>>>>>>>> hosted on GitHub. To install the gems from the command line, you'll first
>>>>>>>> need to add GitHub as a gem source, like this:
>>>>>>>> On Mon, Aug 24, 2009 at 10:16 AM, jack <pastorjackl...@gmail.com>wrote:
>>>>>>>>> Here's what happens when I run "ruby script/server -e setup"
>>>>>>>>> => Booting Mongrel
>>>>>>>>> => Rails 2.3.2 application starting on http://0.0.0.0:3000 >>>>>>>>> Missing these required gems:
>>>>>>>>> mislav-will_paginate ~> 2.3.0
>>>>>>>>> seven1m-acts_as_scoped_globally
>>>>>>>>> seven1m-has_one_photo
>>>>>>>>> seven1m-has_one_file
>>>>>>>>> seven1m-campaign_monitor
>>>>>>>>> javan-whenever
>>>>>>>>> nokogiri
>>>>>>>>> pauldix-feedzirra
>>>>>>>>> You're running:
>>>>>>>>> ruby 1.8.7.173 at /usr/bin/ruby
>>>>>>>>> rubygems 1.3.5 at /home/myusername/.gem/ruby/1.8,
>>>>>>>>> /usr/lib/ruby/gems/
>>>>>>>>> 1.8
>>>>>>>>> Run `rake gems:install` to install the missing gems.
>>>>>>>>> -bash-3.00$ rake gems:install
>>>>>>>>> (in /home/myusername/public_html/community)
>>>>>>>>> rake aborted!
>>>>>>>>> At first I had a larger list of missing gems, but I was to install
>>>>>>>>> them individually using "gem install name" but the ones listed
>>>>>>>>> above
>>>>>>>>> could not be found in the repository. Any ideas??
>>>>>>>>> no such file to load -- sqlite3
>>>>>>>>> (See full trace by running task with --trace)
>>>>>>> --
>>>>>>> Thanks,
>>>>>>> Pastor Jack Lamb
>>>>>>> First Baptist Church of Miami, AZ
>>>>>>> http://www.firstbaptistmiami.org
Before I try that...could anyone confirm that I have the correct
directory structure? at the moment, it is I'm sure quite insecure, but
you can view it at http://community.firstbaptistmiami.org/
I extracted the tar at the subdomain root at first, then I ran the git
commands which setup the program at /apps
so there are two sets of files...
On Aug 24, 9:18 pm, Justin Richter <jrich...@jetfive.com> wrote:
> <Directory /home/justin/apps/recipes/public >
> Options FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
> </VirtualHost>
> I think if you add:
> RailsEnv setup
> to this file in between the <VirtualHost> </VirualHost> you may have some
> success.... Let me know if it works.
> Justin
> On Mon, Aug 24, 2009 at 11:10 PM, Justin Richter <jrich...@jetfive.com>wrote:
> > This probably won't work, but it might. I don't know if Tim hijacked the
> > development mode of rails when he added the setup mode to the script/server
> > line, but it could be worth a try. I am thinking if you install passenger,
> > sudo gem install passenger, then follow what it says to do, ie install
> > dependencies and then copy lines into your apache config file, you may be
> > able to set the RailsEnv variable to setup and see what happens. Your
> > configured sites wouldn't have to use proxypass if this were to work. You
> > basically just tell apache/passenger where your rails app's public directory
> > is and it does all the work. Like I said I really have no clue if this will
> > work.
> > On Mon, Aug 24, 2009 at 11:00 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
> >> Thanks Justin
> >> I was trying to install this on a remote machine running apache. It's
> >> actually my shared hosting account. I could probably get my host to do a
> >> little tinkering, but I would need to get a few more details. Is there
> >> anything on onebody's wiki about this? I can't find it....
> >> On Mon, Aug 24, 2009 at 8:55 PM, Justin Richter <jrich...@jetfive.com>wrote:
> >>> Thats assuming your using apache on a remote machine ofcourse.
> >>> On Mon, Aug 24, 2009 at 10:52 PM, Justin Richter <jrich...@jetfive.com>wrote:
> >>>> are you setting this up on your local machine? or on a remote server.
> >>>> If local gotohttp://localhost:3000and see what happens. If it is a
> >>>> remote machine, have you setup apache? or some other webserver? I know to
> >>>> point to a port you have to do a little tinkering. Like this:
> >>>>> sorry to be so much trouble; I'm really looking forward to getting this
> >>>>> up and running!
> >>>>> On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <t...@timmorgan.org> wrote:
> >>>>>> Jack, if you're using MySQL, you'll need to adjust your
> >>>>>> config/database.yml to indicate that.
> >>>>>> As for the bug install sqlite3-ruby, I think you can do "sudo aptitude
> >>>>>> install libsqlite3-dev" (on Ubuntu at least).
> >>>>>> Let us know.
> >>>>>> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
> >>>>>>> Here's what happened next:
> >>>>>>> -bash-3.00$ rake gems:install
> >>>>>>> (in /home/seefbcco/public_html/community)
> >>>>>>> rake aborted!
> >>>>>>> no such file to load -- sqlite3
> >>>>>>> (See full trace by running task with --trace)
> >>>>>>> -bash-3.00$ ruby script/server -e setup
> >>>>>>> => Booting Mongrel
> >>>>>>> => Rails 2.3.2 application starting onhttp://0.0.0.0:3000 > >>>>>>> Error reading settings for bug notification (OK if running setup).
> >>>>>>> No email.yml config found for this environment.
> >>>>>>> => Call with -d to detach
> >>>>>>> => Ctrl-C to shutdown server
> >>>>>>> On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <seve...@gmail.com>wrote:
> >>>>>>>> Jack, can you try the following command:
> >>>>>>>> sudo gem install sqlite3-ruby
> >>>>>>>> Then, run the "sudo rake gems:install" command again and let us
> >>>>>>>> know what happens.
> >>>>>>>> As for the reason you can't install some of the gems -- they're
> >>>>>>>> hosted on GitHub. To install the gems from the command line, you'll first
> >>>>>>>> need to add GitHub as a gem source, like this:
> >>>>>>>>> Run `rake gems:install` to install the missing gems.
> >>>>>>>>> -bash-3.00$ rake gems:install
> >>>>>>>>> (in /home/myusername/public_html/community)
> >>>>>>>>> rake aborted!
> >>>>>>>>> At first I had a larger list of missing gems, but I was to install
> >>>>>>>>> them individually using "gem install name" but the ones listed
> >>>>>>>>> above
> >>>>>>>>> could not be found in the repository. Any ideas??
> >>>>>>>>> no such file to load -- sqlite3
> >>>>>>>>> (See full trace by running task with --trace)
> >>>>>>> --
> >>>>>>> Thanks,
> >>>>>>> Pastor Jack Lamb
> >>>>>>> First Baptist Church of Miami, AZ
> >>>>>>>http://www.firstbaptistmiami.org
> >>>>> --
> >>>>> Thanks,
> >>>>> Pastor Jack Lamb
> >>>>> First Baptist Church of Miami, AZ
> >>>>>http://www.firstbaptistmiami.org
The directory structure looks ok, but the duplicate files in apps
might be troublesome. It looks like your server has passenger
installed, so it may just be a matter of configuring it to know that
this directory is a rails app. Since you're on shared hosting, check
to see if they have instructions on how to set that up. You'll either
set it up to resolve to the root of this directory, which would make
the apps directory unnecessary, or it would resolve to the apps
directory, making everything above it unnecessary. Also, once you get
passenger configured, you will not be using port 3000. That's if
you're using the mongrel server that comes bundled with the app.
Also, shared hosting almost certainly has any nonstandard ports (80,
21, 22, 25, 110, 8080, etc) blocked for security purposes.
I took the liberty of looking at your database.yml files, and neither
of them are set up properly to use mysql. You've got the adapter
correct, but you'll need to list database name, username, password,
and host (if it's something other than localhost, which it may be
depending on the shared hosting provider). Mine is localhost, but I
still explicitly define it. The db/dbname format is sqlite.
It should look something like this (don't include the parentheticals):
production
adapter: mysql
username : (database user)
password: (password)
database: (database name)
(optional, but probably useful)
host: localhost
port: 3306 (this is the default, your server may be configured
differently - but probably not)
development
(repeat settings as necessary - may not be needed)
Again, since your server has passenger installed, your host should
have instructions on how to set it up on their system. If it were
properly set up, you'd see a bunch of Rails errors instead of just the
directory structure.
I hope that helps!
On Aug 25, 12:51 am, jack <pastorjackl...@gmail.com> wrote:
> Before I try that...could anyone confirm that I have the correct
> directory structure? at the moment, it is I'm sure quite insecure, but
> you can view it athttp://community.firstbaptistmiami.org/
> I extracted the tar at the subdomain root at first, then I ran the git
> commands which setup the program at /apps
> so there are two sets of files...
> On Aug 24, 9:18 pm, Justin Richter <jrich...@jetfive.com> wrote:
> > My apache virtual host for my test stuff looks like this:
> > <Directory /home/justin/apps/recipes/public >
> > Options FollowSymLinks
> > AllowOverride None
> > Order allow,deny
> > Allow from all
> > </Directory>
> > </VirtualHost>
> > I think if you add:
> > RailsEnv setup
> > to this file in between the <VirtualHost> </VirualHost> you may have some
> > success.... Let me know if it works.
> > Justin
> > On Mon, Aug 24, 2009 at 11:10 PM, Justin Richter <jrich...@jetfive.com>wrote:
> > > This probably won't work, but it might. I don't know if Tim hijacked the
> > > development mode of rails when he added the setup mode to the script/server
> > > line, but it could be worth a try. I am thinking if you install passenger,
> > > sudo gem install passenger, then follow what it says to do, ie install
> > > dependencies and then copy lines into your apache config file, you may be
> > > able to set the RailsEnv variable to setup and see what happens. Your
> > > configured sites wouldn't have to use proxypass if this were to work. You
> > > basically just tell apache/passenger where your rails app's public directory
> > > is and it does all the work. Like I said I really have no clue if this will
> > > work.
> > > On Mon, Aug 24, 2009 at 11:00 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
> > >> Thanks Justin
> > >> I was trying to install this on a remote machine running apache. It's
> > >> actually my shared hosting account. I could probably get my host to do a
> > >> little tinkering, but I would need to get a few more details. Is there
> > >> anything on onebody's wiki about this? I can't find it....
> > >> On Mon, Aug 24, 2009 at 8:55 PM, Justin Richter <jrich...@jetfive.com>wrote:
> > >>> Thats assuming your using apache on a remote machine ofcourse.
> > >>> On Mon, Aug 24, 2009 at 10:52 PM, Justin Richter <jrich...@jetfive.com>wrote:
> > >>>> are you setting this up on your local machine? or on a remote server.
> > >>>> If local gotohttp://localhost:3000andsee what happens. If it is a
> > >>>> remote machine, have you setup apache? or some other webserver? I know to
> > >>>> point to a port you have to do a little tinkering. Like this:
> > >>>> ProxyPreserveHost On
> > >>>> </VirtualHost>
> > >>>> Google proxypass and it should help out.
> > >>>> Justin
> > >>>> On Mon, Aug 24, 2009 at 9:53 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
> > >>>>> thanks Tim - I changed the adapter to mysql in config/database.yml but
> > >>>>> I still can't load the page at
> > >>>>>http://community.firsbaptistmiami.org:3000
> > >>>>> sorry to be so much trouble; I'm really looking forward to getting this
> > >>>>> up and running!
> > >>>>> On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <t...@timmorgan.org> wrote:
> > >>>>>> Jack, if you're using MySQL, you'll need to adjust your
> > >>>>>> config/database.yml to indicate that.
> > >>>>>> As for the bug install sqlite3-ruby, I think you can do "sudo aptitude
> > >>>>>> install libsqlite3-dev" (on Ubuntu at least).
> > >>>>>> Let us know.
> > >>>>>> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
> > >>>>>>> Here's what happened next:
> > >>>>>>> -bash-3.00$ rake gems:install
> > >>>>>>> (in /home/seefbcco/public_html/community)
> > >>>>>>> rake aborted!
> > >>>>>>> no such file to load -- sqlite3
> > >>>>>>> (See full trace by running task with --trace)
> > >>>>>>> -bash-3.00$ ruby script/server -e setup
> > >>>>>>> => Booting Mongrel
> > >>>>>>> => Rails 2.3.2 application starting onhttp://0.0.0.0:3000 > > >>>>>>> Error reading settings for bug notification (OK if running setup).
> > >>>>>>> No email.yml config found for this environment.
> > >>>>>>> => Call with -d to detach
> > >>>>>>> => Ctrl-C to shutdown server
> > >>>>>>> On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <seve...@gmail.com>wrote:
> > >>>>>>>> Jack, can you try the following command:
> > >>>>>>>> sudo gem install sqlite3-ruby
> > >>>>>>>> Then, run the "sudo rake gems:install" command again and let us
> > >>>>>>>> know what happens.
> > >>>>>>>> As for the reason you can't install some of the gems -- they're
> > >>>>>>>> hosted on GitHub. To install the gems from the command line, you'll first
> > >>>>>>>> need to add GitHub as a gem source, like this:
> > >>>>>>>>> Run `rake gems:install` to install the missing gems.
> > >>>>>>>>> -bash-3.00$ rake gems:install
> > >>>>>>>>> (in /home/myusername/public_html/community)
> > >>>>>>>>> rake aborted!
> > >>>>>>>>> At first I had a larger list of missing gems, but I was to install
> > >>>>>>>>> them individually using "gem install name" but the ones listed
> > >>>>>>>>> above
> > >>>>>>>>> could not be found in the repository. Any ideas??
> > >>>>>>>>> no such file to load -- sqlite3
> > >>>>>>>>> (See full trace by running task with --trace)
> > >>>>>>> --
> > >>>>>>> Thanks,
> > >>>>>>> Pastor Jack Lamb
> > >>>>>>> First Baptist Church of Miami, AZ
> > >>>>>>>http://www.firstbaptistmiami.org
> > >>>>> --
> > >>>>> Thanks,
> > >>>>> Pastor Jack Lamb
> > >>>>> First Baptist Church of Miami, AZ
> > >>>>>http://www.firstbaptistmiami.org
> > >> --
> > >> Thanks,
> > >> Pastor Jack Lamb
> > >> First Baptist Church of Miami, AZ
> > >>http://www.firstbaptistmiami.org
Dan,
Thanks so much for the help! I was wondering if the database details needed
to go there or if I would enter them once I got setup to run. Once I figure
out how to configure passenger, then I will fill in the details on
database.yml.
On Tue, Aug 25, 2009 at 6:54 AM, Dan Taylor <dan.a.tay...@gmail.com> wrote:
> The directory structure looks ok, but the duplicate files in apps
> might be troublesome. It looks like your server has passenger
> installed, so it may just be a matter of configuring it to know that
> this directory is a rails app. Since you're on shared hosting, check
> to see if they have instructions on how to set that up. You'll either
> set it up to resolve to the root of this directory, which would make
> the apps directory unnecessary, or it would resolve to the apps
> directory, making everything above it unnecessary. Also, once you get
> passenger configured, you will not be using port 3000. That's if
> you're using the mongrel server that comes bundled with the app.
> Also, shared hosting almost certainly has any nonstandard ports (80,
> 21, 22, 25, 110, 8080, etc) blocked for security purposes.
> I took the liberty of looking at your database.yml files, and neither
> of them are set up properly to use mysql. You've got the adapter
> correct, but you'll need to list database name, username, password,
> and host (if it's something other than localhost, which it may be
> depending on the shared hosting provider). Mine is localhost, but I
> still explicitly define it. The db/dbname format is sqlite.
> It should look something like this (don't include the parentheticals):
> production
> adapter: mysql
> username : (database user)
> password: (password)
> database: (database name)
> (optional, but probably useful)
> host: localhost
> port: 3306 (this is the default, your server may be configured
> differently - but probably not)
> development
> (repeat settings as necessary - may not be needed)
> Again, since your server has passenger installed, your host should
> have instructions on how to set it up on their system. If it were
> properly set up, you'd see a bunch of Rails errors instead of just the
> directory structure.
> I hope that helps!
> On Aug 25, 12:51 am, jack <pastorjackl...@gmail.com> wrote:
> > Before I try that...could anyone confirm that I have the correct
> > directory structure? at the moment, it is I'm sure quite insecure, but
> > you can view it athttp://community.firstbaptistmiami.org/
> > I extracted the tar at the subdomain root at first, then I ran the git
> > commands which setup the program at /apps
> > so there are two sets of files...
> > On Aug 24, 9:18 pm, Justin Richter <jrich...@jetfive.com> wrote:
> > > My apache virtual host for my test stuff looks like this:
> > > to this file in between the <VirtualHost> </VirualHost> you may have
> some
> > > success.... Let me know if it works.
> > > Justin
> > > On Mon, Aug 24, 2009 at 11:10 PM, Justin Richter <jrich...@jetfive.com
> >wrote:
> > > > This probably won't work, but it might. I don't know if Tim hijacked
> the
> > > > development mode of rails when he added the setup mode to the
> script/server
> > > > line, but it could be worth a try. I am thinking if you install
> passenger,
> > > > sudo gem install passenger, then follow what it says to do, ie
> install
> > > > dependencies and then copy lines into your apache config file, you
> may be
> > > > able to set the RailsEnv variable to setup and see what happens.
> Your
> > > > configured sites wouldn't have to use proxypass if this were to work.
> You
> > > > basically just tell apache/passenger where your rails app's public
> directory
> > > > is and it does all the work. Like I said I really have no clue if
> this will
> > > > work.
> > > > On Mon, Aug 24, 2009 at 11:00 PM, Jack Lamb <
> pastorjackl...@gmail.com>wrote:
> > > >> Thanks Justin
> > > >> I was trying to install this on a remote machine running apache.
> It's
> > > >> actually my shared hosting account. I could probably get my host to
> do a
> > > >> little tinkering, but I would need to get a few more details. Is
> there
> > > >> anything on onebody's wiki about this? I can't find it....
> > > >> On Mon, Aug 24, 2009 at 8:55 PM, Justin Richter <
> jrich...@jetfive.com>wrote:
> > > >>> Thats assuming your using apache on a remote machine ofcourse.
> > > >>> On Mon, Aug 24, 2009 at 10:52 PM, Justin Richter <
> jrich...@jetfive.com>wrote:
> > > >>>> are you setting this up on your local machine? or on a remote
> server.
> > > >>>> If local gotohttp://localhost:3000andsee what happens. If it is a
> > > >>>> remote machine, have you setup apache? or some other webserver? I
> know to
> > > >>>> point to a port you have to do a little tinkering. Like this:
> > > >>>> Google proxypass and it should help out.
> > > >>>> Justin
> > > >>>> On Mon, Aug 24, 2009 at 9:53 PM, Jack Lamb <
> pastorjackl...@gmail.com>wrote:
> > > >>>>> thanks Tim - I changed the adapter to mysql in
> config/database.yml but
> > > >>>>> I still can't load the page at
> > > >>>>>http://community.firsbaptistmiami.org:3000
> > > >>>>> sorry to be so much trouble; I'm really looking forward to
> getting this
> > > >>>>> up and running!
> > > >>>>> On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <t...@timmorgan.org>
> wrote:
> > > >>>>>> Jack, if you're using MySQL, you'll need to adjust your
> > > >>>>>> config/database.yml to indicate that.
> > > >>>>>> As for the bug install sqlite3-ruby, I think you can do "sudo
> aptitude
> > > >>>>>> install libsqlite3-dev" (on Ubuntu at least).
> > > >>>>>> Let us know.
> > > >>>>>> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <
> pastorjackl...@gmail.com>wrote:
> > > >>>>>>> Here's what happened next:
> > > >>>>>>> -bash-3.00$ rake gems:install
> > > >>>>>>> (in /home/seefbcco/public_html/community)
> > > >>>>>>> rake aborted!
> > > >>>>>>> no such file to load -- sqlite3
> > > >>>>>>> (See full trace by running task with --trace)
> > > >>>>>>> -bash-3.00$ ruby script/server -e setup
> > > >>>>>>> => Booting Mongrel
> > > >>>>>>> => Rails 2.3.2 application starting onhttp://0.0.0.0:3000 > > > >>>>>>> Error reading settings for bug notification (OK if running
> setup).
> > > >>>>>>> No email.yml config found for this environment.
> > > >>>>>>> => Call with -d to detach
> > > >>>>>>> => Ctrl-C to shutdown server
> > > >>>>>>> On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <seve...@gmail.com
> >wrote:
> > > >>>>>>>> Jack, can you try the following command:
> > > >>>>>>>> sudo gem install sqlite3-ruby
> > > >>>>>>>> Then, run the "sudo rake gems:install" command again and let
> us
> > > >>>>>>>> know what happens.
> > > >>>>>>>> As for the reason you can't install some of the gems --
> they're
> > > >>>>>>>> hosted on GitHub. To install the gems from the command line,
> you'll first
> > > >>>>>>>> need to add GitHub as a gem source, like this:
> > > >>>>>>>>> Run `rake gems:install` to install the missing gems.
> > > >>>>>>>>> -bash-3.00$ rake gems:install
> > > >>>>>>>>> (in /home/myusername/public_html/community)
> > > >>>>>>>>> rake aborted!
> > > >>>>>>>>> At first I had a larger list of missing gems, but I was to
> install
> > > >>>>>>>>> them individually using "gem install name" but the ones
> listed
> > > >>>>>>>>> above
> > > >>>>>>>>> could not be found in the repository. Any ideas??
> > > >>>>>>>>> no such file to load -- sqlite3
> > > >>>>>>>>> (See full trace by running task with --trace)
> > > >>>>>>> --
> > > >>>>>>> Thanks,
> > > >>>>>>> Pastor Jack Lamb
> > > >>>>>>> First Baptist Church of Miami, AZ
Alright, I've changed things around, configured passenger & I am still
stuck!
I am trying to install onebody as a subdomain of our public church
website on a shared hosting account
Here's what I have done:
all onebody files are located in /home/myusername/apps/onebody
my subdomain is pointing to that directory
in the directory is an .htaccess file with this inside:
PassengerEnabled on
PassengerAppRoot /home/myusername/apps/onebody/public
I modified the .htaccess file in /home/myusername/apps/onebody/public
#Removed per site5 wiki -
http://wiki.site5.com/Scripting_and_Development_Guide#How_To_Deploy_Y... #RewriteRule ^$ index.html [QSA]
#RewriteRule ^([^.]+)$ $1.html [QSA]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
I modified the database.yml with the correct mysql info
When accessing the domain I still get a listing of files
On Aug 25, 6:54 am, Dan Taylor <dan.a.tay...@gmail.com> wrote:
> The directory structure looks ok, but the duplicate files in apps
> might be troublesome. It looks like your server has passenger
> installed, so it may just be a matter of configuring it to know that
> this directory is a rails app. Since you're on shared hosting, check
> to see if they have instructions on how to set that up. You'll either
> set it up to resolve to the root of this directory, which would make
> the apps directory unnecessary, or it would resolve to the apps
> directory, making everything above it unnecessary. Also, once you get
> passenger configured, you will not be using port 3000. That's if
> you're using the mongrel server that comes bundled with the app.
> Also, shared hosting almost certainly has any nonstandard ports (80,
> 21, 22, 25, 110, 8080, etc) blocked for security purposes.
> I took the liberty of looking at your database.yml files, and neither
> of them are set up properly to use mysql. You've got the adapter
> correct, but you'll need to list database name, username, password,
> and host (if it's something other than localhost, which it may be
> depending on the shared hosting provider). Mine is localhost, but I
> still explicitly define it. The db/dbname format is sqlite.
> It should look something like this (don't include the parentheticals):
> production
> adapter: mysql
> username : (database user)
> password: (password)
> database: (database name)
> (optional, but probably useful)
> host: localhost
> port: 3306 (this is the default, your server may be configured
> differently - but probably not)
> development
> (repeat settings as necessary - may not be needed)
> Again, since your server has passenger installed, your host should
> have instructions on how to set it up on their system. If it were
> properly set up, you'd see a bunch of Rails errors instead of just the
> directory structure.
> I hope that helps!
> On Aug 25, 12:51 am, jack <pastorjackl...@gmail.com> wrote:
> > Before I try that...could anyone confirm that I have the correct
> > directory structure? at the moment, it is I'm sure quite insecure, but
> > you can view it athttp://community.firstbaptistmiami.org/
> > I extracted the tar at the subdomain root at first, then I ran the git
> > commands which setup the program at /apps
> > so there are two sets of files...
> > On Aug 24, 9:18 pm, Justin Richter <jrich...@jetfive.com> wrote:
> > > My apache virtual host for my test stuff looks like this:
> > > to this file in between the <VirtualHost> </VirualHost> you may have some
> > > success.... Let me know if it works.
> > > Justin
> > > On Mon, Aug 24, 2009 at 11:10 PM, Justin Richter <jrich...@jetfive.com>wrote:
> > > > This probably won't work, but it might. I don't know if Tim hijacked the
> > > > development mode of rails when he added the setup mode to the script/server
> > > > line, but it could be worth a try. I am thinking if you install passenger,
> > > > sudo gem install passenger, then follow what it says to do, ie install
> > > > dependencies and then copy lines into your apache config file, you may be
> > > > able to set the RailsEnv variable to setup and see what happens. Your
> > > > configured sites wouldn't have to use proxypass if this were to work. You
> > > > basically just tell apache/passenger where your rails app's public directory
> > > > is and it does all the work. Like I said I really have no clue if this will
> > > > work.
> > > > On Mon, Aug 24, 2009 at 11:00 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
> > > >> Thanks Justin
> > > >> I was trying to install this on a remote machine running apache. It's
> > > >> actually my shared hosting account. I could probably get my host to do a
> > > >> little tinkering, but I would need to get a few more details. Is there
> > > >> anything on onebody's wiki about this? I can't find it....
> > > >> On Mon, Aug 24, 2009 at 8:55 PM, Justin Richter <jrich...@jetfive.com>wrote:
> > > >>> Thats assuming your using apache on a remote machine ofcourse.
> > > >>> On Mon, Aug 24, 2009 at 10:52 PM, Justin Richter <jrich...@jetfive.com>wrote:
> > > >>>> are you setting this up on your local machine? or on a remote server.
> > > >>>> If local gotohttp://localhost:3000andseewhat happens. If it is a
> > > >>>> remote machine, have you setup apache? or some other webserver? I know to
> > > >>>> point to a port you have to do a little tinkering. Like this:
> > > >>>> Google proxypass and it should help out.
> > > >>>> Justin
> > > >>>> On Mon, Aug 24, 2009 at 9:53 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
> > > >>>>> thanks Tim - I changed the adapter to mysql in config/database.yml but
> > > >>>>> I still can't load the page at
> > > >>>>>http://community.firsbaptistmiami.org:3000
> > > >>>>> sorry to be so much trouble; I'm really looking forward to getting this
> > > >>>>> up and running!
> > > >>>>> On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <t...@timmorgan.org> wrote:
> > > >>>>>> Jack, if you're using MySQL, you'll need to adjust your
> > > >>>>>> config/database.yml to indicate that.
> > > >>>>>> As for the bug install sqlite3-ruby, I think you can do "sudo aptitude
> > > >>>>>> install libsqlite3-dev" (on Ubuntu at least).
> > > >>>>>> Let us know.
> > > >>>>>> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
> > > >>>>>>> Here's what happened next:
> > > >>>>>>> -bash-3.00$ rake gems:install
> > > >>>>>>> (in /home/seefbcco/public_html/community)
> > > >>>>>>> rake aborted!
> > > >>>>>>> no such file to load -- sqlite3
> > > >>>>>>> (See full trace by running task with --trace)
> > > >>>>>>> -bash-3.00$ ruby script/server -e setup
> > > >>>>>>> => Booting Mongrel
> > > >>>>>>> => Rails 2.3.2 application starting onhttp://0.0.0.0:3000 > > > >>>>>>> Error reading settings for bug notification (OK if running setup).
> > > >>>>>>> No email.yml config found for this environment.
> > > >>>>>>> => Call with -d to detach
> > > >>>>>>> => Ctrl-C to shutdown server
> > > >>>>>>> On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <seve...@gmail.com>wrote:
> > > >>>>>>>> Jack, can you try the following command:
> > > >>>>>>>> sudo gem install sqlite3-ruby
> > > >>>>>>>> Then, run the "sudo rake gems:install" command again and let us
> > > >>>>>>>> know what happens.
> > > >>>>>>>> As for the reason you can't install some of the gems -- they're
> > > >>>>>>>> hosted on GitHub. To install the gems from the command line, you'll first
> > > >>>>>>>> need to add GitHub as a gem source, like this:
On Tue, Aug 25, 2009 at 4:10 PM, jack <pastorjackl...@gmail.com> wrote:
> Alright, I've changed things around, configured passenger & I am still
> stuck!
> I am trying to install onebody as a subdomain of our public church
> website on a shared hosting account
> Here's what I have done:
> all onebody files are located in /home/myusername/apps/onebody
> my subdomain is pointing to that directory
> in the directory is an .htaccess file with this inside:
> PassengerEnabled on
> PassengerAppRoot /home/myusername/apps/onebody/public
> I modified the .htaccess file in /home/myusername/apps/onebody/public
> #Removed per site5 wiki -
> I modified the database.yml with the correct mysql info
> When accessing the domain I still get a listing of files
> On Aug 25, 6:54 am, Dan Taylor <dan.a.tay...@gmail.com> wrote:
> > The directory structure looks ok, but the duplicate files in apps
> > might be troublesome. It looks like your server has passenger
> > installed, so it may just be a matter of configuring it to know that
> > this directory is a rails app. Since you're on shared hosting, check
> > to see if they have instructions on how to set that up. You'll either
> > set it up to resolve to the root of this directory, which would make
> > the apps directory unnecessary, or it would resolve to the apps
> > directory, making everything above it unnecessary. Also, once you get
> > passenger configured, you will not be using port 3000. That's if
> > you're using the mongrel server that comes bundled with the app.
> > Also, shared hosting almost certainly has any nonstandard ports (80,
> > 21, 22, 25, 110, 8080, etc) blocked for security purposes.
> > I took the liberty of looking at your database.yml files, and neither
> > of them are set up properly to use mysql. You've got the adapter
> > correct, but you'll need to list database name, username, password,
> > and host (if it's something other than localhost, which it may be
> > depending on the shared hosting provider). Mine is localhost, but I
> > still explicitly define it. The db/dbname format is sqlite.
> > It should look something like this (don't include the parentheticals):
> > production
> > adapter: mysql
> > username : (database user)
> > password: (password)
> > database: (database name)
> > (optional, but probably useful)
> > host: localhost
> > port: 3306 (this is the default, your server may be configured
> > differently - but probably not)
> > development
> > (repeat settings as necessary - may not be needed)
> > Again, since your server has passenger installed, your host should
> > have instructions on how to set it up on their system. If it were
> > properly set up, you'd see a bunch of Rails errors instead of just the
> > directory structure.
> > I hope that helps!
> > On Aug 25, 12:51 am, jack <pastorjackl...@gmail.com> wrote:
> > > Before I try that...could anyone confirm that I have the correct
> > > directory structure? at the moment, it is I'm sure quite insecure, but
> > > you can view it athttp://community.firstbaptistmiami.org/
> > > I extracted the tar at the subdomain root at first, then I ran the git
> > > commands which setup the program at /apps
> > > so there are two sets of files...
> > > On Aug 24, 9:18 pm, Justin Richter <jrich...@jetfive.com> wrote:
> > > > My apache virtual host for my test stuff looks like this:
> > > > to this file in between the <VirtualHost> </VirualHost> you may have
> some
> > > > success.... Let me know if it works.
> > > > Justin
> > > > On Mon, Aug 24, 2009 at 11:10 PM, Justin Richter <
> jrich...@jetfive.com>wrote:
> > > > > This probably won't work, but it might. I don't know if Tim
> hijacked the
> > > > > development mode of rails when he added the setup mode to the
> script/server
> > > > > line, but it could be worth a try. I am thinking if you install
> passenger,
> > > > > sudo gem install passenger, then follow what it says to do, ie
> install
> > > > > dependencies and then copy lines into your apache config file, you
> may be
> > > > > able to set the RailsEnv variable to setup and see what happens.
> Your
> > > > > configured sites wouldn't have to use proxypass if this were to
> work. You
> > > > > basically just tell apache/passenger where your rails app's public
> directory
> > > > > is and it does all the work. Like I said I really have no clue if
> this will
> > > > > work.
> > > > > On Mon, Aug 24, 2009 at 11:00 PM, Jack Lamb <
> pastorjackl...@gmail.com>wrote:
> > > > >> Thanks Justin
> > > > >> I was trying to install this on a remote machine running apache.
> It's
> > > > >> actually my shared hosting account. I could probably get my host
> to do a
> > > > >> little tinkering, but I would need to get a few more details. Is
> there
> > > > >> anything on onebody's wiki about this? I can't find it....
> > > > >> On Mon, Aug 24, 2009 at 8:55 PM, Justin Richter <
> jrich...@jetfive.com>wrote:
> > > > >>> Thats assuming your using apache on a remote machine ofcourse.
> > > > >>> On Mon, Aug 24, 2009 at 10:52 PM, Justin Richter <
> jrich...@jetfive.com>wrote:
> > > > >>>> are you setting this up on your local machine? or on a remote
> server.
> > > > >>>> If local gotohttp://localhost:3000andseewhat happens. If it is
> a
> > > > >>>> remote machine, have you setup apache? or some other webserver?
> I know to
> > > > >>>> point to a port you have to do a little tinkering. Like this:
> > > > >>>> Google proxypass and it should help out.
> > > > >>>> Justin
> > > > >>>> On Mon, Aug 24, 2009 at 9:53 PM, Jack Lamb <
> pastorjackl...@gmail.com>wrote:
> > > > >>>>> thanks Tim - I changed the adapter to mysql in
> config/database.yml but
> > > > >>>>> I still can't load the page at
> > > > >>>>>http://community.firsbaptistmiami.org:3000
> > > > >>>>> sorry to be so much trouble; I'm really looking forward to
> getting this
> > > > >>>>> up and running!
> > > > >>>>> On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <
> t...@timmorgan.org> wrote:
> > > > >>>>>> Jack, if you're using MySQL, you'll need to adjust your
> > > > >>>>>> config/database.yml to indicate that.
> > > > >>>>>> As for the bug install sqlite3-ruby, I think you can do "sudo
> aptitude
> > > > >>>>>> install libsqlite3-dev" (on Ubuntu at least).
> > > > >>>>>> Let us know.
> > > > >>>>>> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <
> pastorjackl...@gmail.com>wrote:
> > > > >>>>>>> Here's what happened next:
> > > > >>>>>>> -bash-3.00$ rake gems:install
> > > > >>>>>>> (in /home/seefbcco/public_html/community)
> > > > >>>>>>> rake aborted!
> > > > >>>>>>> no such file to load -- sqlite3
> > > > >>>>>>> (See full trace by running task with --trace)
> > > > >>>>>>> -bash-3.00$ ruby script/server -e setup
> > > > >>>>>>> => Booting Mongrel
> > > > >>>>>>> => Rails 2.3.2 application starting onhttp://0.0.0.0:3000 > > > > >>>>>>> Error reading settings for bug notification (OK if running
> setup).
> > > > >>>>>>> No email.yml config found for this environment.
> > > > >>>>>>> => Call with -d to detach
> > > > >>>>>>> => Ctrl-C to shutdown server
> > > > >>>>>>> On Mon, Aug 24, 2009 at 8:28 AM, Tim Morgan <
> seve...@gmail.com>wrote:
> > > > >>>>>>>> Jack, can you try the following command:
> > > > >>>>>>>> sudo gem install sqlite3-ruby
> > > > >>>>>>>> Then, run the "sudo rake gems:install" command again and let
> us
> > > > >>>>>>>> know what happens.
> > > > >>>>>>>> As for the reason you can't install some of the gems --
> they're
> > > > >>>>>>>> hosted on GitHub. To install the gems from the command line,
> you'll first
> > > > >>>>>>>> need to add GitHub as a gem source, like this:
better: now at least I get an error message instead of a listing of
files
"Oops. There was an error.
The site is feeling a bit sick right now. Feel free to click back and
try again. If you keep getting this message, give us a few minutes to
get things back in order, and try again later.
A detailed report of this error has been sent to the people who fix
things."
where would I find this detailed error report?
Thanks so much for your help!!!!!
On Aug 25, 2:15 pm, Tim Morgan <t...@timmorgan.org> wrote:
> I believe you have to point the DocumentRoot of your subdomain virtual host
> to the "public" directory -- not the root of the Rails app.
> Does that fix it?
> On Tue, Aug 25, 2009 at 4:10 PM, jack <pastorjackl...@gmail.com> wrote:
> > Alright, I've changed things around, configured passenger & I am still
> > stuck!
> > I am trying to install onebody as a subdomain of our public church
> > website on a shared hosting account
> > Here's what I have done:
> > all onebody files are located in /home/myusername/apps/onebody
> > my subdomain is pointing to that directory
> > in the directory is an .htaccess file with this inside:
> > PassengerEnabled on
> > PassengerAppRoot /home/myusername/apps/onebody/public
> > I modified the .htaccess file in /home/myusername/apps/onebody/public
> > #Removed per site5 wiki -
> > I modified the database.yml with the correct mysql info
> > When accessing the domain I still get a listing of files
> > On Aug 25, 6:54 am, Dan Taylor <dan.a.tay...@gmail.com> wrote:
> > > The directory structure looks ok, but the duplicate files in apps
> > > might be troublesome. It looks like your server has passenger
> > > installed, so it may just be a matter of configuring it to know that
> > > this directory is a rails app. Since you're on shared hosting, check
> > > to see if they have instructions on how to set that up. You'll either
> > > set it up to resolve to the root of this directory, which would make
> > > the apps directory unnecessary, or it would resolve to the apps
> > > directory, making everything above it unnecessary. Also, once you get
> > > passenger configured, you will not be using port 3000. That's if
> > > you're using the mongrel server that comes bundled with the app.
> > > Also, shared hosting almost certainly has any nonstandard ports (80,
> > > 21, 22, 25, 110, 8080, etc) blocked for security purposes.
> > > I took the liberty of looking at your database.yml files, and neither
> > > of them are set up properly to use mysql. You've got the adapter
> > > correct, but you'll need to list database name, username, password,
> > > and host (if it's something other than localhost, which it may be
> > > depending on the shared hosting provider). Mine is localhost, but I
> > > still explicitly define it. The db/dbname format is sqlite.
> > > It should look something like this (don't include the parentheticals):
> > > production
> > > adapter: mysql
> > > username : (database user)
> > > password: (password)
> > > database: (database name)
> > > (optional, but probably useful)
> > > host: localhost
> > > port: 3306 (this is the default, your server may be configured
> > > differently - but probably not)
> > > development
> > > (repeat settings as necessary - may not be needed)
> > > Again, since your server has passenger installed, your host should
> > > have instructions on how to set it up on their system. If it were
> > > properly set up, you'd see a bunch of Rails errors instead of just the
> > > directory structure.
> > > I hope that helps!
> > > On Aug 25, 12:51 am, jack <pastorjackl...@gmail.com> wrote:
> > > > Before I try that...could anyone confirm that I have the correct
> > > > directory structure? at the moment, it is I'm sure quite insecure, but
> > > > you can view it athttp://community.firstbaptistmiami.org/
> > > > I extracted the tar at the subdomain root at first, then I ran the git
> > > > commands which setup the program at /apps
> > > > so there are two sets of files...
> > > > On Aug 24, 9:18 pm, Justin Richter <jrich...@jetfive.com> wrote:
> > > > > My apache virtual host for my test stuff looks like this:
> > > > > to this file in between the <VirtualHost> </VirualHost> you may have
> > some
> > > > > success.... Let me know if it works.
> > > > > Justin
> > > > > On Mon, Aug 24, 2009 at 11:10 PM, Justin Richter <
> > jrich...@jetfive.com>wrote:
> > > > > > This probably won't work, but it might. I don't know if Tim
> > hijacked the
> > > > > > development mode of rails when he added the setup mode to the
> > script/server
> > > > > > line, but it could be worth a try. I am thinking if you install
> > passenger,
> > > > > > sudo gem install passenger, then follow what it says to do, ie
> > install
> > > > > > dependencies and then copy lines into your apache config file, you
> > may be
> > > > > > able to set the RailsEnv variable to setup and see what happens.
> > Your
> > > > > > configured sites wouldn't have to use proxypass if this were to
> > work. You
> > > > > > basically just tell apache/passenger where your rails app's public
> > directory
> > > > > > is and it does all the work. Like I said I really have no clue if
> > this will
> > > > > > work.
> > > > > > On Mon, Aug 24, 2009 at 11:00 PM, Jack Lamb <
> > pastorjackl...@gmail.com>wrote:
> > > > > >> Thanks Justin
> > > > > >> I was trying to install this on a remote machine running apache.
> > It's
> > > > > >> actually my shared hosting account. I could probably get my host
> > to do a
> > > > > >> little tinkering, but I would need to get a few more details. Is
> > there
> > > > > >> anything on onebody's wiki about this? I can't find it....
> > > > > >> On Mon, Aug 24, 2009 at 8:55 PM, Justin Richter <
> > jrich...@jetfive.com>wrote:
> > > > > >>> Thats assuming your using apache on a remote machine ofcourse.
> > > > > >>> On Mon, Aug 24, 2009 at 10:52 PM, Justin Richter <
> > jrich...@jetfive.com>wrote:
> > > > > >>>> are you setting this up on your local machine? or on a remote
> > server.
> > > > > >>>> If local gotohttp://localhost:3000andseewhathappens. If it is
> > a
> > > > > >>>> remote machine, have you setup apache? or some other webserver?
> > I know to
> > > > > >>>> point to a port you have to do a little tinkering. Like this:
> > > > > >>>> Google proxypass and it should help out.
> > > > > >>>> Justin
> > > > > >>>> On Mon, Aug 24, 2009 at 9:53 PM, Jack Lamb <
> > pastorjackl...@gmail.com>wrote:
> > > > > >>>>> thanks Tim - I changed the adapter to mysql in
> > config/database.yml but
> > > > > >>>>> I still can't load the page at
> > > > > >>>>>http://community.firsbaptistmiami.org:3000
> > > > > >>>>> sorry to be so much trouble; I'm really looking forward to
> > getting this
> > > > > >>>>> up and running!
> > > > > >>>>> On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <
> > t...@timmorgan.org> wrote:
> > > > > >>>>>> Jack, if you're using MySQL, you'll need to adjust your
> > > > > >>>>>> config/database.yml to indicate that.
> > > > > >>>>>> As for the bug install sqlite3-ruby, I think you can do "sudo
> > aptitude
> > > > > >>>>>> install libsqlite3-dev" (on Ubuntu at least).
> > > > > >>>>>> Let us know.
> > > > > >>>>>> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <
> > pastorjackl...@gmail.com>wrote:
> > > > > >>>>>>> Here's what happened next:
> > > > > >>>>>>> -bash-3.00$ rake gems:install
> > > > > >>>>>>> (in /home/seefbcco/public_html/community)
> > > > > >>>>>>> rake aborted!
> > > > > >>>>>>> no such file to load -- sqlite3
> > > > > >>>>>>> (See full trace by running task with --trace)
> > > > > >>>>>>> -bash-3.00$ ruby script/server -e setup
> > > > > >>>>>>> => Booting Mongrel
> > > > > >>>>>>> => Rails 2.3.2 application starting onhttp://0.0.0.0:3000 > > > > > >>>>>>> Error reading settings for bug notification (OK if running
> > setup).
> > > > > >>>>>>> No email.yml config found for this environment.
> > > > > >>>>>>> => Call with -d to detach
> > > > > >>>>>>> => Ctrl-C to shutdown server
On Tue, Aug 25, 2009 at 4:21 PM, jack <pastorjackl...@gmail.com> wrote:
> better: now at least I get an error message instead of a listing of
> files
> "Oops. There was an error.
> The site is feeling a bit sick right now. Feel free to click back and
> try again. If you keep getting this message, give us a few minutes to
> get things back in order, and try again later.
> A detailed report of this error has been sent to the people who fix
> things."
> where would I find this detailed error report?
> Thanks so much for your help!!!!!
> On Aug 25, 2:15 pm, Tim Morgan <t...@timmorgan.org> wrote:
> > I believe you have to point the DocumentRoot of your subdomain virtual
> host
> > to the "public" directory -- not the root of the Rails app.
> > Does that fix it?
> > On Tue, Aug 25, 2009 at 4:10 PM, jack <pastorjackl...@gmail.com> wrote:
> > > Alright, I've changed things around, configured passenger & I am still
> > > stuck!
> > > I am trying to install onebody as a subdomain of our public church
> > > website on a shared hosting account
> > > Here's what I have done:
> > > all onebody files are located in /home/myusername/apps/onebody
> > > my subdomain is pointing to that directory
> > > in the directory is an .htaccess file with this inside:
> > > PassengerEnabled on
> > > PassengerAppRoot /home/myusername/apps/onebody/public
> > > I modified the .htaccess file in /home/myusername/apps/onebody/public
> > > #Removed per site5 wiki -
> > > I modified the database.yml with the correct mysql info
> > > When accessing the domain I still get a listing of files
> > > On Aug 25, 6:54 am, Dan Taylor <dan.a.tay...@gmail.com> wrote:
> > > > The directory structure looks ok, but the duplicate files in apps
> > > > might be troublesome. It looks like your server has passenger
> > > > installed, so it may just be a matter of configuring it to know that
> > > > this directory is a rails app. Since you're on shared hosting, check
> > > > to see if they have instructions on how to set that up. You'll
> either
> > > > set it up to resolve to the root of this directory, which would make
> > > > the apps directory unnecessary, or it would resolve to the apps
> > > > directory, making everything above it unnecessary. Also, once you
> get
> > > > passenger configured, you will not be using port 3000. That's if
> > > > you're using the mongrel server that comes bundled with the app.
> > > > Also, shared hosting almost certainly has any nonstandard ports (80,
> > > > 21, 22, 25, 110, 8080, etc) blocked for security purposes.
> > > > I took the liberty of looking at your database.yml files, and neither
> > > > of them are set up properly to use mysql. You've got the adapter
> > > > correct, but you'll need to list database name, username, password,
> > > > and host (if it's something other than localhost, which it may be
> > > > depending on the shared hosting provider). Mine is localhost, but I
> > > > still explicitly define it. The db/dbname format is sqlite.
> > > > It should look something like this (don't include the
> parentheticals):
> > > > production
> > > > adapter: mysql
> > > > username : (database user)
> > > > password: (password)
> > > > database: (database name)
> > > > (optional, but probably useful)
> > > > host: localhost
> > > > port: 3306 (this is the default, your server may be configured
> > > > differently - but probably not)
> > > > development
> > > > (repeat settings as necessary - may not be needed)
> > > > Again, since your server has passenger installed, your host should
> > > > have instructions on how to set it up on their system. If it were
> > > > properly set up, you'd see a bunch of Rails errors instead of just
> the
> > > > directory structure.
> > > > I hope that helps!
> > > > On Aug 25, 12:51 am, jack <pastorjackl...@gmail.com> wrote:
> > > > > Before I try that...could anyone confirm that I have the correct
> > > > > directory structure? at the moment, it is I'm sure quite insecure,
> but
> > > > > you can view it athttp://community.firstbaptistmiami.org/
> > > > > I extracted the tar at the subdomain root at first, then I ran the
> git
> > > > > commands which setup the program at /apps
> > > > > so there are two sets of files...
> > > > > On Aug 24, 9:18 pm, Justin Richter <jrich...@jetfive.com> wrote:
> > > > > > My apache virtual host for my test stuff looks like this:
> > > > > > to this file in between the <VirtualHost> </VirualHost> you may
> have
> > > some
> > > > > > success.... Let me know if it works.
> > > > > > Justin
> > > > > > On Mon, Aug 24, 2009 at 11:10 PM, Justin Richter <
> > > jrich...@jetfive.com>wrote:
> > > > > > > This probably won't work, but it might. I don't know if Tim
> > > hijacked the
> > > > > > > development mode of rails when he added the setup mode to the
> > > script/server
> > > > > > > line, but it could be worth a try. I am thinking if you
> install
> > > passenger,
> > > > > > > sudo gem install passenger, then follow what it says to do, ie
> > > install
> > > > > > > dependencies and then copy lines into your apache config file,
> you
> > > may be
> > > > > > > able to set the RailsEnv variable to setup and see what
> happens.
> > > Your
> > > > > > > configured sites wouldn't have to use proxypass if this were to
> > > work. You
> > > > > > > basically just tell apache/passenger where your rails app's
> public
> > > directory
> > > > > > > is and it does all the work. Like I said I really have no clue
> if
> > > this will
> > > > > > > work.
> > > > > > > On Mon, Aug 24, 2009 at 11:00 PM, Jack Lamb <
> > > pastorjackl...@gmail.com>wrote:
> > > > > > >> Thanks Justin
> > > > > > >> I was trying to install this on a remote machine running
> apache.
> > > It's
> > > > > > >> actually my shared hosting account. I could probably get my
> host
> > > to do a
> > > > > > >> little tinkering, but I would need to get a few more details.
> Is
> > > there
> > > > > > >> anything on onebody's wiki about this? I can't find it....
> > > > > > >> On Mon, Aug 24, 2009 at 8:55 PM, Justin Richter <
> > > jrich...@jetfive.com>wrote:
> > > > > > >>> Thats assuming your using apache on a remote machine
> ofcourse.
> > > > > > >>> On Mon, Aug 24, 2009 at 10:52 PM, Justin Richter <
> > > jrich...@jetfive.com>wrote:
> > > > > > >>>> are you setting this up on your local machine? or on a
> remote
> > > server.
> > > > > > >>>> If local gotohttp://localhost:3000andseewhathappens. If it
> is
> > > a
> > > > > > >>>> remote machine, have you setup apache? or some other
> webserver?
> > > I know to
> > > > > > >>>> point to a port you have to do a little tinkering. Like
> this:
> > > > > > >>>> Google proxypass and it should help out.
> > > > > > >>>> Justin
> > > > > > >>>> On Mon, Aug 24, 2009 at 9:53 PM, Jack Lamb <
> > > pastorjackl...@gmail.com>wrote:
> > > > > > >>>>> thanks Tim - I changed the adapter to mysql in
> > > config/database.yml but
> > > > > > >>>>> I still can't load the page at
> > > > > > >>>>>http://community.firsbaptistmiami.org:3000
> > > > > > >>>>> sorry to be so much trouble; I'm really looking forward to
> > > getting this
> > > > > > >>>>> up and running!
> > > > > > >>>>> On Mon, Aug 24, 2009 at 3:39 PM, Tim Morgan <
> > > t...@timmorgan.org> wrote:
> > > > > > >>>>>> Jack, if you're using MySQL, you'll need to adjust your
> > > > > > >>>>>> config/database.yml to indicate that.
> > > > > > >>>>>> As for the bug install sqlite3-ruby, I think you can do
> "sudo
> > > aptitude
> > > > > > >>>>>> install libsqlite3-dev" (on Ubuntu at least).
> > > > > > >>>>>> Let us know.
> > > > > > >>>>>> On Mon, Aug 24, 2009 at 5:03 PM, Jack Lamb <
> > > pastorjackl...@gmail.com>wrote:
I thought that the app would populate the database (like most php install
scripts), but it seems like I need to do this first. I tried to find a .sql
file to load, but I don't know where it is
Thanks again!!!!!
Jack
On Tue, Aug 25, 2009 at 2:26 PM, Tim Morgan <t...@timmorgan.org> wrote:
> Set RailsEnv development in your apache config or .htaccess.
> On Tue, Aug 25, 2009 at 4:21 PM, jack <pastorjackl...@gmail.com> wrote:
>> better: now at least I get an error message instead of a listing of
>> files
>> "Oops. There was an error.
>> The site is feeling a bit sick right now. Feel free to click back and
>> try again. If you keep getting this message, give us a few minutes to
>> get things back in order, and try again later.
>> A detailed report of this error has been sent to the people who fix
>> things."
>> where would I find this detailed error report?
>> Thanks so much for your help!!!!!
>> On Aug 25, 2:15 pm, Tim Morgan <t...@timmorgan.org> wrote:
>> > I believe you have to point the DocumentRoot of your subdomain virtual
host
>> > to the "public" directory -- not the root of the Rails app.
>> > Does that fix it?
>> > On Tue, Aug 25, 2009 at 4:10 PM, jack <pastorjackl...@gmail.com> wrote:
>> > > Alright, I've changed things around, configured passenger & I am
still
>> > > stuck!
>> > > I am trying to install onebody as a subdomain of our public church
>> > > website on a shared hosting account
>> > > Here's what I have done:
>> > > all onebody files are located in /home/myusername/apps/onebody
>> > > my subdomain is pointing to that directory
>> > > in the directory is an .htaccess file with this inside:
>> > > PassengerEnabled on
>> > > PassengerAppRoot /home/myusername/apps/onebody/public
>> > > I modified the .htaccess file in /home/myusername/apps/onebody/public
>> > > #Removed per site5 wiki -
>> > > I modified the database.yml with the correct mysql info
>> > > When accessing the domain I still get a listing of files
>> > > On Aug 25, 6:54 am, Dan Taylor <dan.a.tay...@gmail.com> wrote:
>> > > > The directory structure looks ok, but the duplicate files in apps
>> > > > might be troublesome. It looks like your server has passenger
>> > > > installed, so it may just be a matter of configuring it to know
that
>> > > > this directory is a rails app. Since you're on shared hosting,
check
>> > > > to see if they have instructions on how to set that up. You'll
either
>> > > > set it up to resolve to the root of this directory, which would
make
>> > > > the apps directory unnecessary, or it would resolve to the apps
>> > > > directory, making everything above it unnecessary. Also, once you
get
>> > > > passenger configured, you will not be using port 3000. That's if
>> > > > you're using the mongrel server that comes bundled with the app.
>> > > > Also, shared hosting almost certainly has any nonstandard ports
(80,
>> > > > 21, 22, 25, 110, 8080, etc) blocked for security purposes.
>> > > > I took the liberty of looking at your database.yml files, and
neither
>> > > > of them are set up properly to use mysql. You've got the adapter
>> > > > correct, but you'll need to list database name, username, password,
>> > > > and host (if it's something other than localhost, which it may be
>> > > > depending on the shared hosting provider). Mine is localhost, but
I
>> > > > still explicitly define it. The db/dbname format is sqlite.
>> > > > It should look something like this (don't include the
parentheticals):
>> > > > production
>> > > > adapter: mysql
>> > > > username : (database user)
>> > > > password: (password)
>> > > > database: (database name)
>> > > > (optional, but probably useful)
>> > > > host: localhost
>> > > > port: 3306 (this is the default, your server may be configured
>> > > > differently - but probably not)
>> > > > development
>> > > > (repeat settings as necessary - may not be needed)
>> > > > Again, since your server has passenger installed, your host should
>> > > > have instructions on how to set it up on their system. If it were
>> > > > properly set up, you'd see a bunch of Rails errors instead of just
the
>> > > > directory structure.
>> > > > I hope that helps!
>> > > > On Aug 25, 12:51 am, jack <pastorjackl...@gmail.com> wrote:
>> > > > > Before I try that...could anyone confirm that I have the correct
>> > > > > directory structure? at the moment, it is I'm sure quite
insecure, but
>> > > > > you can view it athttp://community.firstbaptistmiami.org/
>> > > > > I extracted the tar at the subdomain root at first, then I ran
the git
>> > > > > commands which setup the program at /apps
>> > > > > so there are two sets of files...
>> > > > > On Aug 24, 9:18 pm, Justin Richter <jrich...@jetfive.com> wrote:
>> > > > > > My apache virtual host for my test stuff looks like this:
>> > > > > > to this file in between the <VirtualHost> </VirualHost> you
may have
>> > > some
>> > > > > > success.... Let me know if it works.
>> > > > > > Justin
>> > > > > > On Mon, Aug 24, 2009 at 11:10 PM, Justin Richter <
>> > > jrich...@jetfive.com>wrote:
>> > > > > > > This probably won't work, but it might. I don't know if Tim
>> > > hijacked the
>> > > > > > > development mode of rails when he added the setup mode to the
>> > > script/server
>> > > > > > > line, but it could be worth a try. I am thinking if you
install
>> > > passenger,
>> > > > > > > sudo gem install passenger, then follow what it says to do,
ie
>> > > install
>> > > > > > > dependencies and then copy lines into your apache config
file, you
>> > > may be
>> > > > > > > able to set the RailsEnv variable to setup and see what
happens.
>> > > Your
>> > > > > > > configured sites wouldn't have to use proxypass if this were
to
>> > > work. You
>> > > > > > > basically just tell apache/passenger where your rails app's
public
>> > > directory
>> > > > > > > is and it does all the work. Like I said I really have no
clue if
>> > > this will
>> > > > > > > work.
>> > > > > > > On Mon, Aug 24, 2009 at 11:00 PM, Jack Lamb <
>> > > pastorjackl...@gmail.com>wrote:
>> > > > > > >> Thanks Justin
>> > > > > > >> I was trying to install this on a remote machine running
apache.
>> > > It's
>> > > > > > >> actually my shared hosting account. I could probably get my
host
>> > > to do a
>> > > > > > >> little tinkering, but I would need to get a few more
details. Is
>> > > there
>> > > > > > >> anything on onebody's wiki about this? I can't find it....
>> > > > > > >> On Mon, Aug 24, 2009 at 8:55 PM, Justin Richter <
>> > > jrich...@jetfive.com>wrote:
>> > > > > > >>> Thats assuming your using apache on a remote machine
ofcourse.
>> > > > > > >>> On Mon, Aug 24, 2009 at 10:52 PM, Justin Richter <
>> > > jrich...@jetfive.com>wrote:
>> > > > > > >>>> are you setting this up on your local machine? or on a
remote
>> > > server.
>> > > > > > >>>> If local gotohttp://localhost:3000andseewhathappens. If
it is
>> > > a
>> > > > > > >>>> remote machine, have you setup apache? or some other
webserver?
>> > > I know to
>> > > > > > >>>> point to a port you have to do a little tinkering. Like
this:
>> > > > > > >>>> Google proxypass and it should help out.
>> > > > > > >>>> Justin
>> > > > > > >>>> On Mon, Aug 24, 2009 at 9:53 PM, Jack Lamb <
>> > > pastorjackl...@gmail.com>wrote:
>> > > > > > >>>>> thanks Tim - I changed the adapter to mysql in
>> > > config/database.yml but
>> > > > > > >>>>> I still can't load the page at
>> > > > > > >>>>>http://community.firsbaptistmiami.org:3000
1. Looks like your database name is set to "username_databasename" -- is
that right?
2. You can populate some sample data to play with, if you want: rake
onebody:load_sample_data
(I trust you've already followed the install instructions, which call for
running the database migrations: rake db:migrate)
On Tue, Aug 25, 2009 at 4:41 PM, Jack Lamb <pastorjackl...@gmail.com> wrote:
> here's what the production log shows:
> Processing PagesController#show_for_public (for 97.117.210.222 at
> 2009-08-25 13:25:44) [GET]
> I thought that the app would populate the database (like most php install
> scripts), but it seems like I need to do this first. I tried to find a .sql
> file to load, but I don't know where it is
> Thanks again!!!!!
> Jack
> On Tue, Aug 25, 2009 at 2:26 PM, Tim Morgan <t...@timmorgan.org> wrote:
> > Set RailsEnv development in your apache config or .htaccess.
> > On Tue, Aug 25, 2009 at 4:21 PM, jack <pastorjackl...@gmail.com> wrote:
> >> better: now at least I get an error message instead of a listing of
> >> files
> >> "Oops. There was an error.
> >> The site is feeling a bit sick right now. Feel free to click back and
> >> try again. If you keep getting this message, give us a few minutes to
> >> get things back in order, and try again later.
> >> A detailed report of this error has been sent to the people who fix
> >> things."
> >> where would I find this detailed error report?
> >> Thanks so much for your help!!!!!
> >> On Aug 25, 2:15 pm, Tim Morgan <t...@timmorgan.org> wrote:
> >> > I believe you have to point the DocumentRoot of your subdomain virtual
> host
> >> > to the "public" directory -- not the root of the Rails app.
> >> > Does that fix it?
> >> > On Tue, Aug 25, 2009 at 4:10 PM, jack <pastorjackl...@gmail.com>
> wrote:
> >> > > Alright, I've changed things around, configured passenger & I am
> still
> >> > > stuck!
> >> > > I am trying to install onebody as a subdomain of our public church
> >> > > website on a shared hosting account
> >> > > Here's what I have done:
> >> > > all onebody files are located in /home/myusername/apps/onebody
> >> > > my subdomain is pointing to that directory
> >> > > in the directory is an .htaccess file with this inside:
> >> > > PassengerEnabled on
> >> > > PassengerAppRoot /home/myusername/apps/onebody/public
> >> > > I modified the .htaccess file in
> /home/myusername/apps/onebody/public
> >> > > #Removed per site5 wiki -
> >> > > I modified the database.yml with the correct mysql info
> >> > > When accessing the domain I still get a listing of files
> >> > > On Aug 25, 6:54 am, Dan Taylor <dan.a.tay...@gmail.com> wrote:
> >> > > > The directory structure looks ok, but the duplicate files in apps
> >> > > > might be troublesome. It looks like your server has passenger
> >> > > > installed, so it may just be a matter of configuring it to know
> that
> >> > > > this directory is a rails app. Since you're on shared hosting,
> check
> >> > > > to see if they have instructions on how to set that up. You'll
> either
> >> > > > set it up to resolve to the root of this directory, which would
> make
> >> > > > the apps directory unnecessary, or it would resolve to the apps
> >> > > > directory, making everything above it unnecessary. Also, once you
> get
> >> > > > passenger configured, you will not be using port 3000. That's if
> >> > > > you're using the mongrel server that comes bundled with the app.
> >> > > > Also, shared hosting almost certainly has any nonstandard ports
> (80,
> >> > > > 21, 22, 25, 110, 8080, etc) blocked for security purposes.
> >> > > > I took the liberty of looking at your database.yml files, and
> neither
> >> > > > of them are set up properly to use mysql. You've got the adapter
> >> > > > correct, but you'll need to list database name, username,
> password,
> >> > > > and host (if it's something other than localhost, which it may be
> >> > > > depending on the shared hosting provider). Mine is localhost, but
> I
> >> > > > still explicitly define it. The db/dbname format is sqlite.
> >> > > > It should look something like this (don't include the
> parentheticals):
> >> > > > production
> >> > > > adapter: mysql
> >> > > > username : (database user)
> >> > > > password: (password)
> >> > > > database: (database name)
> >> > > > (optional, but probably useful)
> >> > > > host: localhost
> >> > > > port: 3306 (this is the default, your server may be configured
> >> > > > differently - but probably not)
> >> > > > development
> >> > > > (repeat settings as necessary - may not be needed)
> >> > > > Again, since your server has passenger installed, your host should
> >> > > > have instructions on how to set it up on their system. If it were
> >> > > > properly set up, you'd see a bunch of Rails errors instead of just
> the
> >> > > > directory structure.
> >> > > > I hope that helps!
> >> > > > On Aug 25, 12:51 am, jack <pastorjackl...@gmail.com> wrote:
> >> > > > > Before I try that...could anyone confirm that I have the correct
> >> > > > > directory structure? at the moment, it is I'm sure quite
> insecure, but
> >> > > > > you can view it athttp://community.firstbaptistmiami.org/
> >> > > > > I extracted the tar at the subdomain root at first, then I ran
> the git
> >> > > > > commands which setup the program at /apps
> >> > > > > so there are two sets of files...
> >> > > > > On Aug 24, 9:18 pm, Justin Richter <jrich...@jetfive.com>
> wrote:
> >> > > > > > My apache virtual host for my test stuff looks like this:
> >> > > > > > to this file in between the <VirtualHost> </VirualHost> you
> may have
> >> > > some
> >> > > > > > success.... Let me know if it works.
> >> > > > > > Justin
> >> > > > > > On Mon, Aug 24, 2009 at 11:10 PM, Justin Richter <
> >> > > jrich...@jetfive.com>wrote:
> >> > > > > > > This probably won't work, but it might. I don't know if Tim
> >> > > hijacked the
> >> > > > > > > development mode of rails when he added the setup mode to
> the
> >> > > script/server
> >> > > > > > > line, but it could be worth a try. I am thinking if you
> install
> >> > > passenger,
> >> > > > > > > sudo gem install passenger, then follow what it says to do,
> ie
> >> > > install
> >> > > > > > > dependencies and then copy lines into your apache config
> file, you
> >> > > may be
> >> > > > > > > able to set the RailsEnv variable to setup and see what
> happens.
> >> > > Your
> >> > > > > > > configured sites wouldn't have to use proxypass if this were
> to
> >> > > work. You
> >> > > > > > > basically just tell apache/passenger where your rails app's
> public
> >> > > directory
> >> > > > > > > is and it does all the work. Like I said I really have no
> clue if
> >> > > this will
> >> > > > > > > work.
> >> > > > > > > On Mon, Aug 24, 2009 at 11:00 PM, Jack Lamb <
> >> > > pastorjackl...@gmail.com>wrote:
> >> > > > > > >> Thanks Justin
> >> > > > > > >> I was trying to install this on a remote machine running
> apache.
> >> > > It's
> >> > > > > > >> actually my shared hosting account. I could probably get my
> host
> >> > > to do a
> >> > > > > > >> little tinkering, but I would need to get a few more
> details. Is
> >> > > there
> >> > > > > > >> anything on onebody's wiki about this? I can't find it....
> >> > > > > > >> On Mon, Aug 24, 2009 at 8:55 PM, Justin Richter <
> >> > > jrich...@jetfive.com>wrote:
> >> > > > > > >>> Thats assuming your using apache on a remote machine
> ofcourse.
> >> > > > > > >>> On Mon, Aug 24, 2009 at 10:52 PM, Justin Richter <
> >> > > jrich...@jetfive.com>wrote:
> >> > > > > > >>>> are you setting this up on your local machine? or on a
> remote
> >> > > server.
> >> > > > > > >>>> If local gotohttp://localhost:3000andseewhathappens. If
> it is
> >> > > a
> >> > > > > > >>>> remote machine, have you setup apache? or some
On Tue, Aug 25, 2009 at 2:51 PM, Tim Morgan <t...@timmorgan.org> wrote:
> 1. Looks like your database name is set to "username_databasename" -- is
> that right?
> 2. You can populate some sample data to play with, if you want: rake
> onebody:load_sample_data
> (I trust you've already followed the install instructions, which call for
> running the database migrations: rake db:migrate)
> On Tue, Aug 25, 2009 at 4:41 PM, Jack Lamb <pastorjackl...@gmail.com>wrote:
>> here's what the production log shows:
>> Processing PagesController#show_for_public (for 97.117.210.222 at
>> 2009-08-25 13:25:44) [GET]
>> I thought that the app would populate the database (like most php install
>> scripts), but it seems like I need to do this first. I tried to find a .sql
>> file to load, but I don't know where it is
>> Thanks again!!!!!
>> Jack
>> On Tue, Aug 25, 2009 at 2:26 PM, Tim Morgan <t...@timmorgan.org> wrote:
>> > Set RailsEnv development in your apache config or .htaccess.
>> > On Tue, Aug 25, 2009 at 4:21 PM, jack <pastorjackl...@gmail.com> wrote:
>> >> better: now at least I get an error message instead of a listing of
>> >> files
>> >> "Oops. There was an error.
>> >> The site is feeling a bit sick right now. Feel free to click back and
>> >> try again. If you keep getting this message, give us a few minutes to
>> >> get things back in order, and try again later.
>> >> A detailed report of this error has been sent to the people who fix
>> >> things."
>> >> where would I find this detailed error report?
>> >> Thanks so much for your help!!!!!
>> >> On Aug 25, 2:15 pm, Tim Morgan <t...@timmorgan.org> wrote:
>> >> > I believe you have to point the DocumentRoot of your subdomain
>> virtual host
>> >> > to the "public" directory -- not the root of the Rails app.
>> >> > Does that fix it?
>> >> > On Tue, Aug 25, 2009 at 4:10 PM, jack <pastorjackl...@gmail.com>
>> wrote:
>> >> > > Alright, I've changed things around, configured passenger & I am
>> still
>> >> > > stuck!
>> >> > > I am trying to install onebody as a subdomain of our public church
>> >> > > website on a shared hosting account
>> >> > > Here's what I have done:
>> >> > > all onebody files are located in /home/myusername/apps/onebody
>> >> > > my subdomain is pointing to that directory
>> >> > > in the directory is an .htaccess file with this inside:
>> >> > > PassengerEnabled on
>> >> > > PassengerAppRoot /home/myusername/apps/onebody/public
>> >> > > I modified the .htaccess file in
>> /home/myusername/apps/onebody/public
>> >> > > #Removed per site5 wiki -
>> >> > > I modified the database.yml with the correct mysql info
>> >> > > When accessing the domain I still get a listing of files
>> >> > > On Aug 25, 6:54 am, Dan Taylor <dan.a.tay...@gmail.com> wrote:
>> >> > > > The directory structure looks ok, but the duplicate files in apps
>> >> > > > might be troublesome. It looks like your server has passenger
>> >> > > > installed, so it may just be a matter of configuring it to know
>> that
>> >> > > > this directory is a rails app. Since you're on shared hosting,
>> check
>> >> > > > to see if they have instructions on how to set that up. You'll
>> either
>> >> > > > set it up to resolve to the root of this directory, which would
>> make
>> >> > > > the apps directory unnecessary, or it would resolve to the apps
>> >> > > > directory, making everything above it unnecessary. Also, once
>> you get
>> >> > > > passenger configured, you will not be using port 3000. That's if
>> >> > > > you're using the mongrel server that comes bundled with the app.
>> >> > > > Also, shared hosting almost certainly has any nonstandard ports
>> (80,
>> >> > > > 21, 22, 25, 110, 8080, etc) blocked for security purposes.
>> >> > > > I took the liberty of looking at your database.yml files, and
>> neither
>> >> > > > of them are set up properly to use mysql. You've got the adapter
>> >> > > > correct, but you'll need to list database name, username,
>> password,
>> >> > > > and host (if it's something other than localhost, which it may be
>> >> > > > depending on the shared hosting provider). Mine is localhost,
>> but I
>> >> > > > still explicitly define it. The db/dbname format is sqlite.
>> >> > > > It should look something like this (don't include the
>> parentheticals):
>> >> > > > production
>> >> > > > adapter: mysql
>> >> > > > username : (database user)
>> >> > > > password: (password)
>> >> > > > database: (database name)
>> >> > > > (optional, but probably useful)
>> >> > > > host: localhost
>> >> > > > port: 3306 (this is the default, your server may be configured
>> >> > > > differently - but probably not)
>> >> > > > development
>> >> > > > (repeat settings as necessary - may not be needed)
>> >> > > > Again, since your server has passenger installed, your host
>> should
>> >> > > > have instructions on how to set it up on their system. If it
>> were
>> >> > > > properly set up, you'd see a bunch of Rails errors instead of
>> just the
>> >> > > > directory structure.
>> >> > > > I hope that helps!
>> >> > > > On Aug 25, 12:51 am, jack <pastorjackl...@gmail.com> wrote:
>> >> > > > > Before I try that...could anyone confirm that I have the
>> correct
>> >> > > > > directory structure? at the moment, it is I'm sure quite
>> insecure, but
>> >> > > > > you can view it athttp://community.firstbaptistmiami.org/
>> >> > > > > I extracted the tar at the subdomain root at first, then I ran
>> the git
>> >> > > > > commands which setup the program at /apps
>> >> > > > > so there are two sets of files...
>> >> > > > > On Aug 24, 9:18 pm, Justin Richter <jrich...@jetfive.com>
>> wrote:
>> >> > > > > > My apache virtual host for my test stuff looks like this:
>> >> > > > > > to this file in between the <VirtualHost> </VirualHost> you
>> may have
>> >> > > some
>> >> > > > > > success.... Let me know if it works.
>> >> > > > > > Justin
>> >> > > > > > On Mon, Aug 24, 2009 at 11:10 PM, Justin Richter <
>> >> > > jrich...@jetfive.com>wrote:
>> >> > > > > > > This probably won't work, but it might. I don't know if
>> Tim
>> >> > > hijacked the
>> >> > > > > > > development mode of rails when he added the setup mode to
>> the
>> >> > > script/server
>> >> > > > > > > line, but it could be worth a try. I am thinking if you
>> install
>> >> > > passenger,
>> >> > > > > > > sudo gem install passenger, then follow what it says to do,
>> ie
>> >> > > install
>> >> > > > > > > dependencies and then copy lines into your apache config
>> file, you
>> >> > > may be
>> >> > > > > > > able to set the RailsEnv variable to setup and see what
>> happens.
>> >> > > Your
>> >> > > > > > > configured sites wouldn't have to use proxypass if this
>> were to
>> >> > > work. You
>> >> > > > > > > basically just tell apache/passenger where your rails app's
>> public
>> >> > > directory
>> >> > > > > > > is and it does all the work. Like I said I really have no
>> clue if
>> >> > > this will
>> >> > > > > > > work.
>> >> > > > > > > On Mon, Aug 24, 2009 at 11:00 PM, Jack Lamb <
>> >> > > pastorjackl...@gmail.com>wrote:
>> >> > > > > > >> Thanks Justin
>> >> > > > > > >> I was trying to install this on a remote machine running
>> apache.
>> >> > > It's
>> >> > > > > > >> actually my shared hosting account. I could probably get
>> my host
>> >> > > to do a
>> >> > > > > > >> little tinkering, but I would need to get a few
I hate to ask it, but could this perhaps go private email between you
two unless you think the group as a whole would gain from this. I'm
just being swamped by email now and would hate to regulate this group
to spam, as I like to hear what's going on. A couple emails is
understandable, but we have more than a dozen now.
Hate to be a party pooper.
Thanks,
Mark
----------
Mark E. Stephan
Managing Partner / Founder
Ruby On Rails Web Application Development Services
Austin, Texas
> sorry - I have installed the sample data now and it looks like
> everything works!
> I want to write a guide about how to do this so maybe it would be
> easier for others - I'll post it on the discussion group when I have
> it finished.
> On Tue, Aug 25, 2009 at 2:51 PM, Tim Morgan <t...@timmorgan.org> wrote:
> 1. Looks like your database name is set to "username_databasename"
> -- is that right?
> 2. You can populate some sample data to play with, if you want: rake
> onebody:load_sample_data
> (I trust you've already followed the install instructions, which
> call for running the database migrations: rake db:migrate)
> On Tue, Aug 25, 2009 at 4:41 PM, Jack Lamb
> <pastorjackl...@gmail.com> wrote:
> here's what the production log shows:
> Processing PagesController#show_for_public (for 97.117.210.222 at
> 2009-08-25 13:25:44) [GET]
> I thought that the app would populate the database (like most php
> install scripts), but it seems like I need to do this first. I tried
> to find a .sql file to load, but I don't know where it is
> Thanks again!!!!!
> Jack
> On Tue, Aug 25, 2009 at 2:26 PM, Tim Morgan <t...@timmorgan.org> wrote:
> > Set RailsEnv development in your apache config or .htaccess.
> > On Tue, Aug 25, 2009 at 4:21 PM, jack <pastorjackl...@gmail.com>
> wrote:
> >> better: now at least I get an error message instead of a listing of
> >> files
> >> "Oops. There was an error.
> >> The site is feeling a bit sick right now. Feel free to click back
> and
> >> try again. If you keep getting this message, give us a few
> minutes to
> >> get things back in order, and try again later.
> >> A detailed report of this error has been sent to the people who fix
> >> things."
> >> where would I find this detailed error report?
> >> Thanks so much for your help!!!!!
> >> On Aug 25, 2:15 pm, Tim Morgan <t...@timmorgan.org> wrote:
> >> > I believe you have to point the DocumentRoot of your subdomain
> virtual host
> >> > to the "public" directory -- not the root of the Rails app.
> >> > Does that fix it?
> >> > On Tue, Aug 25, 2009 at 4:10 PM, jack
> <pastorjackl...@gmail.com> wrote:
> >> > > Alright, I've changed things around, configured passenger & I
> am still
> >> > > stuck!
> >> > > I am trying to install onebody as a subdomain of our public
> church
> >> > > website on a shared hosting account
> >> > > Here's what I have done:
> >> > > all onebody files are located in /home/myusername/apps/onebody
> >> > > my subdomain is pointing to that directory
> >> > > in the directory is an .htaccess file with this inside:
> >> > > PassengerEnabled on
> >> > > PassengerAppRoot /home/myusername/apps/onebody/public
> >> > > I modified the .htaccess file in /home/myusername/apps/ > onebody/public
> >> > > #Removed per site5 wiki -
> >> > > I modified the database.yml with the correct mysql info
> >> > > When accessing the domain I still get a listing of files
> >> > > On Aug 25, 6:54 am, Dan Taylor <dan.a.tay...@gmail.com> wrote:
> >> > > > The directory structure looks ok, but the duplicate files
> in apps
> >> > > > might be troublesome. It looks like your server has
> passenger
> >> > > > installed, so it may just be a matter of configuring it to
> know that
> >> > > > this directory is a rails app. Since you're on shared
> hosting, check
> >> > > > to see if they have instructions on how to set that up. > You'll either
> >> > > > set it up to resolve to the root of this directory, which
> would make
> >> > > > the apps directory unnecessary, or it would resolve to the
> apps
> >> > > > directory, making everything above it unnecessary. Also,
> once you get
> >> > > > passenger configured, you will not be using port 3000. > That's if
> >> > > > you're using the mongrel server that comes bundled with the
> app.
> >> > > > Also, shared hosting almost certainly has any nonstandard
> ports (80,
> >> > > > 21, 22, 25, 110, 8080, etc) blocked for security purposes.
> >> > > > I took the liberty of looking at your database.yml files,
> and neither
> >> > > > of them are set up properly to use mysql. You've got the
> adapter
> >> > > > correct, but you'll need to list database name, username,
> password,
> >> > > > and host (if it's something other than localhost, which it
> may be
> >> > > > depending on the shared hosting provider). Mine is
> localhost, but I
> >> > > > still explicitly define it. The db/dbname format is sqlite.
> >> > > > It should look something like this (don't include the
> parentheticals):
> >> > > > production
> >> > > > adapter: mysql
> >> > > > username : (database user)
> >> > > > password: (password)
> >> > > > database: (database name)
> >> > > > (optional, but probably useful)
> >> > > > host: localhost
> >> > > > port: 3306 (this is the default, your server may be
> configured
> >> > > > differently - but probably not)
> >> > > > development
> >> > > > (repeat settings as necessary - may not be needed)
> >> > > > Again, since your server has passenger installed, your host
> should
> >> > > > have instructions on how to set it up on their system. If
> it were
> >> > > > properly set up, you'd see a bunch of Rails errors instead
> of just the
> >> > > > directory structure.
> >> > > > I hope that helps!
> >> > > > On Aug 25, 12:51 am, jack <pastorjackl...@gmail.com> wrote:
> >> > > > > Before I try that...could anyone confirm that I have the
> correct
> >> > > > > directory structure? at the moment, it is I'm sure quite
> insecure, but
> >> > > > > you can view it athttp://community.firstbaptistmiami.org/
> >> > > > > I extracted the tar at the subdomain root at first, then
> I ran the git
> >> > > > > commands which setup the program at /apps
> >> > > > > so there are two sets of files...
> >> > > > > On Aug 24, 9:18 pm, Justin Richter <jrich...@jetfive.com>
> wrote:
> >> > > > > > My apache virtual host for my test stuff looks like this:
> >> > > > > > to this file in between the <VirtualHost> </ > VirualHost> you may have
> >> > > some
> >> > > > > > success.... Let me know if it works.
> >> > > > > > Justin
> >> > > > > > On Mon, Aug 24, 2009 at 11:10 PM, Justin Richter <
> >> > > jrich...@jetfive.com>wrote:
> >> > > > > > > This probably won't work, but it might. I don't know
> if Tim
> >> > > hijacked the
> >> > > > > > > development mode of rails when he added the setup
> mode to the
> >> > > script/server
> >> > > > > > > line, but it could be worth a try. I am thinking if
> you install
> >> > > passenger,
> >> > > > > > > sudo gem install passenger, then follow what it says
> to do, ie
> >> > > install
> >> > > > > > > dependencies and then copy lines into your apache
> config file, you
> >> > > may be
> >> > > > > > > able to set the