Skip to content

Instantly share code, notes, and snippets.

@meoooh
Last active December 23, 2015 19:59
Show Gist options
  • Save meoooh/6686604 to your computer and use it in GitHub Desktop.
Save meoooh/6686604 to your computer and use it in GitHub Desktop.
meoooh@vm-3:~/rails/fpage$ bundle
Using rake (10.1.0) 
Using i18n (0.6.5) 
Using minitest (4.7.5) 
Using multi_json (1.8.0) 
Using atomic (1.1.14) 
Using thread_safe (0.1.3) 
Using tzinfo (0.3.37) 
Using activesupport (4.0.0) 
Using builder (3.1.4) 
Using erubis (2.7.0) 
Using rack (1.5.2) 
Using rack-test (0.6.2) 
Using actionpack (4.0.0) 
Using mime-types (1.25) 
Using polyglot (0.3.3) 
Using treetop (1.4.15) 
Using mail (2.5.4) 
Using actionmailer (4.0.0) 
Using activemodel (4.0.0) 
Using activerecord-deprecated_finders (1.0.3) 
Using arel (4.0.0) 
Using activerecord (4.0.0) 
Using addressable (2.3.5) 
Using bcrypt-ruby (3.1.2) 
Using sass (3.2.10) 
Using bootstrap-sass (2.3.2.2) 
Using highline (1.6.19) 
Using net-ssh (2.7.0) 
Using net-scp (1.1.2) 
Using net-sftp (2.1.2) 
Using net-ssh-gateway (1.2.0) 
Using capistrano (2.15.4) from git://github.com/capistrano/capistrano.git (at master) 
Using mini_portile (0.5.1) 
Using nokogiri (1.6.0) 
Using xpath (2.0.0) 
Using capybara (2.1.0) 
Using coderay (1.0.9) 
Using coffee-script-source (1.6.3) 
Using execjs (2.0.1) 
Using coffee-script (2.2.0) 
Using thor (0.18.1) 
Using railties (4.0.0) 
Using coffee-rails (4.0.0) 
Using database_cleaner (1.1.1) 
Using orm_adapter (0.4.0) 
Using warden (1.2.3) 
Using devise (3.1.0) 
Using diff-lcs (1.2.4) 
Using launchy (2.3.0) 
Using email_spec (1.5.0) 
Using factory_girl (4.2.0) 
Using factory_girl_rails (4.2.1) 
Using multipart-post (1.2.0) 
Using faraday (0.8.8) 
Using ffi (1.9.0) 
Using formatador (0.2.4) 
Using futuroscope (0.1.5) 
Using rb-fsevent (0.9.3) 
Using rb-inotify (0.9.2) 
Using rb-kqueue (0.2.0) 
Using listen (1.3.1) 
Using lumberjack (1.0.4) 
Using method_source (0.8.2) 
Using slop (3.4.6) 
Using pry (0.9.12.2) 
Using guard (1.8.2) 
Using guard-rails (0.4.7) 
Using rspec-core (2.14.5) 
Using rspec-expectations (2.14.2) 
Using rspec-mocks (2.14.3) 
Using rspec (2.14.1) 
Using guard-rspec (3.0.3) 
Using tilt (1.4.1) 
Using haml (4.0.3) 
Using hashie (2.0.5) 
Using hike (1.2.3) 
Using httpauth (0.2.0) 
Using jbuilder (1.5.1) 
Using jquery-rails (3.0.4) 
Using json (1.8.0) 
Using jwt (0.1.8) 
Using koala (1.7.0rc1) 
Using oauth2 (0.8.1) 
Using omniauth (1.1.4) 
Using omniauth-oauth2 (1.1.1) 
Using omniauth-facebook (1.4.1) 
Using bundler (1.3.5) 
Using sprockets (2.10.0) 
Using sprockets-rails (2.0.0) 
Using rails (4.0.0) 
Using rdoc (3.12.2) 
Using rspec-rails (2.14.0) 
Using sass-rails (4.0.0) 
Using sdoc (0.3.20) 
Using sqlite3 (1.3.8) 
Using the_role (2.1.1) 
Using turbolinks (1.3.0) 
Using uglifier (2.2.1) 
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
meoooh@vm-3:~/rails/fpage$ rails c                                                                           
Loading development environment (Rails 4.0.0)
irb(main):001:0> 
meoooh@vm-3:~/rails/fpage$ git pull                                                                          
Already up-to-date.
meoooh@vm-3:~/rails/fpage$ rails c 
Loading development environment (Rails 4.0.0)
irb(main):001:0> Page.create_or_update_page_list("CAAERdn67ktcBADjQ2qIiZCzimr1iqrj1ofMZBZCfE673y7IP5ZAsWognVz
2qQHVhOTznQTqghwjxDxApnaMoPJVDCrfru4aZCDFZAcBtcyEg8N9okv9qRWDDl3A1UygxYC8VcMxtxAZBRXp1SeiUcJy")
NoMethodError: undefined method `future' for #<Class:0x007fc6cecbd260>
        from /home/meoooh/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_r
ecord/dynamic_matchers.rb:22:in `method_missing'
        from /home/meoooh/rails/fpage/app/models/page.rb:14:in `block in create_or_update_page_list'
        from /home/meoooh/rails/fpage/app/models/page.rb:13:in `each'
        from /home/meoooh/rails/fpage/app/models/page.rb:13:in `create_or_update_page_list'
        from (irb):1
        from /home/meoooh/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/comman
ds/console.rb:90:in `start'
        from /home/meoooh/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/comman
ds/console.rb:9:in `start'
        from /home/meoooh/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/comman
ds.rb:64:in `<top (required)>'
        from bin/rails:4:in `require'
        from bin/rails:4:in `<main>'
irb(main):002:0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment