undefined method `prepend' for Searchkick::Query:Class - ruby-on-rails

After adding gem searchkick to my Gemfile I get this error when I try to delpoy the project:
/home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/faraday-0.8.9/lib/faraday/request/multipart.rb:4 warning: already initialized constant DEFAULT_BOUNDARY
DEBUG[eff60d47] rake aborted!
DEBUG[eff60d47] NoMethodError: undefined method `prepend' for Searchkick::Query:Class
DEBUG[eff60d47] /home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/searchkick-1.3.0/lib/searchkick/logging.rb:179:in `(root)'
DEBUG[eff60d47] /home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
DEBUG[eff60d47] /home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:in `load_dependency'
DEBUG[eff60d47] /home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
DEBUG[eff60d47] /home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/searchkick-1.3.0/lib/searchkick.rb:1:in `(root)'
DEBUG[eff60d47] /home/deploy/apps/razborki/shared/bundle/jruby/1.9/gems/searchkick-1.3.0/lib/searchkick.rb:12:in `(root)'
DEBUG[eff60d47] /home/deploy/apps/razborki/releases/20160622173816/config/application.rb:9:in `(root)'
DEBUG[eff60d47] /home/deploy/apps/razborki/releases/20160622173816/Rakefile:1:in `(root)'
DEBUG[eff60d47] /home/deploy/apps/razborki/releases/20160622173816/Rakefile:5:in `(root)'
DEBUG[eff60d47] (See full trace by running task with --trace)
How can I fix it?
This is my Gemfile.lock :
GIT
remote: git://github.com/capistrano/sshkit.git
revision: 9027b0dcd0b25a762d90ab154ca44fca9fb57e00
specs:
sshkit (1.5.1)
colorize
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
GIT
remote: git://github.com/elasticsearch/elasticsearch-rails.git
revision: 2f2c0fb7a25ece68fd3a9eec7b9026848e66fa4f
specs:
elasticsearch-model (0.1.6)
activesupport (> 3)
elasticsearch (> 0.4)
hashie
elasticsearch-rails (0.1.6)
GIT
remote: git://github.com/rweng/jquery-datatables-rails.git
revision: db17aa0145164095b2b21f83f1ef7ccf91b9ea54
specs:
jquery-datatables-rails (3.1.1)
actionpack (>= 3.1)
jquery-rails
railties (>= 3.1)
sass-rails
GEM
remote: http://rubygems.org/
specs:
aasm (4.0.0)
actionmailer (4.1.8)
actionpack (= 4.1.8)
actionview (= 4.1.8)
mail (~> 2.5, >= 2.5.4)
actionpack (4.1.8)
actionview (= 4.1.8)
activesupport (= 4.1.8)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
actionview (4.1.8)
activesupport (= 4.1.8)
builder (~> 3.1)
erubis (~> 2.7.0)
activemodel (4.1.8)
activesupport (= 4.1.8)
builder (~> 3.1)
activerecord (4.1.8)
activemodel (= 4.1.8)
activesupport (= 4.1.8)
arel (~> 5.0.0)
activerecord-jdbc-adapter (1.3.11)
activerecord (>= 2.2)
activesupport (4.1.8)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
addressable (2.3.6)
ansi (1.4.3)
arel (5.0.1.20140414130214)
ast (2.3.0)
authlogic (3.4.0)
activerecord (>= 3.2)
activesupport (>= 3.2)
request_store (~> 1.0.5)
autoprefixer-rails (3.1.2.20141016)
execjs
bootstrap_form (2.3.0)
buftok (0.2.0)
builder (3.2.2)
capistrano (3.2.1)
i18n
rake (>= 10.0.0)
sshkit (~> 1.3)
capistrano-bundler (1.1.3)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-rails (1.1.2)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-rbenv (2.0.2)
capistrano (~> 3.1)
sshkit (~> 1.3)
capistrano3-puma (0.8.2)
capistrano (~> 3.0)
puma (>= 2.6)
carrierwave (0.10.0)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
json (>= 1.7)
mime-types (>= 1.16)
chronic (0.10.2)
coderay (1.1.1)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.7.0)
colorize (0.7.3)
concurrent-ruby (1.0.0)
concurrent-ruby (1.0.0-java)
connection_pool (2.2.0)
dalli (2.7.1)
database_cleaner (1.4.1)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
diff-lcs (1.2.5)
elasticsearch (1.0.8)
elasticsearch-api (= 1.0.7)
elasticsearch-transport (= 1.0.7)
elasticsearch-api (1.0.7)
multi_json
elasticsearch-transport (1.0.7)
faraday
multi_json
equalizer (0.0.9)
erubis (2.7.0)
exception_notification (4.0.1)
actionmailer (>= 3.0.4)
activesupport (>= 3.0.4)
execjs (2.0.2)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.5.0)
factory_girl (~> 4.5.0)
railties (>= 3.0.0)
faraday (0.8.9)
multipart-post (~> 1.2.0)
ffi (1.9.3)
ffi (1.9.3-java)
ffi-compiler (0.1.3)
ffi (>= 1.0.0)
rake
figaro (1.1.0)
thor (~> 0.14)
font-awesome-rails (4.2.0.0)
railties (>= 3.2, < 5.0)
geocoder (1.2.1)
gibberish (1.4.0)
gmaps4rails (2.1.2)
haml (4.0.6)
tilt
haml-rails (0.9.0)
actionpack (>= 4.0.1)
activesupport (>= 4.0.1)
haml (>= 4.0.6, < 5.0)
html2haml (>= 1.0.1)
railties (>= 4.0.1)
hashie (3.4.0)
hike (1.2.3)
hirb (0.7.1)
html2haml (2.0.0)
erubis (~> 2.7.0)
haml (~> 4.0.0)
nokogiri (~> 1.6.0)
ruby_parser (~> 3.5)
http (0.5.0)
http_parser.rb
http_parser.rb (0.6.0)
http_parser.rb (0.6.0-java)
i18n (0.7.0)
jdbc-mysql (5.1.33)
jquery-fileupload-rails (0.4.1)
actionpack (>= 3.1)
railties (>= 3.1)
jquery-rails (3.1.2)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (4.2.0)
railties (>= 3.2.16)
jquery_mobile_rails (1.4.5)
railties (>= 3.1.0)
jruby-memcache-client (1.7.2)
json (1.8.3)
json (1.8.3-java)
kaminari (0.16.2)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
launchy (2.4.2)
addressable (~> 2.3)
launchy (2.4.2-java)
addressable (~> 2.3)
spoon (~> 0.0.1)
letter_opener (1.2.0)
launchy (~> 2.2)
libv8 (3.16.14.7)
mail (2.6.3)
mime-types (>= 1.16, < 3)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
method_source (0.8.2)
mime-types (2.4.3)
mini_portile (0.6.2)
minitest (5.6.0)
multi_json (1.10.1)
multipart-post (1.2.0)
mysql2 (0.3.17)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.9.1)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
nokogiri (1.6.6.2-java)
parser (2.3.1.2)
ast (~> 2.2)
powerpack (0.1.1)
protected_attributes (1.0.7)
activemodel (>= 4.0.1, < 5.0)
pry (0.10.3)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry (0.10.3-java)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
spoon (~> 0.0)
pry-rails (0.3.4)
pry (>= 0.9.10)
puma (2.12.2)
puma (2.12.2-java)
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rack (1.5.5)
rack-protection (1.5.3)
rack
rack-test (0.6.3)
rack (>= 1.0)
rails (4.1.8)
actionmailer (= 4.1.8)
actionpack (= 4.1.8)
actionview (= 4.1.8)
activemodel (= 4.1.8)
activerecord (= 4.1.8)
activesupport (= 4.1.8)
bundler (>= 1.3.0, < 2.0)
railties (= 4.1.8)
sprockets-rails (~> 2.0)
rails-i18n (4.0.3)
i18n (~> 0.6)
railties (~> 4.0)
rails-observers (0.1.2)
activemodel (~> 4.0)
railties (4.1.8)
actionpack (= 4.1.8)
activesupport (= 4.1.8)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rainbow (2.1.0)
rake (10.4.2)
redis (3.2.2)
redis-namespace (1.5.1)
redis (~> 3.0, >= 3.0.4)
ref (1.0.5)
remotipart (1.2.1)
request_store (1.0.5)
rmagick (2.13.4)
rmagick4j (0.3.8)
rspec-core (3.2.3)
rspec-support (~> 3.2.0)
rspec-expectations (3.2.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-mocks (3.2.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-rails (3.2.1)
actionpack (>= 3.0, < 4.3)
activesupport (>= 3.0, < 4.3)
railties (>= 3.0, < 4.3)
rspec-core (~> 3.2.0)
rspec-expectations (~> 3.2.0)
rspec-mocks (~> 3.2.0)
rspec-support (~> 3.2.0)
rspec-support (3.2.2)
rubocop (0.40.0)
parser (>= 2.3.1.0, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.8.1)
ruby_parser (3.7.0)
sexp_processor (~> 4.1)
sass (3.2.19)
sass-rails (4.0.3)
railties (>= 4.0.0, < 5.0)
sass (~> 3.2.0)
sprockets (~> 2.8, <= 2.11.0)
sprockets-rails (~> 2.0)
scrypt (1.2.1)
ffi-compiler (>= 0.0.2)
rake
searchkick (1.3.0)
activemodel
elasticsearch (>= 1)
hashie
sexp_processor (4.6.0)
sidekiq (4.1.0)
concurrent-ruby (~> 1.0)
connection_pool (~> 2.2, >= 2.2.0)
redis (~> 3.2, >= 3.2.1)
simple_oauth (0.2.0)
sinatra (1.4.6)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (>= 1.3, < 3)
sitemap_generator (5.0.5)
builder
slop (3.6.0)
smarter_csv (1.0.19)
spoon (0.0.4)
ffi
sprockets (2.11.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.2.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
therubyracer (0.12.1)
libv8 (~> 3.16.14.0)
ref
therubyrhino (2.0.4)
therubyrhino_jar (>= 1.7.3)
therubyrhino_jar (1.7.4)
thor (0.19.1)
thread_safe (0.3.5)
thread_safe (0.3.5-java)
tilt (1.4.1)
tinymce-rails (4.0.19)
railties (>= 3.1.1)
turn (0.8.3)
ansi
twitter (5.5.1)
addressable (~> 2.3)
buftok (~> 0.2.0)
descendants_tracker (~> 0.0.3)
equalizer (~> 0.0.9)
faraday (>= 0.8, < 0.10)
http (~> 0.5.0)
http_parser.rb (~> 0.6.0)
json (~> 1.8)
memoizable (~> 0.4.0)
simple_oauth (~> 0.2.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.5.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
unicode-display_width (1.0.5)
whenever (0.9.4)
chronic (>= 0.6.3)
PLATFORMS
java
ruby
DEPENDENCIES
aasm
activerecord-jdbc-adapter
authlogic
autoprefixer-rails
bootstrap_form
capistrano (~> 3.2.0)
capistrano-bundler
capistrano-rails
capistrano-rbenv
capistrano3-puma
carrierwave (~> 0.10.0)
coffee-rails (~> 4.0.0)
dalli (~> 2.7.1)
database_cleaner
elasticsearch-model!
elasticsearch-rails!
exception_notification
factory_girl_rails
figaro
font-awesome-rails
geocoder
gibberish
gmaps4rails (= 2.1.2)
haml-rails (~> 0.9)
hirb
jdbc-mysql
jquery-datatables-rails!
jquery-fileupload-rails
jquery-rails
jquery-ui-rails
jquery_mobile_rails
jruby-memcache-client
kaminari (~> 0.16.2)
letter_opener
mysql2 (~> 0.3.15)
protected_attributes
pry-rails
puma
quiet_assets
rails (~> 4.1)
rails-i18n (~> 4.0.0)
rails-observers
rake (>= 10.0.0)
redis-namespace
remotipart (~> 1.2)
rmagick
rmagick4j
rspec-rails
rubocop
sass-rails (~> 4.0.2)
scrypt
searchkick
sidekiq
sinatra
sitemap_generator
smarter_csv
sshkit (~> 1.3)!
therubyracer
therubyrhino
tinymce-rails (~> 4.0.0)
turn (~> 0.8.3)
twitter
uglifier (>= 2.5.0)
whenever
BUNDLED WITH
1.12.5
searchkick 1.3.0
ruby-2.1.0
rails-4.1.8

The warning is caused by faraday gem versions earlier than 0.9.0rc1. Looks like the problem is Ruby 1.8.7 specific and does not occur in Ruby > 1.9. It has been fixed in newer version of the gem.
So, you have two options:
Update your faraday gem.
Upgrade to Ruby 1.9 or later.

Related

Detect Ruby Memory Leaks

I am using Ruby 2.3.3 and Rails 5.0.1. In my application the memory is increasing for each and every request and not reducing when the request is complete.
Installed Gems: (GemFile.lock)
GEM
remote: https://rubygems.org/
specs:
actioncable (5.0.1)
actionpack (= 5.0.1)
nio4r (~> 1.2)
websocket-driver (~> 0.6.1)
actionmailer (5.0.1)
actionpack (= 5.0.1)
actionview (= 5.0.1)
activejob (= 5.0.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.0.1)
actionview (= 5.0.1)
activesupport (= 5.0.1)
rack (~> 2.0)
rack-test (~> 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.0.1)
activesupport (= 5.0.1)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (5.0.1)
activesupport (= 5.0.1)
globalid (>= 0.3.6)
activemodel (5.0.1)
activesupport (= 5.0.1)
activerecord (5.0.1)
activemodel (= 5.0.1)
activesupport (= 5.0.1)
arel (~> 7.0)
activesupport (5.0.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.0)
public_suffix (~> 2.0, >= 2.0.2)
airbrussh (1.1.1)
sshkit (>= 1.6.1, != 1.7.0)
arel (7.1.4)
builder (3.2.2)
byebug (9.0.6)
capistrano (3.7.1)
airbrussh (>= 1.0.0)
capistrano-harrow
i18n
rake (>= 10.0.0)
sshkit (>= 1.9.0)
capistrano-bundler (1.2.0)
capistrano (~> 3.1)
sshkit (~> 1.2)
capistrano-harrow (0.5.3)
capistrano-rails (1.2.0)
capistrano (~> 3.1)
capistrano-bundler (~> 1.1)
capistrano-rvm (0.1.2)
capistrano (~> 3.0)
sshkit (~> 1.2)
capistrano-ssh-doctor (1.0.0)
capistrano (>= 3.1)
capybara (2.11.0)
addressable
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
codeclimate-test-reporter (1.0.6)
simplecov
coderay (1.1.1)
concurrent-ruby (1.0.3)
database_cleaner (1.5.3)
diff-lcs (1.2.5)
docile (1.1.5)
dotenv (2.1.1)
erubis (2.7.0)
execjs (2.7.0)
factory_girl (4.8.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.8.0)
factory_girl (~> 4.8.0)
railties (>= 3.0.0)
faker (1.6.6)
i18n (~> 0.5)
fast_stack (0.2.0)
globalid (0.3.7)
activesupport (>= 4.1.0)
honeybadger (2.7.2)
htmlbeautifier (1.2.1)
httparty (0.14.0)
multi_xml (>= 0.5.2)
i18n (0.7.0)
jasmine (2.5.1)
jasmine-core (>= 2.5.1, < 3.0.0)
phantomjs
rack (>= 1.2.1)
rake
jasmine-core (2.5.2)
jasmine-jquery-rails (2.0.3)
json (2.0.2)
launchy (2.4.3)
addressable (~> 2.3)
libv8 (3.16.14.17)
libv8 (3.16.14.17-x86_64-darwin-16)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.4)
mime-types (>= 1.16, < 4)
mail_gate (1.1.2)
mail
memory_profiler (0.9.8)
method_source (0.8.2)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
minitest (5.10.1)
multi_xml (0.6.0)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (3.2.0)
newrelic_rpm (3.17.2.327)
nio4r (1.2.1)
nokogiri (1.6.8.1)
mini_portile2 (~> 2.1.0)
pg (0.19.0)
phantomjs (2.1.1.0)
pry (0.10.4)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.4.2)
byebug (~> 9.0)
pry (~> 0.10)
public_suffix (2.0.4)
puma (3.6.2)
rack (2.0.1)
rack-mini-profiler (0.10.5)
rack (>= 1.2.0)
rack-test (0.6.3)
rack (>= 1.0)
rails (5.0.1)
actioncable (= 5.0.1)
actionmailer (= 5.0.1)
actionpack (= 5.0.1)
actionview (= 5.0.1)
activejob (= 5.0.1)
activemodel (= 5.0.1)
activerecord (= 5.0.1)
activesupport (= 5.0.1)
bundler (>= 1.3.0, < 2.0)
railties (= 5.0.1)
sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.1)
actionpack (~> 5.x)
actionview (~> 5.x)
activesupport (~> 5.x)
rails-dom-testing (2.0.1)
activesupport (>= 4.2.0, < 6.0)
nokogiri (~> 1.6.0)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
railties (5.0.1)
actionpack (= 5.0.1)
activesupport (= 5.0.1)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (12.0.0)
ref (2.0.0)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-rails (3.5.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
sass (3.4.23)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
shoulda-matchers (3.1.1)
activesupport (>= 4.0.0)
simple_form (3.3.1)
actionpack (> 4, < 5.1)
activemodel (> 4, < 5.1)
simplecov (0.12.0)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)
simplecov-rcov (0.2.3)
simplecov (>= 0.4.1)
slop (3.6.0)
spring (2.0.1)
activesupport (>= 4.2)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sshkit (1.11.5)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
stackprof (0.2.10)
supercache (0.7)
therubyracer (0.12.2)
libv8 (~> 3.16.14.0)
ref
thor (0.19.4)
thread_safe (0.3.5)
tilt (2.0.5)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (3.0.4)
execjs (>= 0.3.0, < 3)
websocket-driver (0.6.4)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.2)
will_paginate (3.1.5)
will_paginate-bootstrap (1.0.1)
will_paginate (>= 3.0.3)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
x86_64-darwin-16
DEPENDENCIES
airbrussh
byebug
capistrano
capistrano-bundler
capistrano-rails
capistrano-rvm
capistrano-ssh-doctor
capybara
codeclimate-test-reporter (~> 1.0.0)
database_cleaner
dotenv
factory_girl_rails
faker
fast_stack
honeybadger
htmlbeautifier
httparty
jasmine
jasmine-jquery-rails
launchy
mail_gate
memory_profiler
newrelic_rpm
pg
pry-byebug
puma
rack-mini-profiler
rails (= 5.0.1)
rails-controller-testing
rspec-rails
sass-rails (~> 5.0.0.beta1)
shoulda-matchers
simple_form
simplecov
simplecov-rcov
spring
stackprof
supercache
therubyracer
uglifier
will_paginate
will_paginate-bootstrap
RUBY VERSION
ruby 2.3.3p222
BUNDLED WITH
1.15.1
I used MemoryProfiler to detect memory leaks. I have pasted the result of MemoryProfiler.start and MemoryProfiler.stop. Which one is causing leaks is not clear to me. Which gem or code causing memory leak issue?
Total allocated: 242425441 bytes (2105822 objects)
Total retained: 2970695 bytes (16840 objects)
allocated memory by gem
-----------------------------------
68444044 activerecord-5.0.1
48631659 activesupport-5.0.1
33867169 ruby-2.3.3/lib
26983147 actionview-5.0.1
20242402 i18n-0.7.0
15872628 20170712102216/app
10357404 simple_form-3.3.1
3187323 puma-3.6.2
3010603 newrelic_rpm-3.17.2.327
2581225 activemodel-5.0.1
2174325 rack-mini-profiler-0.10.5
2077399 rack-2.0.1
1785709 erubis-2.7.0
1634373 arel-7.1.4
1154020 actionpack-5.0.1
209364 other
122145 concurrent-ruby-1.0.3
57606 did_you_mean-1.0.0
16299 railties-5.0.1
12261 sprockets-rails-3.2.0
2808 honeybadger-2.7.2
1160 sprockets-3.7.1
368 tzinfo-1.2.2
retained memory by gem
-----------------------------------
1102502 puma-3.6.2
728109 simple_form-3.3.1
522334 i18n-0.7.0
226441 actionview-5.0.1
93458 activerecord-5.0.1
74910 rack-2.0.1
70051 activesupport-5.0.1
60945 concurrent-ruby-1.0.3
31530 actionpack-5.0.1
22331 activemodel-5.0.1
12389 newrelic_rpm-3.17.2.327
11770 rack-mini-profiler-0.10.5
9717 ruby-2.3.3/lib
1879 20170712102216/app
1593 arel-7.1.4
504 railties-5.0.1
232 honeybadger-2.7.2
allocated memory by location
-----------------------------------
16675773 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/string/output_safety.rb:176
11287702 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/helpers/tags/base.rb:51
6412328 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/result.rb:123
6169344 /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/set.rb:83
6122176 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:118
5305392 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/associations/join_dependency/join_part.rb:51
5249720 /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/timeout.rb:81
4253488 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/except.rb:11
4161024 /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/set.rb:360
3698688 /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/set.rb:96
3520608 /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/set.rb:88
3152622 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/simple_form-3.3.1/lib/simple_form/inputs/base.rb:180
2880280 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/hash_with_indifferent_access.rb:283
2867056 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/i18n-0.7.0/lib/i18n.rb:145
2866128 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/i18n-0.7.0/lib/i18n/exceptions.rb:46
2818960 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/i18n-0.7.0/lib/i18n.rb:268
2676232 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/attribute_set/builder.rb:33
2662442 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/string/output_safety.rb:258
2649672 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/persistence.rb:69
2593155 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/helpers/tag_helper.rb:192
2389918 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/log_subscriber.rb:51
1926400 /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/set.rb:420
1890554 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/puma-3.6.2/lib/puma/server.rb:907
1803634 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/simple_form-3.3.1/lib/simple_form/inputs/base.rb:181
1732528 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/string/output_safety.rb:198
1599053 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/i18n-0.7.0/lib/i18n.rb:330
1569960 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/relation/predicate_builder.rb:72
1508831 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/multibyte/unicode.rb:248
1493725 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/helpers/tags/base.rb:109
1462544 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/core.rb:135
1431338 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/helpers/tag_helper.rb:152
1426240 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/attribute.rb:5
1402178 /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/logger.rb:654
1373677 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/template.rb:310
1360800 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/object/json.rb:161
1353705 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/inflector/methods.rb:385
1288272 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/relation.rb:24
1280920 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/relation.rb:36
1259712 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/associations/association_scope.rb:67
1244682 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/query_parser.rb:81
1200960 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/associations/join_dependency.rb:140
1156385 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/tagged_logging.rb:21
1135632 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/helpers/form_helper.rb:1867
1086637 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/rack-mini-profiler-0.10.5/lib/patches/db/pg.rb:7
1076640 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/i18n-0.7.0/lib/i18n/backend/base.rb:32
1067904 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/attribute_methods.rb:347
1055840 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/json/encoding.rb:89
1050872 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/puma-3.6.2/lib/puma/thread_pool.rb:70
1038184 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/keys.rb:14
1035416 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/relation/predicate_builder.rb:97
retained memory by location
-----------------------------------
1050872 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/puma-3.6.2/lib/puma/thread_pool.rb:70
516280 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/i18n-0.7.0/lib/i18n.rb:330
435844 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/simple_form-3.3.1/lib/simple_form/inputs/base.rb:180
253231 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/simple_form-3.3.1/lib/simple_form/inputs/base.rb:181
112705 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/template.rb:310
31056 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.3/lib/concurrent/collection/map/non_concurrent_map_backend.rb:16
28271 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/simple_form-3.3.1/lib/simple_form/inputs/base.rb:183
23673 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/puma-3.6.2/lib/puma/client.rb:258
22080 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.3/lib/concurrent/collection/map/mri_map_backend.rb:14
19832 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activemodel-5.0.1/lib/active_model/attribute_methods.rb:383
18732 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/puma-3.6.2/lib/puma/client.rb:285
17776 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/template/resolver.rb:165
17640 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/query_parser.rb:64
16944 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/hash_with_indifferent_access.rb:217
14480 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/indifferent_access.rb:9
14160 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/http/parameter_filter.rb:55
13784 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/query_parser.rb:157
11800 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/template.rb:121
11360 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/rack-mini-profiler-0.10.5/lib/patches/db/pg.rb:7
11328 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/template/resolver.rb:215
11073 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293
10975 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/template.rb:340
9440 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/template.rb:141
9132 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/simple_form-3.3.1/lib/simple_form/inputs/base.rb:184
8914 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/template.rb:347
8406 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/query_parser.rb:167
8110 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/helpers/form_helper.rb:1889
7776 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/puma-3.6.2/lib/puma/client.rb:35
6968 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:238
6857 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.3/lib/concurrent/collection/map/non_concurrent_map_backend.rb:24
5887 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/i18n-0.7.0/lib/i18n.rb:332
5828 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/template/resolver.rb:348
5774 /usr/local/rvm/rubies/ruby-2.3.3/lib/ruby/2.3.0/uri/common.rb:384
5680 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/attribute.rb:5
5664 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/template/resolver.rb:269
5360 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/attribute.rb:80
5360 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:676
5360 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/connection_adapters/postgresql/schema_statements.rb:683
5106 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/attribute_methods/read.rb:33
4720 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/core_ext/hash/except.rb:11
4496 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/model_schema.rb:350
4496 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/model_schema.rb:380
4376 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/connection_adapters/schema_cache.rb:62
3622 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/attribute_methods.rb:30
3511 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/rack-2.0.1/lib/rack/multipart.rb:36
3280 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activerecord-5.0.1/lib/active_record/result.rb:123
3024 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:382
2808 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/activesupport-5.0.1/lib/active_support/callbacks.rb:163
2551 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionpack-5.0.1/lib/action_dispatch/journey/path/pattern.rb:71
2360 <APPLICATION_HOME_PATH>/shared/bundle/ruby/2.3.0/gems/actionview-5.0.1/lib/action_view/template.rb:139
Give rack-mini-profiler a try, you have various ways to see how your application manages resources, in your case you are probably interested in memory profiling.

wrong number of arguments (5 for 4) Rails 4.1.14.1

I have upgraded our rails to 4.1.14.1 and its dependencies however when I try to render a file,
def show
path = Rails.root.join('spec','javascripts','fixtures', "#{params[:id]}.html")
render file: path, layout: nil
end
the render action reports a wrong number of arguments (5 for 4) error. What could be why all of the sudden, this version of rails does not want to find the file? I know that this works with our prior version of Rails, 4.1.11, and the Rails docs are saying that my render is legal.
Edit: When I try rails 4.1.14, that works. I wonder why there is a difference?
Gemfile:
GIT
remote: git://github.com/assaf/vanity.git
revision: d4bdb06b1d6054d3861e1ca93cc0c6e47db3e095
ref: d4bdb06b1d6054d3861e1ca93cc0c6e47db3e095
branch: master
specs:
vanity (2.0.0.beta8)
i18n
GIT
remote: git://github.com/bokmann/business_time.git
revision: 0782aa46808a412f343e0b851d4a64a3a1aced21
specs:
business_time (0.7.4)
activesupport (>= 3.1.0)
tzinfo
GIT
remote: git://github.com/jasonfb/spree.git
revision: 1038311bf61b2e496547ef502fa4b0e46ac7a44e
branch: 2-4-stable
specs:
spree (2.4.11.beta)
spree_api (= 2.4.11.beta)
spree_backend (= 2.4.11.beta)
spree_cmd (= 2.4.11.beta)
spree_core (= 2.4.11.beta)
spree_frontend (= 2.4.11.beta)
spree_sample (= 2.4.11.beta)
spree_api (2.4.11.beta)
rabl (~> 0.9.4.pre1)
spree_core (= 2.4.11.beta)
versioncake (~> 2.3.1)
spree_backend (2.4.11.beta)
jquery-rails (~> 3.1.2)
jquery-ui-rails (~> 5.0.0)
select2-rails (= 3.5.9.1)
spree_api (= 2.4.11.beta)
spree_core (= 2.4.11.beta)
spree_cmd (2.4.11.beta)
thor (~> 0.14)
spree_core (2.4.11.beta)
activemerchant (~> 1.44.1)
acts_as_list (~> 0.3)
awesome_nested_set (~> 3.0.1)
cancancan (~> 1.9.2)
carmen (~> 1.0.0)
deface (~> 1.0.0)
ffaker (~> 1.16)
font-awesome-rails (~> 4.0)
friendly_id (~> 5.0.4)
highline (~> 1.6.18)
json (~> 1.7)
kaminari (~> 0.15, >= 0.15.1)
monetize (~> 1.1)
paperclip (~> 4.2.0)
paranoia (~> 2.1.0)
premailer-rails
rails (~> 4.1.11)
ransack (~> 1.4.1)
state_machine (= 1.2.0)
stringex (~> 1.5.1)
truncate_html (= 0.9.2)
twitter_cldr (~> 3.0)
spree_frontend (2.4.11.beta)
canonical-rails (~> 0.0.4)
jquery-rails (~> 3.1.2)
spree_api (= 2.4.11.beta)
spree_core (= 2.4.11.beta)
spree_sample (2.4.11.beta)
spree_core (= 2.4.11.beta)
GIT
remote: git://github.com/jasonfb/spree_avatax_certified.git
revision: c376385f1975e52a3adc38c7088daa4205f36cca
ref: c376385f1975e52a3adc38c7088daa4205f36cca
branch: 2-4-stable
specs:
spree_avatax_certified (2.4.2)
addressable (~> 2.3)
json (~> 1.7)
logging (~> 1.8)
psych (~> 2.0.4)
rest-client (~> 1.7)
spree_core (~> 2.4.0)
GIT
remote: git://github.com/mackweldon/spree_gateway.git
revision: 73e3d75452163ef0d6ccb3d1c21951f4ea633ed4
branch: 2-4-stable
specs:
spree_gateway (2.4.0)
spree_core (~> 2.4.0)
GIT
remote: git://github.com/mackweldon/spree_google_merchant.git
revision: 6bc864c0d30a30c45900910c2bd3858ff0ee7fd4
branch: 2-4-stable
specs:
spree_google_merchant (2.4.0)
net-sftp (= 2.1.2)
spree (~> 2.4)
GIT
remote: git://github.com/mackweldon/spree_shipping_labeler.git
revision: dc0680a5a63c4400b1265e33082c3f2d42b4fdac
branch: 2-4-stable
specs:
spree_shipping_labeler (2.3.0)
coffee-rails (~> 4.0.0)
fedex (~> 3.6.1)
spree_core (~> 2.4.0)
GIT
remote: git://github.com/reidcooper/spree_auth_devise.git
revision: de265a72c568fbeaa09d733351fcd18cb2cad018
branch: 2-4-stable
specs:
spree_auth_devise (2.4.0)
devise (~> 3.2.3)
devise-encryptable (= 0.1.2)
json
multi_json
spree_core (~> 2.4.0)
GIT
remote: git://github.com/spree-contrib/spree_legacy_return_authorizations.git
revision: 9968f25e12fd6f19e8fa07fa8e52ece8a1f99475
branch: master
specs:
spree_legacy_return_authorizations (2.4.0)
spree_core (~> 2.4.0)
GIT
remote: git://github.com/spree-contrib/spree_related_products.git
revision: d3452dbba6a748e75354fd912a893e6669b72063
branch: 2-4-stable
specs:
spree_related_products (3.2)
spree_backend (~> 2.4.0)
GIT
remote: git://github.com/spree-contrib/spree_sitemap.git
revision: 5ed6b1cb17b32cac9b9eefe4d9d95bad179e211f
branch: 2-4-stable
specs:
spree_sitemap (2.0.0.beta)
sitemap_generator (~> 4.3.1)
spree_core (~> 2.4.0)
GIT
remote: https://github.com/nofxx/symbolize.git
revision: 58b258c7964ca200c3bdf0061f0c98306bfcbead
ref: 58b258c7964ca200c3bdf0061f0c98306bfcbead
specs:
symbolize (4.5.1)
activemodel (>= 3.2, < 5)
activesupport (>= 3.2, < 5)
GEM
remote: https://rubygems.org/
specs:
CFPropertyList (2.3.0)
actionmailer (4.1.14.1)
actionpack (= 4.1.14.1)
actionview (= 4.1.14.1)
mail (~> 2.5, >= 2.5.4)
actionpack (4.1.14.1)
actionview (= 4.1.14.1)
activesupport (= 4.1.14.1)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
actionview (4.1.14.1)
activesupport (= 4.1.14.1)
builder (~> 3.1)
erubis (~> 2.7.0)
active_model_serializers (0.9.3)
activemodel (>= 3.2)
active_record_query_trace (1.3)
active_scaffold (3.4.17)
rails (>= 3.2.18, < 5)
active_utils (2.2.3)
activesupport (>= 2.3.11)
i18n
activemerchant (1.44.1)
active_utils (~> 2.2.0)
activesupport (>= 3.2.14, < 5.0.0)
builder (>= 2.1.2, < 4.0.0)
i18n (>= 0.6.9)
json (~> 1.7)
nokogiri (~> 1.4)
offsite_payments (~> 2.0.0)
activemodel (4.1.14.1)
activesupport (= 4.1.14.1)
builder (~> 3.1)
activerecord (4.1.14.1)
activemodel (= 4.1.14.1)
activesupport (= 4.1.14.1)
arel (~> 5.0.0)
activerecord-session_store (0.1.1)
actionpack (>= 4.0.0, < 5)
activerecord (>= 4.0.0, < 5)
railties (>= 4.0.0, < 5)
activesupport (4.1.14.1)
i18n (~> 0.6, >= 0.6.9)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.1)
tzinfo (~> 1.1)
acts-as-taggable-on (3.5.0)
activerecord (>= 3.2, < 5)
acts_as_list (0.7.2)
activerecord (>= 3.0)
addressable (2.3.8)
ancestry (2.1.0)
activerecord (>= 3.0.0)
arel (5.0.1.20140414130214)
asset_sync (1.1.0)
activemodel
fog (>= 1.8.0)
unf
audited (4.0.0)
rails-observers (~> 0.1.2)
audited-activerecord (4.0.0)
activerecord (~> 4.0)
audited (= 4.0.0)
autoprefixer-rails (5.1.7)
execjs
json
awesome_nested_set (3.0.2)
activerecord (>= 4.0.0, < 5)
awesome_print (1.6.1)
aws-sdk (1.27.0)
json (~> 1.4)
nokogiri (>= 1.4.4)
uuidtools (~> 2.1)
bcrypt (3.1.10)
better_errors (2.1.1)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
rack (>= 0.9.0)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bootstrap-sass (3.3.3)
autoprefixer-rails (>= 5.0.0.1)
sass (>= 3.2.19)
builder (3.2.2)
bullet (4.14.5)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.9.0)
byebug (3.5.1)
columnize (~> 0.8)
debugger-linecache (~> 1.2)
slop (~> 3.6)
callsite (0.0.11)
camertron-eprun (1.1.0)
cancancan (1.9.2)
canonical-rails (0.0.11)
rails (>= 3.1, < 5.0)
capybara (2.5.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
capybara-webkit (1.7.1)
capybara (>= 2.3.0, < 2.6.0)
json
carmen (1.0.2)
activesupport (>= 3.0.0)
childprocess (0.5.7)
ffi (~> 1.0, >= 1.0.11)
ckeditor (4.1.1)
cocaine
orm_adapter (~> 0.5.0)
cldr-plurals-runtime-rb (1.0.1)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.8)
climate_control (>= 0.0.3, < 1.0)
coderay (1.1.0)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
colorize (0.7.7)
columnize (0.9.0)
commonjs (0.2.7)
crack (0.4.2)
safe_yaml (~> 1.0.0)
css_parser (1.3.7)
addressable
dalli (2.7.2)
database_cleaner (1.4.0)
debug_inspector (0.0.2)
debugger-linecache (1.2.0)
deface (1.0.2)
colorize (>= 0.5.8)
nokogiri (~> 1.6.0)
polyglot
rails (>= 3.1)
delayed_paperclip (2.9.1)
paperclip (>= 3.3)
devise (3.2.4)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
thread_safe (~> 0.1)
warden (~> 1.2.3)
devise-encryptable (0.1.2)
devise (>= 2.1.0)
diff-lcs (1.2.5)
docile (1.1.5)
domain_name (0.5.25)
unf (>= 0.0.5, < 1.0.0)
erubis (2.7.0)
excon (0.44.1)
execjs (2.6.0)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.5.0)
factory_girl (~> 4.5.0)
railties (>= 3.0.0)
fedex (3.6.1)
httparty (~> 0.13.0)
nokogiri (~> 1.6.0)
ffaker (1.32.1)
ffi (1.9.10)
fission (0.5.0)
CFPropertyList (~> 2.2)
fog (1.27.0)
fog-atmos
fog-aws (~> 0.0)
fog-brightbox (~> 0.4)
fog-core (~> 1.27, >= 1.27.3)
fog-ecloud
fog-json
fog-profitbricks
fog-radosgw (>= 0.0.2)
fog-sakuracloud (>= 0.0.4)
fog-serverlove
fog-softlayer
fog-storm_on_demand
fog-terremark
fog-vmfusion
fog-voxel
fog-xml (~> 0.1.1)
ipaddress (~> 0.5)
nokogiri (~> 1.5, >= 1.5.11)
fog-atmos (0.1.0)
fog-core
fog-xml
fog-aws (0.1.0)
fog-core (~> 1.27)
fog-json (~> 1.0)
fog-xml (~> 0.1)
ipaddress (~> 0.8)
fog-brightbox (0.7.1)
fog-core (~> 1.22)
fog-json
inflecto (~> 0.0.2)
fog-core (1.28.0)
builder
excon (~> 0.38)
formatador (~> 0.2)
mime-types
net-scp (~> 1.1)
net-ssh (>= 2.1.3)
fog-ecloud (0.0.2)
fog-core
fog-xml
fog-json (1.0.0)
multi_json (~> 1.0)
fog-profitbricks (0.0.1)
fog-core
fog-xml
nokogiri
fog-radosgw (0.0.3)
fog-core (>= 1.21.0)
fog-json
fog-xml (>= 0.0.1)
fog-sakuracloud (1.0.0)
fog-core
fog-json
fog-serverlove (0.1.1)
fog-core
fog-json
fog-softlayer (0.4.0)
fog-core
fog-json
fog-storm_on_demand (0.1.0)
fog-core
fog-json
fog-terremark (0.0.3)
fog-core
fog-xml
fog-vmfusion (0.0.1)
fission
fog-core
fog-voxel (0.0.2)
fog-core
fog-xml
fog-xml (0.1.1)
fog-core
nokogiri (~> 1.5, >= 1.5.11)
font-awesome-rails (4.5.0.0)
railties (>= 3.2, < 5.0)
font-awesome-sass (4.3.2.1)
sass (~> 3.2)
formatador (0.2.5)
friendly_id (5.0.5)
activerecord (>= 4.0.0)
haml (4.0.6)
tilt
haml_coffee_assets (1.16.0)
coffee-script (~> 2.0)
sprockets (~> 2.0)
tilt (~> 1.1)
highline (1.6.21)
hike (1.2.3)
hipchat (1.5.2)
httparty
mimemagic
honeybadger (2.0.6)
htmlentities (4.3.4)
htmlrender (0.0.0)
http-cookie (1.0.2)
domain_name (~> 0.5)
httparty (0.13.7)
json (~> 1.8)
multi_xml (>= 0.5.2)
i18n (0.6.9)
inflecto (0.0.2)
ipaddress (0.8.0)
jasmine-core (2.3.4)
jasmine-jquery-rails (2.0.3)
jasmine-rails (0.10.8)
jasmine-core (>= 1.3, < 3.0)
phantomjs (>= 1.9)
railties (>= 3.2.0)
sprockets-rails
jquery-fileupload-rails (0.4.4)
actionpack (>= 3.1)
railties (>= 3.1)
sass (>= 3.2)
jquery-rails (3.1.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.5)
railties (>= 3.2.16)
json (1.8.3)
kaminari (0.16.3)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
kgio (2.9.3)
launchy (2.4.3)
addressable (~> 2.3)
less (2.6.0)
commonjs (~> 0.2.7)
less-rails (2.6.0)
actionpack (>= 3.1)
less (~> 2.6.0)
libv8 (3.16.14.7)
little-plugger (1.1.4)
logging (1.8.2)
little-plugger (>= 1.1.3)
multi_json (>= 1.8.4)
mail (2.6.3)
mime-types (>= 1.16, < 3)
marionette-rails (2.4.1)
railties (>= 3.1)
meta_request (0.3.4)
callsite (~> 0.0, >= 0.0.11)
rack-contrib (~> 1.1)
railties (>= 3.0.0, < 5.0.0)
mime-types (2.99)
mimemagic (0.3.0)
mini_portile2 (2.0.0)
minitest (5.8.4)
modernizr-rails (2.7.1)
monetize (1.3.1)
money (~> 6.6)
money (6.6.1)
i18n (>= 0.6.4, <= 0.7.0)
mono_logger (1.1.0)
multi_json (1.11.2)
multi_xml (0.5.5)
multipart-post (2.0.0)
mysql2 (0.3.17)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (2.9.2)
netrc (0.11.0)
newrelic_rpm (3.9.9.275)
nokogiri (1.6.7)
mini_portile2 (~> 2.0.0.rc2)
nondestructive_migrations (1.1)
activerecord (>= 4.0)
offsite_payments (2.0.1)
active_utils (~> 2.2.0)
activesupport (>= 3.2.14, < 5.0.0)
builder (>= 2.1.2, < 4.0.0)
i18n (~> 0.5)
json (~> 1.7)
money (< 7.0.0)
nokogiri (~> 1.4)
orm_adapter (0.5.0)
pagerduty (2.0.0)
json (>= 1.7.7)
paperclip (4.2.4)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
cocaine (~> 0.5.5)
mime-types
paranoia (2.1.4)
activerecord (~> 4.0)
pdf-core (0.4.0)
phantomjs (1.9.8.0)
polyamorous (1.2.0)
activerecord (>= 3.0)
polyglot (0.3.5)
prawn (1.3.0)
pdf-core (~> 0.4.0)
ttfunk (~> 1.4.0)
premailer (1.8.6)
css_parser (>= 1.3.6)
htmlentities (>= 4.0.0)
premailer-rails (1.8.2)
actionmailer (>= 3, < 5)
premailer (~> 1.7, >= 1.7.9)
psych (2.0.15)
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rabl (0.9.4.pre1)
activesupport (>= 2.3.14)
rack (1.5.5)
rack-attack (4.3.0)
rack
rack-contrib (1.2.0)
rack (>= 0.9.1)
rack-protection (1.5.3)
rack
rack-test (0.6.3)
rack (>= 1.0)
rack-timeout (0.2.0)
rack_session_access (0.1.1)
builder (>= 2.0.0)
rack (>= 1.0.0)
rails (4.1.14.1)
actionmailer (= 4.1.14.1)
actionpack (= 4.1.14.1)
actionview (= 4.1.14.1)
activemodel (= 4.1.14.1)
activerecord (= 4.1.14.1)
activesupport (= 4.1.14.1)
bundler (>= 1.3.0, < 2.0)
railties (= 4.1.14.1)
sprockets-rails (~> 2.0)
rails-observers (0.1.2)
activemodel (~> 4.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.4)
rails_stdout_logging (0.0.3)
railties (4.1.14.1)
actionpack (= 4.1.14.1)
activesupport (= 4.1.14.1)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
raindrops (0.13.0)
rake (10.5.0)
ransack (1.4.1)
actionpack (>= 3.0)
activerecord (>= 3.0)
activesupport (>= 3.0)
i18n
polyamorous (~> 1.1)
redis (3.2.0)
redis-namespace (1.5.1)
redis (~> 3.0, >= 3.0.4)
ref (1.0.5)
resque (1.25.2)
mono_logger (~> 1.0)
multi_json (~> 1.0)
redis-namespace (~> 1.3)
sinatra (>= 0.9.2)
vegas (~> 0.1.2)
resque-cleaner (0.3.0)
resque (~> 1.0)
resque-loner (1.3.0)
resque (~> 1.0)
resque-retry (1.4.0)
resque (~> 1.25)
resque-scheduler (~> 4.0)
resque-scheduler (4.0.0)
mono_logger (~> 1.0)
redis (~> 3.0)
resque (~> 1.25)
rufus-scheduler (~> 3.0)
resque_mailer (2.2.7)
actionmailer (>= 3.0)
resque_spec (0.15.0)
resque (>= 1.19.0)
rspec-core (>= 2.5.0)
rspec-expectations (>= 2.5.0)
rspec-mocks (>= 2.5.0)
rest-client (1.8.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
rspec (3.3.0)
rspec-core (~> 3.3.0)
rspec-expectations (~> 3.3.0)
rspec-mocks (~> 3.3.0)
rspec-core (3.3.2)
rspec-support (~> 3.3.0)
rspec-expectations (3.3.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.3.0)
rspec-mocks (3.3.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.3.0)
rspec-rails (3.3.3)
actionpack (>= 3.0, < 4.3)
activesupport (>= 3.0, < 4.3)
railties (>= 3.0, < 4.3)
rspec-core (~> 3.3.0)
rspec-expectations (~> 3.3.0)
rspec-mocks (~> 3.3.0)
rspec-support (~> 3.3.0)
rspec-support (3.3.0)
rubyzip (1.1.7)
rufus-scheduler (3.0.9)
tzinfo
safe_yaml (1.0.4)
sailthru-client (4.0.1)
json
multipart-post
sass (3.4.13)
sass-rails (5.0.1)
railties (>= 4.0.0, < 5.0)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (~> 1.1)
select2-rails (3.5.9.1)
thor (~> 0.14)
selenium-webdriver (2.48.1)
childprocess (~> 0.5)
multi_json (~> 1.0)
rubyzip (~> 1.0)
websocket (~> 1.0)
settingslogic (2.0.9)
shoulda-matchers (2.8.0)
activesupport (>= 3.0.0)
simplecov (0.9.1)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
sitemap_generator (4.3.1)
builder
slim (3.0.2)
temple (~> 0.7.3)
tilt (>= 1.3.3, < 2.1)
slop (3.6.0)
sprockets (2.12.4)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.3.3)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
state_machine (1.2.0)
stringex (1.5.1)
temple (0.7.5)
therubyracer (0.12.1)
libv8 (~> 3.16.14.0)
ref
thor (0.19.1)
thread_safe (0.3.5)
tilt (1.4.1)
truncate_html (0.9.2)
ttfunk (1.4.0)
twitter-bootstrap-rails (3.2.0)
actionpack (~> 4.1)
execjs (~> 2.2)
rails (~> 4.1)
railties (~> 4.1)
twitter_cldr (3.2.1)
camertron-eprun
cldr-plurals-runtime-rb (~> 1.0.0)
json
tzinfo
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.1)
unicorn (4.8.3)
kgio (~> 2.6)
rack
raindrops (~> 0.7)
uniform_notifier (1.9.0)
uuidtools (2.1.5)
vcr (2.9.3)
vegas (0.1.11)
rack (>= 1.0.0)
versioncake (2.3.1)
actionpack (>= 3.2)
activesupport (>= 3.2)
railties (>= 3.2)
tzinfo
warden (1.2.3)
rack (>= 1.0)
webmock (1.20.4)
addressable (>= 2.3.6)
crack (>= 0.3.2)
websocket (1.2.2)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
active_model_serializers
active_record_query_trace
active_scaffold (= 3.4.17)
activerecord-session_store
acts-as-taggable-on (~> 3.4)
acts_as_list
ancestry
asset_sync
audited-activerecord (~> 4.0)
awesome_print
aws-sdk (= 1.27.0)
better_errors
binding_of_caller
bootstrap-sass (~> 3.3.3)
bullet
business_time!
byebug
capybara (= 2.5.0)
capybara-webkit
ckeditor
coffee-rails
dalli
database_cleaner
delayed_paperclip
execjs
factory_girl_rails
ffaker
fog (~> 1.20)
font-awesome-sass
haml
haml_coffee_assets
hipchat
honeybadger (= 2.0.6)
htmlrender
i18n (= 0.6.9)
jasmine-jquery-rails
jasmine-rails
jquery-fileupload-rails
jquery-rails (~> 3.1.3)
launchy
less-rails
libv8 (~> 3.16.14.0)
marionette-rails
meta_request
modernizr-rails
mysql2 (= 0.3.17)
newrelic_rpm
nondestructive_migrations (= 1.1)
pagerduty
paperclip
prawn
quiet_assets
rack-attack
rack-timeout
rack_session_access
rails (= 4.1.14.1)
rails_12factor
redis
resque
resque-cleaner
resque-loner
resque-retry
resque-scheduler
resque_mailer
resque_spec
rspec
rspec-mocks
rspec-rails
rubyzip (>= 1.0.0)
sailthru-client
sass-rails
selenium-webdriver (= 2.48.1)
settingslogic
shoulda-matchers
simplecov
slim
spree!
spree_auth_devise!
spree_avatax_certified!
spree_gateway!
spree_google_merchant!
spree_legacy_return_authorizations!
spree_related_products!
spree_shipping_labeler!
spree_sitemap!
symbolize!
therubyracer
twitter-bootstrap-rails (= 3.2.0)
uglifier (>= 1.0.3)
unicorn
vanity!
vcr
webmock
BUNDLED WITH
1.10.6
Error Log:
Started GET "/spec/javascripts/fixtures/savings_meter" for 127.0.0.1 at 2016-01-25 19:13:22 -0500
Processing by JasmineFixturesController#show as HTML
Parameters: {"id"=>"savings_meter"}
Completed 500 Internal Server Error in 74ms (ActiveRecord: 0.3ms)
ArgumentError - wrong number of arguments (5 for 4):
actionview (4.1.14.1) lib/action_view/template/resolver.rb:121:in `block in find_all_anywhere'
actionview (4.1.14.1) lib/action_view/template/resolver.rb:151:in `block in cached'
actionview (4.1.14.1) lib/action_view/template/resolver.rb:62:in `cache'
actionview (4.1.14.1) lib/action_view/template/resolver.rb:150:in `cached'
actionview (4.1.14.1) lib/action_view/template/resolver.rb:120:in `find_all_anywhere'
actionview (4.1.14.1) lib/action_view/path_set.rb:68:in `block (2 levels) in _find_all'
actionview (4.1.14.1) lib/action_view/path_set.rb:66:in `block in _find_all'
actionview (4.1.14.1) lib/action_view/path_set.rb:65:in `_find_all'
actionview (4.1.14.1) lib/action_view/path_set.rb:50:in `find_file'
actionview (4.1.14.1) lib/action_view/lookup_context.rb:129:in `find_file'
actionview (4.1.14.1) lib/action_view/renderer/abstract_renderer.rb:18:in `find_file'
actionview (4.1.14.1) lib/action_view/renderer/template_renderer.rb:33:in `block in determine_template'
actionview (4.1.14.1) lib/action_view/lookup_context.rb:149:in `with_fallbacks'
actionview (4.1.14.1) lib/action_view/renderer/abstract_renderer.rb:18:in `with_fallbacks'
actionview (4.1.14.1) lib/action_view/renderer/template_renderer.rb:33:in `determine_template'
actionview (4.1.14.1) lib/action_view/renderer/template_renderer.rb:8:in `render'
actionview (4.1.14.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.14.1) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.14.1) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.14.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.14.1) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.14.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.14.1) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.14.1) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.14.1) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.14.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
activesupport (4.1.14.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/Users/reidcooper/.rbenv/versions/2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.14.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.14.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
actionpack (4.1.14.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
activerecord (4.1.14.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.14.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
active_scaffold (3.4.17) lib/active_scaffold/extensions/action_controller_rendering.rb:14:in `render_with_active_scaffold'
app/controllers/jasmine_fixtures_controller.rb:4:in `show'
Seems like a bug in ActionView.
The method is defined with four parameters, but called with five.
EDIT: Actually a known and closed issue.
A security related fix in rails clashes with rspec-rails (see issue) and affects uses of render file:'...'
rspec-rails 3.4.1 fixes this issue.

already activated spring 1.4.0, but Gemfile requires spring 1.3.3[error]

My server is running fine but when I try to enter console by rails c, I got the following error.
/home/munam/.rvm/gems/ruby-2.2.0#jugojuice/gems/bundler-1.10.6/lib/bundler/runtime.rb:34:in `block in setup': You have already activated spring 1.4.0, but your Gemfile requires spring 1.3.3. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
from /home/munam/.rvm/gems/ruby-2.2.0#jugojuice/gems/bundler-1.10.6/lib/bundler/runtime.rb:19:in `setup'
from /home/munam/.rvm/gems/ruby-2.2.0#jugojuice/gems/bundler-1.10.6/lib/bundler.rb:127:in `setup'
from /home/munam/.rvm/gems/ruby-2.2.0#jugojuice/gems/bundler-1.10.6/lib/bundler/setup.rb:8:in `<top (required)>'
from /home/munam/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /home/munam/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /home/munam/.rvm/gems/ruby-2.2.0#jugojuice/gems/spring-1.4.0/lib/spring/commands.rb:33:in `<module:Spring>'
from /home/munam/.rvm/gems/ruby-2.2.0#jugojuice/gems/spring-1.4.0/lib/spring/commands.rb:4:in `<top (required)>'
from /home/munam/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /home/munam/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /home/munam/.rvm/gems/ruby-2.2.0#jugojuice/gems/spring-1.4.0/lib/spring/server.rb:9:in `<top (required)>'
from /home/munam/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'
from /home/munam/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
from /home/munam/.rvm/rubies/ruby-2.2.0/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
My Gemfile.lock is as below
GIT
remote: git://github.com/rails-api/active_model_serializers.git
revision: 1f08865a10bb06648efc170768c8c9937d441f45
specs:
active_model_serializers (0.10.0.rc3)
actionpack (>= 4.0)
activemodel (>= 4.0)
railties (>= 4.0)
GIT
remote: https://github.com/enriclluelles/route_translator.git
revision: f00b4688542689fcb99f3792d2e691e9a3c474f1
specs:
route_translator (4.0.0)
actionpack (>= 3.0, < 5.0)
activesupport (>= 3.0, < 5.0)
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.2.0)
actionpack (= 4.2.0)
actionview (= 4.2.0)
activejob (= 4.2.0)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.0)
actionview (= 4.2.0)
activesupport (= 4.2.0)
rack (~> 1.6.0)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.1)
actionview (4.2.0)
activesupport (= 4.2.0)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.1)
activejob (4.2.0)
activesupport (= 4.2.0)
globalid (>= 0.3.0)
activemodel (4.2.0)
activesupport (= 4.2.0)
builder (~> 3.1)
activerecord (4.2.0)
activemodel (= 4.2.0)
activesupport (= 4.2.0)
arel (~> 6.0)
activesupport (4.2.0)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
acts_as_list (0.7.2)
activerecord (>= 3.0)
addressable (2.3.7)
arel (6.0.0)
autoprefixer-rails (5.1.7.1)
execjs
json
awesome_nested_set (3.0.2)
activerecord (>= 4.0.0, < 5)
aws-sdk (1.6.3)
httparty (~> 0.7)
json (~> 1.4)
nokogiri (>= 1.4.4)
uuidtools (~> 2.1)
bcrypt (3.1.10)
better_errors (2.1.1)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
rack (>= 0.9.0)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
blazing (0.4.1)
activesupport
grit
i18n
logging
thor
blazing-foreman (0.1.1)
activesupport
blazing (>= 0.2.9)
foreman
blazing-rails (0.1.4)
blazing (>= 0.2.9)
httparty
blazing-upstart (0.1.0)
activesupport
blazing (>= 0.2.9)
bootstrap-kaminari-views (0.0.5)
kaminari (>= 0.13)
rails (>= 3.1)
bootstrap-sass (3.3.4.1)
autoprefixer-rails (>= 5.0.0.1)
sass (>= 3.2.19)
bootstrap3-datetimepicker-rails (4.7.14)
momentjs-rails (>= 2.8.1)
bootswatch-rails (3.2.4)
railties (>= 3.1)
breakpoint (2.5.0)
sass (~> 3.3)
sassy-maps (< 1.0.0)
buftok (0.2.0)
builder (3.2.2)
cancancan (1.10.1)
capybara (2.4.4)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
celluloid (0.16.0)
timers (~> 4.0.0)
childprocess (0.5.5)
ffi (~> 1.0, >= 1.0.11)
chunky_png (1.3.4)
ckeditor (4.1.1)
cocaine
orm_adapter (~> 0.5.0)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.7)
climate_control (>= 0.0.3, < 1.0)
coderay (1.1.0)
coffee-rails (4.1.0)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.9.1)
compass (1.0.3)
chunky_png (~> 1.2)
compass-core (~> 1.0.2)
compass-import-once (~> 1.0.5)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
sass (>= 3.3.13, < 3.5)
compass-core (1.0.3)
multi_json (~> 1.0)
sass (>= 3.3.0, < 3.5)
compass-import-once (1.0.5)
sass (>= 3.2, < 3.5)
compass-rails (2.0.4)
compass (~> 1.0.0)
sass-rails (<= 5.0.1)
sprockets (< 2.13)
crass (1.0.1)
dalli (2.7.2)
database_cleaner (1.4.1)
debug_inspector (0.0.2)
devise (3.4.1)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
responders
thread_safe (~> 0.1)
warden (~> 1.2.3)
diff-lcs (1.2.5)
docile (1.1.5)
dotenv (2.0.0)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
equalizer (0.0.9)
erubis (2.7.0)
eventmachine (1.0.7)
execjs (2.4.0)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.5.0)
factory_girl (~> 4.5.0)
railties (>= 3.0.0)
faraday (0.9.1)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.9.2)
faraday (>= 0.7.4, < 0.10)
ffi (1.9.6)
font-awesome-rails (4.3.0.0)
railties (>= 3.2, < 5.0)
foreman (0.63.0)
dotenv (>= 0.7)
thor (>= 0.13.6)
formatador (0.2.5)
friendly_id (5.1.0)
activerecord (>= 4.0.0)
friendly_id-globalize (1.0.0.alpha1)
friendly_id (>= 5.0.0.beta4, < 6.0)
geocoder (1.2.8)
get_process_mem (0.2.0)
git-deploy (0.5.4)
net-scp
net-ssh
thor
globalid (0.3.3)
activesupport (>= 4.1.0)
globalize (5.0.1)
activemodel (>= 4.2.0, < 4.3)
activerecord (>= 4.2.0, < 4.3)
globalize-accessors (0.2.0)
globalize (~> 5.0.0)
globalize-versioning (0.1.0)
activemodel (>= 3.2.0, < 5)
activerecord (>= 3.2.0, < 5)
globalize (>= 3.0.4, < 6)
paper_trail (~> 3.0.0)
gmaps4rails (2.1.2)
grit (2.5.0)
diff-lcs (~> 1.1)
mime-types (~> 1.15)
posix-spawn (~> 0.3.6)
guard (2.12.4)
formatador (>= 0.2.4)
listen (~> 2.7)
lumberjack (~> 1.0)
nenv (~> 0.1)
notiffany (~> 0.0)
pry (>= 0.9.12)
shellany (~> 0.0)
thor (>= 0.18.1)
guard-compat (1.2.1)
guard-livereload (2.4.0)
em-websocket (~> 0.5)
guard (~> 2.8)
multi_json (~> 1.8)
guard-rspec (4.5.0)
guard (~> 2.1)
guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0)
haml (4.0.6)
tilt
haml-rails (0.9.0)
actionpack (>= 4.0.1)
activesupport (>= 4.0.1)
haml (>= 4.0.6, < 5.0)
html2haml (>= 1.0.1)
railties (>= 4.0.1)
has_draft (1.3.0)
activerecord (>= 3.0.0)
activesupport (>= 3.0.0)
hashie (3.4.3)
hike (1.2.3)
hitimes (1.2.2)
html2haml (2.0.0)
erubis (~> 2.7.0)
haml (~> 4.0.0)
nokogiri (~> 1.6.0)
ruby_parser (~> 3.5)
http (0.6.3)
http_parser.rb (~> 0.6.0)
http_parser.rb (0.6.0)
http_signatures (0.2.2)
httparty (0.13.3)
json (~> 1.8)
multi_xml (>= 0.5.2)
i18n (0.7.0)
instagram (1.1.6)
faraday (>= 0.7, < 0.10)
faraday_middleware (>= 0.8, < 0.10)
hashie (>= 0.4.0)
multi_json (~> 1.0, >= 1.0.3)
jbuilder (2.2.11)
activesupport (>= 3.0.0, < 5)
multi_json (~> 1.2)
jquery-rails (4.0.3)
rails-dom-testing (~> 1.0)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (5.0.3)
railties (>= 3.2.16)
jquery-validation-rails (1.13.1)
railties (>= 3.2, < 5.0)
thor (~> 0.14)
json (1.8.2)
jwt (1.5.2)
kaminari (0.16.3)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
kgio (2.9.3)
launchy (2.4.3)
addressable (~> 2.3)
libv8 (3.16.14.7)
listen (2.9.0)
celluloid (>= 0.15.2)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
little-plugger (1.1.3)
logging (1.8.2)
little-plugger (>= 1.1.3)
multi_json (>= 1.8.4)
loofah (2.0.1)
nokogiri (>= 1.5.9)
lumberjack (1.0.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
method_source (0.8.2)
mime-types (1.25.1)
mini_portile (0.6.2)
minitest (5.5.1)
momentjs-rails (2.10.2)
railties (>= 3.1)
multi_json (1.11.0)
multi_xml (0.5.5)
multipart-post (2.0.0)
naught (1.0.0)
nenv (0.2.0)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (2.9.2)
nokogiri (1.6.6.2)
mini_portile (~> 0.6.0)
nokogumbo (1.2.0)
nokogiri
notiffany (0.0.6)
nenv (~> 0.1)
shellany (~> 0.0)
oauth2 (1.0.0)
faraday (>= 0.8, < 0.10)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (~> 1.2)
omniauth (1.2.2)
hashie (>= 1.2, < 4)
rack (~> 1.0)
omniauth-facebook (3.0.0)
omniauth-oauth2 (~> 1.2)
omniauth-oauth2 (1.4.0)
oauth2 (~> 1.0)
omniauth (~> 1.2)
orm_adapter (0.5.0)
paper_trail (3.0.7)
activerecord (>= 3.0, < 5.0)
activesupport (>= 3.0, < 5.0)
paperclip (4.2.1)
activemodel (>= 3.0.0)
activesupport (>= 3.0.0)
cocaine (~> 0.5.3)
mime-types
pg (0.18.1)
posix-spawn (0.3.10)
pr_geohash (1.0.0)
pry (0.10.1)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-rails (0.3.4)
pry (>= 0.9.10)
quiet_assets (1.1.0)
railties (>= 3.1, < 5.0)
rack (1.6.0)
rack-livereload (0.3.15)
rack
rack-rewrite (1.5.1)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.0)
actionmailer (= 4.2.0)
actionpack (= 4.2.0)
actionview (= 4.2.0)
activejob (= 4.2.0)
activemodel (= 4.2.0)
activerecord (= 4.2.0)
activesupport (= 4.2.0)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.0)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.5)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.2)
loofah (~> 2.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.4)
rails_stdout_logging (0.0.3)
railties (4.2.0)
actionpack (= 4.2.0)
activesupport (= 4.2.0)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
raindrops (0.13.0)
rake (10.4.2)
rb-fsevent (0.9.4)
rb-inotify (0.9.5)
ffi (>= 0.5.0)
rdoc (4.2.0)
json (~> 1.4)
ref (1.0.5)
responders (2.1.0)
railties (>= 4.2.0, < 5)
rsolr (1.0.12)
builder (>= 2.1.2)
rspec (3.2.0)
rspec-core (~> 3.2.0)
rspec-expectations (~> 3.2.0)
rspec-mocks (~> 3.2.0)
rspec-core (3.2.2)
rspec-support (~> 3.2.0)
rspec-expectations (3.2.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-mocks (3.2.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.2.0)
rspec-rails (3.2.1)
actionpack (>= 3.0, < 4.3)
activesupport (>= 3.0, < 4.3)
railties (>= 3.0, < 4.3)
rspec-core (~> 3.2.0)
rspec-expectations (~> 3.2.0)
rspec-mocks (~> 3.2.0)
rspec-support (~> 3.2.0)
rspec-support (3.2.2)
ruby_parser (3.6.5)
sexp_processor (~> 4.1)
rubyzip (1.1.7)
sanitize (3.1.2)
crass (~> 1.0.1)
nokogiri (>= 1.4.4)
nokogumbo (= 1.2.0)
sass (3.4.13)
sass-rails (5.0.1)
railties (>= 4.0.0, < 5.0)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (~> 1.1)
sassy-maps (0.4.0)
sass (~> 3.3)
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
selenium-webdriver (2.45.0)
childprocess (~> 0.5)
multi_json (~> 1.0)
rubyzip (~> 1.0)
websocket (~> 1.0)
sexp_processor (4.5.0)
shellany (0.0.1)
shoulda-matchers (2.8.0)
activesupport (>= 3.0.0)
simple_form (3.1.0)
actionpack (~> 4.0)
activemodel (~> 4.0)
simple_oauth (0.3.1)
simplecov (0.9.2)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.9.0)
simplecov-html (0.9.0)
slop (3.6.0)
spring (1.3.3)
sprockets (2.12.3)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.2.4)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
stream-ruby (2.2.3)
http_signatures (~> 0)
httparty (~> 0)
stream_rails (2.3.1)
actionpack (>= 3.0.0)
activerecord (>= 3.0.0)
railties (>= 3.0.0)
stream-ruby (~> 2.2.3)
sunspot (2.2.0)
pr_geohash (~> 1.0)
rsolr (~> 1.0.7)
sunspot_rails (2.2.0)
nokogiri
rails (>= 3)
sunspot (= 2.2.0)
sunspot_solr (2.2.0)
susy (2.2.2)
sass (>= 3.3.0, < 3.5)
therubyracer (0.12.1)
libv8 (~> 3.16.14.0)
ref
thor (0.19.1)
thread_safe (0.3.5)
tilt (1.4.1)
timecop (0.7.3)
timers (4.0.1)
hitimes
truncate_html (0.9.3)
turbolinks (2.5.3)
coffee-rails
twitter (5.14.0)
addressable (~> 2.3)
buftok (~> 0.2.0)
equalizer (~> 0.0.9)
faraday (~> 0.9.0)
http (~> 0.6.0)
http_parser.rb (~> 0.6.0)
json (~> 1.8)
memoizable (~> 0.4.0)
naught (~> 1.0)
simple_oauth (~> 0.3.0)
twitter-text (1.11.0)
unf (~> 0.1.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
uglifier (2.7.1)
execjs (>= 0.3.0)
json (>= 1.8.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.6)
unicorn (4.8.3)
kgio (~> 2.6)
rack
raindrops (~> 0.7)
unicorn-worker-killer (0.4.3)
get_process_mem (~> 0)
unicorn (~> 4)
uuidtools (2.1.5)
validates_email_format_of (1.6.2)
i18n
warden (1.2.3)
rack (>= 1.0)
websocket (1.2.1)
xpath (2.0.0)
nokogiri (~> 1.3)
xray-rails (0.1.16)
coffee-rails
rails (>= 3.1.0)
PLATFORMS
ruby
DEPENDENCIES
active_model_serializers!
acts_as_list
awesome_nested_set
aws-sdk (= 1.6.3)
better_errors
binding_of_caller
blazing
blazing-foreman
blazing-rails
blazing-upstart
bootstrap-kaminari-views
bootstrap-sass (~> 3.3.4)
bootstrap3-datetimepicker-rails (~> 4.7.14)
bootswatch-rails
breakpoint
cancancan
capybara
ckeditor
coffee-rails (~> 4.1.0)
compass
compass-rails
dalli
database_cleaner
devise
execjs
factory_girl_rails
font-awesome-rails
foreman (~> 0.63.0)
friendly_id
friendly_id-globalize
geocoder
git-deploy
globalize (~> 5.0.0)
globalize-accessors
globalize-versioning
gmaps4rails
guard
guard-livereload
guard-rspec
haml-rails
has_draft
instagram
jbuilder (~> 2.0)
jquery-rails
jquery-ui-rails
jquery-validation-rails
kaminari
launchy
momentjs-rails (>= 2.9.0)
omniauth-facebook
paper_trail (~> 3.0.5)
paperclip
pg
pry-rails
quiet_assets
rack-livereload
rack-rewrite
rails (= 4.2.0)
rails_12factor
rails_serve_static_assets
rails_stdout_logging
rb-fsevent
route_translator!
rspec
rspec-rails
sanitize
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
selenium-webdriver
shoulda-matchers
simple_form
simplecov
spring
stream_rails
sunspot_rails
sunspot_solr
susy
therubyracer
timecop
truncate_html
turbolinks
twitter
twitter-text
uglifier (>= 1.3.0)
unicorn
unicorn-worker-killer
validates_email_format_of
xray-rails
BUNDLED WITH
1.10.6
From the error, it shows spring 1.3.3 only. What do I need to change so that the issue is fixed. I am using ruby 2.2.0 and rails 4.2.0
Please suggest what needs to be done to fix this issue
Thanks in advance.
I fixed it using this.
bundle update spring

Can't get youtube_it initialized in my controller

I'm wanting to build an app where I can search for videos on YouTube. It seems the most popular choice is youtube_it gem for doing so.
I added the gem to my Gemfile, and run bundle install. When I do bundle query --local I can see that the gem is preset (version 2.1.4).
So, according to the README it seems to me I should do something like this in my controller(?):
class ConsoleController < ApplicationController
.
.
.
def search
require 'youtube_it'
client = YouTubeIt::Client.new(:dev_key => "my developer key")
end
end
But I get "cannot load such file -- youtube_it" error
If I remove the require function, I get "uninitialized constant ConsoleController::YouTubeIt" error.
Does anyone know what I'm doing wrong here?
UPDATE:
/Gemfile.lock
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.0.3)
actionpack (= 4.0.3)
mail (~> 2.5.4)
actionpack (4.0.3)
activesupport (= 4.0.3)
builder (~> 3.1.0)
erubis (~> 2.7.0)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
activemodel (4.0.3)
activesupport (= 4.0.3)
builder (~> 3.1.0)
activerecord (4.0.3)
activemodel (= 4.0.3)
activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.3)
arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.3)
i18n (~> 0.6, >= 0.6.4)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
addressable (2.3.6)
arel (4.0.2)
bcrypt (3.1.7)
bootstrap-sass (3.1.1.1)
sass (~> 3.2)
builder (3.1.4)
capybara (2.2.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
coderay (1.1.0)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.7.0)
devise (3.2.4)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
thread_safe (~> 0.1)
warden (~> 1.2.3)
diff-lcs (1.2.5)
erubis (2.7.0)
execjs (2.0.2)
factory_girl (4.2.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.2.1)
factory_girl (~> 4.2.0)
railties (>= 3.0.0)
haml (4.0.5)
tilt
haml-rails (0.5.3)
actionpack (>= 4.0.1)
activesupport (>= 4.0.1)
haml (>= 3.1, < 5.0)
railties (>= 4.0.1)
hike (1.2.3)
i18n (0.6.9)
jbuilder (1.5.3)
activesupport (>= 3.0.0)
multi_json (>= 1.2.0)
jquery-rails (3.1.0)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
json (1.8.1)
launchy (2.4.2)
addressable (~> 2.3)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
method_source (0.8.2)
mime-types (1.25.1)
mini_portile (0.5.3)
minitest (4.7.5)
multi_json (1.9.3)
nokogiri (1.6.1)
mini_portile (~> 0.5.0)
orm_adapter (0.5.0)
pg (0.17.1)
polyglot (0.3.4)
pry (0.9.12.6)
coderay (~> 1.0)
method_source (~> 0.8)
slop (~> 3.4)
pry-rails (0.3.2)
pry (>= 0.9.10)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.0.3)
actionmailer (= 4.0.3)
actionpack (= 4.0.3)
activerecord (= 4.0.3)
activesupport (= 4.0.3)
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.3)
sprockets-rails (~> 2.0.0)
railties (4.0.3)
actionpack (= 4.0.3)
activesupport (= 4.0.3)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.3.1)
rdoc (4.1.1)
json (~> 1.4)
rspec-core (2.14.8)
rspec-expectations (2.14.5)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.6)
rspec-rails (2.14.2)
actionpack (>= 3.0)
activemodel (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
sass (3.2.19)
sass-rails (4.0.3)
railties (>= 4.0.0, < 5.0)
sass (~> 3.2.0)
sprockets (~> 2.8, <= 2.11.0)
sprockets-rails (~> 2.0)
sdoc (0.4.0)
json (~> 1.8)
rdoc (~> 4.0, < 5.0)
slop (3.5.0)
sprockets (2.11.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.0.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
thor (0.19.1)
thread_safe (0.3.3)
tilt (1.4.1)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
turbolinks (2.2.2)
coffee-rails
tzinfo (0.3.39)
uglifier (2.5.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
warden (1.2.3)
rack (>= 1.0)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
bootstrap-sass (~> 3.1.1)
capybara
coffee-rails (~> 4.0.0)
devise
factory_girl_rails (~> 4.2.1)
haml-rails
jbuilder (~> 1.2)
jquery-rails
launchy (~> 2.4.2)
pg
pry-rails
rails (= 4.0.3)
rspec-rails
sass-rails (~> 4.0.0)
sdoc
turbolinks
uglifier (>= 1.3.0)
It seems that youtube_it gem is still not installed. Double check that gem 'youtube_it' is included in Gemfile and run bundle update
Alternatively you can also delete Gemfile.lock and then run bundle install

Rails 4.0 - method_missing: with_options issue with models

I have an issue with rails 4 application. In my User model (actually, it's the same with any other model) I can't use with_options method. If I have a code like this:
class User < ActiveRecord::Base
# ...
with_options :unless => :is_person do |u|
u.validates :company_name, presence: true
u.validates :company_address, presence: true
end
# ...
end
I end up with a message like this, at the boot time of my application:
> Booting WEBrick
=> Rails 4.0.0 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
/Users/mike/.rvm/gems/ruby-2.0.0-p0#leo4/gems/activerecord-4.0.0/lib/active_record/dynamic_matchers.rb:22:in `method_missing': undefined method `  with_options' for #<Class:0x007fed97c0a6e8> (NoMethodError)
from /Users/mike/dev/leo4/app/models/user.rb:57:in `<class:User>'
...
The picture is the same, if this block is empty with no validations at all.
Something really weird is going on, because the method exists if I just remove these lines, fire up a console and check for it. It looks like its a boot time only problem (?)
Any thoughts? Thanks!
P.S. My Gemfile.lock:
GIT
remote: git://github.com/gregbell/active_admin.git
revision: 72a9c30cef47b3f38c38039de021aaa3194c188b
branch: rails4
specs:
activeadmin (0.6.0)
arbre (>= 1.0.1)
bourbon (>= 1.0.0)
coffee-rails (>= 3.2.0)
devise (>= 3.0.2)
formtastic (>= 2.3.0.rc2)
inherited_resources (>= 1.4.1)
jquery-rails (>= 3.0.0)
jquery-ui-rails (>= 4.0.0)
kaminari (>= 0.13.0)
rails (>= 3.2.0)
ransack (>= 1.0.0)
sass-rails (>= 3.2.0)
GIT
remote: git://github.com/justinfrench/formtastic.git
revision: cd6cb88f28ea7444267802ced8e5ec0f5cfd0f90
branch: master
specs:
formtastic (2.3.0.rc2)
actionpack (>= 3.0)
GIT
remote: git://github.com/sporkrb/spork-rails.git
revision: 3224f84d8c31fcb0894e9a43f6c3ac67e3aa0d71
specs:
spork-rails (3.2.1)
rails (>= 3.0.0, < 5)
spork (>= 1.0rc0)
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.0.0)
actionpack (= 4.0.0)
mail (~> 2.5.3)
actionpack (4.0.0)
activesupport (= 4.0.0)
builder (~> 3.1.0)
erubis (~> 2.7.0)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
activemodel (4.0.0)
activesupport (= 4.0.0)
builder (~> 3.1.0)
activerecord (4.0.0)
activemodel (= 4.0.0)
activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.0)
arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.0)
i18n (~> 0.6, >= 0.6.4)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
annotate (2.5.0)
rake
arbre (1.0.1)
activesupport (>= 3.0.0)
arel (4.0.0)
atomic (1.1.13)
bcrypt-ruby (3.1.1)
bourbon (3.1.8)
sass (>= 3.2.0)
thor
builder (3.1.4)
cancan (1.6.10)
capybara (2.1.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
capybara-webkit (1.0.0)
capybara (~> 2.0, >= 2.0.2)
json
coffee-rails (4.0.0)
coffee-script (>= 2.2.0)
railties (>= 4.0.0.beta, < 5.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.6.3)
cucumber (1.3.7)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12.1)
multi_json (~> 1.7.5)
multi_test (>= 0.0.2)
database_cleaner (1.0.1)
devise (3.0.2)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
warden (~> 1.2.3)
diff-lcs (1.2.4)
draper (1.2.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
request_store (~> 1.0.3)
erubis (2.7.0)
execjs (1.4.0)
multi_json (~> 1.0)
factory_girl (4.2.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.2.1)
factory_girl (~> 4.2.0)
railties (>= 3.0.0)
faraday (0.8.8)
multipart-post (~> 1.2.0)
ffaker (1.18.0)
gherkin (2.12.1)
multi_json (~> 1.3)
has_scope (0.6.0.rc)
actionpack (>= 3.2, < 5)
activesupport (>= 3.2, < 5)
hashie (2.0.5)
hike (1.2.3)
httpauth (0.2.0)
i18n (0.6.5)
inherited_resources (1.4.1)
has_scope (~> 0.6.0.rc)
responders (~> 1.0.0.rc)
jbuilder (1.4.2)
activesupport (>= 3.0.0)
multi_json (>= 1.2.0)
jquery-rails (3.0.4)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
jquery-ui-rails (4.0.4)
jquery-rails
railties (>= 3.1.0)
json (1.8.0)
jwt (0.1.8)
multi_json (>= 1.5)
kaminari (0.14.1)
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
libv8 (3.11.8.17)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.23)
mini_portile (0.5.1)
minitest (4.7.5)
multi_json (1.7.9)
multi_test (0.0.2)
multipart-post (1.2.0)
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
oauth2 (0.8.1)
faraday (~> 0.8)
httpauth (~> 0.1)
jwt (~> 0.1.4)
multi_json (~> 1.0)
rack (~> 1.2)
omniauth (1.1.4)
hashie (>= 1.2, < 3)
rack
omniauth-facebook (1.4.1)
omniauth-oauth2 (~> 1.1.0)
omniauth-mailru (1.0.0)
omniauth (~> 1.0)
omniauth-oauth2 (~> 1.0)
omniauth-oauth2 (1.1.1)
oauth2 (~> 0.8.0)
omniauth (~> 1.0)
omniauth-odnoklassniki (0.0.4)
omniauth (~> 1.0)
omniauth-oauth2 (~> 1.0)
omniauth-vkontakte (1.2.0)
multi_json
omniauth (~> 1.1.0)
omniauth-oauth2 (~> 1.0)
orm_adapter (0.4.0)
polyamorous (0.6.3)
activerecord (>= 3.0)
polyglot (0.3.3)
rack (1.5.2)
rack-test (0.6.2)
rack (>= 1.0)
rails (4.0.0)
actionmailer (= 4.0.0)
actionpack (= 4.0.0)
activerecord (= 4.0.0)
activesupport (= 4.0.0)
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.0)
sprockets-rails (~> 2.0.0)
railties (4.0.0)
actionpack (= 4.0.0)
activesupport (= 4.0.0)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.1.0)
ransack (1.0.0)
actionpack (>= 3.0)
activerecord (>= 3.0)
polyamorous (~> 0.6.0)
rdiscount (2.1.6)
rdoc (3.12.2)
json (~> 1.4)
redis (3.0.4)
redis-actionpack (4.0.0)
actionpack (~> 4)
redis-rack (~> 1.5.0)
redis-store (~> 1.1.0)
redis-activesupport (4.0.0)
activesupport (~> 4)
redis-store (~> 1.1.0)
redis-rack (1.5.0)
rack (~> 1.5)
redis-store (~> 1.1.0)
redis-rails (4.0.0)
redis-actionpack (~> 4)
redis-activesupport (~> 4)
redis-store (~> 1.1.0)
redis-store (1.1.4)
redis (>= 2.2)
ref (1.0.5)
request_store (1.0.5)
responders (1.0.0.rc)
railties (>= 3.2, < 5)
rspec-core (2.14.5)
rspec-expectations (2.14.2)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.14.3)
rspec-rails (2.14.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
sass (3.2.10)
sass-rails (4.0.0)
railties (>= 4.0.0.beta, < 5.0)
sass (>= 3.1.10)
sprockets-rails (~> 2.0.0)
sdoc (0.3.20)
json (>= 1.1.3)
rdoc (~> 3.10)
simple_form (1.4.1)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
slim (2.0.1)
temple (~> 0.6.6)
tilt (>= 1.3.3, < 2.1)
slim-rails (2.0.1)
actionpack (>= 3.0, < 4.1)
activesupport (>= 3.0, < 4.1)
railties (>= 3.0, < 4.1)
slim (~> 2.0)
spork (1.0.0rc3)
sprockets (2.10.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.0.0)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
sqlite3 (1.3.7)
temple (0.6.6)
therubyracer (0.11.4)
libv8 (~> 3.11.8.12)
ref
thor (0.18.1)
thread_safe (0.1.2)
atomic
tilt (1.4.1)
treetop (1.4.14)
polyglot
polyglot (>= 0.3.1)
turbolinks (1.3.0)
coffee-rails
tzinfo (0.3.37)
uglifier (2.1.2)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
warden (1.2.3)
rack (>= 1.0)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
activeadmin!
annotate (>= 2.5.0)
cancan (= 1.6.10)
capybara
capybara-webkit
coffee-rails (~> 4.0.0)
cucumber
database_cleaner (< 1.1.0)
devise (= 3.0.2)
draper (~> 1.0)
factory_girl_rails
ffaker
formtastic!
jbuilder (~> 1.2)
jquery-rails (= 3.0.4)
kaminari (= 0.14.1)
omniauth (= 1.1.4)
omniauth-facebook
omniauth-mailru
omniauth-odnoklassniki
omniauth-vkontakte
rails (= 4.0.0)
rdiscount
redis-rails (~> 4.0.0)
rspec-rails (~> 2.0)
sass-rails (~> 4.0.0)
sdoc
simple_form (= 1.4.1)
simplecov
slim-rails (= 2.0.1)
spork-rails!
sqlite3
therubyracer
turbolinks (= 1.3.0)
uglifier (>= 1.3.0)
Require ActiveSupport:
require 'active_support/all'

Resources