你知道如何在我的应用程序中显示 gem 的版本吗?我不需要 rake 任务,我想在管理页面中显示版本。
比如“Gem::Version('bundler')”
Rails服务器运行正常,但rails控制台无法启动......可能出错?
user@user-pc:~/Sites/refcms_test$ bundle install
...#installing
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
user@user-pc:~/Sites/refcms_test$ bundle exec thin start
Using rack adapter
-- DEPRECATION WARNING --
The use of 'Refinery::Plugin#activity=' is deprecated and will be removed at version 3.1.
Thin web server (v1.6.3 codename Protein Powder)
Maximum connections set to 1024
Listening on 0.0.0.0:3000, CTRL+C to stop
Run Code Online (Sandbox Code Playgroud)
服务器运行...但控制台不...
user@user-pc:~/Sites/refcms_test$ bundle install
...#installing
Your bundle is complete!
Use `bundle show [gemname]` to see where …Run Code Online (Sandbox Code Playgroud) 对于PostgreSQL或MySQL的Ruby on Rails中的事务的默认隔离级别是什么?
active_record/connection_adapters /抽象/ database_statements.rb#L173