Rake aborted with ruby on rails

when i run * rake db:create*
*
*
WARNING: ‘require ‘rake/rdoctask’’ is deprecated. Please use ‘require
‘rdoc/task’ (in RDoc 2.4.2+)’ instead.
at
/home/vishnu/.rvm/gems/[email protected]/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
DEPRECATION WARNING: Rake tasks in
vendor/plugins/exception_logger/tasks,
vendor/plugins/jrails/tasks, vendor/plugins/jrails_auto_complete/tasks,
and
vendor/plugins/mongo_db_logger/tasks are deprecated. Use lib/tasks
instead.
(called from
/home/vishnu/.rvm/gems/[email protected]/gems/rails-2.3.11/lib/tasks/rails.rb:10)
DEPRECATION WARNING: Kernel#returning has been deprecated in favor of
Object#tap. (called from enable_activerecord at
/home/vishnu/.rvm/gems/[email protected]/gems/mislav-will_paginate-2.3.11/lib/will_paginate.rb:39)
** TwitterAuth initialized properly.
rake aborted!
/home/vishnu/.rvm/gems/[email protected]/gems/texticle-2.0.2/lib/texticle.rb:44:
syntax error, unexpected tIDENTIFIER, expecting tAMPER
send(method, search_terms, exclusive)
^
/home/vishnu/.rvm/gems/[email protected]/gems/texticle-2.0.2/lib/texticle.rb:78:
undefined (?..) sequence: /^search_by_(?[_a-zA-Z]\w
)$/
/home/vishnu/.rvm/gems/[email protected]/gems/texticle-2.0.2/lib/texticle.rb:86:
undefined (?..) sequence: /^search_by_(?[_a-zA-Z]\w*)$/

(See full trace by running task with --trace)

On 22 November 2011 10:27, amvis [email protected] wrote:

when i run rake db:create
WARNING: ‘require ‘rake/rdoctask’’ is deprecated. Please use ‘require
‘rdoc/task’ (in RDoc 2.4.2+)’ instead.
at

/home/vishnu/.rvm/gems/[email protected]/gems/rake-0.9.2.2/lib/rake/rdoctask.rb

DEPRECATION WARNING: Rake tasks in vendor/plugins/exception_logger/tasks,
vendor/plugins/jrails/tasks, vendor/plugins/jrails_auto_complete/tasks, and
vendor/plugins/mongo_db_logger/tasks are deprecated. Use lib/tasks instead.

It looks like you might have out of date plugins in the vendor
directory, though these are only warnings.

(called from

/home/vishnu/.rvm/gems/[email protected]/gems/rails-2.3.11/lib/tasks/rails.rb:10)

DEPRECATION WARNING: Kernel#returning has been deprecated in favor of
Object#tap. (called from enable_activerecord at

/home/vishnu/.rvm/gems/[email protected]/gems/mislav-will_paginate-2.3.11/lib/will_paginate.rb:39)

** TwitterAuth initialized properly.
rake aborted!

/home/vishnu/.rvm/gems/[email protected]/gems/texticle-2.0.2/lib/texticle.rb:44:

syntax error, unexpected tIDENTIFIER, expecting tAMPER
send(method, *search_terms, exclusive)

This is saying there is an error in the textile gem, I don’t know
about that, but is that version compatible with the ruby and rails
that you are using?

Colin

Thanks colin for the reply.

The above problem have fixed, because i had the 2 version of textcile.
so
just i uninstall one. and keep the match version of rail2.3.11.That has
fixed. But now i problem with memcached

when i run rake db:create
WARNING: ‘require ‘rake/rdoctask’’ is deprecated. Please use ‘require
‘rdoc/task’ (in RDoc 2.4.2+)’ instead.
at
/home/vishnu/.rvm/gems/[email protected]/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
DEPRECATION WARNING: Rake tasks in
vendor/plugins/exception_logger/tasks,
vendor/plugins/jrails/tasks, vendor/plugins/jrails_auto_complete/tasks,
and
vendor/plugins/mongo_db_logger/tasks are deprecated. Use lib/tasks
instead.
(called from
/home/vishnu/.rvm/gems/[email protected]/gems/rails-2.3.11/lib/tasks/rails.rb:10)
DEPRECATION WARNING: Kernel#returning has been deprecated in favor of
Object#tap. (called from enable_activerecord at
/home/vishnu/.rvm/gems/[email protected]/gems/mislav-will_paginate-2.3.11/lib/will_paginate.rb:39)
** TwitterAuth initialized properly.
Missing these required gems:
memcached

