[Rails] Re: Unable to deploy to Apache

2012-04-19 Thread Kal
LOL, definitely not :-] On Apr 19, 7:27 am, Walter Lee Davis wrote: > On Apr 19, 2012, at 2:32 AM, Kal wrote: > > > > > > > > > > > Hi Walter, > > > So, I finally got everything working here (with database and all). > > > 1) I definit

[Rails] Re: Unable to deploy to Apache

2012-04-18 Thread Kal
t able to view my web app. The "ActionView::Template::Error (application.css isn't precompiled):" appeared in the production.log file. -- I was able to view the web app after enabling 'config.assets.compile' within config/environments/production.rb (see

[Rails] Re: Switch between environments

2012-04-18 Thread Kal
Thank you very much, Hassan. Your answer definitely helps a lot. I'm obviously framing the ROR environments concept incorrectly. It looks like I've got to hit the books a lot harder to avoid straying down the wrong path. Thanks, ~Kal On Apr 18, 12:35 pm, Hassan Schroeder wrote

[Rails] Re: Switch between environments

2012-04-18 Thread Kal
running Rails. I've been working off of Agile Web Development with Rails (4th Edition). On your recommendation, I picked up Michael Hartl's book today. I also think this book will help fill in the gaps of information in this rat maze of my brain. Thanks Much, ~Kal On Apr 18, 11:00 am,

[Rails] Re: Switch between environments

2012-04-18 Thread Kal
ar... Seriously, there's no official document for a "Standard" way of doing this? Cheers, ~Kal On Apr 18, 3:14 am, aash dhariya wrote: > http://stackoverflow.com/questions/7291381/rails-how-to-migrate-data-... > may be helpful to migrate from development to production. &g

[Rails] Re: Switch between environments

2012-04-17 Thread Kal
e goal, is it not? How do I copy the data to production.sqlite3 (just issue: rake db:migrate RAILS_ENV=production) and have all the code (which I created in the Development Env) working in the "Production" environment so it doesn't have to be served out using WEBRick. Thanks Much, ~Kal It's

[Rails] Re: Switch between environments

2012-04-17 Thread Kal
on development (which can be viewed using port 3000), how do we then "migrate" the finished production into production? I most likely have multiple concepts confused but I certainly do appreciate you taking the time to clarify. Thank Again, ~Kal On Apr 18, 12:48 am, Hassan Schroeder

[Rails] Switch between environments

2012-04-17 Thread Kal
both Development and Production; what are the exact steps to push out the completed site so it's viewable via Apache web server (instead of WEBrick) Please excuse my ignorance but it seems rather difficult to find a concise answer to this question anywhere. Thank You Very Much. ~Kal -- You rec

[Rails] Re: Unable to deploy to Apache

2012-04-17 Thread Kal
Thanks for the suggestion Raels :) Although, this doesn't seem to be the culprit :( ~Kal On Apr 13, 10:36 am, Raels Koder wrote: > I get the same error.  I am also using passenger, although I don't > always use it.  I am also using RVM. > > I noticed an error that popp

[Rails] Re: Unable to deploy to Apache

2012-04-17 Thread Kal
- Again, I'm running... Ruby 1.9.3p0 (which ruby = /usr/local/bin/ruby) Rails 3.1.3 Phusion Passenger version 3.0.11 - Thanks, ~Kal On Apr 13, 12:02 pm, Walter Lee Davis wrote:

[Rails] Re: Unable to deploy to Apache

2012-04-10 Thread Kal
ails" I've since rebuilt the entire test app with a couple of simple pages and no database content. I ran "RAILS_ENV=production bundle exec rake assets:precompile" and successfully got it to appear on Apache. This is warrants much investigation but at least I know everything w

[Rails] Re: Unable to deploy to Apache

2012-04-04 Thread Kal
(or maybe not). I'll post my findings (and email you) as soon as I figure everything out. Thanks for all of your help thus far. ~Kal On Apr 2, 11:03 pm, Walter Lee Davis wrote: > On Apr 2, 2012, at 10:15 PM, Kal wrote: > > > Hi Walter, > > > Very sorry for the confusion

[Rails] Re: Unable to deploy to Apache

2012-04-02 Thread Kal
o your advise :). I found the following posting, what do you think of item 4? http://www.cowboycoded.com/tag/passenger/ Thanks, ~Kal --- On Apr 2, 9:42 pm, Walter Lee Davis wr

[Rails] Re: Unable to deploy to Apache

2012-04-02 Thread Kal
Hi L, therubyracer (0.9.9) is already installed :( Thanks Anyway :) ~Kal On Mar 31, 7:51 am, "Firstname L." wrote: > Ok this might sound funny but , this problem is usually caused by lack > of javascript libraries in your rails setup so i would recommend you to > do this

[Rails] Re: Unable to deploy to Apache

2012-04-02 Thread Kal
Typo: product listing are NOT displayed :( On Apr 2, 8:39 pm, Kal wrote: > Hi Walter, > > Again, my apologies for the delay in reply.  I'm more confused now > than before, so it took some time to poke around. > > Firstly, I don't run a separate development and pr

[Rails] Re: Unable to deploy to Apache

2012-04-02 Thread Kal
d: I am able to see some text from my webpage "Your Pragmatic Catalog" now (without going to port 3000). The product listing are now displayed,which leads me to think that the application is not able to see the sqlite3

[Rails] Re: Unable to deploy to Apache

2012-03-31 Thread Kal
My apologies Walter, et al. I haven't had access to my computers within the last 24 hrs. I shall look into your recommendations tonight. As always, thank you for your assistance and prompt replies. ~Kal On Mar 30, 9:26 am, Walter Lee Davis wrote: > On Mar 30, 2012, at 12:34 AM, K

[Rails] Re: Unable to deploy to Apache

2012-03-29 Thread Kal
exception_handling' /usr/local/lib/ruby/1.9.1/rake/application.rb:63:in `run' /usr/local/bin/rake:32:in `' Tasks: TOP => assets:precompile ----- On Mar 29, 11:37 pm, Walter Lee Davis wrote: > On Mar 29, 2012, at 10:51 PM, Kal wrote: > > > (Re-posting) > &g

[Rails] Re: Unable to deploy to Apache

2012-03-29 Thread Kal
rb but still no good :( Thanks, Kal - # rake assets:precompile --trace ** Invoke assets:precompile (first_time) ** Execute assets:precompile /usr/local/bin/ruby /usr/local/bin/rake a

[Rails] Re: Unable to deploy to Apache

2012-03-29 Thread Kal
(Re-posting) Thanks Walter, I think you are correct. I had neglected to set up a production version of the database. I just ran "rake db:migrate RAILS_ENV=production". However, I now get a "500 Internal Server Error". Anyway, here is the error from production.log. Any

[Rails] Re: Unable to deploy to Apache

2012-03-29 Thread Kal
ot 5120 Mar 29 20:45 production.sqlite3 Do I have to change the ownership for this file? Thanks, Kal - # SQLite version 3.x # gem install sqlite3 # # Ensure the SQLite 3 gem is def

[Rails] Unable to deploy to Apache

2012-03-29 Thread Kal
Hi All, Can someone please help? I've been banging my head against for wall for 2 months; all of which has been spent trying to set up ROR. So I actually haven't written 1 line of code :( Any help would be greatly appreciated :) I'm following the 4th edition of "Agile Web Development with Rail