OPSPL Goan wrote in post #1176005:
> Colin Law wrote in post #1175982:
>> On 1 July 2015 at 17:01, OPSPL Goan <li...@ruby-forum.com> wrote:
>>> ...
>>> Any thoughts. But tomorrow (is 9 PM here now so leaving for the day) - I
>>> will do as you suggest - try getting down a clean copy, put it into git
>>> and then try and slowly upgrade/build it.
>>
>> Remember, bundle install not upgrade.
>>
>> Colin
>
> Thanx for the help. Appreciated. BTW, where are you? I'm in Goa (India)
> - just so I can coord to your time-zones - and make the most of the
> assistance you're so willingly offering Yes? Thank you again.
>
> Ok. Got a latest copy from heroku. It does not run there anymore as the
> bamboo stack's depreciated - so Yes, got it. Checked into
> new-cedar-branch too - to avoid going "up the alley" again :-) All good.
>
> Nothing's changed... Still errors...
>
> With plain --> bundle install - it bundles. No errors. But still won't
> run.
>
> $ foreman start
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/foreman-0.78.0/lib/foreman/process.rb:54:in
> `run': undefined method `spawn' for Process:Module (NoMethodError)
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/foreman-0.78.0/lib/foreman/process.rb:53:in
> `chdir'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/foreman-0.78.0/lib/foreman/process.rb:53:in
> `run'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/foreman-0.78.0/lib/foreman/engine.rb:358:in
> `spawn_processes'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/foreman-0.78.0/lib/foreman/engine.rb:355:in
> `upto'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/foreman-0.78.0/lib/foreman/engine.rb:355:in
> `spawn_processes'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/foreman-0.78.0/lib/foreman/engine.rb:354:in
> `each'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/foreman-0.78.0/lib/foreman/engine.rb:354:in
> `spawn_processes'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/foreman-0.78.0/lib/foreman/engine.rb:57:in
> `start'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/foreman-0.78.0/lib/foreman/cli.rb:41:in
> `start'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/thor-0.19.1/lib/thor/command.rb:27:in
> `__send__'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/thor-0.19.1/lib/thor/command.rb:27:in
> `run'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/thor-0.19.1/lib/thor/invocation.rb:126:in
> `invoke_command'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/thor-0.19.1/lib/thor.rb:359:in
> `dispatch'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/thor-0.19.1/lib/thor/base.rb:440:in
> `start'
>         from
>
/home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/gems/foreman-0.78.0/bin/foreman:7
>         from
> /home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/bin/foreman:19:in
> `load'
>         from
> /home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/bin/foreman:19
>         from
> /home/online/.rvm/gems/ruby-1.8.7-p302@rails2310/bin/ruby_executable_hooks:15
> online@online-Virtual-Machine:~/kacstbook-engage$
>
> Any ideas? Anything I can try :-(
>
> Goan.

1. Foreman looked like it was out of sync - so changed version.
Was getting this error ==> https://github.com/ddollar/foreman/issues/473
Now.
  foreman --version
  0.61.0
*** That seems better.

2. Then is asked for puma. So included that in the Gemfile. and had to
make a puma.rb file in config dir.
Used info from here:
http://stackoverflow.com/questions/29923026/how-to-deploy-michael-hartls-rails-tutorial-app-on-heroku-using-puma
Is this correct?

3. Now it gives another error :-(
$ foreman start
10:18:21 web.1  | started with pid 5846
10:18:21 web.1  | [5847] Puma starting in cluster mode...
10:18:21 web.1  | [5847] * Version 2.11.3 (ruby 1.8.7-p302), codename:
Intrepid Squirrel
10:18:21 web.1  | [5847] * Min threads: 5, max threads: 5
10:18:21 web.1  | [5847] * Environment: development
10:18:21 web.1  | [5847] * Process workers: 2
10:18:21 web.1  | [5847] * Preloading application
10:18:21 web.1  | [5847] ERROR: No application configured, nothing to
run
10:18:21 web.1  | exited with code 1
10:18:21 system | sending SIGTERM to all processes
SIGTERM received
$

:-(

G.

-- 
Posted via http://www.ruby-forum.com/.

-- 
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/14ca2be3519e5c0cb72d39f8fe017a49%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to