Displaying 20 results from an estimated 100000 matches similar to: "How to send build options to 'rake gems:build'?"
2010 May 25
1
rake rails:freeze:gems bug in rails 2.3.5?
Hi All,
Not sure if this is a bug or expected behavior.
I''ve pasted my log below, but basically the first time that I run
rake rails:freeze:gems, I get action* all unpacked into app/vendor/
rails.....the 2nd time I run it? I only get vendor/railties/*
Something I''ve done wrong?
Thanks,
Dale
---- log -----
~/cygwin/test$ rake rails:freeze:gems
(in C:/Documents and
2008 Sep 13
4
rake does recognize "rake examples_with_rcov"
Hi,
Q1 - Know why rake doesn''t recognize "rake examples_with_rcov" per
http://rspec.info/documentation/tools/rcov.html ?
Q2 - Also when I run "rake spec:rcov" it seems to give me the same as
if I just run "autotest" or "rake spec". I was expecting a heap of
pointers to code I haven''t tested?
2009 Feb 09
9
fastercsv, freezing into vendor/gems
I''m using fastercsv such that in my rake file I''m doing this.
require ''fastercsv''
It works fine on my Mac.
I need to freeze this gem into the app though so my rake tasks work on
the production machine.
-----------
I spent about two hours though this weekend trying to get this Gem
"frozen" into the vendor/gems folder. I tried all sorts,
I ...
-
2010 Jun 09
3
rake tells me to install gems that are already there
Hi, I''ve on hostmonster.com and i''ve run into a small problem that I
just can''t get. When I push my application into my hosting environment
and try to run rake db:migrate, I get an error message from rake
telling me to install the missing gem my environment.rb file has:
config.gem "formtastic"
config.gem "authlogic"
So I installed them but I still
2008 Jun 24
1
Rails 'rake gems:install' error in windows
I am developing with rails at three platform
mac, windows, linux.
until Rails 2.1, we can describe gem dependencies in environment.rb.
( this one ~
http://ryandaigle.com/articles/2008/4/1/what-s-new-in-edge-rails-gem-dependencies
)
so I write environment.rb like below for using will_paginate
...
config.gem ''capistrano''
config.gem
2012 Nov 19
6
puppet-dashboard - rake API not working
Hello all,
I am quite new to the puppet arena, but I am really impressed with puppet
as a tool and the possibilities it gives you with regards to managing many
systems.
I am running dashboard 1.2.14 and am trying to query via the rake API:
http://docs.puppetlabs.com/dashboard/manual/1.2/rake_api.html
when I do, I get the following error:
<snip>
# sudo -u puppet-dashboard rake -f
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 28
0
Rake Aborted! db:migrate
Hello, I am trying do a migrate of my database but I have problems, I
write this in the console:
[console]
rake db:migrate
[/console]
And say me:
[console]
(in /home/distriker/Documentos/public_html/crf)
!!! The bundled mysql.rb driver has been removed from Rails 2.2.
Please install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql
(See full trace by
2006 May 29
1
ANN: Fossilize Plugin - Create Gems of your Applications.
Hello List!
I''m glad to announce the update of Rails Plugin Fossilize (0.3.0):
Fossilize
=========
Allow you distribute your rails application as a Gem.
It add a "fossilize" generator and a package task to rake.
What it offer
=============
Fossilize offer you two ways of using your distributable rails
application:
* a ''unpack'' method (by default):
2006 Apr 05
6
rake freeze_gems errors
I''m having problems trying to freeze local rails gem to my app with:
rake freeze_gems
On OSX 10.4.6 i get the following error:
Illformed requirement [=#<Gem::Specification name=rails version=1.1.0>]
This is the full output:
Freezing to the gems for Rails 1.1.0
rm -rf vendor/rails
mkdir -p vendor/rails
cd vendor/rails
Unpacked gem: ''activesupport-1.3.0''
mv
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
2011 Apr 08
1
Can't 'rake db:migrate' keep getting dlopen mysql.bundle error
MySQL version: 5.5.10
Ruby version: 1.8.7
Rails version: 3.0.5
I''m trying to get a Mac OS X 10.6.6. development box up and going, and
I''m having problems with ''rake db:migrate.''
This is how I installed the mysql gem
$ sudo env ARCHFLAGS="-arch x86_64" gem install --no-rdoc --no-ri mysql
--version 2.7 -- --with-mysql-dir=/usr/local/mysql
2009 Dec 24
1
problems unpacking log4r
I was just starting to use log4r and everything was going peachy until I
tired to unpack it into my local vendor/gems. The next time I tried to
load my rails environment, I got:
config.gem: Unpacked gem log4r-1.1.2 in vendor/gems has no specification
file. Run ''rake gems:refresh_specs'' to fix this
and:
no such file to load -- log4r
So - I dutifully tried running rake
2006 Feb 22
0
rake migrate problems
I''ve been trying to build an app with migrations:
When I attempt:
$rake migrate
I get the following errors:
rake migrate --trace
(in /Users/intention/work/atlrugpoll_working)
** Invoke migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute migrate
^Crake aborted!
2007 Nov 21
3
Cannot freeze gems
Running rake rails:freeze:gems I got the following error:
[root@WiNN-Mesh web_interface]# /usr/local/bin/rake rails:freeze:gems
--trace
(in /usr/sbin/web_interface)
** Invoke rails:freeze:gems (first_time)
** Execute rails:freeze:gems
Freezing to the gems for Rails 1.2.5
rm -rf vendor/rails
mkdir -p vendor/rails
cd vendor/rails
rake aborted!
uninitialized constant Gem::GemRunner
2013 Dec 24
0
dashed by dashboard
Thoughts?
[root@ca-sna-pm01 config]# rake RAILS_ENV=production db:migrate
(in /usr/share/puppet-dashboard)
NOTE: Gem.source_index is deprecated, use Specification. It will be removed
on or after 2011-11-01.
Gem.source_index called from
/usr/share/puppet-dashboard/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21.
config.gem: Unpacked gem rdoc-3.6.1 in vendor/gems has no
2009 Nov 07
0
wrong argument type Mysql (expected Struct) running rake with Ruby 1.9 / Rails 2.3.3
I''m use Ruby 1.9 via rvm and Rails 2.3.3. I''m on OS X 10.5 and I have
the mysql 2.8.1 gem installed. When I run rake on my rails app, I get
the error "wrong argument type Mysql (expected Struct)". I can run
the app fine with script/server and script/console fine. Is anyone
else having this problem or know what might cause this problem?
Here''s the stack
2012 Dec 04
0
Empty test suite is run after every rake task
When I run rake db:migrate or rake -T I get these lines at the end:
Finished in 0.000276 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
My Gemfile is:
source ''http://rubygems.org''
gem ''rack''
gem ''rails'', ''3.0.9''
gem "acl9", ''0.12.0''
gem "fastercsv"#, :version =>
2007 Sep 26
0
Rake DB Migration
Hai All,
i have installed Ruby and Rails in my localhost, and i have to download
Rubricks CMS and installed in my localhost in the installing process i
got below Error Please Say how can i rectify this.
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
wrong number of arguments (1 for 0)
2010 Jan 19
5
Rubyzip gem installed but not recognised
Hi,
I have installed rubyzip successfully(see output below)
Successfully installed rubyzip-0.9.1
1 gem installed
Installing ri documentation for rubyzip-0.9.1...
Installing RDoc documentation for rubyzip-0.9.1...
if I put config.gem ''rubyzip'' in environment.rb and then run rails it
fails to load rubyzip .. see below
george@geolaptop:~/Dropbox/git/paua$ ruby script/server
=>