Open mmaki2321 opened 10 years ago
Hey Mike. Make sure you've run bundle install
to get all the gems you need. I'd also advise running bundle exec ruby fireslurp.rb
to ensure ruby is running with the gems in the bundle.
Thank you!
bundle exec ruby fireslurp.rb --help works as expected
Now when I run
bundle exec ruby fireslurp.rb --instagram-key=mykey springsfire01
I get:
Faraday: you may want to install system_timer for reliable timeouts
/var/lib/gems/1.8/gems/faraday-0.8.9/lib/faraday/request/multipart.rb:4:
warning: already initialized constant DEFAULT_BOUNDARY
fireslurp.rb:187:in search': undefined method
yield' for
from fireslurp.rb:186:in each' from fireslurp.rb:186:in
search'
from fireslurp.rb:182:in send' from fireslurp.rb:182:in
method_missing'
from fireslurp.rb:221:in write_to_csv' from fireslurp.rb:220:in
each'
from fireslurp.rb:220:in write_to_csv' from fireslurp.rb:218:in
each'
from fireslurp.rb:218:in `write_to_csv'
from fireslurp.rb:289
Thanks again,
Mike
On Thu, Aug 7, 2014 at 3:06 PM, Ken-ichi notifications@github.com wrote:
Hey Mike. Make sure you've run bundle install to get all the gems you need. I'd also advise running bundle exec ruby fireslurp.rb to ensure ruby is running with the gems in the bundle.
— Reply to this email directly or view it on GitHub https://github.com/nerdsfornature/changebrackets/issues/3#issuecomment-51538958 .
That doesn't sound right. What version of ruby are you using? I'm using 1.9.3 p484, but maybe something changed in Ruby 2+? I don't think it should have http://ruby-doc.org/core-2.0/Proc.html#method-i-yield. Can you try switching Ruby versions (assuming you're using RVM)?
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
On Thu, Aug 7, 2014 at 4:36 PM, Ken-ichi notifications@github.com wrote:
That doesn't sound right. What version of ruby are you using? I'm using 1.9.3 p484, but maybe something changed in Ruby 2+? I don't think it should have http://ruby-doc.org/core-2.0/Proc.html#method-i-yield. Can you try switching Ruby versions (assuming you're using RVM)?
— Reply to this email directly or view it on GitHub https://github.com/nerdsfornature/changebrackets/issues/3#issuecomment-51546699 .
My mistake, wrong machine.
ruby 1.8.7 (2010-08-16 patchlevel 302) [i486-linux]
I'll update and let you know. Thanks!
Mike
On Thu, Aug 7, 2014 at 4:48 PM, Mike Maki mmaki2321@gmail.com wrote:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
On Thu, Aug 7, 2014 at 4:36 PM, Ken-ichi notifications@github.com wrote:
That doesn't sound right. What version of ruby are you using? I'm using 1.9.3 p484, but maybe something changed in Ruby 2+? I don't think it should have http://ruby-doc.org/core-2.0/Proc.html#method-i-yield. Can you try switching Ruby versions (assuming you're using RVM)?
— Reply to this email directly or view it on GitHub https://github.com/nerdsfornature/changebrackets/issues/3#issuecomment-51546699 .
I apologize if this is not the right place to report this. We would like to start using changebrackets for the Springs Fire recovery in the Santa Monica Mountains.
I'm trying to run fireslurp.rb --help on Debian squeeze. Everything installed without error, ruby rubygems, and bundler. When I run ruby fireslurp.rb --help it I get:
/var/lib/gems/1.8/gems/faraday-0.8.9/lib/faraday/request/multipart.rb:4: warning: already initialized constant DEFAULT_BOUNDARY /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require': no such file to load -- instagram (LoadError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
require' from fireslurp.rb:8Thanks,
Mike