Ruby on Rails Thursday, July 23, 2015

On Wed, Jul 22, 2015 at 10:45 AM, agusddt <agusddt@gmail.com> 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 rubyonrails-talk+unsubscribe@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/CAHUC_t-EXjv5D5b6d8HMMMFHoZ-MVOOv5wOTbEo%3Dma_saaMseQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment