Skip to content

Unable to get sync_example to run with updated Ruby, Rails and Gem versions #11

@PeterRichardsWA

Description

@PeterRichardsWA

If I download this app and try and run bundle on the project, following the instructions stated in the readme, bundle fails with two of the gems when attempting to bundle under:

ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]
Rails 4.2.5
Bundler version 1.10.6
gem 2.5.0

Gems with bundle errors:
eventmachine
kgio
sqlite3

they throw long errors and state "try bundle again once you get 'bundle install -v xxxxxxx' to run without error." Where xxxxxx is one of the gems listed above.

So, I tried a one version step update on each gem and ended up getting the bundle to proceed without error using sqlite3 1.3.11, eventmachine 1.0.4 and kgio 2.10.0 after setting them in the Gemfile.lock file on the master listing for the respective gems.

I then ran Faye in one terminal window, and started rails server in another after seeding the database.

The server responds, and allows me to log into the system. However, when I log into the system as one of the test accounts for User, the edits do not reflect live and in real time. I can see the changes in the terminal window for the rails server sqlite log executing ok....but the web page does NOT update. There is no reload of the page when clicking on the check mark. there is no flash message notice. the only way for the row to reflect the todo task to show completed, is to do a manual refresh of the page. the page then shows the correct info, showing the change, etc. A secondary chrome browser on the same page does not show the update.

I am trying to get sync_example to run under an updated version of the gems, the latest Ruby, Rails, Bundle and other environment items as well.

I did get this to run on my system when I downgraded Ruby to 1.9.3 and Rails to an old version for the specific build of this app (I think it was 3.x).

Has anyone else been able to update sync_example to a more up to date environment? I love the idea of this system giving live updates on partials with websockets. I don't like the idea of having to go back 2 or 3 versions of dev environments to get it to run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions