search for: railties

Displaying 20 results from an estimated 565 matches for "railties".

2012 Feb 27
9
Bit of a issue with creating a new app and running it
HI all, I have just setup the ROR environment on a vps, but once i created the app and run rails s or db:create after modifying the database.yml it keeps on appearing with the "Could not find gem sqlite3" etc message which i know this as it''s not install as i am using mysql. What else have i got to do other than modifying the database.yml as to me it''s still looking
2006 Sep 18
2
Datebocks and EdgeRails
...number of arguments. I will thank any help or guide. Thank you very much. ========================= I have copied the error I get ArgumentError wrong number of arguments (2 for 1) RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:104:in `require_or_load'' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:104:in `prepare_application'' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:39:in `dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:110:in `handle...
2011 Dec 07
1
Errors when running the local server
.../gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `load_dependency'' from /Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in `load'' from /Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/application/routes_reloader.rb:29:in `load_paths'' from /Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/application/routes_reloader.rb:29:in `each'' from /Users/liujunjun/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.3/lib/rails/application/rou...
2010 Jul 10
0
`method_missing': undefined method `i18n' for #<Rails::Railtie::Configuration:0x000001010fce98>
...some tests... My test_helper.rb file looks like this: # test_helper.rb require ''rubygems'' require ''test/unit'' require ''rails/all'' $ gem list i18n (0.4.1, 0.3.7) activesupport (3.0.0.beta4, 3.0.0.beta3, 3.0.0.beta, 2.3.8) rails (3.0.0.beta4) railties (3.0.0.beta4) $ bundle install Using activesupport (3.0.0.beta4) from bundler gems Using builder (2.1.2) from bundler gems Using i18n (0.4.1) from bundler gems ... Using railties (3.0.0.beta4) from bundler gems Using rails (3.0.0.beta4) from bundler gems $ rake test /Users/kristianconsult/.rv...
2012 Feb 06
0
Error ActiveRecord::ConnectionNotEstablished
.../ruby-1.9.3-p0/gems/activerecord-3.2.0/lib/active_record/base.rb:709:in `<top (required)>'' from /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.2.0/lib/active_record/railtie.rb:41:in `block in <class:Railtie>'' from /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.0/lib/rails/railtie.rb:179:in `call'' from /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.0/lib/rails/railtie.rb:179:in `block in load_console'' from /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.0/lib/rails/railtie.rb:179:in `each'' from /home/fel...
2006 Mar 07
4
Edge Rails - same code, different issues on mac and windows
...t/lib/active_support/core_ext/kernel/agnostics.rb:7:i n ``'': Exec format error - rake tmp:create (Errno::ENOEXEC) from ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/agn ostics.rb:7:in ``'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28 from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28:in `silence_stder r'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/rep orting.rb:26:in `silence_stream'' from ./sc...
2005 Dec 08
1
SwitchTower, Apache, and Routing Errors
...ecognition failed for > "/javascripts/prototype.js"): > /vendor/rails/actionpack/lib/action_controller/routing.rb:470:in > `recognition_failed'' > /vendor/rails/actionpack/lib/action_controller/routing.rb:460:in > `recognize!'' > /vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch'' > /vendor/rails/railties/lib/fcgi_handler.rb:141:in `process_request'' > /vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!'' > /vendor/rails/railties/lib/fcgi_handler.rb:52:in `each_cgi'' > /usr...
2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
....../gems/activesupport-3.0.5/lib/active_support/dependencies.rb:300:in `depend_on'' from /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/activesupport-3.0.5/lib/active_support/dependencies.rb:216:in `require_dependency'' from /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/railties-3.0.5/lib/rails/engine.rb:138:in `eager_load!'' from /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/railties-3.0.5/lib/rails/engine.rb:137:in `each'' from /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../gems/railties-3.0.5/lib/rails/engine.rb:137:in `eager_load!'' fro...
2011 May 27
3
unable to start server
...96:in `new_constants_in'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in `load_dependency'' from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:235:in `load'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:127:in `reload_routes!'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:127:in `each'' from /usr/lib/ruby/gems/1.8/gems/railties-3.0.7/lib/rails/application.rb:127:in `reload_routes!'' from /usr/lib/ruby/gems/1.8/gems/...
2011 Nov 01
1
rake db:migrate aborted
...;' /Users/jeanosorio/.rvm/gems/ruby-1.9.2-p290/gems/rspec-rails-2.0.1/lib/ rspec-rails.rb:10:in `load'' /Users/jeanosorio/.rvm/gems/ruby-1.9.2-p290/gems/rspec-rails-2.0.1/lib/ rspec-rails.rb:10:in `block in <class:Railtie>'' /Users/jeanosorio/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/ rails/railtie.rb:183:in `call'' /Users/jeanosorio/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/ rails/railtie.rb:183:in `block in load_tasks'' /Users/jeanosorio/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/ rails/railtie.rb:183:in `each'' /Users/jeanosor...
2010 Mar 09
1
db:migrate fails after upgrade to Rails 2.3.5
...n initialization or load paths, but I haven''t been able to find any info despite searching for a while. Any suggestions greatly appreciated! ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment /Users/kurtsnyder/code/products1/config/../vendor/rails/railties/lib/ initializer.rb:778: warning: instance variable @reload_plugins not initialized /Users/kurtsnyder/code/products1/config/../vendor/rails/railties/lib/ initializer.rb:778: warning: instance variable @reload_plugins not initialized /Users/kurtsnyder/code/products1/config/../vendor/rails/railties/l...
2011 May 02
0
Change from 3.0.6 => Rails 3.0.7 "no such file to load -- action_mailer/railtie"
...ville/Documents/code/ruby/wg/config/application.rb:6:in `require'': no such file to load -- action_mailer/railtie (LoadError) from /Users/jeffdeville/Documents/code/ruby/wg/config/application.rb:6:in `<top (required)>'' from /Users/jeffdeville/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands.rb:28:in `require'' from /Users/jeffdeville/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands.rb:28:in `block in <top (required)>'' from /Users/jeffdeville/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.7/lib/rails/commands.rb:27:in `t...
2006 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
...e in the right direction). Anyway I thought I''d report it just in case it is a bug. I''ve downloaded the EdgeRails tree (revision 4007 using `/usr/local/ bin/svn co http://dev.rubyonrails.org/svn/rails/trunk rails`) and built a new rails app (using `/usr/local/bin/ruby rails/railties/bin/ rails ~/Sites/test2`) I then cd to the test2 directory, and `rake freeze_edge` (I also have GemRails installed which I can''t change yet). When I try to start the lighty server (using start/server) it tries to copy lighttpd.conf from my vendor directory (as it should). Unfort...
2010 Nov 12
0
wrong number of arguments (0 for 1) (ArgumentError)
...ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/lazy_load_hooks.rb:26:in `on_load'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/actionpack-3.0.0/lib/action_controller/railtie.rb:52:in `block in <class:Railtie>'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/initializable.rb:25:in `instance_exec'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/initializable.rb:25:in `run'' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/railties-3.0.0/lib/rails/initializable.rb:50:in `block in run_initializers...
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
...#39;' from /home/logs/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.0/lib/action_dispatch/routing/route_set.rb:234:in `draw'' from /home/logs/Desktop/training/RAILS/courier/config/routes.rb:1:in `<top (required)>'' from /home/logs/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/application/routes_reloader.rb:29:in `block in load_paths'' from /home/logs/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/application/routes_reloader.rb:29:in `each'' from /home/logs/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.0/lib/rails/applicatio...
2009 Mar 14
5
The 2.3 branch and Rails Edge failing
...from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/dependencies.rb:156:in `require'' > from /Users/user/Sites/iwr2/vendor/plugins/facebooker/rails/ > init.rb:1:in `evaluate_init_rb'' > from ./script/../config/../vendor/rails/railties/lib/rails/ > plugin.rb:146:in `evaluate_init_rb'' > from /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/ > active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'' > from ./script/../config/../vendor/rails/railties/lib/rails/ > p...
2013 Apr 13
2
running rails on my linux mint
Hi i cannot start my rails server webrick and i m just start learning rails .. the error i get is: > /var/lib/gems/1.8/gems/railties-3.2.13/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /sbin in PATH, mode 040777 /var/lib/gems/1.8/gems/bundler-1.3.5/lib/bundler/runtime.rb:216: warning: Insecure world writable dir /sbin in PATH, mode 040777 => Booting WEBrick => Rails 3.2.13 application startin...
2013 Apr 09
2
Getting Started
.../gems/activerecord-3.2.13/lib/active_record/base.rb:720:in `<top (required)>'' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/activerecord-3.2.13/lib/active_record/railtie.rb:88:in `block in <class:Railtie>'' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `instance_exec'' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:30:in `run'' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/railties-3.2.13/lib/rails/initializable.rb:55:in `block in...
2012 Jun 26
0
no such file load errors - md5
...ocal/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:312:in `depend_on'' from /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:225:in `require_dependency'' from /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.2.2/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!'' from /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.2.2/lib/rails/engine.rb:438:in `each'' from /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.2.2/lib/rails/engine.rb:438:in `block in eager_load!''...
2010 Dec 15
5
Having trouble testing :( "superclass mismatch" and can't load "test_helper"
...by187/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/ active_support/dependencies.rb:300:in `depend_on'' from C:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/ active_support/dependencies.rb:216:in `require_dependency'' from C:/Ruby187/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/ rails/engine.rb:138:in `eager_load!'' from C:/Ruby187/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/ rails/engine.rb:137:in `each'' from C:/Ruby187/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/ rails/engine.rb:137:in `eager_load!'' from C:/Ruby187...