similar to: uninitialized constant ActionView::Helpers::TagHelper::ERB (NameError)

Displaying 20 results from an estimated 4000 matches similar to: "uninitialized constant ActionView::Helpers::TagHelper::ERB (NameError)"

2010 Dec 15
5
Having trouble testing :( "superclass mismatch" and can't load "test_helper"
I''m having trouble testing my Rails 3 application. Unit testing doesn''t work. If I try ruby article_test.rb directly, I get a "no such file to load" error, and if I try rake test:units or ruby unit/ article_test.rb I get this odd "superclass mismatch for class ArticlesController" error! I''m hoping I can get this settled... My test files were
2008 Mar 06
1
Unitialized constant ActionView::Helpers::TagHelper::Set
Hi all, I write the following test to a simple plugin require ''rubygems'' require ''test/unit'' require File.dirname(__FILE__) + ''/../lib/meta_tags'' require ''action_view/helpers/tag_helper'' class MetaTagsTest < Test::Unit::TestCase include MetaTagHelper include ActionView::Helpers::TagHelper .
2010 Nov 25
2
no such file to load - spec/test/unit
Under the older version of rspec, I''m able to run my script successfully by running "spec randomperform.rb" I''ve now installed the newest rspec, and it does not work for me. If I run the command: rspec randomperform.rb I get the following error: ----- <internal:lib/rubygems/custom_require>:29:in `require'': no such file to load -- spec/test/unit
2011 Aug 24
3
How to connect Ruby with MySQL (XAMPP)?
*Dear All:* I need your help on following points. 1. Can I connect Ruby with MySQL in XAMPP server? 2. Could someone tell me that how to connect MySQL with Ruby? I have XAMPP server installed and want to connect with ruby. I am using Ruby1.8.7. I tried following code: require ''rubygems'' require ''mysql'' begin # connect to the MySQL server
2007 Dec 24
2
backgroundrb script crashing on startup
Everything works fine on my development box (Ubuntu 7.10, Ruby 1.8.6) but on my server (Fedora Core 6, Ruby 1.8.5) when I run script/backgroundrb start, the process fails to start. This is with Rails 2.0.2 frozen in the app, and I have the most recent version of the plugin (r297). Is Ruby 1.8.6 a requirement for backgroundrb now? I can''t figure any other reason it would fail...
2009 Feb 25
9
local variables in partials lead to NameError
I know I must be doing something dumb, but I can''t seem to send a local variable to my partial. The below code leads to the following error: NameError in Residential_listings#new undefined local variable or method `foo'' for #<ActionView::Base: 0x3fb53f8> I am trying to call the variable ''foo'' in a partial called _attachment.html.erb, which is nested in
2011 Nov 18
5
Puppet on windows: File resource problem
Anybody knows what this error, bellow, means, the target file, C:/Splunk/etc/system/local/inputs.conf, does exist. sometimes, if I delete the file, it does actually create it, but never update it if it exists and changed... The resource is defined as:     file { "splunk_inputs":        owner   => SYSTEM,        group => SYSTEM,        mode    => 664,        require =>
2012 Feb 29
4
Windows Puppet 2.7.12rc1-7-g281901e hands at end of run
I just installed the latest rc 1.7 to solve another issue I had. It solved the issue, but I''m getting a different issue. I''m running it interactively from an administrator command prompt. It connects to the master puppet server, processes the configuration items then gives an error. The interesting thing is that it never returns to the command prompt. It just hangs. I have
2011 Oct 26
1
problem profiling rspec boot time with ruby-prof
We recently upgraded to rspec2 / rails 3 and our specs are taking a very long time to run. It takes nearly 12 minutes before the first dot comes out. Before the upgrade, our entire suite of 6000+ specs would run in about 6 minutes. The majority of the delay seems to be during the loading of the spec files. Adding instrumentation to the rspec-core lib/rspec/core/ command_line.rb, you can see
2010 Jun 13
5
script/server vs mongrel_rails start issue
I am having different results between when I start mongrel with script/ server and with mongrel_rails start. When I run script/server to boot mongrel everything runs fine, no errors. When I run mongrel_rails start I get the following errors - verified the problem on a fresh app and on two different environments (mac and yes, windows server 2008). The actual line of fault changes but the problem
2011 Jul 05
4
Problem of "rake spec"
Hi all, I am a bit confused when i type rake spec and it gives me this message, No examples matching ./spec/**/*_spec.rb could be found what is that mean that something is not found. and where i can input my the test code because i did have a tiny sample code in user_controller_test.rb. is that the right place to test functional.. plz give me a help thanks -- You received this message
2009 Apr 15
1
uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
I''m on debian etch w/ ruby1.8, activesupport-2.3.2, getting this on the first line of code which is require ''active_support'' : /var/lib/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:55: uninitialized constant ActiveSupport::Dependencies::Mutex (NameError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require''
2010 Nov 25
1
Can't run tests...illegal switch in RUBYOPT: -F (RuntimeError)
Does anyone have any insight into why this is happening? C:\Users\Family\workspace\myapp>rake test (in C:/Users/Family/workspace/myapp) C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F (RuntimeError) C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F (RuntimeError) C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F (RuntimeError) Errors
2011 Aug 31
2
Rails 3 - Require - Path Not Found
I have: Windows XP Professional SP3 Ruby 1.8.7 Rails 3.0.10 Bundler 1.0.15 ImageMagick 6.5.6 Q8 Rmagick 2.12.9 My gemfile: gem ''rmagick-2.12.0-x86-mswin32'', ''2.12.0'', :path => ''c:/sites/ uplodify/vendor'' My controller: require ''RMagick'' Here I have installed my rmagick gem:
2011 May 25
1
can't load hpricot gem in rails 3
This is in windows .. So from irb, I can load hpricot ok. (ruby 1.8.7) C:\Users\Laurence\rails-play\plug-test>irb irb(main):001:0> require ''hpricot'' LoadError: no such file to load -- hpricot from (irb):1:in `require'' from (irb):1 irb(main):002:0> require ''rubygems'' => true irb(main):003:0> require
2011 Oct 14
3
RSpec 2 not working on Rails 3.1.1
Hey, I updated some Gems and now rspec seems to be broken. The weird thing is it fails because of Test::Unit which doesnt make much sense to me. /Users/username/.rvm/gems/ruby-1.9.2-p290@ror_project/gems/rack-1.3.4/lib/rack/backports/uri/common_192.rb:53: warning: already initialized constant WFKV_ /Users/username/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/test/unit/testcase.rb:9:in
2009 Feb 10
3
uninitialized constant ActsAsFerret (NameError)
Hi all, I have another problem that I fight with for some time and I could not understand where is the problem. Probably the problem is that I am quite "green" in RR :) I am trying to make the Demo Application that comes with Ferret to work but I guess something with my environment is not OK. I will do apreciate any help. [root at moonlight FerretDemo]# ./script/server => Booting
2010 Dec 08
1
configuration issue (Uninitialized constant Aftimagr (NameError) )
Hello All I am getting this error, any one resolved this..... it''s urgent ruby script/server --debugger => Booting WEBrick... => Debugger enabled config.gem: Unpacked gem rspec-rails-1.1.11 in vendor/gems has no specification file. Run ''rake gems:refresh_specs'' to fix this. config.gem: Unpacked gem rubyist-aasm-2.0.2 in vendor/gems has no specification file. Run
2009 Jun 25
8
Mongrel service keeps re-starting ruby
On Thu, Jun 25, 2009 at 2:07 AM, Michael Pliskin<mike at comapping.com> wrote: > Hi all, > > > > Some disclaimer first: I am a complete newbie in mongrel and this list, so > please forgive me if I say something weird. I have a problem, I?ve googled > for a solution for quite a while and failed so far, so decided to ask here. > > > > I am trying to set up my
2010 Nov 20
4
How to get rspec running?
I''m quite new to RoR and recently worked through Michael Hartl''s Rail Tutorial. Now that I had started my first own project and began with the implementation of a first model and it''s controller. The tests I wanted to implement just after that. However, I run into some error messages when I want to start rspec (see below). The Gemfile is the same as in the Tutorial