Displaying 20 results from an estimated 2000 matches similar to: "RoR:OSV: Installation issue"
2012 Feb 11
1
rake command shows the error
rails -v=2.3.8
gem -v= 1.4.2
ruby -v=1.8.7
When i issue the "rake" command ,it gives the following error .
(in /home/amrit/amrit/OSV/OpenStreetView)
/usr/bin/ruby1.8 -I"lib:test"
"/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
"test/functional/main_controller_test.rb"
"test/functional/upload_controller_test.rb"
2009 Mar 15
3
Capistrano deploy errors
Hi, when I do cap deploy:cold I get this error:
rake aborted!
undefined local variable or method `acts_as_commentable'' for #<Class:
0x7fa1c34a2f10>
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
base.rb:1833:in `method_missing_without_paginate''
/usr/local/lib/ruby/gems/1.8/gems/mislav-will_paginate-2.3.8/lib/
will_paginate/finder.rb:170:in
2014 Feb 17
0
Need help -FATAL: database "catarse_development" does not exist
Hi
i try to run this
rake db:migrate
How i fix this
i get this
[root@localhost catarse]# rake db:migrate
/usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in
`block in require': iconv will be deprecated in the future, use
String#encode instead.
You no longer need to have jasmine.rake in your project, as
it is now automatically
2010 Jun 30
0
rake TestTask problem with t.options
I am trying to understand some rake stuff better ..
I have a test that works fine if I do:
"ruby test/integration/tcp_test.rb -n test_job_create"
but if I try to do it in a rake file like below, it errors out. It
seems the t.options is the problem because I can get it to work
without that:
/usr/bin/ruby -I"lib" "/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/
2010 May 05
2
uninitialized constant when trying to migrate files
Hi,
i am having this problem:
kevinngsw$ rake db:migrate --trace
(in /Users/kevinngsw/Documents/Programming/*******)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
An error has occurred, this and all later migrations canceled:
uninitialized constant CreateUrls
2010 Aug 13
5
"uninitialized constant" Error for CalendarHelpper
After installing calendar_helper-0.2.3 gem, application using
CalendarHelper works fine. Then I tried to test using rake command which
gave me the following error.
Why does these messages appear evenif the application owrks fine.
------------------------------ Error Messags
--------------------------------------
/usr/local/jruby-1.5.1/bin/jruby -I"lib:test"
2009 Aug 21
0
[ win32utils-Bugs-26975 ] Two test failures on XP virtual machine
Bugs item #26975, was opened at 2009-08-21 10:52
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=26975&group_id=85
Category: win32-sapi
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Daniel Berger (djberg96)
Assigned to: Nobody (None)
Summary: Two test failures on XP virtual machine
Initial Comment:
Ruby 1.8.6-p383
VC++ 9
2010 Oct 24
1
Re: [Rails-core] Re: (Unable to start rails application) ruby scipt/server error
Rails application which i create manually like
rails new blog
and the content of the file "blog/config/boot.rb" are
require ''rubygems''
# Set up gems listed in the Gemfile.
gemfile = File.expand_path(''../../Gemfile'', __FILE__)
begin
ENV[''BUNDLE_GEMFILE''] = gemfile
require
2010 May 28
1
Data frame manipulation
Hello All,
Please consider the following:
TotEmp<-c(19,6,1,1,8,44,2,33,48,1)
ClusterType<-c("AGF","CNS","OSV","RTL","RTL","TRN","REL","ACC_CLUST","RTL","WHL")
Taz<-c(0,0,0,100,100,100,101,101,102,103)
2020 Aug 05
1
[v2v PATCH] libosinfo: remove auto-cleanup for OsinfoList
Avoid using an auto-cleanup for OsinfoList, duplicating the cleanup
everywhere needed.
---
v2v/libosinfo-c.c | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
diff --git a/v2v/libosinfo-c.c b/v2v/libosinfo-c.c
index 322e7d3d..75c2fae4 100644
--- a/v2v/libosinfo-c.c
+++ b/v2v/libosinfo-c.c
@@ -49,17 +49,6 @@
#if !IS_LIBOSINFO_VERSION(1, 8, 0)
2010 Jan 25
3
Issue using tapply
Hello all,
I am trying to use the tapply function to sum some values and change the
column names of the resulting vector.
I input
Emp Et
1 10565 ACC
2 7515 ADM
3 625 AGF
4 6243 CNS
5 12721 EDU
6 3924 FIN
7 18140 HLH
8 3686 INF
9 15841 MFG
10 243 MIN
11 1864 MNG
12 4664 OSV
13 5496 PRF
14 4988 PUB
15 2166 REC
16 2153 REL
17 16082 RTL
18 3582 TRN
19 757 UTL
20
2012 Jun 26
2
Error with rake command
I am using Rails 2.3.8 application and when I enter rake command it
gives following error :
ms@ms-HP:~/OpenStreetView$ rake
WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require
''rdoc/task'' (in RDoc 2.4.2+)'' instead.
at /home/ms/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
rake
2010 Jun 11
5
Issues creating tables in mysql tests
Hello,
I''m a beginner, so any hints are appreciated; I''m still trying to find my
way around Rails code. For a bug I''ve found I need to create a table called
"values" so I added this:
create_table :values do |t|
t.integer :value
end
among the other table creations in
activerecord/test/cases/migration_test.rb. Is that ok? But then, when I run
the tests
2006 Jan 08
0
uninitialized constant Test
I recently upgraded to Rails 1.0 and started a new project. I''ve
started writing some tests, but when I run rake, I just get the
following...
Amnesia:~/Development/Rails/pog shad$ rake
(in /Users/shad/Development/Rails/pog)
/usr/bin/ruby -Ilib:test
"/usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb"
"test/unit/pog_test.rb"
2006 Jun 23
1
''Series'' Pluralization
Howdy,
I have a model I called ''content_series''. I created it and noticed that
Rails called it ''Sery'', so I added ''series'' to the uncountable thing in
the config, like this:
Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, ''\1en''
# inflect.singular /^(ox)en/i, ''\1''
#
2011 Nov 05
2
Where is my gem file located so that i can rake test
Googling around, I found that apparently adding to the gem file will
fix my problems, but where do i find the gem file? what is the name of
the gem file?
"group :test do
# Pretty printed test output
gem ''minitest'' ####### add this line #######
end"
Here is what happens when i run rake test, please note that i have
already installed minitest
2006 Oct 30
1
Testing
With the 0.2.0 code, unit testing of workers isn''t working out of the box.
I created a bare rails project (dubbed "ninja") and generated one worker
"FirstWorker" and did rake test
rake test
(in /home/joshua/tmp/20061030-bdbtest/ninja)
/usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb"
2009 Jan 20
5
Problem running rake test
I''m using the One-click 1.8.7rc2 Ruby Windows installer, everything
has been working fine up till now, when i want to start getting into
testing, i got this error, any reason why?
C:/Ruby/bin/ruby -Ilib;test "C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/
lib/rake/rake_test_loader.rb" "test/unit/word_test.rb"
C:/Ruby/lib/ruby/1.8/erb.rb:469:in `scan'': You have a
2007 Dec 21
0
rake test:plugins gives uninitialized constant RAILS_ROOT
Hello,
Just upgraded to the the latest backgroundRb.I am getting an error
when i run the task "rake test:plugin". Any idea why I am getting this?
Here is the error message:
/usr/bin/ruby1.8 -Ilib:test
"/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb"
"vendor/plugins/backgroundrb/test/master_worker_test.rb"
2006 Aug 08
2
Migrations broken on trunk?
Just got an odd error running migrations off of a new trunk today. Is
this my fault is there a bug right now?
> rake db:migrate --trace
(in /home/magneticworld)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `instantiate_observers'' for ActiveRecord::Base:Class