Rake Command Not Working - ruby-on-rails

Getting this error while running RAKE command :-
rake --trace
rake aborted!
There was an error while trying to load the gem 'coffee-rails'.
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler/runtime.rb:81:in rescue in block (2 levels) in require'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler/runtime.rb:72:in `block in require'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `each'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler/runtime.rb:61:in `require'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/bundler-1.11.2/lib/bundler.rb:99:in `require'
/apps/apache/Sekhmet/user/config/application.rb:7:in `<top (required)>'
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'
/apps/apache/Sekhmet/user/Rakefile:5:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/rake_module.rb:25:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/rake_module.rb:25:in `load_rakefile'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:637:in `raw_load_rakefile'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:94:in `block in load_rakefile'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:93:in `load_rakefile'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:77:in `block in run'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p194/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p194/bin/rake:22:in `load'
/usr/local/rvm/gems/ruby-1.9.3-p194/bin/rake:22:in `<main>'
Following is my Rake File:-
require File.expand_path('../config/application', FILE)
MyAppName::Application.load_tasks
Please Help!

Do this
gem install coffee-rails
Then restart server and run rake command

Related

unable to run rake tasks from docker

I have this
RUN RAILS_ENV=production bundle exec rails hello:world --trace
in my Dockerfile
and I have the following in the lib/tasks/hello.rake
namespace :hello do
task world: :environment do
puts "hello world"
end
end
I am getting the following error
Step 19/38 : RUN RAILS_ENV=production bundle exec rails hello:world --trace
---> Running in e98bd85e9e81
rails aborted!
LoadError: cannot load such file -- etc
/app/vendor/bundle/ruby/2.5.0/gems/puma-3.11.4/lib/puma.rb:5:in `require'
/app/vendor/bundle/ruby/2.5.0/gems/puma-3.11.4/lib/puma.rb:5:in `<top (required)>'
/usr/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `require'
/usr/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
/usr/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `each'
/usr/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `block in require'
/usr/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `each'
/usr/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `require'
/usr/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler.rb:114:in `require'
/app/config/application.rb:19:in `<top (required)>'
/app/Rakefile:4:in `require_relative'
/app/Rakefile:4:in `<top (required)>'
/app/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load'
/app/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/rake_module.rb:29:in `load_rakefile'
/app/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:703:in `raw_load_rakefile'
/app/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:104:in `block in load_rakefile'
/app/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'
/app/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:103:in `load_rakefile'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6/lib/rails/commands/rake/rake_command.rb:20:in `block in perform'
/app/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/lib/rake/application.rb:186:in `standard_exception_handling'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6/lib/rails/commands/rake/rake_command.rb:18:in `perform'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6/lib/rails/command.rb:46:in `invoke'
/app/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6/lib/rails/commands.rb:16:in `<top (required)>'
bin/rails:9:in `require'
bin/rails:9:in `<main>'
The command '/bin/sh -c RAILS_ENV=production bundle exec rails hello:world --trace' returned a non-zero code: 1

rake aborted: LoadError: cannot load such file -- /home/deploy/myapp/config/application

I am getting following error while running command
bundle exec rake db:migrate --trace
I am using rvm and ruby version is 2.3.1.
Here is output
deploy#localhost:~/my-sources$ bundle exec rake db:migrate
--trace rake aborted! LoadError: cannot load such file -- /home/deploy/myapp/config/application
/home/deploy/myapp-sources/Rakefile:4:in `require'
/home/deploy/myapp-sources/Rakefile:4:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load_rakefile'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:689:in `raw_load_rakefile'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:94:in `block in load_rakefile'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:93:in `load_rakefile'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:77:in `block in run'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/usr/local/rvm/gems/ruby-2.3.1#global/gems/rake-10.4.2/bin/rake:33:in `<top (required)>' /usr/local/rvm/rubies/ruby-2.3.1/bin/rake:23:in
`load' /usr/local/rvm/rubies/ruby-2.3.1/bin/rake:23:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/cli/exec.rb:74:in `load'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/cli/exec.rb:74:in `kernel_load'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/cli/exec.rb:28:in `run'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/cli.rb:463:in `exec'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/cli.rb:27:in `dispatch'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/cli.rb:18:in `start'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/exe/bundle:30:in `block in <top (required)>'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/usr/local/rvm/gems/ruby-2.3.1/gems/bundler-1.17.1/exe/bundle:22:in `<top (required)>' /usr/local/rvm/gems/ruby-2.3.1/bin/bundle:23:in `load' /usr/local/rvm/gems/ruby-2.3.1/bin/bundle:23:in `<main>'
/usr/local/rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in
`<main>'

LoadError: cannot load such file -- spec/rake/spectask Fedena

:~/Documents/fedena/fedena-v2.3-bundle-linux$ rake db:create
rake aborted!
LoadError: cannot load such file -- spec/rake/spectask
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `block in require'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
/home/cool_admin/Documents/fedena/fedena-v2.3-bundle-linux/lib/tasks/rspec.rake:22:in `<top (required)>'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `block in load_with_new_constant_marking'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking'
/var/lib/gems/1.9.1/gems/rails-2.3.5/lib/tasks/rails.rb:9:in `block in <top (required)>'
/var/lib/gems/1.9.1/gems/rails-2.3.5/lib/tasks/rails.rb:9:in `each'
/var/lib/gems/1.9.1/gems/rails-2.3.5/lib/tasks/rails.rb:9:in `<top (required)>'
/home/cool_admin/Documents/fedena/fedena-v2.3-bundle-linux/Rakefile:12:in `<top (required)>'
(See full trace by running task with --trace)
---------------------------------------------------------
~/Documents/fedena/fedena-v2.3-bundle-linux$ rake db:create --trace
rake aborted!
LoadError: cannot load such file -- spec/rake/spectask
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `block in require'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in `require'
/home/cool_admin/Documents/fedena/fedena-v2.3-bundle-linux/lib/tasks/rspec.rake:22:in `<top (required)>'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `block in load_with_new_constant_marking'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in `new_constants_in'
/var/lib/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:145:in `load_with_new_constant_marking'
/var/lib/gems/1.9.1/gems/rails-2.3.5/lib/tasks/rails.rb:9:in `block in <top (required)>'
/var/lib/gems/1.9.1/gems/rails-2.3.5/lib/tasks/rails.rb:9:in `each'
/var/lib/gems/1.9.1/gems/rails-2.3.5/lib/tasks/rails.rb:9:in `<top (required)>'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/home/cool_admin/Documents/fedena/fedena-v2.3-bundle-linux/Rakefile:12:in `<top (required)>'
/var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in `load'
/var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in `load_rakefile'
/var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/application.rb:687:in `raw_load_rakefile'
/var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/application.rb:94:in `block in load_rakefile'
/var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
/var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/application.rb:93:in `load_rakefile'
/var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/application.rb:77:in `block in run'
/var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
/var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
/var/lib/gems/1.9.1/gems/rake-10.3.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
It looks like you've upgraded from RSpec 1 to RSpec 2. You need to update your Rakefile to use the new require format:
rspec-1
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--options', "\"spec/spec.opts\""]
t.spec_files = FileList['spec/**/*.rb']
end
rspec-2
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new do |t|
t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]
t.pattern = 'spec/**/*_spec.rb'
end
Additional info about upgrading RSpec can be found here:
https://www.relishapp.com/rspec/rspec-core/docs/upgrade

