Displaying 20 results from an estimated 2000 matches similar to: "Rails 'rake gems:install' error in windows"
2009 Feb 21
3
Help w/ rake db:migrate error
I made a few changes to my migration files, dropped all tables (rake
db:drop:all), and when I went to re-create everything (rake
db:migrate), I get this:
rake db:migrate --trace
(in /Users/Eric/Development/Work/Rails/pcod)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `random'' for Tidbit(Table doesn''t
2006 Aug 02
0
rake works but rake test:units fails, strange trace
Hi,
When I run rake, everything works fine but when I run rake test:units
I get an error apparently while it''s trying to create db tables
saying the table already exists. I ran rake with trace to see the
differences. It appears that rake test:units does db:schema:load
twice, maybe that is the problem? Anyone know why this might be?
Output of trace below
Rake
** Invoke default
2006 Feb 23
3
rake error
I installed at least one gem since I thought I actually once was able to
run ''rake appdoc'' command since there is an api for my models and the
ez_where plugin that I installed earlier. I wanted to see the api for
pdf-writer which is the gem that I installed most recently.
(no, I haven''t given up the issue of ''looping'' that Kevin and some
others replied
2009 Jan 15
0
"rake test" works but "rake test:units" fails
"rake test" runs all the tests as it should...
but "rake test:units"
C:\...\...>rake test:units
(in C:/.../...)
rake aborted!
FATAL C3D000 Mdatabase "postgres" does not exist Fpostinit.c
L274
RInitPostgres
(See full trace by running task with --trace)
Small part of the trace:
C:\...\...>rake test:units --trace
(in C:/.../...)
** Invoke test:units
2006 Aug 14
1
rake test:units -> table already exists
Hi!
When I run test:units, rails complains about the tables already being
present. They had to be present so I could run individual unit tests. So
why doesn''t rails just drop the tables if they exist?
Any ideas??
Jeroen
debug oupt below:
>rake test:units --trace
(in ...)
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
2006 May 28
0
rake errors - not as helpful as they could be
hi list -
i recently attempted to run rake for a first pass at some tests and ran into
a mysterious failure. rake indicated that it had aborted running the tests
but provided little information on exactly why this occurred. the only bit
of information it did offer was that i could use --trace for a full trace.
of course i did that hoping it would provide more detail, but it didn''t help
a
2011 Mar 22
2
[LLVMdev] gold plugin example
Hi all,
I got an error from the gold plugin example in the following link:
http://llvm.org/docs/GoldPlugin.html#example1
Here is the error message:
sangmin at sangmin-desktop:/tmp$ llvm-gcc -use-gold-plugin a.a b.o -o main
/usr/bin/ld: error: a.a: no archive symbol table (run ranlib)
/usr/bin/ld: /usr/lib/crt1.o:(.text+0x18): error: undefined reference to
'main'
/usr/bin/ld: b.o: in
2009 May 11
3
daemons load activesupport 2.2.2 instead of 2.1.0, causing failure
Hi,
I have a couple of daemons that im trying to setup to be run for my
app. The environment load is as follows..
ENV["RAILS_ENV"] ||= "development"
require File.join(File.dirname(__FILE__), "/../../config/environment")
And the error I get is
#<LoadError: no such file to load -- active_support>
#<Gem::Exception: can''t activate activesupport (=
2009 Apr 30
1
rake spec - no output
rake spec does not seem to be doing anything. Could it be a problem with
ruby 1.9? Here is what I did:
rails rspec-test
cd rspec-test
test.rb: config.gem "rspec", :lib => false, :version => ">= 1.2.0"
test.rb: config.gem "rspec-rails", :lib => false, :version => ">= 1.2.0"
ruby script/generate rspec
ruby script/generate rspec_scaffold
2013 Feb 01
0
rake db:migrate failing against oracle
Hello All --
I am using jruby 1.6.7.2 with rails 3.2.11 to create a brown bag for
several other developers. I cannot get the migration to work to save my
life...
In my database yaml file I have the following:
---
development:
adapter: jdbc
driver: oracle.jdbc.driver.OracleDriver
url: jdbc:oracle:thin:@localhost:1521:xe
username: brownbag
password: brownbag
pool: 500
---
When I run:
2011 Mar 22
2
[LLVMdev] gold plugin example
On 11-03-21 10:35 PM, Sangmin Park wrote:
> Hi,
>
> I fixed error by using different version of ld with LLVM 2.7.
> I used ld.gold that comes with Ubuntu 10.04.
> Here is the version info:
>
> sangmin at sangmin-desktop:/tmp$ ld -v
> GNU gold (GNU Binutils for Ubuntu 2.20.1-system.20100303) 1.9
>
> My experience of gold plugin is as follows:
>
> LLVM 2.7 (with
2011 Mar 25
1
[LLVMdev] Instrumentation with liblto and gold
Hi John,
Thank you for your advice.
LIBS and LDFLAGS work for the configure script,
but they gave errors in the make stage for apache and mysql.
I used either of the following ones with other flags:
- export LIBS="-L/home/sangmin/Dropbox/Falcon/bin/ -ldummy"
- export LDFLAGS="-L/home/sangmin/Dropbox/Falcon/bin/ -ldummy"
Here are the error messages:
Compile error (apache):
2007 Oct 05
0
RSpec Trunk - Successful : Rake Aborted
$ rake spec --trace
(in /work/workspace/ng)
** Invoke spec (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:test:prepare
** Invoke db:test:clone (first_time)
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute
2011 Mar 24
0
[LLVMdev] Instrumentation with liblto and gold
On 3/24/11 6:23 PM, Sangmin Park wrote:
> Hi,
>
> I need advice in instrumenting programs using liblto and gold plugin.
> Specifically, I added my pass in tools/lto/LTOCodeGenerator.cpp.
> My pass inserts functions (myLoad and myStore) for some load and store
> instructions.
> The functions exist in a library file.
>
> I found that the approach works for the example in
2011 Mar 24
2
[LLVMdev] Instrumentation with liblto and gold
Hi,
I need advice in instrumenting programs using liblto and gold plugin.
Specifically, I added my pass in tools/lto/LTOCodeGenerator.cpp.
My pass inserts functions (myLoad and myStore) for some load and store
instructions.
The functions exist in a library file.
I found that the approach works for the example in the link:
http://llvm.org/docs/GoldPlugin.html
$ llvm-gcc -flto a.c -c -o a.o
$ ar q
2006 Jun 13
3
rake migrate working but not working
Hi All
I got this migration to work the first time I tried it, dropped the
table and not the migration won''t create the table but does not show any
errors. Here is the trace on the execution of the rake migrate:
my-computer:~/forms lars$ rake migrate --trace
(in /Users/lars/forms)
** Invoke migrate (first_time)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
**
2006 Apr 03
0
follow_redirect! aborts rake during integration tests
I''m running integration tests on Rails 1.1/Ruby 1.8.4/Windows XP and have
found that any call to follow_redirect! (directly or through
[get|post]_via_redirect) causes rake to abort (see command line output
below). Has anyone else seen this error, or know what might be the trouble?
Thanks!
Tom
C:\dev\h2h>rake test:integration --trace
(in C:/dev/h2h)
** Invoke test:integration
2011 Mar 22
0
[LLVMdev] gold plugin example
Hi,
I fixed error by using different version of ld with LLVM 2.7.
I used ld.gold that comes with Ubuntu 10.04.
Here is the version info:
sangmin at sangmin-desktop:/tmp$ ld -v
GNU gold (GNU Binutils for Ubuntu 2.20.1-system.20100303) 1.9
My experience of gold plugin is as follows:
LLVM 2.7 (with libLLVMgold.so) + ld 2.20.1 (from Ubuntu 10.04) : O
LLVM 2.7 (with libLLVMgold.so) + ld 2.21.51
2010 Feb 25
0
Rails problems running rake and other tasks - undefined method `action_controller'
I suddenly have a major problem in all my Rails 3 apps:
$ rake db:migrate --trace
rake aborted!
Don''t know how to build task ''db:migrate''
/Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/
rake.rb:1728:in `[]''
/Users/kristianconsult/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/
rake.rb:2050:in `invoke_task''
2008 Nov 06
8
anyone able to explain logic behind "rake spec" startup (e.g. db:test:prepare => abort_if_pending_migration => invoke environment => etc etc)
anyone able to explain logic behind "rake spec" startup? i.e. the
below steps & why things occur when they do
Macintosh-2:myequity greg$ rake spec --trace
(in /Users/greg/source/myequity)
** Invoke spec (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute