Hi ALL, I am newcomer and also a freshman to Ruby. Would anyone have the experience about installing rubygem-cobbler? I tried to run some ruby programs.It prompts "Could not find Ruby Gem cobbler(>= 0)(Gem::LoadError)".But I had tried "yum install" and to download cobbler files.They all don''t work. Would anyone give some advice? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
You could use gem install cobbler --source <url> --include-dependencies where url points to the source of the cobbler gem. Make sure you have installed gem first. Alternately you could add the repository from where you would like gem to pull out cobbler, to the gem sources. After that do a `gem env` just to make sure that the repository is among the sources. After that running `gem install cobbler` should work. On Oct 6, 11:57 pm, Nikki <my.nik...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi ALL, > I am newcomer and also a freshman to Ruby. > Would anyone have the experience about installing rubygem-cobbler? > I tried to run some ruby programs.It prompts "Could not find Ruby > Gem cobbler(>= 0)(Gem::LoadError)".But I had tried "yum install" and > to download cobbler files.They all don''t work. > Would anyone give some advice? > Thanks!--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thank you for your feedback! :) I have resolved my problem. After installing the cobbler rpm ,run "rpm -ql rubygem-cobbler",and the first line gives the path of rubygem-cobbler. Then run "gem install cobbler path --include-denpendencies". Another question: Could you please give me some details about changing gem repository? Thanks, Nikki On Oct 8, 2:56 am, amrita <amrita.p...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> You could use > > gem install cobbler --source <url> --include-dependencies > > where url points to the source of the cobbler gem. Make sure you have > installed gem first. > > Alternately you could add the repository from where you would like gem > to pull out cobbler, to the gem sources. After that do a `gem env` > just to make sure that the repository is among the sources. After that > running `gem install cobbler` should work. > > On Oct 6, 11:57 pm, Nikki <my.nik...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Hi ALL, > > I am newcomer and also a freshman to Ruby. > > Would anyone have the experience about installing rubygem-cobbler? > > I tried to run some ruby programs.It prompts "Could not find Ruby > > Gem cobbler(>= 0)(Gem::LoadError)".But I had tried "yum install" and > > to download cobbler files.They all don''t work. > > Would anyone give some advice? > > Thanks!--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Try running a `gem help commands`. You will get an overview of all things you can do with gem. Then you can do a `gem help sources` which gives the following :-) Usage: gem sources [options] Options: -a, --add SOURCE_URI Add source -l, --list List sources -r, --remove SOURCE_URI Remove source -c, --clear-all Remove all sources (clear the cache) -u, --update Update source cache Common Options: -h, --help Get help on this command -V, --[no-]verbose Set the verbose level of output -q, --quiet Silence commands --config-file FILE Use this config file instead of default --backtrace Show stack backtrace on errors --debug Turn on Ruby debugging Summary: Manage the sources and cache file RubyGems uses to search for gems Defaults: --list Now you can add/remove any repositories from your gem sources. On Oct 7, 10:40 pm, Nikki <my.nik...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thank you for your feedback! :) > I have resolved my problem. > After installing the cobbler rpm ,run "rpm -ql rubygem-cobbler",and > the first line gives the path of rubygem-cobbler. > Then run "gem install cobbler path --include-denpendencies". > > Another question: > Could you please give me some details about changing gem repository? > > Thanks, > > Nikki > On Oct 8, 2:56 am,amrita<amrita.p...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > You could use > > > gem install cobbler --source <url> --include-dependencies > > > where url points to the source of the cobbler gem. Make sure you have > > installed gem first. > > > Alternately you could add the repository from where you would like gem > > to pull out cobbler, to the gem sources. After that do a `gem env` > > just to make sure that the repository is among the sources. After that > > running `gem install cobbler` should work. > > > On Oct 6, 11:57 pm, Nikki <my.nik...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Hi ALL, > > > I am newcomer and also a freshman to Ruby. > > > Would anyone have the experience about installing rubygem-cobbler? > > > I tried to run some ruby programs.It prompts "Could not find Ruby > > > Gem cobbler(>= 0)(Gem::LoadError)".But I had tried "yum install" and > > > to download cobbler files.They all don''t work. > > > Would anyone give some advice? > > > Thanks!--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks,amrita! :-) You indeed give a prompt help. :-) On Oct 9, 6:32 am, amrita <amrita.p...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Try running a `gem help commands`. You will get an overview of all > things you can do with gem. > > Then you can do a `gem help sources` which gives the following :-) > > Usage: gem sources [options] > > Options: > -a, --add SOURCE_URI Add source > -l, --list List sources > -r, --remove SOURCE_URI Remove source > -c, --clear-all Remove all sources (clear the > cache) > -u, --update Update source cache > > Common Options: > -h, --help Get help on this command > -V, --[no-]verbose Set the verbose level of output > -q, --quiet Silence commands > --config-file FILE Use this config file instead of > default > --backtrace Show stack backtrace on errors > --debug Turn on Ruby debugging > > Summary: > Manage the sources and cache file RubyGems uses to search for gems > > Defaults: > --list > > Now you can add/remove any repositories from your gem sources. > > On Oct 7, 10:40 pm, Nikki <my.nik...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Thank you for your feedback! :) > > I have resolved my problem. > > After installing the cobbler rpm ,run "rpm -ql rubygem-cobbler",and > > the first line gives the path of rubygem-cobbler. > > Then run "gem install cobbler path --include-denpendencies". > > > Another question: > > Could you please give me some details about changing gem repository? > > > Thanks, > > > Nikki > > On Oct 8, 2:56 am,amrita<amrita.p...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > You could use > > > > gem install cobbler --source <url> --include-dependencies > > > > where url points to the source of the cobbler gem. Make sure you have > > > installed gem first. > > > > Alternately you could add the repository from where you would like gem > > > to pull out cobbler, to the gem sources. After that do a `gem env` > > > just to make sure that the repository is among the sources. After that > > > running `gem install cobbler` should work. > > > > On Oct 6, 11:57 pm, Nikki <my.nik...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Hi ALL, > > > > I am newcomer and also a freshman to Ruby. > > > > Would anyone have the experience about installing rubygem-cobbler? > > > > I tried to run some ruby programs.It prompts "Could not find Ruby > > > > Gem cobbler(>= 0)(Gem::LoadError)".But I had tried "yum install" and > > > > to download cobbler files.They all don''t work. > > > > Would anyone give some advice? > > > > Thanks!--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---