Hello, I installed a gem to make a new function in system, the gem is: Vimeo. (http://github.com/matthooks/vimeo) I''m using bundler to install gem s and make them up to date. When I run bundle check, it says that everything is OK. When I run: gem install vimeo, it goes all fine too. The problem is that when I run the console and type "Vimeo" it gives me this: NameError: uninitialized constant Vimeo For the sake of information, I have many other gems installed and I can run them in console. Example: I have the Twitter gem installed and when I run "Twitter" in console, it returns Twitter, as expected. I am runnin Ruby on Rails on Ubuntui 10.04. Everything is up to date. I can''t figure out why it doesn''t run. If you guys need more details, please let me know! Thanks in advance buddies! -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
is that rails 3? if is rails 2, did you remember to put it in you environment file? config.gem "vimeo", if is rails 3 are you sure the gem support ruby 1.9.2 and rails 3? On Tue, Sep 7, 2010 at 10:36 AM, Rafael Dalprá <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hello, > > I installed a gem to make a new function in system, the gem is: Vimeo. > (http://github.com/matthooks/vimeo) > > I''m using bundler to install gem s and make them up to date. > > When I run bundle check, it says that everything is OK. > When I run: gem install vimeo, it goes all fine too. > > The problem is that when I run the console and type "Vimeo" it gives me > this: > NameError: uninitialized constant Vimeo > > For the sake of information, I have many other gems installed and I can > run them in console. Example: > I have the Twitter gem installed and when I run "Twitter" in console, it > returns Twitter, as expected. > > I am runnin Ruby on Rails on Ubuntui 10.04. Everything is up to date. > > I can''t figure out why it doesn''t run. > > If you guys need more details, please let me know! > > Thanks in advance buddies! > -- > Posted via http://www.ruby-forum.com/. > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
It is Rails 2, and I did everything correctly. Actually, I solved the problem. It didn''t load the class because it didt expect some deprecated dependencies, so I contacted the gem developer and he solved the problem, as you can see here: http://github.com/matthooks/vimeo/issues So, thanks for the help! radhames brito wrote:> is that rails 3? if is rails 2, did you remember to put it in you > environment file? config.gem "vimeo", > if is rails 3 are you sure the gem support ruby 1.9.2 and rails 3?-- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.