epri-dev / OpenADR-Virtual-Top-Node

This application is an implementation of a virtual top node (VTN) as defined in the OpenADR Alliance’s OpenADR 2.0 Profile Specification B Profile, updated July 1, 2013. OpenADR defines a machine-to-machine interface and includes the information model, transport and security mechanisms, and the manner in which data is exchanged between two end points.
Other
49 stars 33 forks source link

Cannot run Ruby-Rails on the code. #1

Open jbkoh opened 7 years ago

jbkoh commented 7 years ago

Hi there,

I am trying to use this open source VTN emulator. It looks useful. However, I cannot run it. 1. "bundle install" -> This gives Fetching gem metadata from http://rubygems.org/........... Fetching version metadata from http://rubygems.org/... Fetching dependency metadata from http://rubygems.org/.. You have requested: torquebox-server ~> 3.0.2

The bundle currently has torquebox-server locked at 3.0.2. Try running bundle update torquebox-server

If you are updating multiple gems in your Gemfile at once, try passing them all to bundle update

2. "bundle update" -> This gives Fetching gem metadata from http://rubygems.org/........... Fetching version metadata from http://rubygems.org/... Fetching dependency metadata from http://rubygems.org/.. Could not find gem 'torquebox-server (~> 3.0.2) x86-mingw32' in any of the gem sources listed in your Gemfile or available on this machine.

My running environment is

  1. Windows 10 64 bits.
  2. Rails 4.1 + Ruby 2.1 (tried 2.2 too.)

Do you have any suggestions to run your fantastic example?

Thank you.

p.s.- I would much appreciate if you could include "README" file so that I (and people) can follow easily.

jbkoh commented 7 years ago

I found an installation instruction which I couldn't find at the beginning. I will try that first. Thanks.

jbkoh commented 7 years ago

Actually, the step I went through was exactly same as the instruction and the problem is still same.

BenjiEng commented 7 years ago

@jbkoh were you able to remedy the problem? I am trying to run a version of the VTN as well and hit the same error when using bundle install/update.

jbkoh commented 6 years ago

@BenjiEng Nope. I haven't touched this code since then.

robbierew commented 6 years ago

I had the same error and it went away when I ran the command as the torquebox user

promwungkwa commented 5 years ago

I try to install several times, seem like Torquebox 3.0.2 is discontinued.

arihantdaga commented 4 years ago

It's still an issue. So it won't run now? Is there any alternate way to run it ?

oowe commented 3 years ago

Hello @everyone

Did anyone solved the problem of Torquebox cannot correctly be installed? I also get the same problem, the error message are following:

You have requested: torquebox-server ~> 3.0.2

The bundle currently has torquebox-server locked at 3.0.2.
Try running `bundle update torquebox-server`

If you are updating multiple gems in your Gemfile at once,
try passing them all to `bundle update`
Run `bundle install` to install missing gems.

When I use type command : gem install torquebox-server, it also show the message:

ERROR:  Could not find a valid gem 'torquebox-server' (>= 0) in any repository

If anyone have good way, please share. Thanks a lot.

aru commented 2 years ago

I was able to overcome the problems, I could write a guide later to show how to install this. Basically you just need to install the specific version of bundler and all the gems via a newer jruby:

gem install bundler:1.12.5
bundler _1.12.5_ install

and then move those dependencies to jruby 1.7.10