Comments (5)
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.
from rubyzoho.
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.
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.
@bjminihan Were you ever able to find the cause of this issue? I'm hitting the same error today.
from rubyzoho.
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)
- NameError in creating a lead
- LoadError mime/types
- Proper method for retrieving records modified after HOT 3
- Data loss when saving Cases when no prior records exist HOT 6
- Cannot update custom fields if Lead initialized with parameters HOT 1
- Not getting the product details when making call to Invoice API HOT 7
- Bulk Insert Fields HOT 4
- Duplicate Check
- Custom field names HOT 4
- How do I use related_records method HOT 3
- Unable to add number of employees HOT 5
- Thoughts on refactor to allow for other Zoho services HOT 5
- Need to Access Deals HOT 2
- Adding/receiving products in SalesOrders
- Find by related id doesn't work HOT 1
- "Can't modify frozen string" error if working with ActiveSupport::HashWithIndifferentAccess HOT 1
- How to set Task.related_to Lead.id ?
- Zoho api v2 released. HOT 6
- RubyZoho: Web service call failed with 400 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rubyzoho.