This is been driving me nuts for the last week.

The requirement: a Friend has a complete ruby rails app currently (was) 
running on heroku. It's dead now as they don't support the bamboo stack 
anymore.

So he's asked me to help him take it off heroku (ok done that got all the 
code and db and everything).... and he wants to move it to a new / cloud 
server.

So ok. I've set-up an Ubuntu 14.x LTS Server for him and got the code oj to 
that. That's done and fine.

But it just won';t run. Compiles, etc. But whatever I say or do it won't 
run. I done it all:
* Pointed to a local DB. Postgres - set-up and working on local.
* Moved DB from heroku to local with all data. Fine.
* Compiled it - bundle install.
* Yet when i run it... with ==>  foreman start
13:54:36 web.1     | started with pid 12212
13:54:37 web.1     | I, [2015-06-30T13:54:37.799228 #12212]  INFO -- : 
listening on addr=0.0.0.0:5000 fd=10
13:54:37 web.1     | I, [2015-06-30T13:54:37.799328 #12212]  INFO -- : 
worker=0 spawning...
13:54:37 web.1     | I, [2015-06-30T13:54:37.800127 #12212]  INFO -- : 
master process ready
13:54:37 web.1     | I, [2015-06-30T13:54:37.800917 #12213]  INFO -- : 
worker=0 spawned pid=12213
13:54:37 web.1     | I, [2015-06-30T13:54:37.801238 #12213]  INFO -- : 
Refreshing Gem list
13:54:37 web.1     | DEPRECATION WARNING: require "activerecord" is 
deprecated and will be removed in Rails 3. Use require "active_record" 
instead. (called from 
/home/online/kacstbook-engage/vendor/bundle/ruby/1.8/gems/activerecord-2.3.15/lib/activerecord.rb:2)
...... AND THEN .......

tialized constant DEFAULT_HOST
13:56:09 web.1     | #<NoMethodError: undefined method `application' for 
Rails:Module>
13:56:09 web.1     | E, [2015-06-30T13:56:09.106145 #12225] ERROR -- : 
reaped #<Process::Status: pid=12235,exited(1)> worker=0
13:56:09 web.1     | I, [2015-06-30T13:56:09.106294 #12225]  INFO -- : 
worker=0 spawning...
13:56:09 web.1     | I, [2015-06-30T13:56:09.107351 #12239]  INFO -- : 
worker=0 spawned pid=12239
13:56:09 web.1     | I, [2015-06-30T13:56:09.107525 #12239]  INFO -- : 
Refreshing Gem list
13:56:09 web.1     | DEPRECATION WARNING: require "activerecord" is 
deprecated and will be removed in Rails 3. Use require "active_record" 
instead. (called from 
/home/online/kacstbook-engage/vendor/bundle/ruby/1.8/gems/activerecord-2.3.15/lib/activerecord.rb:2)
13:56:12 web.1     | 
/home/online/kacstbook-engage/config/initializers/paperclip.rb:6: warning: 
already initialized constant DEFAULT_HOST
13:56:12 web.1     | #<NoMethodError: undefined method `application' for 
Rails:Module>
13:56:12 web.1     | E, [2015-06-30T13:56:12.745513 #12225] ERROR -- : 
reaped #<Process::Status: pid=12239,exited(1)> worker=0
13:56:12 web.1     | I, [2015-06-30T13:56:12.745670 #12225]  INFO -- : 
worker=0 spawning...
13:56:12 web.1     | I, [2015-06-30T13:56:12.746711 #12243]  INFO -- : 
worker=0 spawned pid=12243
13:56:12 web.1     | I, [2015-06-30T13:56:12.746847 #12243]  INFO -- : 
Refreshing Gem list
13:56:12 web.1     | DEPRECATION WARNING: require "activerecord" is 
deprecated and will be removed in Rails 3. Use require "active_record" 
instead. (called from 
/home/online/kacstbook-engage/vendor/bundle/ruby/1.8/gems/activerecord-2.3.15/lib/activerecord.rb:2)
13:56:15 web.1     | 
/home/online/kacstbook-engage/config/initializers/paperclip.rb:6: warning: 
already initialized constant DEFAULT_HOST
13:56:16 web.1     | #<NoMethodError: undefined method `application' for 
Rails:Module>
13:56:16 web.1     | E, [2015-06-30T13:56:16.003923 #12225] ERROR -- : 
reaped #<Process::Status: pid=12243,exited(1)> worker=0
13:56:16 web.1     | I, [2015-06-30T13:56:16.004079 #12225]  INFO -- : 
worker=0 spawning...
13:56:16 web.1     | I, [2015-06-30T13:56:16.005235 #12247]  INFO -- : 
worker=0 spawned pid=12247
13:56:16 web.1     | I, [2015-06-30T13:56:16.005557 #12247]  INFO -- : 
Refreshing Gem list
13:56:16 web.1     | DEPRECATION WARNING: require "activerecord" is 
deprecated and will be removed in Rails 3. Use require "active_record" 
instead. (called from 
/home/online/kacstbook-engage/vendor/bundle/ruby/1.8/gems/activerecord-2.3.15/lib/activerecord.rb:2)
13:56:19 web.1     | 
/home/online/kacstbook-engage/config/initializers/paperclip.rb:6: warning: 
already initialized constant DEFAULT_HOST
13:56:19 web.1     | #<NoMethodError: undefined method `application' for 
Rails:Module>
13:56:19 web.1     | E, [2015-06-30T13:56:19.368604 #12225] ERROR -- : 
reaped #<Process::Status: pid=12247,exited(1)> worker=0

See the ==> <NoMethodError: undefined method `application' for Rails:Module>

Any suggestions. I'm at my wits end. tried everything...... And I just 
can't see anything in port 5000!

Thanx.

Goan.


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/f4b1b2c3-f181-4264-a187-500f928882a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to