similar to: Bash

Displaying 20 results from an estimated 1000 matches similar to: "Bash"

2006 Mar 16
8
Question on gems on Mac OSX
Hi all, lately I''ve been working with ROR on a MAC OSX tiger at work, however I have one huge problem with seems to be the root of all my problems whenever I use terminal or iTerm to start workign with ROR. Every single time I open a new terminal window or close one and open a new one, I have to reapply my path from .bash_login for Ruby and MySql, and than I have to install the
2006 Mar 15
4
Ruby - Feed Generators
Hi All, Can anyone help me in making feed[xml/rss] generator for a webpage based on ruby/ruby on rails. Tell me if any ruby code is already available, to generate feeds for a webpage. Thanks in Advance. Sumanth. -- Posted via http://www.ruby-forum.com/.
2006 Mar 27
7
rjs template ? (how to check for existence of a dom element?
In my rjs template I''m using the following line. page.visual_effect :slideUp, ''comment_error_details'', :duration => 0.5 It works fine if I have created the div with the id="comment_error_details", but if I haven''t created the error yet then my whole rjs template fails. How can I check to see if an element has been created? I could then put
2006 Mar 27
4
widgets on rails?
Here''s my crazy question of the day. Has anybody played around with using Rails to create Mac OS X Dashboard Widgets? Or is that just sick and wrong? Giles
2006 Mar 15
13
usage of constants
I would like to define some constants that I can use across models and views and I cannot figure out how to do that. Googling hasn''t turned up anything useful and I''m looking at the PickAxe book, and I get the impression that a constant must belong to a class. If I just want a constant like... CompanyPhoneNo = "(602) 999-9999" and be able to use it in any view
2006 Mar 18
24
rails is extremely hard to install
I''m on Mac OSX and I''m about to rip my hair out over how hard it is to install rails. I''ve installed rubygems and am typing "ruby setup.rb" in the command line and get "No such file or directory." I''ve never had to use command lines before so this is alien to me. Can''t they just make installation GUI-based for non-geeks like
2006 Apr 05
4
Development Mode on Dreamhost
Anyone know (or know where to point me to) to figure out how to force Rails into development mode? I''d like to not have to kill dispatch.fcgi everytime I make a change. My site is not live and I''m just doing development and testing right now. Thanks. -- Posted via http://www.ruby-forum.com/.
2006 Feb 09
30
why there is no automatic relationship discovery
When I explain RoR to someone I don''t have a convincing argument that explains why everything is so automatic and transparent, but relationships have to be encoded by hand in models. That shows I don''t understand well that part of AR. There''s the argument that says that not all databases offer metadata about foreign keys, but the natural question then is that,
2006 Mar 21
8
How to avoid multiple submits/posts?
Hello, How do I prevent previously submitted form data from being reinserted into the database when the user presses the browser''s Refresh button? On Aughey''s advice in #irc I tried using `redirect_to'' a new `:action'' but this approach doesn''t seems to work. Any idea what might be wrong or how to tackle this problem? Thanks for your help. P.S.- I
2006 Mar 21
4
running .bash_login everytime
i used http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger to install ruby on rails on my mac. everything works fine unless i close the terminal application. after a while of pulling my hair out, i found out that everytime i restart terminal, i have to run ". ~/.bash_login" to make the paths work right. is that what i''m supposed to do everytme, or did
2006 Feb 19
8
select, first option empty value?
using the below: <%= select(''project'', ''project_type_id'', @project_types.collect {|x| [x.name,x.id]}, {:include_blank => true}) %> but i''d like that first option to have something like "select project type" with an empty value?
2006 Apr 24
4
Ruby/rails on Mac OSX not working
I have been using Locomotive for rails development and recently decided to fix up the ruby/rails install that is on my mac. As we all know, Ruby 1.8.2 came on the mac and has problems, so I followed the instructions at Hivelogic for installing the latest versions of Ruby, Rails, Lighttpd and so forth. I have this set in my path within bash_login: export
2006 Sep 25
1
Pls help on configuring autofs on NFS
Hi all, I'm trying to setup this scenario on NFS and autofs on Centos 4.3: - useradd nfstest on an NFS server (192.168.1.247) - Setting up this NFS server /etc/exports: /home/nfstest 192.168.1.252/255.255.255.0(rw,sync,no_root_squash) - useradd nfstest on a client machine (192.168.1.252) - make sure that the uid and gid are the same on the server and the client - setting up
2006 May 24
5
Starting on the Ruby Rails path
Hi all, I''m a web designer/-developer. I found Ruby and Ruby on Rails, and as I can understand (for now) this is what I''ve been looking for. I''m really exited about this. Prior to this I''ve used Lasso and PHP. But a few questions (sitting on Mac OS 10.4.6). I tried to install according to this:
2006 Mar 31
1
FreeBSD powered Rails sites
Hello, If your operation depends on FreeBSD you should be aware there is currently a funding request by the FreeBSD security officer. I''m relaying this information because I know FreeBSD is an important platform for Rails and I hope those of you who do depend on FreeBSD will be willing to put some money forward for this valuable work to continue. You can read about the request
2006 Mar 28
74
Is this an elaborate hoax/troll?
I sure hope so: http://duckdown.blogspot.com/2006/03/additional-thoughts-on-why-ruby-isnt.html Seems like it''s getting genuine rebuttals, though. It''s actually kind of amusing.
2006 Feb 19
4
Multiple HABTM to one table
I have a class Player, and a class Game. Game has two HABTM relationships to the Player table through seperate relationship tables. class Game < ActiveRecord::Base has_and_belongs_to_many :players, :uniq => true has_and_belongs_to_many :victors, :class_name => ''Player'', :uniq => true end When I add Player A to players, and Player B to victors, and save the
2006 May 16
8
capistrano can''t find svn
I''m trying to get capistrano to deploy to an osx machine - rake remote:cold_deploy but it fails on the svn co line with "bash: line 2: svn: command not found" I''ve set the proper path to svn (/usr/local/bin) in both .bash_profile and .bash_login but capistrano seems to be ignoring these. How does capistrano know where to look for svn? Thanks
2006 Mar 15
0
on components
There''s an excellent write up by Stefan Kaes that''s specific to components and how they can slow down a Rails apps, but also offers an excellent introduction to using Ruby profiling tools to identify and remove bottlenecks at: <http://railsexpress.de/blog/articles/2005/11/18/components-may-not- be-evil-but-they-sure-can-be-slow> -- Jason Perkins jperkins@sneer.org
2006 Jan 08
6
ruby/rails/mysql install on mac os x
after successfully installing everything as described in this article: http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger i attempted the final step in the process of removing the two anonymous accounts for my new mysql install, and to assign a password to the administrator account. however, when following the advised commands below: shell> mysql -u root mysql>