search for: rails_app

Displaying 20 results from an estimated 134 matches for "rails_app".

Did you mean: rails_apps
2009 Oct 08
0
autospec cannont find gems
I am trying to install rspec for rails and have the following gems install C:\INSTAN~3.0-W\rails_apps\katai>gem list --local *** LOCAL GEMS *** actionmailer (2.3.4, 2.0.2) actionpack (2.3.4, 2.0.2) activerecord (2.3.4, 2.0.2) activeresource (2.3.4, 2.0.2) activesupport (2.3.4, 2.0.2) authlogic (2.1.2) autotest-rails (4.1.0) builder (2.1.2) capistrano (2.5.9, 2.1.0) cgi_multipart_eof_fix (2.5....
2006 Aug 28
2
Capistrano deploy failing with :if Expression Syntax failure
...b loading configuration #<Proc:0x08f74508@/usr/local/lib/ruby/gems/1.8/gems/mongrel_cluster-0.2.0/lib/mongrel_cluster/recipes.rb:1> * executing task deploy ** transaction: start * executing task update_code * querying latest revision... * executing "if [[ ! -d /usr/local/www/rails_apps/ideeli/releases/20060828223656 ]]; then\n /usr/local/bin/svn co -q -r142 svn://216.12.167.103/ideeli/trunk /usr/local/www/rails_apps/ideeli/releases/20060828223656 &&\n (test -e /usr/local/www/rails_apps/ideeli/revisions.log || touch /usr/local/www/rails_apps/ideeli/revisions....
2007 Feb 12
1
Invalid char problem
Has the problem with corrupted .rhtmls (invalid characters) been solved so far? I would like to use ferret and acts_as_ferret on Windows XP. I have installed 0.10.9 (mswin32) which still seems to have the problem. I am receiving error messages like: compile error C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:2: parse error, unexpected '')'', expecting kEND C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:3: parse error, unexpected tIDENTIFIER, expecting kEND _erbout.conc...
2010 Aug 24
11
will_paginate problem
...line @@@@@ require ''will_paginate''@@@@@ After adding this when I am running “””ruby script/server””” then this error is coming @@@@@ NoMethodError in StoreController#index undefined method `paginate'' for #<Class:0x4aaf448> RAILS_ROOT: C:/InstantRails-2.0-win_2/rails_apps/diligence Application Trace <http://localhost:3000/store> | Framework Trace<http://localhost:3000/store> | Full Trace <http://localhost:3000/store> C:/InstantRails-2.0-win_2/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/base.rb:1532:in `method_missing'...
2006 May 09
6
Still Stumbled on First things in trying RubyOnRails
...ls http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html http://instantrails.rubyforge.org/tutorial/index.html http://rails.homelinux.org/ I had tried the first of the top 12 tutorials and got stuck after adding a new field ?category_id?in the table recipes, introduced C:\InstantRails-1.0\rails_apps\cookbook2\app\views\recipe\edit.rhtml, and modified C:\InstantRails-1.0\rails_apps\cookbook2\app\controllers\recipe_controller C:\InstantRails-1.0\rails_apps\cookbook2\app\models\category C:\InstantRails-1.0\rails_apps\cookbook2\app\models\recipe I log into http://localhost:3000/category/list, c...
2006 Aug 09
3
Need help with backgroundrb''s concepts and installation
...I install it? I use window machine and I follow the instructions from this link (http://backgroundrb.rubyforge.org/) in order to install backgroundrb but it doesn''t seem to work right here is how I install backgroundrb ( btw, my project name is called ttv3) 1. I ran C:\InstantRails-1.0\rails_apps\ttv3>ruby script/plugin install svn://rubyforge.org//var/svn/backgroundrb 2. it seems to be loading something for a second 3. then I input C:\InstantRails-1.0\rails_apps\ttv3>rake backgroundrb:setup but then I got this error message C:\InstantRails-1.0\rails_apps\ttv3>rake backgroundr...
2006 Mar 12
2
InstantRails works with WEBrick, fails with SCGI
I have an app that I''ve been developing for some time with RADRails and WEBrick locally. I wanted to take it to Apache and following the following steps: 1) Downloaded and extracted InstantRails. 2) Started and tested cookbook with SCGI. Works great. 3) Copied my app over to rails_apps directory. 4) Added a virtual host to Apache identical to cookbook (just using port 9999 with cookbook shutdown) and: ServerName www.myrailsapp.com # handle all requests through SCGI SCGIMount /dispatch.fcgi 127.0.0.1:9999 DocumentRoot ${path}/rails_apps/myrailsapp/public...
2008 Jul 24
0
Errno::EBADF Send an Email in Rails using GMail
...39;'QUIT'') rescue EOFError, OpenSSL::SSL::SSLError end end end I get the following error message: Errno::EBADF in EmailerController#sendmail Bad file descriptor - connect(2) RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace C:/InstantRails/rails_apps/YOTO/vendor/plugins/action_mailer_tls/lib/ smtp_tls.rb:10:in `initialize'' C:/InstantRails/rails_apps/YOTO/vendor/plugins/action_mailer_tls/lib/ smtp_tls.rb:10:in `open'' C:/InstantRails/rails_apps/YOTO/vendor/plugins/action_mailer_tls/lib/ smtp_tls.rb:10:in `do_start'' C:/...
2006 Dec 15
1
Help w/ Apache Proxying Mongrel
...-proxy.conf file is included below: LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> #Proxy information for project application Alias /project "e:/rails_apps/project/public" <Directory "e:/rails_apps/project/public"> Options Indexes FollowSymLinks AllowOverride none Order allow,deny Allow from all </Directory> ProxyPass /project/images ! ProxyPass /project/stylesheets ! ProxyPass /project/javascripts ! Pro...
2007 Feb 04
4
problems with tutorial
...rd you''re riding ruby rails" screen in explorer, but then it tells you to : "Leave your existing command window open with the web server running, and open a second command window. Enter >use_ruby and then navigate to the application''s base directory: c:\Instantrails\rails_apps \cookbook2. It will look like Figure 10, at least in a moment." How do I open a second command window? Rae --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this...
2006 May 14
4
script/console on windows
Hiall, When I try to run script/console from a windows command line like f:\rails_app\ruby script\console I get the following error: F:/Programme/Ruby-1.8.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- initializer (LoadError) from F:/Programme/Ruby-1.8.4/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require...
2006 Jul 19
1
A couple of problems
...d and returning like that. Really just wondering if this is by design or a bug? 2. When trying to pass a constant (class name in this instance) in the args hash I receive the following error. #=> undefined method `[]'' for #<DRb::DRbUnknown:0x13382d4> (druby://localhost:22222) /rails_app/vendor/plugins/backgroundrb/backgroundrb.rb:105:in `new_worker'' (druby://localhost:22222) /rails_app/vendor/plugins/backgroundrb/backgroundrb.rb:104:in `synchronize'' (druby://localhost:22222) /rails_app/vendor/plugins/backgroundrb/backgroundrb.rb:104:in `new_worker'' app/c...
2010 Feb 23
12
"no such file to load -- gettext/rails" error
...ale (2.0.5) log4r (1.1.5) mongrel (1.1.5) rack (1.0.1) rails (2.3.5) rake (0.8.7) ruby-postgres (0.7.1.2006.04.06) win32console (1.2.0) Gettext is indeed installed: C:\Ruby\lib\ruby\gems\1.8\gems\gettext-2.1.0 Any ideas? ============================================= C:\rails_apps\aaa_arb>ruby script/server -e production => Booting Mongrel => Rails 2.3.5 application starting on http://0.0.0.0:3000 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_re quire'': no such file to load -- gettext/rails (MissingSourceFile) from C...
2010 Jul 18
3
Passenger configuration
Hello Experts, I am developing a site that will be deployed on dreamhost. My Development environment is as followed. Development H:\mywork\QMed\KIMS_banglore\rails_apps\kims_sachin2.0>ruby script/ about About your application''s environment Ruby version 1.8.6 (i386-mingw32) RubyGems version 1.3.7 Rack version 1.1 Rails version 2.3.8 Active Record version 2.3.8 Active Resource version 2.3.8 Action Mai...
2006 Oct 31
1
2 Background processes
Is it possible to have 2 seperate instances of backgroundrb running on the same machine? I''m having to develop on the same box as production and I can only get backgroundrb to work for one or the other. Thanks in advance, Chris.
2006 Dec 14
0
Apache2, Mongrel & multiple apps
...My httpd-proxy.conf file is included below: LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> #Proxy information for project application Alias /project "e:/rails_apps/project/public" <Directory "e:/rails_apps/project/public"> Options Indexes FollowSymLinks AllowOverride none Order allow,deny Allow from all </Directory> ProxyPass /project/images ! ProxyPass /project/stylesheets ! ProxyPass /project/javascripts ! ProxyPass /pr...
2009 Aug 06
20
Changing from database sqlite3 to mysql - windows
Hi Guys I''d like to know how to change from using sqlite3 to mysql. I''m running windows xp. What is the command that I must type under my application folder? How to I log into the mysql database afterwards? My database.yml file contents at the moment are: # SQLite version 3.x # gem install sqlite3-ruby (not necessary on OS X Leopard) development: adapter: sqlite3
2007 Sep 18
1
Errno::EACCES - Permission denied while delete a file
...ng my file, for that while searching i came to know i have to set chmod, but i don''t know how to set chmod in my file, if any one knows, how to set this one, please let me know, Thanks in advance. my Error is: Errno::EACCES in CasesController#delete_attach Permission denied - D:/INSTAN~1/rails_apps/oddworlders/members/OW1/admin/Duplicate Company Interchange Aliases.PNGRAILS_ROOT: D:/INSTAN~1/rails_apps/oddworlders/config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/app/controllers/cases_controller.rb:362:in `delete'' #{RAILS_ROOT}/app/controllers/cases_controlle...
2009 Jul 30
8
Rails 2.3.x and active_scaffold Installation
Hi, I have upgraded to rails 2.3 and active_scaffold plugin is not working. when i run this command it creates a active_sacaffold folder in vendor/ plugins, but its an empty folder. I googled but found no way to install it. Please help!!!!!
2008 Mar 24
2
render not able to locate template in publisher
...t the way we do it for ActionMailer. My problem is that when I try to update a users profile specifying location of the view template as a paramater to "profile" method, it gives an error "ActionView::TemplateFinder::InvalidViewPath (Unprocessed view path found: "/home/jatinder/rails_apps/app-name/app/views/." The call to profile method looks like this, profile render :partial => "/users/profile", :assigns => {:user => user_to_be_updated } Anybody has a clue where could I be wrong? Jatinder