This forum is no longer active. Please post your questions to our new community site
Need to update RubyStack to Rails 2.2.2
|
|
Hi, I’m running Rails 2.1.1 installed from bitnami-rubystack-1.2-1-linux-installer on a Linux pc 2.6.24-etchnhalf.1-486 #1 Mon Jul 21 10:36:16 UTC 2008 i686 GNU/Linux machine. Can someone help please. |
|
|
Hi euwero, to install new version of Rails you can do the following: start rubyconsole, update rubygems and, install new rails version with correct shebang (adding -E option). That is:
After that, you should have correct version available:
To make your Rails applications work with the new version you should modify “<application_path>/config/environment.rb” with: or if you have a frozen Rails inside <application_path>/vendor/rails you will need to replace it with a new frozen version
I hope it helps you |
|
|
Hi carlos, $ <rubystack_path>/rubyconsole The last command doesn’t end. Kind regards |
|
|
Hi, it’s true I thought update—system was doing the upgrade. To use update_rubygems, you can try commenting out the lines: inside “<rubystack_path>/scripts/setenv.sh” just before running it.
Once it has finished you should modify shebang in “<rubystack_path>/ruby/bin/gem” to be: and remove the previously added comments in “setenv.sh” file.
After that, you should get correct gem version
|
|
|
Hi carlos, Kind regards |
|
|
Will RubyStack 1.4 Final come with Rails 2.2 or not |
|
|
We don’t know when RubyStack 1.4 Final will come out yet |
|
|
Hi! I have exact the same problem with RubyStack for Windows. Is there any way to update the Gems / Rails under Windows? Regards from Germany |
|
|
Okay I found a solution. If somebody under Windows has the same problem: After that you have to open up a cmd prompt!!! update_rubygems command… Test it unter Aptana – Console: Ok… Then: Finish… Regards |
|
|
Great, Thanks for posting the solution, this post could help other users who use RubyStack and Aptana. Cheers |

