Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
install help please!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 27 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jack  
View profile  
 More options Aug 24, 11:16 am
From: jack <pastorjackl...@gmail.com>
Date: Mon, 24 Aug 2009 08:16:56 -0700 (PDT)
Local: Mon, Aug 24 2009 11:16 am
Subject: install help please!
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)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Morgan  
View profile  
 More options Aug 24, 11:28 am
From: Tim Morgan <seve...@gmail.com>
Date: Mon, 24 Aug 2009 10:28:26 -0500
Local: Mon, Aug 24 2009 11:28 am
Subject: Re: install help please!

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:

gem sources -a http://gems.github.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jack  
View profile  
 More options Aug 24, 4:08 pm
From: jack <pastorjackl...@gmail.com>
Date: Mon, 24 Aug 2009 13:08:53 -0700 (PDT)
Local: Mon, Aug 24 2009 4:08 pm
Subject: Re: install help please!
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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Taylor  
View profile  
 More options Aug 24, 4:13 pm
From: Dan Taylor <dan.a.tay...@gmail.com>
Date: Mon, 24 Aug 2009 13:13:34 -0700 (PDT)
Local: Mon, Aug 24 2009 4:13 pm
Subject: Re: install help please!
mysql works great.  I use it.

On Aug 24, 4:08 pm, jack <pastorjackl...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jack Lamb  
View profile  
 More options Aug 24, 4:16 pm
From: Jack Lamb <pastorjackl...@gmail.com>
Date: Mon, 24 Aug 2009 13:16:10 -0700
Local: Mon, Aug 24 2009 4:16 pm
Subject: Re: install help please!

Thanks Dan!

--
Thanks,
Pastor Jack Lamb
First Baptist Church of Miami, AZ
http://www.firstbaptistmiami.org

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jack Lamb  
View profile  
 More options Aug 24, 6:03 pm
From: Jack Lamb <pastorjackl...@gmail.com>
Date: Mon, 24 Aug 2009 15:03:04 -0700
Local: Mon, Aug 24 2009 6:03 pm
Subject: Re: install help please!

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

--
Thanks,
Pastor Jack Lamb
First Baptist Church of Miami, AZ
http://www.firstbaptistmiami.org

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Morgan  
View profile  
 More options Aug 24, 6:39 pm
From: Tim Morgan <t...@timmorgan.org>
Date: Mon, 24 Aug 2009 17:39:05 -0500
Local: Mon, Aug 24 2009 6:39 pm
Subject: Re: install help please!

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.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jack Lamb  
View profile  
 More options Aug 24, 10:53 pm
From: Jack Lamb <pastorjackl...@gmail.com>
Date: Mon, 24 Aug 2009 19:53:54 -0700
Local: Mon, Aug 24 2009 10:53 pm
Subject: Re: install help please!

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!

--
Thanks,
Pastor Jack Lamb
First Baptist Church of Miami, AZ
http://www.firstbaptistmiami.org

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin Richter  
View profile  
 More options Aug 24, 11:52 pm
From: Justin Richter <jrich...@jetfive.com>
Date: Mon, 24 Aug 2009 22:52:53 -0500
Local: Mon, Aug 24 2009 11:52 pm
Subject: Re: install help please!

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:

<VirtualHost *80>
        ServerName www.example.com
        ProxyPass / http://localhost:3000/
        ProxyPassReverse / http://localhost:3000/
        ProxyPreserveHost On
</VirtualHost>

Google proxypass and it should help out.

Justin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin Richter  
View profile  
 More options Aug 24, 11:55 pm
From: Justin Richter <jrich...@jetfive.com>
Date: Mon, 24 Aug 2009 22:55:04 -0500
Local: Mon, Aug 24 2009 11:55 pm
Subject: Re: install help please!

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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jack Lamb  
View profile  
 More options Aug 25, 12:00 am
From: Jack Lamb <pastorjackl...@gmail.com>
Date: Mon, 24 Aug 2009 21:00:03 -0700
Local: Tues, Aug 25 2009 12:00 am
Subject: Re: install help please!

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:

--
Thanks,
Pastor Jack Lamb
First Baptist Church of Miami, AZ
http://www.firstbaptistmiami.org

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin Richter  
View profile  
 More options Aug 25, 12:10 am
From: Justin Richter <jrich...@jetfive.com>
Date: Mon, 24 Aug 2009 23:10:25 -0500
Local: Tues, Aug 25 2009 12:10 am
Subject: Re: install help please!

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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin Richter  
View profile  
 More options Aug 25, 12:18 am
From: Justin Richter <jrich...@jetfive.com>
Date: Mon, 24 Aug 2009 23:18:08 -0500
Local: Tues, Aug 25 2009 12:18 am
Subject: Re: install help please!

My apache virtual host for my test stuff looks like this:

<VirtualHost *:80>
        ServerAlias example.com
        ServerName example.com
        DocumentRoot /home/justin/apps/recipes/public
        CustomLog /home/justin/apps/recipes/log/passenger.log combined

    ErrorLog /home/justin/apps/recipes/log/passenger-error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

<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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jack  
View profile  
 More options Aug 25, 12:51 am
