Comments (6)
Yeah, we gave up trying to get rails to play well on windows. It was just a pain. It's probably possible for you to get salor-bin running on windows and just connect to a server box.
from salor-retail.
thanks but i got it to work on windows. actually the was an issues with my ruby configuration. now i fixed it.. it works now i need to know how and will it break?.
from salor-retail.
# a short lived happiness i got this error...
`Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/json-1.7.3/ext/json/ext/generator
C:/Ruby24-x64/bin/ruby.exe -r ./siteconf20180302-220-16jb76i.rb extconf.rb
creating Makefile
current directory:
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/json-1.7.3/ext/json/ext/generator
make "DESTDIR=" clean
current directory:
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/json-1.7.3/ext/json/ext/generator
make "DESTDIR="
generating generator-x64-mingw32.def
compiling generator.c
In file included from generator.c:1:0:
../fbuffer/fbuffer.h: In function 'fbuffer_to_s':
../fbuffer/fbuffer.h:158:47: error: macro "rb_str_new" requires 2 arguments, but
only 1 given
VALUE result = rb_str_new(FBUFFER_PAIR(fb));
^
../fbuffer/fbuffer.h:158:20: warning: initialization makes integer from pointer
without a cast [-Wint-conversion]
VALUE result = rb_str_new(FBUFFER_PAIR(fb));
^~~~~~~~~~
In file included from generator.c:2:0:
generator.c: In function 'cState_aref':
generator.h:96:27: warning: variable 'state' set but not used
[-Wunused-but-set-variable]
JSON_Generator_State *state;
^
generator.h:96:27: note: in definition of macro 'GET_STATE'
JSON_Generator_State *state;
^~~~~
generator.c: In function 'generate_json':
generator.c:800:25: error: 'rb_cFixnum' undeclared (first use in this function);
did you mean 'mFixnum'?
} else if (klass == rb_cFixnum) {
^~~~~~~~~~
mFixnum
generator.c:800:25: note: each undeclared identifier is reported only once for
each function it appears in
generator.c:802:25: error: 'rb_cBignum' undeclared (first use in this function);
did you mean 'rb_cFixnum'?
} else if (klass == rb_cBignum) {
^~~~~~~~~~
rb_cFixnum
generator.c: In function 'isArrayOrObject':
generator.c:867:22: warning: suggest parentheses around '&&' within '||'
[-Wparentheses]
return *p == '[' && *q == ']' || *p == '{' && *q == '}';
~~~~~~~~~~^~~~~~~~~~~~
make: *** [Makefile:242: generator.o] Error 1
make failed, exit code 2
Gem files will remain installed in
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/json-1.7.3 for inspection.
Results logged to
C:/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/json-1.7.3/gem_make.out
An error occurred while installing json (1.7.3), and Bundler cannot continue.
Make sure that gem install json -v '1.7.3'
succeeds before bundling.
In Gemfile:
coffee-rails was resolved to 3.2.2, which depends on
railties was resolved to 3.2.6, which depends on
rdoc was resolved to 3.12.2, which depends on
json`
from salor-retail.
Yeah, welcome to Ruby :)
I've considered porting the application to a better language, like PHP which is much easier to deploy. I didn't realize anyone actually used the software...
from salor-retail.
actually its a really nice software i used it on my debian system. well if you need help porting to php i can help as i will start learning php.
from salor-retail.
Thank you. Most of the credit goes to my partner in crime, mifranzl, he did the rewrite and retest of the latest salor (well, old now but latest way back). And he designed the deb packaging and distribution etc. Good luck!
from salor-retail.
Related Issues (16)
- Discounts#edit display problem
- Show warning when user doesn't have permission to do something
- POS screen shows message "Price is zero" for correct B1G1 coupon
- Shippers Destroy Needs to Redirect to Shippers Path
- Hide Scale Button when no scale set.
- http://0.0.0.0:85/orders/new - I am getting Uncaught Reference Error: Sr is not defined. HOT 7
- Unable to create db HOT 1
- HOw do i set the Pounds Currrency?(GBP)£ HOT 1
- That old rmagic HOT 1
- Payment method Delete HOT 3
- Unable to find documentation on how to config 'local' thermal printer in windows. HOT 1
- Demo link is broken ! HOT 1
- Gem install issues with Ruby 1.9.2 HOT 4
- Online Demo not working HOT 1
- What association is this association referred to?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from salor-retail.