similar to: Base directory for apps

Displaying 20 results from an estimated 500 matches similar to: "Base directory for apps"

2012 Sep 15
10
Versioning of Views; Our Approach
My friend Ben Willis and I have developed a gem for the versioning of Rails views. https://github.com/bwillis/versioncake The versioning is done by the naming convention. Image the following series of files : show.v3.json.jbuilder show.v2.json.jbuilder show.v1.json.jbuilder create.v2.json.jbuilder create.v1.json.jbuilder The developer pre-defines all view versions in their config. When a
2010 Aug 24
11
will_paginate problem
Hi I am using rails 2.3.8 & ruby 1.3.7 & will_paginate 2.3.14 I have table name books. I am doing this code for pagination, In book_controller @@@@books = Book.paginate :page => params[:page], :per_page => 10@@@@ & in index.html.erb @@@@@<%= will_paginate @books %>@@@@@ Also added in environment.rb file this line @@@@@ require
2006 Aug 09
3
Need help with backgroundrb''s concepts and installation
Hello backgroundrb-devel my name is Teeranit Ruangdet. I''m fairly new to Ruby on Rails so please bear with me here. I''m currently on a project where I need to import a whole bunch of records from spreadsheet(.csv) and save them in the database. My problem is that while I''m importing (huge file...say 5000 employees), no one else can access the website (it basically block
2004 Sep 29
1
[LLVMdev] Linking tblgen debug executable (without symbols)onMinGW
>From: Jeff Cohen <jeffc at jolt-lang.org> >Date: Tue, 28 Sep 2004 13:05:16 -0700 > >They are part of the Platform SDK from Microsoft, part of Visual Studio. >They correspond to Window system DLLs dbghelp.dll and psapi.dll in Arrrggg, I forget this relation... >\winnt\system32. If you do not have these libs, then you are out of >luck. Mingw should have provided them
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
2006 May 09
6
Still Stumbled on First things in trying RubyOnRails
Still Stumbled on First things in trying RubyOnRails http://www.digitalmediaminute.com/article/1816/top-ruby-on-rails-tutorials 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,
2007 Feb 04
4
problems with tutorial
I''m having some trouble with the instructions at the link below: http://instantrails.rubyforge.org/tutorial/restarting_the_dev_env.html I had started at the tutorial at http://instantrails.rubyforge.org/ tutorial/index.html and had gotten as far as creating the cookbook2 exercise and had gotten to the "Welcome aboard you''re riding ruby rails" screen in explorer, but
2009 May 21
1
How to install ActiveScaffold plugin?
I am upgrading to raills 2.3.2. I’m having problems with AjaxScaffold which has been deprecated. I am a linux novice. The web site http://activescaffold.com/ has the following command: script/plugin install git://github.com/activescaffold/active_scaffold.git I tried the above and also ruby script/plugin … Nothing happens. Any ideas?
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
2010 Feb 23
12
"no such file to load -- gettext/rails" error
I get the error below when I try to start my server. Here are the versions installed: OS: Windows Server 2008 Ruby: 1.8.7 Gems: actionmailer (2.3.5, 1.3.5) actionpack (2.3.5, 1.13.5) actionwebservice (1.2.5) activerecord (2.3.5, 1.15.5) activeresource (2.3.5) activesupport (2.3.5, 1.4.4) cgi_multipart_eof_fix (2.5.0) daemons (1.0.10) gem_plugin
2006 Aug 28
2
Capistrano deploy failing with :if Expression Syntax failure
Hi everyone, I''m attempting to setup Capistrano for the first time. I''ve successfully run rake remote:exec ACTION="setup" However, every time I run rake deploy I get the following error: [root@www2 ~/src/ideeli/trunk/log]# rake deploy (in /root/src/ideeli/trunk) loading configuration
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
2006 Dec 15
1
Help w/ Apache Proxying Mongrel
I''m running Apache 2.0 as a proxy to several Mongrel/Rails apps, so that all of my Mongrel apps can be routed through the single Apache IP address. Apache 2.0 is already in use on the system, which is why I haven''t decided to use Apache 2.2. The problem I''m having is that this setup only works for Rails apps that do not use the public/index.html file as the main
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.
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
2010 Dec 10
1
no Ruby script found in input (LoadError)
I just cloned a new Raills 3 project from git. The project is brand new, although it does have some gem dependancies. I ran bundle install and I got the dependancies in stalled. Bundle check confirmed everything is there. But when I just the rails command (rails -v for example) I get this: /Users/joBdsgh/.rvm/rubies/ruby-1.9.2-preview3/bin/ruby: no Ruby script found in input (LoadError) This
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!!!!!
2009 Jul 28
4
RJS-Template and link_to_remote
Hi, I am quite new to rails and can''t use any rjs-templates. The problem is, that he can''t use/find the methods in that template e.g. ''page'' or ''replace_html''. I get an error message on these methods. Here''s what I got so far in my example: Controller: ---- class AjaxTestController < ApplicationController layout
2008 Mar 24
2
render not able to locate template in publisher
Hi guys, I have a publisher called UserPublisher setup in models directory of my app. The reason I have it in a model is because its then possible for me to invoke publisher methods in after_callbacks of my other models, just 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"
2006 Jun 08
19
Agile Web Dev (book) question: errors
This is kind of frustrating (but no doubt helpful in the long run) that after following along and coding , and d/l the code the same error is appearing. For those who are familiar with the depot app, I''ve run into a problem after fixing the cart to reflect quanitites. I worked through the intended error messages but now have this appearing: SyntaxError in StoreController#add_to_cart