ruby script/server problem
Dustin Tigner
8 posts
|
Hello guys, Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again: http://rubygems.rubyforge.org The only thing is, I have RubyGems 1.0.1 running, which is what it says when I run I’m on Mac: 10.4.11, running RoR: 2.0.2, Ruby: 1.8.2 Let me know if you have any questions. Thank you for the help! ~Dustin |
Derek DeVries
8 posts
|
Dustin, RubyGems 1.0.1 requires Ruby > 1.8.2. This is probably why it isn’t working correctly. Ruby 1.8.6 is the current recommended version for Rails. Derek |
Dustin Tigner
8 posts
|
Ah, I see. I actually thought I had 1.8.6 till I made that post last night. I’ll set out to update my ruby version. Thanks for the help! ~Dustin |
Dustin Tigner
8 posts
|
It seems I am having a problem with installing the most recent version of Ruby. I followed all instructions from this article: http://hivelogic.com/articles/ruby-rails-mongrel-mysql-osx/ This is the article the Ruby website recommends. It details how to install the newest version of Ruby. However, when I do everything and check my version afterwards, it states that my version is still 1.8.2. This is the second time I have installed the most recent version. Could this be a path problem? My path is: /bin:/sbin:/usr/bin:/usr/sbin:usr/local/bin:/usr/local/bin I noticed that there is two usr/local/bin, should I remove the (supposed) duplicate? Sorry for being so newbish. I really wish to start learning Ruby and Rails, though I seem to always come across walls that take forever to cross. I hope we can resolve this! Thank you for your help and time! ~Dustin Tigner |
Dustin Tigner
8 posts
|
After my last post, I really thought it had to do something with the path on my computer. To this end, I re-read the ruby installation part again. It states that you must set the path, which is what I did. However, it states that I should edit or create a .bash_login and add: export PATH=”/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH” to it. I did this, though it doesn’t seem to do anything. I did notice a .bash_profile file (since there was no a .bash_login file originally). I added the above path code to it and now my path reads: /usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/bin:/sbin:/usr/bin:/usr/sbin:usr/local/bin:/usr/local/bin After making this change I am able to see the newest version of Ruby. As far as I know, everything works now. If you see something wrong with the solution, or have advice for anything else I should do (such as cleaning up my path). Please let me know. Thanks! ~Dustin Tigner |
5 posts, 2 voices
