# NameError: uninitialized constant Vimeo

**URL:** <https://www.ruby-forum.com/t/nameerror-uninitialized-constant-vimeo/194589>\
**Category:** Rails\
**Created:** [September 7, 2010, 4:36pm UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-vimeo/194589 "2010-09-07T16:36:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rubyisking](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/dec6dc/32.png) [@rubyisking](https://www.ruby-forum.com/u/rubyisking)\
**Post date:** [September 7, 2010, 4:36pm UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-vimeo/194589/1 "2010-09-07T16:36:29Z")

</div>

Hello,

I installed a gem to make a new function in system, the gem is: Vimeo.  
([GitHub - matthooks/vimeo: A full featured Ruby implementation of the Vimeo API](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!

---

<div class="post-metadata">

**Author:** ![rubyisking](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/dec6dc/32.png) [@rubyisking](https://www.ruby-forum.com/u/rubyisking)\
**Post date:** [September 7, 2010, 4:58pm UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-vimeo/194589/2 "2010-09-07T16:58:54Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![rubyisking](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/dec6dc/32.png) [@rubyisking](https://www.ruby-forum.com/u/rubyisking)\
**Post date:** [September 9, 2010, 10:18pm UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-vimeo/194589/3 "2010-09-09T22:18:57Z")

</div>

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:

> **[Issues · matthooks/vimeo](https://github.com/matthooks/vimeo/issues)**
>
> A full featured Ruby implementation of the Vimeo API - Issues · matthooks/vimeo

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?
