search for: bash_login

Displaying 20 results from an estimated 30 matches for "bash_login".

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 i do something wrong? i''m new to a lot of this stuff, so any help would be greatly appreciated. -- Posted via http://www.ruby-forum.com/.
2006 Mar 29
3
Bash
I have installed Ruby and Rails on my Intel iMac according to the instructions provided by Hivelogic. Everything works perfectly. I have noticed that if I close Terminal and later come back and open it, It seems like the paths set in bash_login are lost. If I open bash_login the paths are still there however if i do ruby -v it says I am running 1.8.2 (mac default) when I have installed 1.8.4. If I run . ~/.bash_login, everything is fine and ruby -v now shows I am running 1.8.4. Why do I have to keep running this command everytime I w...
2006 Mar 16
8
Question on gems on Mac OSX
...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 gems for MySql as well as Rails again every single time I open or close a Terminal window. Is there anyway to make these changes and install stick? My setup was via this article at http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd...
2006 Sep 25
1
Pls help on configuring autofs on NFS
.../home/.bash_profile failed, reason given by server: Permission denied automount[5937]: mount(nfs): nfs: mount failure 192.168.1.247:/home/.bash_profile on /home/nfstest/.bash_profile automount[5937]: failed to mount /home/nfstest/.bash_profile automount[5939]: >> mount: 192.168.1.247:/home/.bash_login failed, reason given by server: Permission denied automount[5939]: mount(nfs): nfs: mount failure 192.168.1.247:/home/.bash_login on /home/nfstest/.bash_login automount[5939]: failed to mount /home/nfstest/.bash_login automount[5941]: >> mount: 192.168.1.247:/home/.profile failed, reason gi...
2006 Apr 24
4
Ruby/rails on Mac OSX not working
...elopment 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 PATH="/usr/local/bin:/usr/local/sbin:$PATH" After going throught the installation, I can''t get ruby to work. I can however check the version with ruby -v which returns 1.8.2 still. Ocassionally, firing up the terminal and repeating the version gives me 1.8.4, but it...
2006 Jul 16
29
Problem installing on Mac OSX
I tried the instruction tutorial on http://maczealots.com/tutorials/ruby-on-rails/ and in the middle of trying to install fixrbconfig I got an error: usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h does not exist. This probably means you haven''t yet installed Xcode from the Tiger DVD. You won''t be able to compile Ruby extensions without it. Please install it then rerun this
2006 Aug 17
7
sudo: gem: command not found
I opened up my file .bash_login and have the following path export PATH="/usr/local/bin:/usr/local/sbin:$PATH" The when I try and install Ruby on Rails via this command line: sudo gem install rails --include-dependencies I receive this error: sudo: gem: command not found Any help please. Thanks Uri -- Posted via h...
2006 Feb 01
2
Trouble with migrate over Switchtower
...d. > I have no idea why this can?t find the rake command. If I ssh into the > production machine and manually run that command: > cd /webserver/cbwebsite/current && rake RAILS_ENV=production migrate > , it works fine. I previously > set up my paths in both .bashrc and .bash_login. During some troubleshooting I > even added a ~/.ssh/environment file and added the PATH there ? nothing seems > to fix this. > Any ideas? Thanks in advance for your help. ~ Mike -- Work: http://ClickableBliss.com Play: http://MikeZornek.com
2006 Mar 12
5
Webrick and Lighttpd
I just went thru the hivelogic article to get everything installed on my new mac. I then decided to run thru the ADC Rails article. In the article it says to run ''script/server'' which will start lighttpd if installed or webrick if not. When I do it, I get webrick not lighttpd. I followed the hivelogic article word for word and everything else seems to be working fine. Is
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
2009 Mar 18
2
Crash!!! -- Permission Error
...777, 766, 666, 760, etc etc. I've also ran mysqld_safe as root user, but with same permission error. Also tried different directories without luck. When I log in to the server shell, it won't chroot me to my home directory. Instead it puts me in '/' with error message "no .bash_login. And when I log out I get message "no .bash_logout". I've never had these files in any of my users' directories. Another strange thing just discovered is IE or FireFox display "Forbidden - You don't have permission to access / on this server", on all web sites. S...
2006 Aug 04
8
Capistrano /usr/bin/env: ruby: no such file or directory
Hi, I''m deploying to a prod linux server via Capistrano, but the last step, running the reaper, won''t complete. Ruby is stored in /usr/local/bin on the server, and I''m deploying from winxp. $ ssh mcalogin@lx07 Password: mcalogin@LX07:~> env | grep "^PATH" PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/b in:/opt/
2006 May 24
5
Starting on the Ruby Rails path
...(probably the latter). Don''t know if that "export PATH="/usr/local/bin:/usr/local/sbin:$PATH"" was correct for bash. Can''t I put that in .bash_profile together with the mysql path I have there? (Never understood the difference with .bash_profile, .bashrc, .bash_login, etc). How do I check if I got Ruby and RubyGems installed properly? I also got Locomotive for Mac OS. If I have that do I need to bother with the other installation above? -- Posted via http://www.ruby-forum.com/.
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
2010 Oct 12
6
RVM on a Macbook
...ts. I have successfully run the script displayed below the heading "The following script will boostrap git + RVM..." on the page: http://rvm.beginrescueend.com/rvm/install/ However I can find no .bash_profile or .bashrc on my machine. The closest existing files are .profile in my root, .bash_login in my root, and setup.bash.in in a subfolder of Macports. I have tried adding: [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. to each of them but the result is the same after closing Terminal and reopening it: $...
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>
2006 May 09
2
newbie: OSX Ruby/MySQL issue?
I''m three pages into the OnLamp RoR Tutorial [1] and am wrestling with what appears to be a MySQL connection problem. I''ve created a simple controller called "recipe" with a corresponding "recipes" mysql table. The recipe controller is just a simple scaffold. When I browse to "recipe/new", though, I get these errors: == NoMethodError in
2006 Jun 15
9
MySQL error
Greetings, I''ve got a Rimu account and I''m trying to config things for a deployment. I''ve now got things to where I''m atleast getting a nice error page you can see at: http://www.juiceboxmedia.ca/public/ the username and password I have connects to this database fine with phpmyadmin from my plesk control panel, so as far as I know MySQL on it''s
2019 May 13
2
root .bash_profile?
Ah thank you. Having forgotten this, I already had all my aliases and instructions in there. For some reason they aren?t loading. If I do this, then everything loads: source /root/.bash_profile So there?s an indication this isn?t loading upon entry into su. Is this normal? > On May 13, 2019, at 8:38 AM, Nux! <nux at li.nux.ro> wrote: > > Hi, > > The $home of root
2006 Jan 18
2
Migration?
I just installed ruby, lighttpd, and mysql from darwinports on me laptop in lieu of the Apple version of ruby. Now when I fire up my rails application, it''s not running lighttpd anymore -- it''s running webrick. It also exits immediately. MySQL is running, the database and tables are restored from the backup. What step am I missing? Thanks for the help! Cheers, Hasan