You’re running:
ruby 1.8.7.352 at /home/vishnu/.rvm/rubies/ruby-1.8.7-p352/bin/ruby
rubygems 1.5.3 at /home/vishnu/.rvm/gems/[email protected],
/home/vishnu/.rvm/gems/ruby-1.8.7-p352@global

Run *rake gems:install* to install the missing gems.

And also i couldn’t run this *rake gems:install, bcz the same error
happened
*
???

Thank you
vishnu

i am fed-up with the memcached. now am showing the detailed problem, but
am
trying to solve this for 3 days…

#######################Environment.rb file
*
*

Be sure to restart your server when you modify this file

Specifies gem version of Rails to use when vendor/rails is not present

RAILS_GEM_VERSION = ‘2.3.11’ unless defined? RAILS_GEM_VERSION

Bootstrap the Rails environment, frameworks, and default configuration

require File.join(File.dirname(FILE), ‘boot’)

if Gem::VERSION >= “1.3.6”
module Rails
class GemDependency
def requirement
r = super
(r == Gem::Requirement.default) ? nil : r
end
end
end
end

Rails::Initializer.run do |config|
config.gem ‘oauth’
config.gem ‘ezcrypto’
config.gem ‘english’
#config.gem ‘hoptoad_notifier’
config.gem ‘oauth2’
config.gem ‘rubyist-aasm’, :lib => ‘aasm’, :source =>
http://gems.github.com
config.gem ‘texticle’
config.gem ‘memcached’
config.gem ‘mislav-will_paginate’, :lib => ‘will_paginate’, :source =>
http://gems.github.com
config.gem “RedCloth”, :lib => “redcloth”

require ‘memcached’

Set Time.zone default to the specified zone and make Active Record

auto-convert to this zone.

Run “rake -D time” for a list of tasks for finding time zone names.

config.time_zone = ‘Mumbai’

The default locale is :en and all translations from

