Displaying 20 results from an estimated 80000 matches similar to: ""Monitor" method"
2012 May 14
1
undefined method `parse' for String:Class
Hi,
I use a script called : add_admin.rake
When i execute this : ''rake -s -f Rakefile mailserv:add_admin --trace
i have this error :
** Invoke mailserv:add_admin (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute mailserv:add_admin
rake aborted!
undefined method `parse'' for String:Class
2010 Feb 25
0
Rails problems running rake and other tasks - undefined method `action_controller'
I suddenly have a major problem in all my Rails 3 apps:
$ rake db:migrate --trace
rake aborted!
Don''t know how to build task ''db:migrate''
/Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/
rake.rb:1728:in `[]''
/Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/
rake.rb:2050:in `invoke_task''
2011 Feb 19
1
undefined method `map' for nil:NilClass for rails 2.3.2
Hai guys!
When i try to do rake gems:install and rake gems:refresh_specs in my app
below error is occurred. please give some solution for this.
config.gem: Unpacked gem authlogic-2.1.3 in vendor/gems has no specification
file. Run ''rake gems:refresh_specs'' to fix this.
rake aborted!
undefined method `map'' for nil:NilClass
enivorment.rb
RAILS_GEM_VERSION =
2010 Sep 23
0
rake aborted! undefined method `autoload!'
Hi!
I made a app in rails 3.0.0, but when i try to upload to my hosting i
take to change the version of rails to rails 3.0.0.beta4
Im make the bundle install and every step cool, but when i try to do the
rake db:migrate i have the next error...
-bash-3.2$ rake db:migrate --trace
(in /home/aerotour/public_html/aeto)
rake aborted!
undefined method `autoload!'' for
2011 Sep 26
2
undefined method `options' for #<EventMachine::HttpClien
Hi , I am writing a rake task to consume twitter stream API. The task
contains the following code:
consumer = OAuth::Consumer.new(CONSUMER_KEY, CONSUMER_SECRET, :site =>
''http://twitter.com'')
access_token =
OAuth::AccessToken.new(consumer,ACCESS_TOKEN,ACCESS_TOKEN_SECRET)
oauth_params = {:consumer => consumer, :token => access_token}
EventMachine.run do
# now,
2013 Jun 29
0
rake db:create giving undefined method `' for nil:NilClass
My ruby version is 1.8.7
I have installed mysql-essential-5.0.90-win32
and using Fedena 2.3.5
List of all gems installed:*
columnize (0.3.6)
declarative_authorization (0.5.1)
fattr (2.2.1)
ffi (1.9.0)
gem_plugin (0.2.3)
highline (1.6.19)
i18n (0.4.2)
metaclass (0.0.1)
mime-types (1.23)
mocha (0.14.0)
mongrel (1.1.5)
mysql (2.8.1)
net-ping (1.6.0)
prawn (0.6.3)
prawn-core (0.6.3)
prawn-format
2011 May 19
1
undefined method `name' for “SystemTimer”:String
Hey All,
I am having a problem getting an old Ruby on Rails 2 app that hasn''t
worked in a year to work.
I''m trying to run rake test:functionals in the root of my project
directory but am getting undefined method `name'' for
"SystemTimer":String
I''ve pasted everything that I believe relevant to the problem here:
http://pastebin.com/NgBvystZ
Also,
2010 Sep 23
1
undefined method `protect_against_forgery?' for #<ActionView
Hi guys
This is a pretty tricky one.
I get a "undefined method `protect_against_forgery?'' for
#<ActionView::Base:0x569a3d4>" error when trying to generate a partial
from ''outside'' the web site. I do this as I have a rake task that checks
for changes periodically in the background, and if it then sees a change
it rebuilds the partial and posts the result
2009 Nov 24
2
Deploying Error: undefined method 'generate_best_match='
Hey guys,
I''m quite new to rails and experiencing some problems with the
deployment of my application to a web server.
I am using github, can connect to the server, "cap deploy:check"
and :setup run fine, but when I want to use "deploy:cold" or migrate
my database (rake RAILS_ENV=production db:migrate) I get this error:
rake aborted!
undefined method
2010 Nov 09
2
Undefined method
I am very new to ROR. (Ruby 1.8.7, rails 2.1.1, rack
0.8.7, mysql 5.1.41)
I has my_app/lib/migration_helpers.rb file:
module MigrationHelpers
def self.foreign_key(from_table, from_column, to_table)
constraint_name = "fk_#{from_table}_#{to_table}"
execute %{alter table #{from_table}
add constraint #{constraint_name}
foreign key (#{from_column})
2011 Jun 03
0
Rack Middleware support for Rails 2.0.2? If not what is the alternative to implement similar functionality in Rails 2.0.2..
Hello all,
I am using Rails 2.0.2 and Ruby 1.8.7 and I need to make use of rack
middleware for integrating an ajax file upload plugin(https://
github.com/valums/file-uploader) with paperclip in Rails( As given in
this tutorial:-
http://mooooooooooo.wordpress.com/2010/12/03/paperclip-valums%E2%80%99s-file-uploader-and-middleware-continued/).
I have referred to the rack-middleware Railscast by
2011 Jan 13
5
undefined method `xss_terminate'
I''m trying to run a rails app developed by my firm on my Ubuntu machine.
I''m using RVM with what I think are all the appropriate gems installed.
The application works fine on co-workers OSX machines.
When running db:migrate I get the following error:
$ rake db:migrate --trace
...
rake aborted!
An error has occurred, all later migrations canceled:
undefined method
2010 Oct 06
3
Script acting differently inside of rake task
I''ve created a rake task that does various things, one of which is
calling a script. When I call that script from my Rails.root folder,
it works, but it doesn''t work inside my rake task. [This is rails 3]
That is, the following line works from bash:
lib/daemons/mailer_ctl start
However, inside my rake task, this line does not work:
puts `lib/daemons/mailer_ctl start`
The
2013 Jun 27
2
[HELP] RoR Fedena App Installation: Rake Gem
I''m really a newbie with RoR.
But I need to deploy this app as soon as possible.
RoR App: Fedena
RoR Ver: 1.8.7
When I type any rake commands I always encounter this problem:
rake aborted!
uninitialized constant ActiveSupport::Dependencies::Mutex
Locally, I did find the solution for this problem by downgrading my Rake
Gem version from 0.9.2 to 0.8.7.. The problem is installing it on
2011 Dec 22
0
Problems with database config and prepare_to method
In my production environment I have 1 server running as mainappserver (
ex. 10.10.10.10 ) ( Rails + Apache2 + Mysql ) and during heavy periods
we startup a second application server that just handle the Rails
application calls.
The second application server ( ex. 20.20.20.20 ) connects to the mysql
of the mainappserver as specified in the database.yml :
production:
adapter: mysql2
2010 Feb 23
1
Rails on Snow Leopard
In particular, if you''re putting Rails on Snow Leopard to work on a
project that you started on Linux.
If you run rake db:create and see an error like this:
Couldn''t create database for {"reconnect"=>false, "encoding"=>"utf8",
"username"=>"root", "adapter"=>"mysql",
2010 Jan 19
0
rake cucumber features fails
Hey Guys,
Ubuntu 9.10
Env: Ruby 1.9.1
Rails 2.3.5
RSpec 1.3.1
Cucumber 0.6.1
Cucumber-rails 0.2.3
I''m starting with BDD with Cucumber/RSpec.
After creating a rails app, I did script/generate rspec and cucumber.
First problem, I can''t run cucumber by its own, as Ryan Bates does in his
screencast.
He freely runs "cucumber features -n"
2011 Jul 16
9
rake aborted!
hi , I have started to learn ruby on rails and I''m an absolute
beginner . when I try to rake a database like "rake db:schema:dump " I
get this message :
"rake aborted !
unknown database ''cms_development'' "
although I have modified my database.yml and have created my database
before.
I''ll be appreciated if someone can help me with this
thanks
2011 Nov 16
1
Creating a "handcrafted" database object.
Hi,
This one is kind of strange. This is concerning sqlite3.
I have an application that uses postgresql. I would like to manually
create a sqlite3 db object that contains data that I would extract from
the "real" postgresql DB. This is not a one time action but it would
generate a new sqlite3 db object when some related data changes.
Background: I have a set of many applications that
2011 Apr 08
1
Can't 'rake db:migrate' keep getting dlopen mysql.bundle error
MySQL version: 5.5.10
Ruby version: 1.8.7
Rails version: 3.0.5
I''m trying to get a Mac OS X 10.6.6. development box up and going, and
I''m having problems with ''rake db:migrate.''
This is how I installed the mysql gem
$ sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql
--version 2.7 -- --with-mysql-dir=/usr/local/mysql