Nefario (OP)
|
|
March 01, 2011, 11:01:10 AM |
|
Demo client readyThe working title of our stock market platform is BlackMarket. Were building a client that will be available under the FreeBSD licence. The client (bmc) is a console based application, because of the cryptography involved trades cannot be made using the web browser currently. One of the goals of this client is to make it very easy to use. And so, with much thanks to Ryland Taylor-Almanza who is working on this we have the first available user interface to play with. You'll need Linux, and a working installation of ruby(we're using 1.9.2 but I think 1.8.6/7 may work, have not tested). Files to download are bmcmenu-0.0.1.gem and bmcInstall with gem install bmcmenu-0.0.1.gem then run bmc from the same directory with I would recommend anyone who is investing in this to give the client interface a try and make any suggestions. All suggestions welcome, also before anyone asks, the client when finally ready will automatically create a new trade account on the server when run for the first time, so it should be almost zero config to start using.
|
PGP key id at pgp.mit.edu 0xA68F4B7C To get help and support for GLBSE please email support@glbse.com
|
|
|
ribuck
Donator
Hero Member
Offline
Activity: 826
Merit: 1060
|
|
March 01, 2011, 11:42:15 AM |
|
I have ruby 1.8.7 but not gem. Any idea what Fedora package contains gem?
|
|
|
|
Nefario (OP)
|
|
March 01, 2011, 11:49:35 AM |
|
I have ruby 1.8.7 but not gem. Any idea what Fedora package contains gem?
Seriously your best option is to install rvm, and use that to install various versions of ruby, it makes it really easy. http://rvm.beginrescueend.com/If not then you can try to install ruby-gems Download http://production.cf.rubygems.org/rubygems/rubygems-1.5.3.tgzUnpack into a directory and cd there Install with: ruby setup.rb (you may need admin/root privilege)
|
PGP key id at pgp.mit.edu 0xA68F4B7C To get help and support for GLBSE please email support@glbse.com
|
|
|
ribuck
Donator
Hero Member
Offline
Activity: 826
Merit: 1060
|
|
March 01, 2011, 11:59:59 AM |
|
Seriously your best option is to install rvm...
Seriously, if the BlackMarketClient requires messing about with dependencies, it's not going to take off. I love ruby as an elegant and powerful programming language, and if I was developing for a ruby project I would willingly install all this stuff. But these dependencies are not appropriate for someone who just wants to run an end-user application.
|
|
|
|
Nefario (OP)
|
|
March 01, 2011, 12:12:51 PM |
|
Seriously your best option is to install rvm...
Seriously, if the BlackMarketClient requires messing about with dependencies, it's not going to take off. I love ruby as an elegant and powerful programming language, and if I was developing for a ruby project I would willingly install all this stuff. But these dependencies are not appropriate for someone who just wants to run an end-user application. Well this is the development stage, when we're working on basic functionality as opposed to ease of install. Once we do a major release, it really will be a case of download and run with no fuss, across a number of platforms (including windows). You don't have to use rvm(I did give instructions for you to just go ahead and install ruby gems), it's just something I recommend if you're playing around with ruby.
|
PGP key id at pgp.mit.edu 0xA68F4B7C To get help and support for GLBSE please email support@glbse.com
|
|
|
myrkul
|
|
March 01, 2011, 12:39:48 PM |
|
I installed rubygems from the repos, and after a little tweaking (they made the executable named gem1.9 for some odd reason...) I got it installed... I go to run it and I get this unusual error: $ ./bmc /usr/bin/env: ruby: No such file or directory
So, how do I fix?
|
|
|
|
ribuck
Donator
Hero Member
Offline
Activity: 826
Merit: 1060
|
|
March 01, 2011, 12:59:59 PM |
|
$ ./bmc /usr/bin/env: ruby: No such file or directory
So, how do I fix? I got it to work by using "ruby ./bmc" instead of "./bmc". I also got this message when installing using Nefario's instructions, but I guess it's nothing to worry about: ERROR: RDoc documentation generator not installed: no such file to load -- rdoc/rdoc
|
|
|
|
Nefario (OP)
|
|
March 01, 2011, 01:08:56 PM |
|
$ ./bmc /usr/bin/env: ruby: No such file or directory
So, how do I fix? I got it to work by using "ruby ./bmc" instead of "./bmc". I also got this message when installing using Nefario's instructions, but I guess it's nothing to worry about: ERROR: RDoc documentation generator not installed: no such file to load -- rdoc/rdoc So the error when just running bmc is that your ruby environment is not set in your shell (or something like that) and just going ruby bmc works just as well. The error is absolutely nothing to worry about, it's just looking for rdoc which it doesn't need. Thanks ribuck.
|
PGP key id at pgp.mit.edu 0xA68F4B7C To get help and support for GLBSE please email support@glbse.com
|
|
|
myrkul
|
|
March 01, 2011, 01:19:48 PM |
|
This one is not so innocent: bmc:3:in `require': no such file to load -- bmcmenu (LoadError) from bmc:3:in `<main>'
My bad, or yours? 'cause it might as well be greek to me, i don't know ruby from a hole in the ground.
|
|
|
|
Nefario (OP)
|
|
March 01, 2011, 01:25:12 PM |
|
This error means the bmcmenu gem has not been installed, at least thats what it normally means. run this to see if you have it installed If not install then in the directory with the gem file run gem install bmcmenu-0.0.1.gem
|
PGP key id at pgp.mit.edu 0xA68F4B7C To get help and support for GLBSE please email support@glbse.com
|
|
|
myrkul
|
|
March 01, 2011, 01:28:49 PM |
|
It's in there... *** LOCAL GEMS ***
bmcmenu (0.0.1) highline (1.6.1)
|
|
|
|
Nefario (OP)
|
|
March 01, 2011, 01:46:14 PM |
|
Could you tell me the output for Have a look in the directories listed and see if the gems are in there. Tell us the output. Also try irb require 'rubygems' require 'bmcmenu'
And let us know the results.
|
PGP key id at pgp.mit.edu 0xA68F4B7C To get help and support for GLBSE please email support@glbse.com
|
|
|
myrkul
|
|
March 01, 2011, 02:06:24 PM |
|
irb(main):002:0> Gem.path => ["/var/lib/gems/1.9.0"] That directory was nonexistent. I forgot to "sudo gem install"... and it put it all in ~/.gem Copied the files over, and now I have: --Menu--
1. Get Bitcoin Balance 2. List Portfolio 3. Trade 4. Orders 5. Trade History 6. Deposit Bitcoins to my Account 7. Exit Program ?
Which is what I assume is what I'm supposed to see. Sorry guys. Stupid, sleepy mistake.
|
|
|
|
Nefario (OP)
|
|
March 01, 2011, 02:16:12 PM |
|
That's exactly what you're supposed to see. It's just a menu, doesn't do anything yet but it will allow us to workout what people want. That's the whole point, this thing has to be easy to use.
Thanks for going to the trouble of installing, I appreciate it.
Once we get closer to the release, it will just be a simple bundle that's downloaded and should run without any configuration. Which will get rid of any of this messing about.
|
PGP key id at pgp.mit.edu 0xA68F4B7C To get help and support for GLBSE please email support@glbse.com
|
|
|
myrkul
|
|
March 01, 2011, 02:38:25 PM |
|
No problem. I figure, what better way to idiot-proof a program, than to throw an idiot at it...
when it comes time, I'd be glad to help you get it packed into a .deb package.
|
|
|
|
|