From: Dani Dani on
I have instantrails installed, updated rails to 2.3.8, but can't get
ruby updated from 1.8.6 to 1.8.7. I have ruby 1.8.7 on a different
directory which I can use, but under instantrails... there is a ruby
directory with version 1.8.6. Any idea how I can update it to 1.8.7 ?.
Thank you.
Dani
--
Posted via http://www.ruby-forum.com/.

From: James Harrison on

On Aug 8, 2010, at 5:34 AM 8/8/10, Dani Dani wrote:

> I have instantrails installed, updated rails to 2.3.8, but can't get
> ruby updated from 1.8.6 to 1.8.7. I have ruby 1.8.7 on a different
> directory which I can use, but under instantrails... there is a ruby
> directory with version 1.8.6. Any idea how I can update it to 1.8.7 ?.
> Thank you.
> Dani
> --
> Posted via http://www.ruby-forum.com/.
>

Their FAQ covers it as:

Q: Can I use Instant Rails for all my Ruby needs?

A: Yes ! It can be a hassle to get all the right stuff going on rails, instant rails makes it easy to have multiple rails versions. You can always add /ruby/bin to your path, and start up rails apps as normal too.

Simply adding ruby\bin to the Windows PATH does work, but doesn't provide a full Ruby development environment. It is missing the file associations that invoke Ruby on .rb[w] files, does not have Windows Start Menu entries for the SciTE editor and the FreeRIDE IDE, doesn't have the custom icons for .rb[w] files, and does not create the RUBYOPT=rubygems environment variable needed to make rubygems part of your system.

To rectify this, do the following:


Temporarily rename the directory ...\InstantRails\ruby to something else (like ...\InstantRails\ruby-save).
Install the [One-Click Ruby Installer] at ...\InstantRails\ruby.
Now that you've got all the nifty system mods, delete the directory ...\InstantRails\ruby and rename ...\InstantRails\ruby-save back to its original name.


that should get you started in the right direction :)
From: Dani Dani on
James Harrison wrote:
> Their FAQ covers it as:
>
> Q: Can I use Instant Rails for all my Ruby needs?
>
> A: Yes ! It can be a hassle to get all the right stuff going on rails,
> instant rails makes it easy to have multiple rails versions. You can
> always add /ruby/bin to your path, and start up rails apps as normal
> too.
>
> Simply adding ruby\bin to the Windows PATH does work, but doesn't
> provide a full Ruby development environment. It is missing the file
> associations that invoke Ruby on .rb[w] files, does not have Windows
> Start Menu entries for the SciTE editor and the FreeRIDE IDE, doesn't
> have the custom icons for .rb[w] files, and does not create the
> RUBYOPT=rubygems environment variable needed to make rubygems part of
> your system.
>
> To rectify this, do the following:
>
>
> Temporarily rename the directory ...\InstantRails\ruby to something else
> (like ...\InstantRails\ruby-save).
> Install the [One-Click Ruby Installer] at ...\InstantRails\ruby.
> Now that you've got all the nifty system mods, delete the directory
> ...\InstantRails\ruby and rename ...\InstantRails\ruby-save back to its
> original name.
>
>
> that should get you started in the right direction :)

Thank you James.
Did what you have suggested but I still have ruby1.6.8 after renaming
the directory back to the original, and now I have a new issue, when
connecting to localhost:3000 and get the welcome screen then pressing
for the next page to get the information of what is installed, I get an
error that sqlite3.dll can not be foumd. Before I didn't have this
issue, infact everything was working fine, I just wanted to upgrade to
ruby 1.8.7.
Any idea how to resolve this ?.
Thank you.
Dani
--
Posted via http://www.ruby-forum.com/.

From: Dani Dani on
I have resolved the issue.
Infact the issue was to upgrade Rails to 2.3.8 and ruby to 1.8.7.
Upgrading ruby broke the rails installation (using InstantRails).
Resolved the issue, by first upgrading gem to 1.3.7, ruby to 1.8.7
directly in rails:\ruby directory, then upgrading rails.
All is working fine.
Thank you for your support.
Dani
--
Posted via http://www.ruby-forum.com/.

 | 
Pages: 1
Prev: calendar hash
Next: New in classes