Error with Rake RDoc using Rails 4

Rake is failing to run after an upgrade to Rails 4 and it was running fine before I upgraded my gems. I am on Ruby 1.9.3. For some reason rdoc doesn't recognize the markup attribute, but I can't find anything about it getting removed or renamed.
This is the error message I am getting.
undefined method `markup=' for #<RDoc::Task:0x007fb4b46be660>
The relevant code snippet (complete deploy.rake not shown)
RollOut::DeployTask.new do |d|
d.test = RSpec::Core::RakeTask.new
d.doc = RDoc::Task.new :doc do |rdoc|
rdoc.rdoc_files.include('README.md', 'lib/**/*.rb', 'app/**/*.rb')
rdoc.rdoc_dir = 'target/doc'
rdoc.markup = 'tomdoc'
end
The complete trace:
> RAILS_ENV=production rake assets:precompile --trace
rake aborted!
undefined method `markup=' for #<RDoc::Task:0x007fb4b46be660>
/Users/rust/test_app/lib/tasks/deploy.rake:16:in `block (2 levels) in
<top (required)>'
/Users/rust/.rvm/rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/rdoc/task.rb:158:in
`initialize'
/Users/rust/test_app/lib/tasks/deploy.rake:14:in `new'
/Users/rust/test_app/lib/tasks/deploy.rake:14:in `block in <top
(required)>'
/Users/rust/roll_out/lib/roll_out/deploy_task.rb:73:in `initialize'
/Users/rust/test_app/lib/tasks/deploy.rake:12:in `new'
/Users/rust/test_app/lib/tasks/deploy.rake:12:in `<top (required)>'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-
4.0.0/lib/active_support/dependencies.rb:222:in `load'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-
4.0.0/lib/active_support/dependencies.rb:222:in `block in load'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-
4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/activesupport-
4.0.0/lib/active_support/dependencies.rb:222:in `load'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties-
4.0.0/lib/rails/engine.rb:641:in `block in run_tasks_blocks'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties-
4.0.0/lib/rails/engine.rb:641:in `each'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties-
4.0.0/lib/rails/engine.rb:641:in `run_tasks_blocks'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties-
4.0.0/lib/rails/application.rb:244:in `run_tasks_blocks'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties-
4.0.0/lib/rails/engine.rb:446:in `load_tasks'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/railties-
4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
/Users/rust/test_app/Rakefile:7:in `<top (required)>'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/rake_module.rb:25:in `load'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/rake_module.rb:25:in `load_rakefile'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:637:in `raw_load_rakefile'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:94:in `block in load_rakefile'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:93:in `load_rakefile'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:77:in `block in run'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-
10.1.0/lib/rake/application.rb:75:in `run'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/gems/rake-10.1.0/bin/rake:33:in `<top
(required)>'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/bin/rake:23:in `load'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/bin/rake:23:in `<main>'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in `eval'
/Users/rust/.rvm/gems/ruby-1.9.3-p429/bin/ruby_noexec_wrapper:14:in `<main>'
Does anyone has any idea what could be causing this and/or how to fix it?
The error seems to go away if I add gem 'rdoc' to my gem file. I am not sure why this makes any difference, because it was already a dependency of another gem

cant run a rake task on Heroku

I am running this command 'heroku run -a my_app RAILS_ENV=production rake -T --trace'
And I receive this stacktrace:
rake aborted!
undefined method `task' for #<Rspec::Core::RakeTask:0x00000002e82d60>
/app/lib/tasks/rspec.rake:9:in `initialize'
/app/lib/tasks/rspec.rake:39:in `new'
/app/lib/tasks/rspec.rake:39:in `<top (required)>'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in `load'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in `block in load'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency'
/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:245:in `load'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/engine.rb:425:in `block in load_tasks'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/engine.rb:425:in `each'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/engine.rb:425:in `load_tasks'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/application.rb:145:in `load_tasks'
/app/.bundle/gems/ruby/1.9.1/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `method_missing'
/app/Rakefile:12:in `<top (required)>'
/app/.bundle/gems/ruby/1.9.1/gems/rake-10.0.3/lib/rake/rake_module.rb:25:in `load'
/app/.bundle/gems/ruby/1.9.1/gems/rake-10.0.3/lib/rake/rake_module.rb:25:in `load_rakefile'
/app/.bundle/gems/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:583:in `raw_load_rakefile'
/app/.bundle/gems/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:89:in `block in load_rakefile'
/app/.bundle/gems/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:160:in `standard_exception_handling'
/app/.bundle/gems/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:88:in `load_rakefile'
/app/.bundle/gems/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:72:in `block in run'
/app/.bundle/gems/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:160:in `standard_exception_handling'
/app/.bundle/gems/ruby/1.9.1/gems/rake-10.0.3/lib/rake/application.rb:70:in `run'
/app/.bundle/gems/ruby/1.9.1/gems/rake-10.0.3/bin/rake:33:in `<top (required)>'
.bundle/gems/ruby/1.9.1/bin/rake:19:in `load'
.bundle/gems/ruby/1.9.1/bin/rake:19:in `<main>'
This is part from my gemfile:
gem "rails", "~> 3.2.13"
gem 'json', '~>1.7.7'

Resources