similar to: The specified procedure could not be found - Init_win32api (LoadError)

Displaying 20 results from an estimated 200 matches similar to: "The specified procedure could not be found - Init_win32api (LoadError)"

2009 Oct 08
0
autospec cannont find gems
I am trying to install rspec for rails and have the following gems install C:\INSTAN~3.0-W\rails_apps\katai>gem list --local *** LOCAL GEMS *** actionmailer (2.3.4, 2.0.2) actionpack (2.3.4, 2.0.2) activerecord (2.3.4, 2.0.2) activeresource (2.3.4, 2.0.2) activesupport (2.3.4, 2.0.2) authlogic (2.1.2) autotest-rails (4.1.0) builder (2.1.2) capistrano (2.5.9, 2.1.0) cgi_multipart_eof_fix
2009 Apr 22
1
Tests for my gem cannot find classes in gems lib directory ..
I am writing a gem and using RSpec to drive my development. However, whenever I describe a class within the gems lib I get an uninitialized constant error. I am placing my folder structure, spec.rake and first spec below. I feel I must be missing something obvious. Additionally, I did output the value of f in lib inclusion code and it is traversing the lib folder correctly and I can
2011 Feb 07
0
Error loading rubygems
Hi, During an operation (rspec related) that required loading rubygems (from config/boot.rb file) I got the following error message: ~/config/boot.rb:1:in `require'': no such file to load -- rubygems (LoadError) ~/config/boot.rb:1 from ~/config/application.rb:1:in `require'' from ~/config/application.rb:1 from ~/config/environment.rb:2:in `require'' from
2007 Dec 12
3
undefined method: controller_name
With rspec 1.0.8 I have a spec in the directory: spec/units/controllers/application_controller_spec.rb require File.dirname(__FILE__) + ''/../../spec_helper'' class DummyController < ApplicationController def index raise "Prevent index from rendering" end end describe ApplicationController, "Handling errors in production", :behaviour_type =>
2008 Jan 18
2
Rspec problem in testing RoR application
Hello. I install gems rspec and rspec_on_rails I have this Error when try to run Rspec tests on my RoR application: /var/lib/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper (NameError) And I follow recipes wich are placed in
2008 Mar 14
3
`const_missing'': uninitialized constant Spec::Rails
Hi! I''m experiencing such error while running simple model rspec just to make sure everything is working. $ script/spec spec/models/site_user_spec.rb /var/lib/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in `const_missing'': uninitialized constant Spec::Rails (NameError) from
2011 Nov 09
14
Rony 1.9.3-p0 on Rails 2.3.x: the helpers "require" problem
Yes, I know that Rails *2.3.x* is no longer fully supported (this is why I''m posting it to rails/issues). Still, I would like to post the topic so that everyone who experience the same problem could quickly google for it (no, afaik no solution for this yet). I''m trying to migrate a 1.5 years *2.3.x* app from Ruby version *1.8.7* to * 1.9.3-p0*. The strange problem I
2007 Dec 19
5
Installation Trouble
Hey all, I''m new to BDD and rspec, but I am very intrigued. I tried installing rspec and rspec_on_rails into my Rails app, but I am having some trouble. I chose to install both as plugins, as the documentation suggests. I checked out the CURRENT tag from svn, and copied the rspec and rspec_on_rails directories into my app''s vendor/plugins directory. Then I ran
2007 Dec 28
3
Converting to Rails 2.0.2
I''m moving an older project to Rails 2.0.2 and ran into a roadblock on the version matching. Here''s script/console session: >> Spec::VERSION::REV => "1785" >> Spec::Rails::VERSION::REV NoMethodError: undefined method `run='' for Test::Unit:Module from /Users/sxross/rails/tastie_work/vendor/plugins/rspec_on_rails/ lib/spec/rails.rb:16 from
2011 Aug 09
0
Devise, RSpec and Webrat
My app is builded with rails 2.3.12, rspec-rails 1.3.2, webrat 0.7.3. My spec_helper.rb ENV["RAILS_ENV"] ||= ''test'' require File.expand_path(File.join(File.dirname(__FILE__),''..'',''config'',''environment'')) require ''spec/autorun'' require ''spec/rails'' require
2008 Jan 15
0
Problem with ruby-debug and rspec
So i''ve been getting this same thing with both rspec 1.1.1 and now with 1.1.2. ruby-debug works with i''m in the application code, but not when i''m in the ''spec'', or spec helper methods i''m loading. Basically any command which should normally work like p, or pp, gets passed through to a method_missing. I''m kind of stumped on this
2007 Nov 07
1
LoadError when upgraded to latest rspec trunk
I just moved my rspec and rspec_on_rails plugin from r2691 to r2822. After that I upgraded both of them I regenerated all things rspec with the rspec generator. I was running on rails r2691 but upgraded to the latest at r2822 when I was getting errors but that still didn''t help things. I get the following when I try to run a spec with either rake spec or ./script/spec:
2007 Dec 09
1
[rspec-devel] rspec_on_rails (trunk - r3070) works with Rails 2.0.1
I figured most of it out. The Spec::Rails stuff was something in the code which has been fixed by revision 3099. The test methods partially make sense. Since the test/unit code has been integrated, methods with test in them are automatically turned into specs. However, the test? method is in a lib file that isn''t directly loaded into the specs. It is a convenience method: def
2007 Dec 07
4
strange error on mock proxy
I''m banging my head over this really strange error in a view test when I run "rake spec". The weird thing is that I don''t get the error when I run the spec file by itself. Here is the spec (I know, fixtures are the devil): describe "/units/new.html.erb here" do fixtures :units, :accounts, :groups it_should_behave_like
2008 Dec 01
1
Undefined method "full_description" when trying to run "rake spec"
Hello guys, I''m getting this weird error when trying to run the specs using "rake spec": /home/mauricio/NetBeansProjects/talkies/vendor/rails/actionpack/lib/action_controller/test_process.rb:471:in `method_missing'': undefined method `full_description'' for #<Spec::Rails::Example::ControllerExampleGroup::Subclass_73::Subclass_9:0x7f5fdca4a810>
2008 Aug 15
7
Autotest and subclasses / namespaces
I am writing a controller admin/cities_controller.rb it inherits from AdminController, so it''s defined like class Admin::CitiesController > AdminController Whenever I save the controller file, autotest freaks out: uninitialized constant Admin::AdminController (NameError) I''m pretty used to just hitting CTRL-C to get autotest to re-load all the files, or flicking to
2008 Oct 31
10
Strange dependency error after going Ruby1.8.6, Rails 2.1.0 -> Ruby1.8.7, Rails 2.1.2
Hi, I''m getting an error I just can''t find any cause for. The error is "A copy of ApplicationHelper has been removed from the module tree but is still active!" and gets thrown in a Template that uses a method defined in my ApplicationHelper. The error occurs only in development mode. The error did not occur before my switch to Ruby 1.8.7 and Rails 2.1.2 minutes ago. I
2007 Apr 04
13
Mongrel dying daily with Ruby 1.8.6
Hi guys, I''ve been running mongrel for a while now with Ruby 1.8.4, and last week upgraded to 1.8.6. Since upgrading, each morning when I wake up there''s a big problem: 1. Accessing the site returns a "500 Internal Server Error" 2. All the mongrel_rails processes are still running, but none of them are active (when I run top) 3. Lighttpd and pound are still
2006 Jul 26
0
LoadError: no such file to load
Suddenly I noticed that I can''t require installed gems from irb or ./script/console. Any ideas? irb(main):001:0> require ''RMagick'' LoadError: no such file to load -- RMagick from (irb):1:in `require'' from (irb):1 irb(main):002:0> require ''mysql'' LoadError: no such file to load -- mysql from (irb):2:in
2006 Jun 05
1
script/console LoadError - ''no such file to load''
Hello, When I enter the command "ruby script/console", instead of an irb session beginning, I get the following error: [code] c:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in ''require__'': No such file to load -- ./script/../config/../config/environment (LoadError) [/code] I''m a little new to Rails, but it appears to me that the path to the