similar to: rake db:test:prepare causes error

Displaying 20 results from an estimated 4000 matches similar to: "rake db:test:prepare causes error"

2007 Dec 05
1
rake error - please help
Hi- I''m suddenly getting this rake error where as before I wasn''t. And nothing''s been changed. As you can see it says something about "load_missing_constant". Is my development environment broken? Can someone please tell me what this error means?: bbgun@echobase:~/RailsProjects/rails_space$ rake test:functionals (in /home/bbgun/RailsProjects/rails_space)
2013 Feb 28
0
Rake tasks db:test:prepare cannot be executed in the same task of db:reset or db:migrate
Hey all, I''m trying to create a task that prepare the environment to start programming. To do so, I created a task like this *task :setup_env => [''db:reset'', ''db:migrate'', ''db:test:prepare'']* and observed that after execute * rake setup_env*, it never execute db:test:prepare properly. In order to get the schema cloned to test db,
2007 Sep 10
0
Character Sets and rake db:test:prepare
As far as I can tell, if I''m using MySQL and I set the character set and collation on my databases when I create them (e.g. CREATE DATABASE project_development CHARACTER SET utf8 COLLATION utf8_general_ci), when I run db:test:prepare it''ll lose that information because db:test:purge drops and recreates my database without bothering to check what my character set and collation
2008 Aug 29
2
rake db:test:prepare
Hi I am using postgres And I have already development database..When I give rake db:test:prepare it gives sh: dropdb: command not found sh: createdb: command not found But how ever test db is created Same happens also when rake db:test:clone I would like to know why I am getting this message Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/.
2011 Apr 12
4
OS X - `require': no such file to load -- sqlite3/sqlite3_native
I''ve searched and search, tried a number of things like unstalling sqlite3 and reinstalling. Reinstalling Rails, building sqlite3 from source, etc. Nothing seems to work. When I try to start up my server I get the following: MacBook-Pro:splash Ross$ rails server /Volumes/Macintosh HD/Users/Ross/rails_projects/splash/json/ruby/1.9.1/gems/sqlite3-1.3.3/lib/sqlite3.rb:6:in
2011 Jun 09
0
failing integration test
I am following the Ruby on Rails tutorial here: http://ruby.railstutorial.org/ruby-on-rails-tutorial-book?version=2.3 I am at this section: http://ruby.railstutorial.org/chapters/filling-in-the-layout?version=2.3#code:layout_links_spec Here is my layout_links_spec.rb: require ''spec_helper'' describe "Layout links" do it "should have a Home page at
2009 Mar 09
2
rake:db:prepare Mysql::Error: #42000BLOB/TEXT column ' used in key specification without a length
I have a test environment running rails 1.2.3. I am just starting to introduce testing into this project. When I run a rake db:prepare. I see this message "Mysql::Error: #42000BLOB/TEXT column ''short_description'' used in key specification without a key length: CREATE INDEX ''short_description'' on cached_cars (''short_description'') The
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
2011 Aug 25
2
Problem with rails generaterspec:install, Error-Message: no such file to load, sprockets-railtie (loadError)
Hey guys, I''m a RoR-Beginner and I started learning it with the RoR-Tutorial. Actually I''m at this chapter (http://ruby.railstutorial.org/chapters/ static-pages#top) and try to install rspec. But everytime when I try to use "rails g rspec:install" I get this error message: C:\Sites\rails\rails_projects\sample_appp>rails g rspec:install
2014 Apr 19
0
Setting up rails, created a directory, wondering where to install rails
Hello, its my first time using ruby or the terminal, I am on Mac OS X Mavericks. I am trying to set up ruby on rails, I have got the rvm installed, I have also created a "mkdir rails_projects" and I have "cd rails_projects" However, I haven't yet install rails, I did it on purpose because I heard that its better to install it in each project separately instead of globally.
2005 Oct 11
0
Re: stylesheets directory unavailable in Apache but notWebrick
If I switch from fcgi to the cgi dispatcher the stylesheets work? Anyone have any ideas? Thanks in advance, Scott Thanks, Scott Caldwell Database Administrator City of Fayetteville 113 W Mountain St Fayetteville, AR 72701 (479) 575-8329 phone (479) 575-8316 fax http://www.accessfayetteville.org/ http://www.faygis.org/ >>>
2002 Aug 09
0
Automation of public/private key generation
Hi all, I wrote a small script (developed and testet on Solaris 8), which automates the generation and installation of the steps needed to put keys in place. I you are interested to take it, feel free to do it. -- *** Freundliche Gruesse **** Best regards *** Anton Burkhalter Dipl. El. Ing. HTL Mobile:+41(0)78 844-0290 mailto:anton.burkhalter at gmx.net
2012 Nov 06
2
rspec failure upon revisit
I just returned from a different project after taking a few weeks off of my tutorial. I''m using Ruby on Rails 3 Tutorial - Learn Rails by Example by Michael Hartl. After rebooting my server I ran an rspec spec/ command to check to see if there were any problems and this is what I received. I didn''t modify anything except I did overwrite users_controller.rb and
2018 Apr 17
0
Bug: Dovecot index loosing sync with FTS despite "fts_autoindex = yes"
Le 17/04/2018 ? 14:18, kfx a ?crit?: > dovecot 2.2.34 > solr 7.2 > > I only see new messages after typing on the server "doveadm fts rescan > -u username" though I've followed the wiki and added "fts_autoindex = > yes" in 90-plugin.conf . Subsequent search for the same pattern always > gives the same result, ignoring new emails with that particular
2013 Aug 29
4
linkedin gem
Hi, I am following this post * http://www.sitepoint.com/ruby-social-gems-linkedin/* for using linked gem and API for getting profile and other stuff But at the end I am getting this error: => Booting WEBrick => Rails 3.2.13 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting
2010 Jul 25
0
Testing problems: ActiveSupport
Hey everybody, I am trying to test a small application with a simple testing, but I get the following errors while using Aptana 2.0.5 with Ruby 1.9.1 and Rails 2.3.8(I know why I get the first one, but I''m not sure about the ActiveSupport errors): Exception: undefined method `screen_name'' for nil:NilClass
2007 Aug 28
5
ERROR: While executing gem ... (Gem::Installer::ExtensionBu
Hi all, Sorry if this is answered somewhere -- I am new to ruby and to linux, and can''t figure it out: When I try to install ferret (see below), I get ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError). Same thing happens for any version I pick from th list. I am using: gcc (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4) ruby 1.8.5 (2006-08-25) [i486-linux] gem 0.9.4 No idea
2008 Sep 12
1
ArgumentError: Unknown key(s): dependant
Hello, I came across an association error today with facebooker. class Cover < ActiveRecord::Base belongs_to :album end class Album < ActiveRecord::Base has_one :cover, :dependent => :destroy end At the console: >> Album.find :first ArgumentError: Unknown key(s): dependant from
2011 Jul 29
0
Asterisk SIP authentication against [section] instead of username
Hello, Asterisk seems to try to authenticate incoming INVITE based on the [section] in sip.conf and not the username specified. I just removed the "insecure" option from my sip.conf requesting every connection to be authenticated. I added the match_auth_username=yes in the [general] section for extra security. To make it work, I have to use the same [section] identifier as username.
2004 Apr 06
1
SIP phone registering problem
I am clearly doing something ridiculously wrong. Running Asterisk 0.7.2 on FreeBSD 5.1, I have SIP soft phones which are unable to register. They keep trying and then time out. With the sip debug on in Asterisk nothing is logged. Here is the trace from one of the phones (kphone): (192.168.100.13 is kphone, 192.168.100.3 is Asterisk) sipclient: sending: 21:47:45.454