From: jack <pastorjackl...@gmail.com>
Date: Mon, 24 Aug 2009 21:51:07 -0700 (PDT)
Local: Tues, Aug 25 2009 12:51 am
Subject: Re: install help please!
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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Taylor  
View profile  
 More options Aug 25, 9:54 am
From: Dan Taylor <dan.a.tay...@gmail.com>
Date: Tue, 25 Aug 2009 06:54:48 -0700 (PDT)
Local: Tues, Aug 25 2009 9:54 am
Subject: Re: install help please!
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:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Taylor  
View profile  
 More options Aug 25, 10:28 am
From: Dan Taylor <dan.a.tay...@gmail.com>
Date: Tue, 25 Aug 2009 07:28:43 -0700 (PDT)
Local: Tues, Aug 25 2009 10:28 am
Subject: Re: install help please!
That's unclear, what I meant was ports OTHER than 80, 21, 22, 25, 110,
8080, etc are nonstandard.

On Aug 25, 9:54 am, Dan Taylor <dan.a.tay...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jack Lamb  
View profile  
 More options Aug 25, 1:08 pm
From: Jack Lamb <pastorjackl...@gmail.com>
Date: Tue, 25 Aug 2009 10:08:37 -0700
Local: Tues, Aug 25 2009 1:08 pm
Subject: Re: install help please!

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.

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jack  
View profile  
 More options Aug 25, 5:10 pm
From: jack <pastorjackl...@gmail.com>
Date: Tue, 25 Aug 2009 14:10:59 -0700 (PDT)
Local: Tues, Aug 25 2009 5:10 pm
Subject: Re: install help please!
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:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Morgan  
View profile  
 More options Aug 25, 5:15 pm
From: Tim Morgan <t...@timmorgan.org>
Date: Tue, 25 Aug 2009 16:15:32 -0500
Local: Tues, Aug 25 2009 5:15 pm
Subject: Re: install help please!

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?

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jack  
View profile  
 More options Aug 25, 5:21 pm
From: jack <pastorjackl...@gmail.com>
Date: Tue, 25 Aug 2009 14:21:15 -0700 (PDT)
Local: Tues, Aug 25 2009 5:21 pm
Subject: Re: install help please!
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:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Morgan  
View profile  
 More options Aug 25, 5:26 pm
From: Tim Morgan <t...@timmorgan.org>
Date: Tue, 25 Aug 2009 16:26:23 -0500
Local: Tues, Aug 25 2009 5:26 pm
Subject: Re: install help please!

You can look in the log log/production.log

Or switch to development mode:
http://www.modrails.com/documentation/Users%20guide.html#rails_env

Set RailsEnv development in your apache config or .htaccess.

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jack Lamb  
View profile  
 More options Aug 25, 5:41 pm
From: Jack Lamb <pastorjackl...@gmail.com>
Date: Tue, 25 Aug 2009 14:41:55 -0700
Local: Tues, Aug 25 2009 5:41 pm
Subject: Re: install help please!

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]

Processing ApplicationController#show_for_public (for 97.117.210.222 at
2009-08-25 13:25:44) [GET]
/!\ FAILSAFE /!\  08/25/2009 01:25 PM
 Status: 500 Internal Server Error
 Mysql::Error: Table 'username_databasename.sites' doesn't exist

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:

> You can look in the log log/production.log

> Or switch to development mode:

http://www.modrails.com/documentation/Users%20guide.html#rails_env

http://wiki.site5.com/Scripting_and_Development_Guide#How_To_Deploy_Y...>^$
index.html [QSA]

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tim Morgan  
View profile  
 More options Aug 25, 5:51 pm
From: Tim Morgan <t...@timmorgan.org>
Date: Tue, 25 Aug 2009 16:51:39 -0500
Local: Tues, Aug 25 2009 5:51 pm
Subject: Re: install help please!

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)

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jack Lamb  
View profile  
 More options Aug 25, 5:58 pm
From: Jack Lamb <pastorjackl...@gmail.com>
Date: Tue, 25 Aug 2009 14:58:30 -0700
Local: Tues, Aug 25 2009 5:58 pm
Subject: Re: install help please!

thanks Tim! I had not done rake db:migrate - I just followed your
instructions here: http://wiki.github.com/seven1m/onebody/installonebody

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.

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Stephan  
View profile  
 More options Aug 25, 6:00 pm
From: Mark Stephan <mstep...@calcedon.com>
Date: Tue, 25 Aug 2009 17:00:40 -0500
Local: Tues, Aug 25 2009 6:00 pm
Subject: Re: install help please!

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

Http://www.calcedon.com

Austin Office: +01-512-961-6059

Email: mstep...@calcedon.com

IM: markestephan (Skype)
IM: markestep...@yahoo.com (MSN/YAHOO)
IM: markestephan (AIM)
IM: markestep...@gmail.com (Gtalk)
IM: 63071782 (ICQ)
Twitter (Personal): http://twitter.com/mstephan
Twitter (Corporate): http://twitter.com/calcedon

On Aug 25, 2009, at 4:58 PM, Jack Lamb wrote:

...

read more »


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 27   Newer >
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google