ruby update from 1.8.6 to 1.8.7

D

Dani Dani

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
 
J

James Harrison

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
--=20
Posted via http://www.ruby-forum.com/.
=20

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=3Drubygems 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 :)=
 
D

Dani Dani

James said:
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
 
D

Dani Dani

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top