search for: test_app

Displaying 9 results from an estimated 9 matches for "test_app".

2007 Oct 18
0
rake spec:models failing
...It''s failing on: - 1 old rspec/rails project - all new rspec/rails projects But, it *is* working fine on my other (older) rspec/rails projects. All projects are on rspec & rails 1.0.8, Rails 1.2.3, os X ppc Here''s a fresh rspec/rails project with failing rake task $ rails test_app -d postgresql $ cd test_app/ $ jedit config/database.yml $ createdb test_app_test $ createdb test_app_development $ ./script/plugin install http://rspec.rubyforge.org/svn/tags/CURRENT/rspec_on_rails $ ./script/plugin install http://rspec.rubyforge.org/svn/tags/CURRENT/rspec $ ./script/generate r...
2008 Mar 18
0
rake tasks
Hi All, New to merb, I was wondering if there are any similar rake tasks to that of the rails rake stats? Im using merb version 0.5.3 Tried the aok task and am getting the following: eoghan-js-Computer:test_app eoghanj$ rake aok (in /project/merb/test_app) /usr/local/lib/ruby/gems/1.8/gems/merb-0.5.3/lib/merb/version.rb:45: warning: already initialized constant RELEASE rake rcov (in /project/merb/test_app) /usr/local/lib/ruby/gems/1.8/gems/merb-0.5.3/lib/merb/version.rb:45: warning: already initialized co...
2011 Nov 25
4
Sprockets File not Found Exception.
..., I was trying out some sample applications for Rails. I created some controllers and pages. But when i try to access one of them i get an exception on the webpage: --------------------------------------------------------------------- Sprockets::FileNotFound in Pages#home Showing c:/railscode/test_app/app/views/layouts/application.html.erb where line #6 raised: couldn''t find file ''jquery'' (in c:/railscode/test_app/app/assets/javascripts/application.js:7) Extracted source (around line #6): 3: <head> 4: <title>TestApp</title> 5: <%= styleshee...
2005 Jul 07
1
Rails 0.13 failing on Win XP
...looks like even a fresh app will crash with a message: "allocator undefined for proc"... I''m on Win XP, everything was fine under Rails 0.12.1 Any help would be highly appreciated. -- D:\Xfp\Prog\www>ruby -v ruby 1.8.2 (2004-07-29) [i386-mswin32] D:\Xfp\Prog\www>rails test_app create (...) create log/test.log D:\Xfp\Prog\www\test_app>rake (in D:/Xfp/Prog/www/test_app) rake aborted! allocator undefined for Proc ./rakefile:15 D:\Xfp\Prog\www\test_app>ruby script/server c:/apps/prog/ruby/lib/ruby/gems/1.8/gems/actionpack-1.9.0/lib/action_controller/ cod...
2010 Oct 28
2
ActiveRecord JDBC error Generated keys not requested
...to Statement.executeUpdate() or Connection.prepareStatement().: SET SQL_AUTO_IS_NULL=0 This occurs not matter what application I run it in to e.g. rake, rails console, or from my app. Here''s the trace while running it from rake: jruby -S rake db:schema:dump --trace (in /Users/MJW/Sites/test_app) ** Invoke db:schema:dump (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:schema:dump rake aborted! ActiveRecord::JDBCError: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate() or Connection.prepareState...
2010 Jul 27
0
Rails 3.0.0.rc1 update - issue w Bundler 1.0.0.rc.1 and ruby 1.9.2.rc1
I upgraded my rails 3 version (now using bundler-1.0.0.rc.1 but bundle install in my test_app raises an error : bundle install Fetching source index for http://rubygems.org/ Using rake (0.8.7) ... Using railties (3.0.0.rc) Using rails (3.0.0.rc) Updating .gem files in vendor/cache /Users/yves/.rvm/rubies/ruby-1.9.2-rc2/lib/ruby/1.9.1/rubygems/package/ tar_input.rb:111:in `initialize'...
2006 May 24
12
Analog to ruby script/generate for removing generated stuff?
All, If I do ruby script/generate model blah, is there an easy way for me to remove all of that stuff that got generated? Something like: ruby script/remove model blah? If it doesn''t exist, is it coming? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2013 Feb 18
3
Dialplan / check / tool
Hi, I am wondering, if there is any tool available, which performs a check for suspicious entries in the dialplan. For example a non existing AGI-Script or a double assigned extension ike that: [context] exten => *100*,1,AGI(test_app.pl) ... exten => 190,1,Answer() ... exten => *100*,1,AGI(never_reached.pl) ... A "normal dialplan reload command" would echo no warning or something similair. Best regards -Thorsten- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists....
2006 Dec 18
13
unit testing wxruby GUIs
...se the wxRuby API to simulate events directly. Event objects are instantiable like any other, and they can then be passed to the app objects for handling by using EvtHandler#process_event or #add_pending_event. A snippet that works for me (OS X, 0.0.38) f = Wx::Frame.new(nil, -1, ''test_app'') b = Wx::Button.new(f, -1, ''click'') evt_button(b.get_id) { | e | Kernel.raise ''I was clicked'' } # I got this 10003 id by calling get_event_type on a real button event test_event = Wx::CommandEvent.new(10003, b.get_id) # simulated ev...