Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoMethodError in CamaleonCms::Admin::InstallersController#save #702

Closed
kiwinesian opened this issue Oct 11, 2017 · 9 comments
Closed

NoMethodError in CamaleonCms::Admin::InstallersController#save #702

kiwinesian opened this issue Oct 11, 2017 · 9 comments

Comments

@kiwinesian
Copy link

Hello,

I'm really new to ruby and I thought I'm giving this a go - moving away from Wordpress.
I've got all the requirements installed, running postgres, and local

I managed to get to the setup page, but then after clicking save, I got the following error page.

Any idea what might cause the issue?
I used the installation as per the instruction on GitHub.

screen shot 2017-10-11 at 11 08 12 am

@owen2345
Copy link
Owner

This is a problem for Rails 5, please review the installation steps for rails 5:
https://github.com/owen2345/camaleon-cms#installation

gem 'draper', '~> 3' # only for Rails 5

@kiwinesian
Copy link
Author

aaahhh.. got it!
My apologies for missing that particular commented line.

Spent almost 2 days trying this out actually, so I'm really thankful for your help! :)

Just finished setting up. Logged in into the admin page and got "invalid route" instead of the " Welcome to the admin panel of your site."
Re-logged in and finally got the expected welcome message.
Not sure if this is a bug or something?
PS: I didn't use the gem github - maybe its fixed on the github branch already?

@owen2345
Copy link
Owner

mmm it is strange, if you can reproduce again pls let me know to fix it!
Enjoy Camaleon CMS.

@kiwinesian
Copy link
Author

I just tried to reproduce it - and I couldn't. :
hmmm.. i will let you know if it happens again - probably will do quite a few more runs with different DB. :)
Thanks so much for your help! really appreciate it!
and looking fairly good in the Ruby world! :)

@kiwinesian
Copy link
Author

Hello I'm back,

a little different issue I have when I run it under windows - couldn't get into the admin install page.
I used Rails 5 still with postgresql database.
I promised I have the gem 'draper' this time around.

Any idea what might cause the issue?

failed

@owen2345
Copy link
Owner

Your problem is related to "JavaScript runtime"
try adding this:
gem 'therubyracer'

@kiwinesian
Copy link
Author

Hi Owen,

Thanks for the fast response!
I see that you have commented out the gem 'therubyrace'
I un-commented this line, do bundle install, and the rails s
unfortunately still resolved to the same issue.

Works fine under Mac though.. :S

@kiwinesian
Copy link
Author

aaahhh I managed to get this to work by adding the following line to the Gemfile
gem 'coffee-script-source', '1.8.0'
and it has to be 1.8.0
I tried 1.9.0 and the latest 1.12.0 - both wouldn't work and resulted in the same error.

This works on my Windows 10 x64; but still a bit of a struggle to get it to run on Windows 7 x86.
Will give an update if I find anything else. :)

@owen2345
Copy link
Owner

thanks for keeping me informed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants