Giter VIP home page Giter VIP logo

Comments (5)

amalc avatar amalc commented on August 16, 2024

Which version of the gem? Sent from my BlackBerry 10 smartphone. From: Bryan MinihanSent: Wednesday, July 22, 2015 10:22To: amalc/rubyzohoReply To: amalc/rubyzohoSubject: [rubyzoho] Missing fields.snapshot causes Passenger deployment issues (#45)While upgrading my EC2 server to Passenger 4.0.59, Rails 4.2.1 and Ruby 2.1.5, Passenger bombs (and my app never deploys) on a missing file in the rubyzoho gem:

Permission denied @ rb_sysopen - /var/app/current/vendor/bundle/ruby/2.1.0/gems/rubyzoho-0.5.0/lib/../spec/fixtures/fields.snapshot (Errno::EACCES)
/var/app/current/vendor/bundle/ruby/2.1.0/gems/rubyzoho-0.5.0/lib/ruby_zoho.rb:43:in initialize' /var/app/current/vendor/bundle/ruby/2.1.0/gems/rubyzoho-0.5.0/lib/ruby_zoho.rb:43:inopen'
/var/app/current/vendor/bundle/ruby/2.1.0/gems/rubyzoho-0.5.0/lib/ruby_zoho.rb:43:in init_api' /var/app/current/vendor/bundle/ruby/2.1.0/gems/rubyzoho-0.5.0/lib/ruby_zoho.rb:29:inconfigure'
/var/app/current/config/initializers/zoho.rb:3:in `<top (required)>'

I could find hide nor hair of the above file in the repository, and don't know what it's for.

I would love to fix the problem, if I were a little better at forking and contributing to gem development. Unfortunately, I am neither of those.

Anyone know what I can do to correct the above?

—Reply to this email directly or view it on GitHub.

from rubyzoho.

bjminihan avatar bjminihan commented on August 16, 2024

Currently using version 0.5.0, but I checked the repository history and
couldn't find that file in version 0.2.0, which I was using previously.

Everything compiles and runs fine on an older version of Passenger, which
doesn't complain as much as the newer one. Other than a change to the
search function, I've no practical problems with this gem regarding that
file, since I assume it's part of the spec suite.

On Wed, Jul 22, 2015 at 11:31 AM, amalc [email protected] wrote:

Which version of the gem? Sent from my BlackBerry 10 smartphone. From:
Bryan MinihanSent: Wednesday, July 22, 2015 10:22To: amalc/rubyzohoReply
To: amalc/rubyzohoSubject: [rubyzoho] Missing fields.snapshot causes
Passenger deployment issues (#45)While upgrading my EC2 server to Passenger
4.0.59, Rails 4.2.1 and Ruby 2.1.5, Passenger bombs (and my app never
deploys) on a missing file in the rubyzoho gem:

Permission denied @ rb_sysopen -
/var/app/current/vendor/bundle/ruby/2.1.0/gems/rubyzoho-0.5.0/lib/../spec/fixtures/fields.snapshot
(Errno::EACCES)
/var/app/current/vendor/bundle/ruby/2.1.0/gems/rubyzoho-0.5.0/lib/ruby_zoho.rb:43:in
initialize' /var/app/current/vendor/bundle/ruby/2.1.0/gems/rubyzoho-0.5.0/lib/ruby_zoho.rb:43:in open'
/var/app/current/vendor/bundle/ruby/2.1.0/gems/rubyzoho-0.5.0/lib/ruby_zoho.rb:43:in
init_api' /var/app/current/vendor/bundle/ruby/2.1.0/gems/rubyzoho-0.5.0/lib/ruby_zoho.rb:29:in configure'
/var/app/current/config/initializers/zoho.rb:3:in `<top (required)>'

I could find hide nor hair of the above file in the repository, and don't
know what it's for.

I would love to fix the problem, if I were a little better at forking and
contributing to gem development. Unfortunately, I am neither of those.

Anyone know what I can do to correct the above?

—Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#45 (comment).

from rubyzoho.

amalc avatar amalc commented on August 16, 2024

There is a file that was missing in the gemspec that somebody found and submitted a PR which is in the master branch. Can you take a quick look and see if that fixes the problem. I wouldn't use the master branch in prod. It's got some untested enhancements in it for mapping.

from rubyzoho.

cthornbe avatar cthornbe commented on August 16, 2024

@bjminihan Were you ever able to find the cause of this issue? I'm hitting the same error today.

from rubyzoho.

bjminihan avatar bjminihan commented on August 16, 2024

I wound up talking to the Zoho API directly, because I couldn't get it to work. I believe if I had linked directly to the R0.50.0 release instead of the v0.50.0 release (which doesn't have the file in question), it would have worked, but my production environment doesn't make linking directly to tagged github versions simple.

from rubyzoho.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.