Giter VIP home page Giter VIP logo

Comments (7)

russellquinn avatar russellquinn commented on July 17, 2024

Hi Kevin, there's nothing "officially" being worked in. If you—or anyone—get something running, let me know! Russell.

from casein.

Kevin-Kawai avatar Kevin-Kawai commented on July 17, 2024

Hi Russell,
I have a working fork that solves the authlogic issue (simply updating it) that I use for one of my projects. I was thinking it might be neat to support actiontext for the admin pages. If you don't mind I would definitely be up for giving rails 6 support a shot!
Kevin

from casein.

russellquinn avatar russellquinn commented on July 17, 2024

Sounds great! If you do go ahead, then keep basic Rails 6 support and Action Text in separate PRs. Otherwise, thanks!

from casein.

Kevin-Kawai avatar Kevin-Kawai commented on July 17, 2024

I keep getting an error with capybara when I try and setup the database tables for development. I'm using the command rake db app:db:migrate app:db:test:prepare to setup development. I keep getting the below error in my terminal.

kevins-MacBook-Pro:casein kevinkawai$ rake app:db:migrate app:db:test:prepare
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - log/capybara_exceptions.log
/Users/kevinkawai/src/open_source/casein_fresh/casein/spec/rails_test_app/config/environment.rb:7:in `<top (required)>'

Caused by:
Errno::ENOENT: No such file or directory @ rb_sysopen - log/capybara_exceptions.log
/Users/kevinkawai/src/open_source/casein_fresh/casein/spec/rails_test_app/config/environment.rb:7:in `<top (required)>'
Tasks: TOP => app:db:migrate => app:db:load_config => app:environment
(See full trace by running task with --trace)

Any idea what I could be doing wrong?

from casein.

russellquinn avatar russellquinn commented on July 17, 2024

Do you get the error if you follow the Casein instructions word for word? Is it just an error from setting up the test database?

from casein.

Kevin-Kawai avatar Kevin-Kawai commented on July 17, 2024

yup, it looks like something to do with how I have the rails environment setup. When I specified the environment I was able to get it to continue.
RAILS_ENV=test rake app:db:migrate app:db:test:prepare

After solving this, rails told me that I can't inherit from ActiveRecord::Migration directly.

StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:

  class CaseinCreateAdminUsers < ActiveRecord::Migration[4.2]
/Users/kevinkawai/src/open_source/casein-fresh/spec/rails_test_app/db/migrate/20141220224414_casein_create_admin_users.rb:3:in `<top (required)>'

Once I fixed this problem I was able to get the database setup and the specs to work. I have a loose feeling that it might have to do with the version of rails the dummy app uses but I'm not really familiar with how it's setup so I'll do some more research. Do you by chance have any guesses on why this happens?

from casein.

matedemorphy avatar matedemorphy commented on July 17, 2024

@Kevin-Kawai have you published the rails 6 supported branch?

from casein.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.