similar to: LoadError when upgraded to latest rspec trunk

Displaying 20 results from an estimated 2000 matches similar to: "LoadError when upgraded to latest rspec trunk"

2007 Oct 03
4
TextMate language weirdness
I''m having trouble with TextMate and assigning the RSpec language to *_spec.rb files within rails projects. Here is what is happening: I''m in a file that has the language "Ruby on Rails" selected. I do a ctrl-shift-down to switch to the corresponding _spec.rb file. The _spec.rb file has the language "Ruby on Rails" selected. I change the language to
2009 Oct 23
0
The specified procedure could not be found - Init_win32api (LoadError)
Hi All, I just installed Ruby1.8.6 using One step installer and installed following gems in order - rspec - watir - dbi In one my script i use - require ''win32api'' When I run this script I get the following error. C:/ruby/lib/ruby/1.8/i386-mswin32/win32api.so: 127: The specified procedure could not be found. - Init_win32api (LoadError)
2011 Oct 12
1
`require': no such file to load -- rspec/rails (LoadError)
Getting strange loading problem.. >> bundle exec rspec -p spec/models/* give error: .. .rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/ dependencies.rb:240:in `require'': no such file to load -- rspec/rails (LoadError) from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/ lib/active_support/dependencies.rb:240:in `block in require'' from
2007 Oct 17
16
rspec causing validates_presence_of to validate twice?
I had posted this on the regular Rails list, but upon trying this in script/console, it seems like the behavior only exists when running rspec. I''m getting some weird behavior in one of my models. I have a model defined something like this class User < ActiveRecord::Base attr_accessor :password validates_presence_of :password end If I validate the model without specifying a
2007 May 18
1
problems with textmate and rspec bundle
Folks, I saw David''s tutorial yesterday at RailsConf and started working on RSpec lastnight and am having a *ton* of trouble with the bundle for TextMate. I''ve made *some* progress, but thought I''d throw it to the list * I run ruby, including rb-rubygems using the MacPorts install (per JDD''s Sandboxing Rails) * installed rspec 0.9.4 (also rcov 0.8.0.2 and
2008 Jan 08
2
Problems with rspec 1.1 required inside rake tasks
This is interesting. The default rspec rake tasks generated by Hoe give you an rspec.rake file that looks like: > begin > require ''spec'' > rescue LoadError > require ''rubygems'' > require ''spec'' > end > So far so good. When you invoke rake to do something, say check_manifest > rake check_manifest > You
2007 Nov 09
9
fixture_file_upload and edge rspec?
Hi all, I had some specs that were using fixture_file_upload that were passing just fine. Then I froze edge rails to get some 2.0 functionality, then a I upgraded to trunk rspec to deal with uninitialized constant ActionView::Helpers::JavaScriptMacrosHelper After a couple other of tribulations, I have now gotten down to just a couple of not passing specs, all using the fixture_file_upload.
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
2006 May 19
1
LoadError - no such file to load -- pathname (Dreamhost)
I''ve started getting the following error on Dreamhost when trying to run any scripts or dispatch.* [barry]$ ruby -d script/server Exception `LoadError'' at ./script/../config/boot.rb:6 - no such file to load -- pathname ./script/../config/boot.rb:6:in `require'': no such file to load -- pathname (LoadError) from ./script/../config/boot.rb:6 from
2005 Mar 09
2
LoadError
Hi, Im new to both Ruby and Rails, though am impressed by both. I am however stuck on a problem, when trying to run a demo. I''ve setup a postgresql database with a cookbook demo as per OnLamp, returned is the following error message: LoadError in Recipe#new No such file to load -- postgres script/server:48 Has anyone come across this error before? Anyone know how I should go about
2007 Dec 13
2
no such file to load — ubygems (LoadError)
All of a sudden, i''m getting this error when trying to launch the console - no such file to load — ubygems (LoadError) I''m using 1.2.3 as my base rails install and i also get the same problem in a project frozen to 1.1.6. I saw a blog post at http://wharsojo.wordpress.com/2007/05/1 … loaderror/ which recommended removing the RUBYOPT variable from my (windows) environment.
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
2007 Jul 23
1
readline (LoadError)
hi, i''m a noob in ror, today i bought a book to learn ror. i do everthing that stand''s in this book, and the shit does''t work! i use Aptana IDE with RadRails the problem is: Loading development environment. /usr/lib/ruby/1.8/irb/completion.rb:10:in `require'': No such file to load -- readline (LoadError) from /usr/lib/ruby/1.8/irb/completion.rb:10 from
2009 Mar 25
0
RMagick LoadError
I installed RMagick 2.9.1 and tried to test RMagick code below. irb -rubygems -r RMagick But I got an error like below. /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick2.so: libMagickCore.so.2: cannot open shared object file: No such file or directory - /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.9.1/lib/RMagick2.so (LoadError) from
2011 Jan 12
1
gem and rails3: LoadError
Hi everybody, I''m trying to use the prawn gem into a new rails3 application on debian. What I did: As root: - install rubygems, from http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz - gem install rails - gem install prawn - gem install pdf-reader - gem list | grep prawn => prawn (0.8.4) prawn-core (0.8.4) prawn-layout (0.8.4)
2007 Jun 01
1
LoadError on ''initializer'' when starting Mongrel
Hi all... When I start Mongrel I get a LoadError. I use the command > sudo mongrel_rails cluster::start -C /path/to/mongrel_cluster.yml and it says > Starting 2 Mongrel servers... but in the log I see this error: ** Starting Rails with production environment... /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load --
2010 May 18
0
no such file to load -- thread (LoadError)
Hi All, I removed all my rails and then ruby installation using sudo apt-get remove and by deleting all gem and ruby folder manually. Then I installed ruby. And tried to install gem(1.3.5 and1.3.6 also) using ruby setup.rb I got following error ./lib/rubygems.rb:9:in `require'': no such file to load -- thread (LoadError) from ./lib/rubygems.rb:9 from setup.rb:24:in `require''
2011 Feb 10
0
Testing custom function and puupet LoadError
I am using ruby-enterprise, installed under: /opt/ruby-enterprise, when I try to run ruby interpreter I get error about loading puppet: # ruby -rpuppet netbackup_servers.rb ruby: no such file to load -- puppet (LoadError) What do I need to set RUBYLIB env var to? I tried this: export RUBYLIB=$RUBYLIB:/opt/ruby-enterprise/lib/ruby/ export RUBYLIB=$RUBYLIB:/opt/ruby-enterprise/lib/ruby/1.8/
2007 Apr 09
0
rubygems LoadError with Apache
Hi, I tried to deploy Ruby with Apache on OS X, but i got this error just from clicking on the "About your application’s environment" on the "Welcome aboard" rails page. ======================================================================== public/../config/boot.rb:18:in `require'': No such file to load -- rubygems (LoadError) from