Forums Redmine

Is there a way to upgrade rails manually?

Subscribe to Is there a way to upgrade rails manually? 3 post(s), 2 voice(s)

 
Avatar clawfrown 2 post(s)

I’d like to use the latest branch of development of redmine under bitnami, but it requires rails 2.1.0 (the very new version).
Can bitnami be somehow upgraded to rails 2.1.0 (without needing to wait for the next redmine bitnami stack)?
Maybe there is some kind of script available? (as “gem rails update”) or is it possible to download and overwrite some files?

Thanks in advance.

 
Avatar beltran Administrator 417 post(s)

Hi clawfrown,

Sure, you can manage the installed gems in the Redmine Stack. You only should type the following:

$ cd <intallation_directory>/ruby/bin/
$ ./gem update rails

and you can see something similar to this:

Updating installed gems...
Bulk updating Gem source index for: <a href="http://gems.rubyforge.org">http://gems.rubyforge.org</a>
Attempting remote update of rails
Successfully installed rails-2.1.0
1 gem installed
Gems updated: rails

If you have the latest BitNami Redmine Stack, you can execute an script to can execute all binaries included:

$ cd <intallation_directory>
./use_redmine

or execute the “redmine console” shortcut on Windows. Then you can type whatever command: gem, ruby, mysql, svn, etc.

I hope it helps you!

 
Avatar clawfrown 2 post(s)

Hi beltran,

You opened my eyes, thank you!
That’s exactly what i was searching for!

Forums Redmine