config/locales/*.rb,yml are auto loaded.

config.i18n.load_path += Dir[Rails.root.join(‘my’, ‘locales’,

‘*.{rb,yml}’)]

config.i18n.default_locale = :de

end

#################################Gems list

drwxr-xr-x 6 root root 4096 2011-11-21 13:01 rake-0.9.2.2
drwxr-xr-x 3 root root 4096 2011-11-21 13:01 activesupport-2.3.11
drwxr-xr-x 5 root root 4096 2011-11-21 13:01 activerecord-2.3.11
drwxr-xr-x 4 root root 4096 2011-11-21 13:02 actionpack-2.3.11
drwxr-xr-x 4 root root 4096 2011-11-21 13:02 actionmailer-2.3.11
drwxr-xr-x 4 root root 4096 2011-11-21 13:02 activeresource-2.3.11
drwxr-xr-x 11 root root 4096 2011-11-21 13:02 rails-2.3.11
drwxr-xr-x 6 root root 4096 2011-11-21 14:52 term-ansicolor-1.0.7
drwxr-xr-x 5 root root 4096 2011-11-21 14:52 mime-types-1.17.2
drwxr-xr-x 5 root root 4096 2011-11-21 14:52 rest-client-1.6.7
drwxr-xr-x 6 root root 4096 2011-11-21 14:52 launchy-2.0.5
drwxr-xr-x 5 root root 4096 2011-11-21 14:52 rubyzip-0.9.4
drwxr-xr-x 6 root root 4096 2011-11-21 14:52 heroku-2.14.0
drwxr-xr-x 6 root root 4096 2011-11-21 18:54 redcar-0.11
drwxr-xr-x 4 root root 4096 2011-11-21 21:20 ezcrypto-0.7.2
drwxr-xr-x 3 root root 4096 2011-11-21 21:21 language-0.6.0
drwxr-xr-x 5 root root 4096 2011-11-21 21:22 english-0.6.3
drwxr-xr-x 4 root root 4096 2011-11-21 21:23 multipart-post-1.1.3
drwxr-xr-x 4 root root 4096 2011-11-21 21:23 faraday-0.7.5
drwxr-xr-x 4 root root 4096 2011-11-21 21:23 oauth2-0.5.1
drwxr-xr-x 3 root root 4096 2011-11-21 21:25 activesupport-3.1.3
drwxr-xr-x 5 root root 4096 2011-11-21 21:25 builder-3.0.0
drwxr-xr-x 5 root root 4096 2011-11-21 21:25 i18n-0.6.0
drwxr-xr-x 3 root root 4096 2011-11-21 21:25 activemodel-3.1.3
drwxr-xr-x 4 root root 4096 2011-11-21 21:25 arel-2.2.1
drwxr-xr-x 4 root root 4096 2011-11-21 21:25 tzinfo-0.3.31
drwxr-xr-x 4 root root 4096 2011-11-21 21:25 activerecord-3.1.3
drwxr-xr-x 4 root root 4096 2011-11-21 21:34 will_paginate-3.0.2
drwxr-xr-x 5 root root 4096 2011-11-22 10:39 aasm-2.3.1
drwxr-xr-x 4 root root 4096 2011-11-22 10:50 tism-will_paginate-2.3.16
drwxr-xr-x 4 root root 4096 2011-11-22 12:09 rubyist-aasm-2.1.1
drwxr-xr-x 5 root root 4096 2011-11-22 12:11
mislav-will_paginate-2.3.11
drwxr-xr-x 8 root root 4096 2011-11-22 13:25 rubygems-update-1.5.3
drwxr-xr-x 9 root root 4096 2011-11-22 13:28 json_pure-1.6.1
drwxr-xr-x 8 root root 4096 2011-11-22 14:44 RedCloth-4.2.7
drwxr-xr-x 6 root root 4096 2011-11-22 14:47 addressable-2.2.6
drwxr-xr-x 5 root root 4096 2011-11-22 14:48 configuration-1.3.1
drwxr-xr-x 4 root root 4096 2011-11-22 14:49 faraday-0.6.1
drwxr-xr-x 6 root root 4096 2011-11-22 14:53 heroku-2.3.6
drwxr-xr-x 10 root root 4096 2011-11-22 14:54 json-1.5.3
drwxr-xr-x 6 root root 4096 2011-11-22 14:57 launchy-0.4.0
drwxr-xr-x 4 root root 4096 2011-11-22 15:01 mime-types-1.16
drwxr-xr-x 4 root root 4096 2011-11-22 15:03 multi_json-1.0.3
drwxr-xr-x 4 root root 4096 2011-11-22 15:05 multipart-post-1.1.2
drwxr-xr-x 3 root root 4096 2011-11-22 15:06 mysql-2.7
drwxr-xr-x 7 root root 4096 2011-11-22 15:08 mysql-2.8.1
drwxr-xr-x 7 root root 4096 2011-11-22 15:09 oauth-0.4.5
drwxr-xr-x 4 root root 4096 2011-11-22 15:11 oauth2-0.4.1
drwxr-xr-x 7 root root 4096 2011-11-22 15:13 rack-1.1.2
drwxr-xr-x 5 root root 4096 2011-11-22 15:15 rest-client-1.6.3
drwxr-xr-x 6 root root 4096 2011-11-22 15:32 sequel-3.20.0
drwxr-xr-x 4 root root 4096 2011-11-22 15:34 sinatra-1.0
drwxr-xr-x 7 root root 4096 2011-11-22 15:36 sqlite3-1.3.3
drwxr-xr-x 4 root root 4096 2011-11-22 15:41 sqlite3-ruby-1.3.3
drwxr-xr-x 5 root root 4096 2011-11-22 15:43 taps-0.3.23
drwxr-xr-x 6 root root 4096 2011-11-22 15:45 term-ansicolor-1.0.5
drwxr-xr-x 5 root root 4096 2011-11-22 16:09
texticle-1.0.4.20101004123327
drwxr-xr-x 5 root root 4096 2011-11-23 11:32 memcached-1.3.5
drwxr-xr-x 5 root root 4096 2011-11-23 11:41 memcached-1.2.7

so when am trying to create db

rake db:create

WARNING: ‘require ‘rake/rdoctask’’ is deprecated. Please use ‘require
‘rdoc/task’ (in RDoc 2.4.2+)’ instead.
at
/home/vishnu/.rvm/gems/[email protected]/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
DEPRECATION WARNING: Rake tasks in
vendor/plugins/exception_logger/tasks,
vendor/plugins/jrails/tasks, vendor/plugins/jrails_auto_complete/tasks,
and
vendor/plugins/mongo_db_logger/tasks are deprecated. Use lib/tasks
instead.
(called from
/home/vishnu/.rvm/gems/[email protected]/gems/rails-2.3.11/lib/tasks/rails.rb:10)
rake aborted!
no such file to load – memcached

(See full trace by running task with --trace)

Anyone have idea about this problem??? plz help to solve this

Thank you
vishnu

On 23 November 2011 06:34, amvis [email protected] wrote:

if Gem::VERSION >= “1.3.6”
config.gem ‘oauth’
config.gem “RedCloth”, :lib => “redcloth”

drwxr-xr-x 6 root root 4096 2011-11-21 14:52 term-ansicolor-1.0.7
drwxr-xr-x 4 root root 4096 2011-11-21 21:23 faraday-0.7.5
drwxr-xr-x 4 root root 4096 2011-11-22 10:50 tism-will_paginate-2.3.16
drwxr-xr-x 6 root root 4096 2011-11-22 14:57 launchy-0.4.0
drwxr-xr-x 4 root root 4096 2011-11-22 15:34 sinatra-1.0
‘rdoc/task’ (in RDoc 2.4.2+)’ instead.
Anyone have idea about this problem??? plz help to solve this
I don’t know why this problem may be arising, but I can only point out
once again that you are using out of date plugins in the
vendor/plugins directory. Do you have a good reason for doing this?

Colin

Colin, i think the problem with the missing of development.log file?
now
just i created the development.log in log folder? have any problem?

thank Colin,
i know that Colin, am using the out of date plugins. but i need to run
with
this.
just i commented the memcached, and run it. its OK now going fine. but
when
i start the server

ruby script/server
=> Booting WEBrick
=> Rails 2.3.11 application starting on http://0.0.0.0:3000
DEPRECATION WARNING: Kernel#returning has been deprecated in favor of
Object#tap. (called from enable_activerecord at
/home/vishnu/.rvm/gems/[email protected]/gems/mislav-will_paginate-2.3.11/lib/will_paginate.rb:39)
** TwitterAuth initialized properly.
/home/vishnu/.rvm/gems/[email protected]/gems/rails-2.3.11/lib/rails/rack/log_tailer.rb:10:in
size': No such file or directory - /home/vishnu/rordev/getafix/log/development.log (Errno::ENOENT) from /home/vishnu/.rvm/gems/[email protected]/gems/rails-2.3.11/lib/rails/rack/log_tailer.rb:10:in initialize’
from
/home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:54:in
new' from /home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:54:in use’
from
/home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:73:in
call' from /home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:73:in to_app’
from
/home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:71:in
inject' from /home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:73:in each’
from
/home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:73:in
inject' from /home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:73:in to_app’
from
/home/vishnu/.rvm/gems/[email protected]/gems/rails-2.3.11/lib/commands/server.rb:95
from
/home/vishnu/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in
gem_original_require' from /home/vishnu/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in require’
from script/server:3

have any problem with TwitterAuth???
*
*
Thank you
Vishnu

On 23 November 2011 08:41, amvis [email protected] wrote:

thankColin,

Please don’t top post, it makes it difficult to follow the thread.
Insert your reply at appropriate points in previous message. Thanks.

/home/vishnu/.rvm/gems/[email protected]/gems/mislav-will_paginate-2.3.11/lib/will_paginate.rb:39)

** TwitterAuth initialized properly.

I don’t know anything about twitterauth but the above message suggests
that all is well.

/home/vishnu/.rvm/gems/[email protected]/gems/rails-2.3.11/lib/rails/rack/log_tailer.rb:10:in

`size’: No such file or directory -
/home/vishnu/rordev/getafix/log/development.log (Errno::ENOENT)

It is important to read the errors carefully. The above suggests that
it cannot access the log file. It should create the log file if it
does not exist (I think) but I wonder whether the log directory does
not exist.

Colin

/home/vishnu/.rvm/gems/[email protected]/gems/rack-1.1.2/lib/rack/builder.rb:73:in

from
from
“Ruby on Rails: Talk” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/VXPEDFw_rZ4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


gplus.to/clanlaw