Author

Topic: BlackMarketClient ui ready to try (Read 1843 times)

hero member
Activity: 532
Merit: 500
FIAT LIBERTAS RVAT CAELVM
March 01, 2011, 09:38:25 AM
#15
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.
hero member
Activity: 602
Merit: 513
GLBSE Support [email protected]
March 01, 2011, 09:16:12 AM
#14
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.
hero member
Activity: 532
Merit: 500
FIAT LIBERTAS RVAT CAELVM
March 01, 2011, 09:06:24 AM
#13
Code:
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:

Code:
--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. Smiley  Sorry guys. Stupid, sleepy mistake.
hero member
Activity: 602
Merit: 513
GLBSE Support [email protected]
March 01, 2011, 08:46:14 AM
#12
Could you tell me the output for
Code:
irb
Gem.path
exit
Have a look in the directories listed and see if the gems are in there. Tell us the output.

Also try
Code:
irb
require 'rubygems'
require 'bmcmenu'
And let us know the results.
hero member
Activity: 532
Merit: 500
FIAT LIBERTAS RVAT CAELVM
March 01, 2011, 08:28:49 AM
#11
It's in there...
Code:
*** LOCAL GEMS ***

bmcmenu (0.0.1)
highline (1.6.1)
hero member
Activity: 602
Merit: 513
GLBSE Support [email protected]
March 01, 2011, 08:25:12 AM
#10
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
Code:
gem list

If not install then in the directory with the gem file run
Code:
gem install bmcmenu-0.0.1.gem
hero member
Activity: 532
Merit: 500
FIAT LIBERTAS RVAT CAELVM
March 01, 2011, 08:19:48 AM
#9
This one is not so innocent:
Code:
bmc:3:in `require': no such file to load -- bmcmenu (LoadError)
from bmc:3:in `
'

My bad, or yours? 'cause it might as well be greek to me, i don't know ruby from a hole in the ground.
hero member
Activity: 602
Merit: 513
GLBSE Support [email protected]
March 01, 2011, 08:08:56 AM
#8

Code:
$ ./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:

Quote
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.
donator
Activity: 826
Merit: 1060
March 01, 2011, 07:59:59 AM
#7

Code:
$ ./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:

Quote
ERROR: RDoc documentation generator not installed: no such file to load -- rdoc/rdoc
hero member
Activity: 532
Merit: 500
FIAT LIBERTAS RVAT CAELVM
March 01, 2011, 07:39:48 AM
#6
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:

Code:
$ ./bmc
/usr/bin/env: ruby: No such file or directory

So, how do I fix?
hero member
Activity: 602
Merit: 513
GLBSE Support [email protected]
March 01, 2011, 07:12:51 AM
#5
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.
donator
Activity: 826
Merit: 1060
March 01, 2011, 06:59:59 AM
#4
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.
hero member
Activity: 602
Merit: 513
GLBSE Support [email protected]
March 01, 2011, 06:49:35 AM
#3
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.tgz
Unpack into a directory and cd there
Install with: ruby setup.rb (you may need admin/root privilege)
donator
Activity: 826
Merit: 1060
March 01, 2011, 06:42:15 AM
#2
I have ruby 1.8.7 but not gem. Any idea what Fedora package contains gem?
hero member
Activity: 602
Merit: 513
GLBSE Support [email protected]
March 01, 2011, 06:01:10 AM
#1
Demo client ready
The 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 bmc

Install with
Code:
gem install bmcmenu-0.0.1.gem
then run bmc from the same directory with
Code:
./bmc


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.
Jump to: