1 gem installed

hai i am pretty new to ruby on rails…

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
(http://guides.rubyonrails.org/getting_started.html) 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 u using rvm? if not, I strongly recommend to do that

what is result of ‘gem list’ ?

On Jul 21, 2011, at 13:18 , dv dhanadan wrote:

i was doing a demo project

Posted via http://www.ruby-forum.com/.


You received this message because you are subscribed to the Google G. “Ruby
on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache

www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz

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.

2011/7/21 dv dhanadan [email protected]

leoncio caminha wrote in post #1012099:

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.

2011/7/21 dv dhanadan [email protected]
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

Tom M. wrote in post #1012098:

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

is there any more details required

you have your rails 2.3.8 already installed - see gems and versions…

On Jul 21, 2011, at 13:47 , dv dhanadan wrote:

bundler(1.0.15)

You received this message because you are subscribed to the Google G. “Ruby
on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache

www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz

Tom M. wrote in post #1012107:

could you pl guide me on how to go about could you pl let me know the
commands…

#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

On 21 July 2011 14:29, dv dhanadan [email protected] wrote:

Tom M. wrote in post #1012107:

could you pl guide me on how to go about could you pl let me know the
commands…

The commands to do what?

Colin

hai
i was able to figure out the version of the ruby gem version i did this
by using the gem environment
C:\Users\sheeja>gem environment
RubyGems Environment:

  • RUBYGEMS VERSION: 1.5.2
  • RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
  • INSTALLATION DIRECTORY: C:/Ruby187/lib/ruby/gems/1.8
  • RUBY EXECUTABLE: C:/Ruby187/bin/ruby.exe
  • EXECUTABLE DIRECTORY: C:/Ruby187/bin
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86-mingw32
  • GEM PATHS:
    • C:/Ruby187/lib/ruby/gems/1.8
    • C:/Users/sheeja/.gem/ruby/1.8
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:

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

I still don’t understand what do you want?

I’ve told you you have your required rails already installed (see your
own screenshot from command line)

On Jul 21, 2011, at 15:51 , dv dhanadan wrote:


You received this message because you are subscribed to the Google G. “Ruby
on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

Tomas Meinlschmidt, MS {MCT, MCP+I, MCSE, AER}, NetApp Filer/NetCache

www.meinlschmidt.com www.maxwellrender.cz www.lightgems.cz

On Jul 22, 3:34am, dv dhanadan [email protected] wrote:

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.

Fred