-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Install on CentOS Linux release 7.0.1406 (Core) json error #546
Comments
Have you invoked Bundler to install the bundle from Gemfile? If not, make sure you have Bundler installed: |
Did with both I suspect may be from some items using /usr/share/gems and /usr/local/share. I'm trying to follow the instructions without doing any symlinks or anything. |
You need to actually run bundler to install the bundle though... Did you do this:
|
Yes, both times. For Ubuntu slide 4 of this http://www.slideshare.net/larrycai/learn-dashing-widget-in-90-minutes works fine, no issues. Just having these issues with installing on CentOS. Thanks |
Can you please paste the output from this: |
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. |
Great, it looks like your bundle is installed... You should be able to skirt any issues with the environment by running dashing from the bundle: Let me know if that works... |
The exception is now "shorter" |
@nickjohnsonm Found a way to get it running? I am facing same issues. |
Got the same problem...any suggestions? |
SAME issue on every OS... |
Steps done:
yum install -y ruby ruby-dev gem
yum install -y rubygem-bundler
yum install -y gcc-c++
yum install -y make
curl -sL https://rpm.nodesource.com/setup | bash -
yum install -y nodejs
yum install ruby-devel
gem install dashing
dashing new proj
cd proj
rm jobs/twitter.rb
"update Gemfile to remove twitter"
dashing start -p 80
and get this:
/usr/local/share/gems/gems/dashing-1.3.4/lib/dashing/downloader.rb:3:in
'require': cannot load such file -- json (LoadError) from /usr/local/share/gems/gems/dashing-1.3.4/lib/dashing/downloader.rb:3:in
<top (required)>'from /usr/local/share/gems/gems/dashing-1.3.4/lib/dashing.rb:2:in
require' from /usr/local/share/gems/gems/dashing-1.3.4/lib/dashing.rb:2:in
<top (required)>'from config.ru:1:in
require' from config.ru:1:in
block infrom /usr/local/share/gems/gems/rack-1.5.2/lib/rack/builder.rb:55:in
instance_eval' from /usr/local/share/gems/gems/rack-1.5.2/lib/rack/builder.rb:55:in
initialize'from config.ru:1:in
new' from config.ru:1:in
'from /usr/local/share/gems/gems/thin-1.6.3/lib/rack/adapter/loader.rb:33:in
eval' from /usr/local/share/gems/gems/thin-1.6.3/lib/rack/adapter/loader.rb:33:in
load'from /usr/local/share/gems/gems/thin-1.6.3/lib/thin/controllers/controller.rb:182:in
load_rackup_config' from /usr/local/share/gems/gems/thin-1.6.3/lib/thin/controllers/controller.rb:72:in
start'from /usr/local/share/gems/gems/thin-1.6.3/lib/thin/runner.rb:200:in
run_command' from /usr/local/share/gems/gems/thin-1.6.3/lib/thin/runner.rb:156:in
run!'from /usr/local/share/gems/gems/thin-1.6.3/bin/thin:6:in
<top (required)>' from /usr/local/bin/thin:23:in
load'from /usr/local/bin/thin:23:in `'
The text was updated successfully, but these errors were encountered: