similar to: problem profiling rspec boot time with ruby-prof

Displaying 20 results from an estimated 600 matches similar to: "problem profiling rspec boot time with ruby-prof"

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
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 Sep 18
0
Two Separate Issues: rails generate
Hi folks. I am just starting rails and have two current issues. I have installed everything, I think, and (first) I''m having permissions feedback upon rails generate: > $ rails generate > /Library/Ruby/Gems/1.8/gems/railties-3.1.0/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /Library/WebServer/Documents in PATH, mode 040777 >
2012 Jul 06
0
Running Rspec tests with JRuby fails
How to run RSpec tests with JRuby in a Java project? I tried to run it with JRuby 1.7.0.preview1, rspec (2.10.0) rspec-core (2.10.1) rspec-expectations (2.10.0) rspec-mocks (2.10.1) rspec-rails (2.10.1) as follows: jruby -S rspec and got the error: javix at ubuntu:~/Development/rspec_jruby$ jruby -S rspec spec NameError: cannot load Java class com.models.Calculator for_name at
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
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
2011 Sep 25
2
Noob Rails patcher - problems running the sqlite3 tests...
Hi, I am following the guide here: http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html I have an ubuntu 11.04 VM setup, installed rvm, and ruby (ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]). Pulled down the rails from github and created a 3.0 branch: $ git branch --track 3-0-stable origin/3-0-stable $ git checkout 3-0-stable I can run the non-db tests ok, all pass
2011 Aug 18
1
Multiple Errors with RRD and Rake
Hello all, I am trying to install the SequreISP application (link below) but I''m facing an error that I cannot resolve and any help is much appreciated. The application I am trying to install is: https://github.com/sequre/sequreisp Here''s some information about my system: OS: Centos 5.4 (Final) uname -a Linux gateway 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686
2011 Feb 05
1
ActionMailer::Base.default_url_options
Hi, I want so set a default url for ActionMailer. I know, ActionMailer::Base.default_url_options is deprecated, so I use config.action_mailer.default_url_options = { :host => "localhost" } in my environments (test.rb, production.rb, ...). The problem is, I get a deprecation error and rails won''t start. I have no solution... Any hints for me? Testing started at
2011 Sep 10
1
rbenv and cap deploy
Hi, I have installed rbenv on my development machine and got it working. For now I run 1.8.7. But when I try to do cap deploy i get an error: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ 1.8/rubygems/custom_require.rb:31:in `gem_original_require'': no such file to load -- bundler/capistrano (LoadError) Doing rbenv rehash does not help in my deploy.rb: require
2011 Aug 28
1
troubles running rspec..
developing a 3.1 app. trying to run spec on and get this error: bundle exec rake spec ***************************************************************** DEPRECATION WARNING: you are using a deprecated constant that will be removed from a future version of RSpec. /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/ runtime.rb:68:in `require'' * Rspec is deprecated. *
2014 Jun 07
0
Multitenancy with Rails and rspec
Hello, I am following this book Multitenancy with Rails. Has anyone here read this book or can shed light on the issue? When I run rspec i get following errors rspec spec/features/accounts/sign_up_spec.rb C:/Users/J/RubymineProjects/subscribem/spec/dummy/config/environments/test.rb:1:in `<top (required)>': undefined me thod `configure' for #<Dummy::Application:0x416fe08>
2015 Aug 29
0
[ANNOUNCE] xf86-video-sis 0.10.8
Adam Jackson (2): Remove mibstore.h Stop including xf86Priv.h Alan Coopersmith (1): Fix HDisplay/VDisplay typos Connor Behan (1): Remove upload / download EXA hooks Dave Airlie (3): sis: fix build against latest xserver sis: more build fixes against master X server. sis: force build, who uses this crazy code anyways Jan Lindemann (1): Replace
2006 Sep 26
3
concurrency / #search_each problem / segfault
Hello everyone, I was stress-testing my application (running on Rails via FastCGI) by letting two concurrent users (not human .. an app called ''siege'') a) save an Article and b) search for all Articles. I am searching via Article.ferret_index.search_each( ..) do |doc_id,score| doc = index[doc_id] .. end and writing via Article.ferret_index <<
2014 Sep 28
0
how to install NUT on raspberry pi
Hi Steve thanks for your answer. I follow your tutorial untill this instruction: wget "http://downloads.sourceforge.net/project/libusb/libusb-1.0/libusb- 1.0.18/libusb-1.0.18.tar.bz2? r=http%3A%2F%2Fwww.libusb.org%2F&ts=1404210716&use_mirror=softlayer-ams" -O libusb-1.0.18.tar.bz2 in my opiniono there are 2 " that are not needed and i when -O libusb- 1.0.18.tar.bz2 is not
2011 Sep 09
0
[BUG] require on Windows fails
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, A friend of mine tried using RedCloth on Windows as part of a project I introduced hin to, but RedCloth failed to require. This is what he got: ====================================================================== c:\Ruby192\msysgit\msysgit\OpenRubyRMK\karfunkel>bundle exec rake - --trace rdoc rake aborted! no such file to load --
2010 Feb 15
3
Xapian 1.0.18 released
I've uploaded Xapian 1.0.18 (including Search::Xapian 1.0.18.0), which as usual you can download from: http://xapian.org/download The most notable changes in this release are: QueryParser: * Improve support for languages such as Burmese which use Unicode enclosing mark and combining spacing mark characters. Flint backend: * When updating documents, don't update posting entries
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 Nov 08
1
errors on multimedia guidance for x86_64
I have a fresh install of 5.4 x86_64 from a dvd .iso. All has worked well for several days, including kvm and WinXP running in a vm. Decided it was time to get the multimedia stuff up and running so I could listen to music CDs and watch DVD movies while working. I followed the guidance on the "Tips and Tricks" page for multimedia. Had no problem with the "priorities" or the
2007 Aug 06
0
Roam Prof + F Redir: Logon/off merge deletes most of profile
Sorry that post was located here: http://lists.samba.org/archive/samba/2004-October/094121.html -- Thanks, Matthew Crites