similar to: uninitialized constant Rake::DSL

Displaying 20 results from an estimated 12000 matches similar to: "uninitialized constant Rake::DSL"

2012 Jun 21
2
Rails production load order giving uninitialized constant (NameError)
Hi, I have a related but separate question. Again, please redirect me if I''m in the wrong place. I''ve been getting this error in production (on Heroku) only (it happens when the application is loading): 2012-06-21T09:30:19+00:00 app[web.1]: /app/app/controllers/spree/ checkout_controller_decorator.rb:3:in `block in '': uninitialized constant
2007 Dec 21
0
rake test:plugins gives uninitialized constant RAILS_ROOT
Hello, Just upgraded to the the latest backgroundRb.I am getting an error when i run the task "rake test:plugin". Any idea why I am getting this? Here is the error message: /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" "vendor/plugins/backgroundrb/test/master_worker_test.rb"
2006 Apr 23
1
rake db:migrate error: uninitialized constant mysql
Hello, When I run: rake db:migrate , I get the "uninitialized constant mysql" error. I issue the command inside the root of the application InPlaceEditing, a recipe from Chad Fowler''s Rails Recipes. The InPlaceEditing application is inside the directory: c:\instantrails\rails_apps\InPlaceEditing I can run the InstantRails Cookbook tutorial, no problem, so MySql itself is
2010 Apr 07
1
rake aborted! uninitialized constant Encoding ubuntu
I am new in Ruby on Rails, I am working on ubuntu10.04 I get this error when i run rake db:migrate (in /home/mostafa/Desktop/book_tracker) rake aborted! uninitialized constant Encoding (See full trace by running task with --trace) Hope Someone can help in such matter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core"
2011 May 25
1
rake task: uninitialized constant
I have this rake taks: CUSTOM_MONTHS = [nil, "GEN", "FEB", "MAR", "APR", "MAG", "GIU", "LUG", "AGO", "SET", "OTT", "NOV", "DIC"] def parse_date_string(date_string) begin day, month, year = date_string.split("-") Time.mktime(year, CUSTOM_MONTHS.index(month),
2010 Mar 18
3
rake db:migrate -> uninitialized constant
Hi-- I''m trying to do a first migration (2.3.5). I generated a model "Video", but when I try to migrate I get "uninitialized constant Videos". Why is it trying to find a plural class name? Here''s more complete output: trans@logisys:models$ rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment **
2011 May 06
3
Reading Yaml files and getting an 'uninitialized constant ActionView::CompiledTemplates' Error
Want to load a configuration from a yaml file ala config/database.yml. I am following http://blog.innovativethought.net/2009/01/02/making-configuration-files-with-yaml-revised/ but, I am getting uninitialized constant ActionView::CompiledTemplates::DOMAIN_CONFIG from rails. I''ve documented my code to make this simpler. I''m running Rails 3.0.7 I know isn''t the
2018 Nov 03
0
Decode ogg file while downloading: what are the good practices?
On 2018-11-03 05:32 AM, Matthieu Regnauld wrote: > I first would like to know if the code I provided > (https://gist.github.com/mregnauld/3f7cdc43b02ec3bbd91641b9333ba072) is > good practice when it comes to extracting and seeking in a file that is > being downloaded. You didn't share many details of how your code fails, but one idea: libvorbisfile builds a seek table from
2009 Nov 02
0
testing Rake tasks with FakeFS
Jake Benilov wrote: > Hello Ben, > Hi Jake, I hope you don''t mind but I am copying this response to the rspec-users list in case any one else is able to shed more light on it. > I have a bit of a newbie question regarding fakefs; I want to test Rake > tasks using fakefs and rspec: > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > require
2010 Apr 11
10
rake db:create uninitialized constant Mysql::Error
I have yet to find a solution for this issue I have tried multiple things that I have found on google, but yet have i found a solution. If someone could help me and point me in the right direction I would be much appreciated. Thanks. rake aborted! uninitialized constant Mysql::Error ** Invoke db:create (first_time) ** Invoke db:load_config (first_time) ** Invoke rails_env (first_time) **
2011 Nov 05
2
Where is my gem file located so that i can rake test
Googling around, I found that apparently adding to the gem file will fix my problems, but where do i find the gem file? what is the name of the gem file? "group :test do # Pretty printed test output gem ''minitest'' ####### add this line ####### end" Here is what happens when i run rake test, please note that i have already installed minitest
2012 Sep 18
2
NoMethodError with rake db:migrate
Hi! First of all, this is my first application on Rails, and i''m stuck at a migration. i created a demo app (the demo_app from michael hartl''s tutorial) as usual: rails new demo_app, rails generate scaffold User name:string email:string, and when i do rake db:migrate, this stack appears: rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment
2023 Jan 15
1
logging strategy
Jim Klimov <jimklimov+nut at gmail.com> writes: > I don't think there is any particular strategy, at least not one I'd know > of either :) So it is mostly ad-hoc, to keep smaller verbosity numbers > reasonably quiet, and sufficient info to see the logic progression at a > given debug level (e.g. if major milestones of a routine are logged at > level N, further
2023 Jan 15
1
logging strategy
Cheers, I don't think there is any particular strategy, at least not one I'd know of either :) So it is mostly ad-hoc, to keep smaller verbosity numbers reasonably quiet, and sufficient info to see the logic progression at a given debug level (e.g. if major milestones of a routine are logged at level N, further traces like "I saw value X here" would be N+1 or more). De-facto
2011 Jan 22
1
uninitialized constant ActionView::Helpers::TagHelper::ERB (NameError)
I am a new to ruby and rails and am trying to refactor some code with rspec and have run into a problem that has stumped me for a few days and I have searched google and ruby/rails forums to no avail so I really hope somebody can help me out with this problem which I think may be caused by a rails config problem. Anyway, I used ''rails new myapp'' to make a new rails project and
2012 Dec 12
1
#8498 postgres_adapter fix for disable_referential_integrity
Please review this patch for postgres adapter''s referential_integrity.rb in Rails master and 3.2.9 and let me know what you think. We are using it via an initializer (monkey patching the adapter directly vs. in module): https://github.com/rails/rails/pull/8498 Fixes this issue also seen by others in Foreigner: https://github.com/matthuhiggins/foreigner/issues/61 Problem that it
2013 Feb 22
0
Rake task that allows you generate static error pages in public folder from partial.
https://gist.github.com/907th/5013075 Rake task that allows you generate static error pages in public folder from layouts/exception partial. Usage: rake exceptions:compile_error_pages RAILS_ENV=production. Dependencies: colored gem for pretty output (https://rubygems.org/gems/colored), rails 3.2 (tested only for that version). -- You received this message because you are subscribed to the
2013 Mar 01
0
FreeBSD 9.1 + Samba 3.6.12 : Winbind sid lookup issue
Hey Samba list. We recently had to switch from 3.5.x to 3.6, due to the ports tree dropping 3.5 Since then, I've have had issues with the looking up users consistently. It may work for 30 minutes, and then stop. I finally started to run winbindd -i -d and here are some of my findings: Environment: OS: FreeBSD 9.1-RELEASE uname -a: FreeBSD pkg-server 9.1-RELEASE FreeBSD 9.1-RELEASE #0
2014 Nov 26
0
Working with Active Directory on Windows Server 2012 R2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 26 Nov 2014, Aaron Jenkins wrote: > I?ve attempted the user Mail with the same password with the same result (binding as my own user was a last-ditch attempt). OK, what about the: > As I understand auth_bind_userdn, you do not need > dn/dnpass anyway, because auth_bind_userdn prevents searching for the >
2017 Jul 22
1
doing something before everything else
> On Jul 22, 2017, at 12:25 PM, Alexander Dalloz <ad+lists at uni-x.org> wrote: > > While I am really surprised that the Jenkins team hasn't made their Jenkins RPM packages systemd aware but still providing a sysv init script, you probably try to do something which should be solved in a different way. There?s always: