NameError: uninitialized constant Vimeo

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)

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!

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?

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:

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?