when i tried installing rails using the below command line
gem install rails –v=2.3.8 --include-dependencies -- no-ri --no-rdoc
i got a msg as
1 gem installed
instead of 8 geminstalled.
ok the second query is
i was doing a demo project
(Getting Started with Rails — Ruby on Rails Guides) from the above
link..
i was following the instructions which was mentioned..i was successful
in creating the folder for the project by using the rails blog command
line..this created a dummy folder called blog...so in the blog folder
the folder named gemfile was not be found...
Also when i tried bundle install---i got the msg as could not locate gem
file.i am presently using ruby 1.8.7 and rails 2.3.8
can any one help me...
are you have install the gem bundler? for use a bundle command its
require a
bundler gem
gem install bundler
one question, you have in root project something named "Gemfile" ? in
rails
2.3.8 the gemfile is not default.
no in the root project that is the "blog"folder i dont have a "Gemfile"
when i did gem install bundler i
C:\Users\sam\Desktop>gem install bundler
Successfully installed bundler-1.0.15
1 gem installed
Installing ri documentation for bundler-1.0.15...
Installing RDoc documentation for bundler-1.0.15...
then i navigated into the blog folder
C:\Users\sam\Desktop>gem install bundler
Successfully installed bundler-1.0.15
1 gem installed
Installing ri documentation for bundler-1.0.15...
Installing RDoc documentation for bundler-1.0.15...
and got this
are u using rvm? if not, I strongly recommend to do that
what is result of 'gem list' ?
On Jul 21, 2011, at 13:18 ,
it giving some listing
LOCAL GEMS..
abstract(xxxx)
actionmailer(xxx)
bundler(1.0.15)
i have attached a image file..also which will give a better
understanding of the message
#you have your rails 2.3.8 already installed - see gems and versions..#
are u tellin me to check it from the command promt...if so do you have
any command for it..
ya i checked in the ruby folder there(C:\Ruby187\bin)there was a batch
file for gem and bundler,is that what you are telling..could you pl
guide me in a more specific way
Hay thanks for the information,but did't solve my problem...my issue
was wy only 1 gem is installed instead of 8 gems to be installed...and
of course i know my rails is working..
so am going to uninstall both ruby and rails and then and do a fresh re
installation,I think it should fix my problem of 1 gem installed instead
of 8 gem installed
Hay thanks for the information,but did't solve my problem...my issue
was wy only 1 gem is installed instead of 8 gems to be installed...and
of course i know my rails is working..
Presumably because the other gems were already installed - installing
an already installed gem doesn't refetch dependencies it would seem.