Rails Server not starting after Installing the gem
heitorado opened this issue · comments
Hello!
I'm using the gem with docker and docker compose.
My rails version is 3.2.13.
My ruby version is 2.1.2.
After installing the gem as the README suggests, (which doesn't install at the first bundle install, I have to enter the container and do it again manually) I get the following error message after attempting to start the rails server:
rake aborted!
/usr/local/lib/ruby/gems/2.1.0/bundler/gems/vimeo_me2-6d09c58acf06/lib/vimeo_me2/user/upload.rb:52: syntax error, unexpected ':', expecting =>
... headers = {'Content-Type': 'application/offset+octet-st...
... ^
/usr/local/lib/ruby/gems/2.1.0/bundler/gems/vimeo_me2-6d09c58acf06/lib/vimeo_me2/user/upload.rb:52: syntax error, unexpected '}', expecting keyword_end
/rails_app/config/application.rb:9:in `<top (required)>'
/rails_app/Rakefile:5:in `require'
/rails_app/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
Apparently this has been solved in this commit of one of the repo's forks:
BarefootCoders@aa695e0
Any chance to integrate this to the master?
Hey, thanks for the reply :)
Yeah, I found the second error pretty strange too.
But forked it, modified he syntax and referenced my git fork to download the gem instead. Now it's working perfectly :)
Where you able to fix it? Could you let me know what the issue was?
Yes, it was exaclty that!
Sorry for the super late reply... That was the change I've made on my fork and just today I realized I've completely forgot to send you the pull request
Glad you fixed it, thanks for the support!
👍