hi
i have installed ruby 1.9.0
now when i type ‘gem list’, it shows:
*** LOCAL GEMS ***
how can i get the list of installed gems??
nd how can i check rails version?
after installing ruby 1.9.0 my webrick server is not starting for any of
my rails apps which i had developed using ruby 1.8.7.
If i have to made any changes in my rails application after installing
ruby 1.9.0 ???
i am using ubuntu 9.04 and i have installed ruby 1.9.0 in /usr/local/bin
thanx.
In a fresh ruby install you usually have no installed gems.
First you might update the gem utility itself to the latest:
gem update --system
Then install the gems you need with ‘gem install ’
You can get a list of what gems are available for install with:
gem list --remote rails
regards,
Janos
On Mon, Aug 31, 2009 at 9:05 AM, Abhishek S. <
[email protected]> wrote:
my rails apps which i had developed using ruby 1.8.7.
If i have to made any changes in my rails application after installing
ruby 1.9.0 ???
i am using ubuntu 9.04 and i have installed ruby 1.9.0 in /usr/local/bin
thanx.
Posted via http://www.ruby-forum.com/.
–
Ãœdv,
Sebi
I think your gem program points to gem1.9, and therefore output is
empty. If
you do “gem1.8 list” you will get all the gems installed with rubu1.8.
Also if “ruby -v” outputs ruby 1.9, and you still want to use ruby1.8
then
perhaps you need to symlink ruby1.8 to ruby.
–
अà¤à¤¿à¤¨à¤µ
http://twitter.com/abhinav
On Mon, Aug 31, 2009 at 12:35 PM, Abhishek S. <
Abhinav S. wrote:
I think your gem program points to gem1.9, and therefore output is
empty.
thanx i got that.
Also if “ruby -v” outputs ruby 1.9, and you still want to use ruby1.8
then
perhaps you need to symlink ruby1.8 to ruby.
how can i create a symlink to ruby1.8?
First of all, I hope you are linux/mac. If yes, google “symlink” or “ln
-s
howto”. In short, what you need is this:
ln -s file_you_want_to_symlink new_path
or in your case most probably, it will be
sudo ln -s /usr/bin/ruby1.8 /usr/bin/ruby
–
अà¤à¤¿à¤¨à¤µ
http://twitter.com/abhinav
On Mon, Aug 31, 2009 at 4:14 PM, Abhishek S. <
Abhinav S. wrote:
First of all, I hope you are linux/mac. If yes, google “symlink” or “ln
-s
howto”. In short, what you need is this:
ln -s file_you_want_to_symlink new_path
or in your case most probably, it will be
sudo ln -s /usr/bin/ruby1.8 /usr/bin/ruby
yes… i have fix that…
thanx a lot.
-abhishek