On Wed, Jul 22, 2015 at 10:45 AM, agusddt <[email protected]> wrote: > I was uploading my app to a server, put it in production mode on the > server, still on development mode locally and suddenly I cannot run "rails > server" anymores since it dies automatically with this error: >
> /Users/agusddt/developments/crm/config/initializers/sunspot_configuration.rb:52:in > `block in <top (required)>': undefined method `gsub' for nil:NilClass > (NoMethodError) > I'm very curious about what you're describing. You're remark above about uploading to your server notwithstanding, your local development environment shouldn't have changed at all simply because you uploaded your app someplace else. Did you remove or change something from your development environment when you uploaded? If not, there must be something quite else going on. As this worked in development before, perhaps if you were to ensure your local environment can roll back to a previous version that's known to work. Are you seeing problems in production or is everything there working well? -- 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/CAHUC_t-EXjv5D5b6d8HMMMFHoZ-MVOOv5wOTbEo%3Dma_saaMseQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

