Older server should have user.rb if its running unicorn and the same code
base ( or someone has deleted it after the server was up ? ) . you will
need someone to fix it for you if its missing because it might be related
to authrorization ( devise gem ) . Is the code base hosted on github ?

On Wed, Dec 10, 2014 at 6:19 PM, Ezequias Farias <[email protected]>
wrote:

> There is not user.rb file. How can I fix it? Do I have to create one from
> scratch?
> If so, is there a link you could point me to how can I make it right? I
> know almost 0 of Ruby on rails. I thought that moving everything from the
> older server to the new one would work, but the user.rb file is also
> missing in the older server.
>
> 2014-12-10 9:32 GMT-03:00 Vivek Sampara <[email protected]>:
>
>> There you go ! uninitialized constant User (NameError) Check if user.rb
>> exists in /app/models/
>>
>> it must have been renamed or removed
>>
>> On Wed, Dec 10, 2014 at 5:52 PM, Ezequias Farias <
>> [email protected]> wrote:
>>
>>> Anyone? Just little help? :(
>>>
>>> On Tuesday, December 9, 2014 11:32:07 AM UTC-3, Ezequias Farias wrote:
>>>>
>>>> Hi guys,
>>>>
>>>> I'm trying to start unicorn and I keep getting this error constantly.
>>>>
>>>> My unicorn.rb (https://gist.github.com/anonymous/d1f3d9bcdd1a6c4d8435)
>>>>
>>>> Command that I'm using to start unicorn:
>>>>
>>>> /home/app/adsgold/# unicorn_rails master -c config/unicorn.rb -D -E
>>>> production
>>>>
>>>> Commands that I've already tried:
>>>>
>>>> /home/app/adsgold/# unicorn_rails -c config/unicorn.rb -D -E production
>>>>
>>>> /home/app/adsgold/# unicorn_rails master -c config/unicorn.rb -D -E
>>>> production -p 3000
>>>>
>>>> /home/app/adsgold/# bundle exec master unicorn -c unicorn.cnf -E
>>>> production -D
>>>>
>>>> Complete error beeing shown: https://gist.github.com/anonymous/
>>>> 828d9677f928fa671762
>>>>
>>>> I checked permissions between the older server and the new server and
>>>> both are exactly the same. Here is the last 200 lines of
>>>> "unicorn.stderr.log" gist.github.com/anonymous/1b9bbb8622958ab80717
>>>>
>>>> I moved a dedicated server to a node, I did a complete mirror so both
>>>> should be working but they are not. The older one is still running fine, so
>>>> I can compare and check anything, but I just cannot make the new one runs
>>>> as it should.
>>>>
>>>>
>>>>  --
>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/rubyonrails-talk/469e7b2b-980d-4fb8-9b73-544ecf12e57b%40googlegroups.com
>>> <https://groups.google.com/d/msgid/rubyonrails-talk/469e7b2b-980d-4fb8-9b73-544ecf12e57b%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Ruby on Rails: Talk" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/rubyonrails-talk/q2Th5YhElTw/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj-7skW%2BChPHN7n2MNkFKuzd9p6%2BNmdSR0RsSiA8v6FzfA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj-7skW%2BChPHN7n2MNkFKuzd9p6%2BNmdSR0RsSiA8v6FzfA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
>
> ---
> http://www.about.me/ezequias
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/CABNNuNoGxVyz1h1uBTQSJiO6v_9ibGaGfPvpimJL3FhZ%2BeYw4g%40mail.gmail.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/CABNNuNoGxVyz1h1uBTQSJiO6v_9ibGaGfPvpimJL3FhZ%2BeYw4g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAFKVRj9Sak-rk1zkfTwNsVS%3DH5gniRYRPggfecNurYwLKTjhbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to