Displaying 20 results from an estimated 300 matches similar to: "Undefined method "full_description" when trying to run "rake spec""
2008 Jul 08
1
Strange behaviour with pending specs and implementation_backtrace
Hi all,
I''m using my own OutputFormatter with /bin/spec to catch rspec results. I''m experiencing strange behaviour with pending specs and implementation_backtrace.
This is my example_pending implementation in rspactor_formatter.rb:
class RSpactorFormatter
def example_pending(example, message)
spec = SpecObject.new(
:name => example.description,
2008 Sep 14
2
rake spec:rcov => [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i386-mswin32]
i have a rails app that tests fine with "rake spec" but gets a
segmentation fault when "rake spec:rcov" is run.
i am on windows xp, ruby 1.8.6, rails 2.1.1, mysql 5
my app is at
http://github.com/scottnj/test_blog/tree/master
so maybe someone can try to replicate my error so i know if the
problem is with my code or something installed on my pc.
here is a copy of my shell
2008 Jun 07
2
rcov causing a segmentation fault on rspec 1.1.4 and rails 2.1
Hello again :)
I''m trying to run rcov on my specs here but i''m getting a lot of
segmentation faults (and they usually happen at different places):
/home/mauricio/NetBeansProjects/reeds/vendor/rails/activerecord/lib/active_record/attribute_methods.rb:211:
[BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i486-linux]
2011 Apr 20
1
How to get R plots with FastRweb
Dear friends,
I am working in a web service project which uses integration of Java with R.
I have used RJava to connect with Java and that is working fine. As R
produces more interactive plots, I would also like to pipe plots generate
from R on web page. I came to know that FastRWeb, R2HTML, brew and
WebGraphics, Cairo together can be used to do that. I have installed all
those successfully. I am
2006 Sep 15
7
OT: TinyMCE in Rails
I''m having a problem getting the text area the size I want it to be.
In my view at the top I have this init calls
<script type="text/javascript" >
tinyMCE.init({
mode: "textareas",
theme: ''advanced'',
theme_advanced_toolbar_location: ''top''
});
</script>
Then in my form:
<%= text_area
2007 Dec 03
1
undefined methods page_count
I''m getting "undefined method `page_count'' for #<Array:0xb7073e1c>"
when I tried to run my rails application after installing
will_paginate. Details are as below:
undefined method `page_count'' for #<Array:0xb7073e1c>
Extracted source (around line #7):
4: <%= a.text%>
5: <% end %>
6:
7: <%= will_paginate @announcements,
2006 Jun 23
3
Can I recommend theora to my readers yet? Please?
Hi,
I'm working on updates to the WWW FAQ (okay, it's a little much
to use the singular in 2006, but it was the first!).
Embedded multimedia has been a sore spot for a while. I've been
recommending that people embed old-school MPEG, because it
works in all players. But it's awful. Terrible bitrates.
I'm on the verge of recommending SWF instead, even though
it's a hideous
2010 Feb 12
1
Why does config.gem mess up migration?
I was working this morning, trying to clean up my project and I did
something that sent migrations to hell-in-a-hand-basket.
I tried to run rake db:migrate --trace I got the following error msg:
(in /Users/richardmartin/NetBeansProjects/ReTrace)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Mysql::Error: Table
2010 Sep 03
6
upgrading to rails 3.
I''ve installed rails_upgrade plugin with ruby script/plugin install
http://github.com/rails/rails_upgrade.git.
Then if I run rake rails:upgrade:check it says
rake aborted!
no such file to load -- initializer
What I''ve missed?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2008 Sep 24
19
How to define request.domain in when testing
Hi,
My application relies on request.domain for doing its job. The problem I
am encountering, is that when running tests, request.domain returns
"test.host", how can I change that so that it returns "mysite.com"?
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2009 Sep 17
1
Load Error Using Mechanize Gem
Hi,
I''m getting a "Could not open any of [xml2, xslt, exslt] (LoadError)" error when trying to run a simple Ruby program taken from the EXAMPLES.rdoc file of the Mechanize gem.
The error is in this line of the Nokogiri module of libxml.rb: ffi_lib ''xml2'', ''xslt'', ''exslt''
Not sure if there are missing gems, and if so,
2007 Dec 30
6
Restful-Authentication Rspec Failure Rails 2.0.2
I am trying the Restful-Authentication (latest version, downloaded
today) and upon running the generator, doing the migration, prepping
the test system and putting the resources in routes.rb I get a Rspec
test failure:
''SessionsController logins and redirects'' FAILED
expected not nil, got nil
routes.rb has:
map.resources :users
map.resources :sessions
nothing else was
2004 Feb 21
2
lib-multiogg
As ogg gains more codecs, moving forward into the brave new world of
multi-codec streams, the cutting edge cannot press forward effectively
without a way to abstract out many of the parts of dealing with
multi-codec ogg streams. It's tricky to get these things right. Every
program that uses ogg needs a reliable way to find out when chained
streams begin and end, which codecs a given stream
2010 Nov 14
1
Error with require "wx"
I have installed the wxruby gem, with no errors, but when I try to
inclue the gem, I get this error:
<internal:lib/rubygems/custom_require>:29:in `require'': 126: The
specified module could not be found. -
C:/Ruby192/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-mingw32/lib/wxruby2.so
(LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require''
2009 May 30
0
rake aborted! EMULTIHOP (Reserved)
Hi,
I am using netbeans 6.5.1 IDE for development,(On fedora operating
system) I have installed mysql
and given proper sock file path in the database.yml file. But still I
am getting this error when i am trying to migrate the database to
current version.
(in /home/a1tech/NetBeansProjects/RailsApplication1)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute
2009 Sep 25
0
WWW::Mechanize and Rails console not playing well
I can run this code just fine in irb, but when I run it in rails
script/console, I get an error:
>> res = agent.submit(search_form, search_form.buttons.first)
ArgumentError: one hash required
from /home/jwoods/NetBeansProjects/activista/vendor/rails/
actionmailer/lib/../../actionpack/lib/../../activesupport/lib/
active_support/core_ext/string/interpolation.rb:85:in `%''
2009 Sep 06
0
about configuration ror (i'm tiro)
hi,
i''m using ubuntu9.04, download ruby Source code and make it.
install rails 2.3.4
$rails /var/www/hello is work
but when $ ruby script/generate migration hello_db
System tell me:
/usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.4/lib/initializer.rb:
271:
in `rescue in require_frameworks'': no such file to load -- jopenssl
(RuntimeError) from
2019 May 30
0
SIGABRT on fetching mail
Good Morning,
I tried using gdb, but that doesn't work for me:
$ ulimit -c unlimited
$ sudo systemctl restart dovecot
$ sudo -E getmail
getmail version 5.13
Copyright (C) 1998-2019 Charles Cazabon.? Licensed under the GNU GPL
version 2.
SimpleIMAPSSLRetriever:peter.nabbefeld at gmx.de@imap.gmx.net:993:
getmailrc: operation error (child pid 19702 killed by signal 6)
? 1 messages (12551
2011 May 25
0
issues with rJava; cannot run JRI example
Hello,
I am trying to run JRI example from rJava, but I have some issues. I have read many posts and didn't find any solution to my problem.
I have the following code:
Rengine re = new Rengine(null, false, null);
System.out.println("Rengine created, waiting for R");
if (!re.waitForR()) {
System.out.println("Cannot load R");
return;
2009 May 06
0
OCI Library Initialization Error
I am attempting to connect to ORACLE11g however i am getting the
following error:
"OCI Library Initialization Error"
IT always errors on OCIENV.init(). I cant see anything wrong on the ENV
configurations.
Has anyone had this problem, or any suggestions on where i should look
for anwers?
I am using the following gems:
ruby-oci8 (1.0.4)
activerecord-oracle-adapter (1.0.0.9250)