`
chengyuanheng
  • 浏览: 19566 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

rake 命令概览

    博客分类:
  • rake
阅读更多
rake db:abort_if_pending_migrations  # Raises an error if there are pending migrations
rake db:charset                      # Retrieves the charset for the current environment's database
rake db:collation                    # Retrieves the collation for the current environment's database
rake db:create                       # Create the database defined in config/database.yml for the current RAILS_ENV
rake db:create:all                   # Create all the local databases defined in config/database.yml
rake db:drop                         # Drops the database for the current RAILS_ENV
rake db:drop:all                     # Drops all the local databases defined in config/database.yml
rake db:fixtures:identify            # Search for a fixture given a LABEL or ID.
rake db:fixtures:load                # Load fixtures into the current environment's database.
rake db:migrate                      # Migrate the database through scripts in db/migrate.
rake db:migrate:down                 # Runs the "down" for a given migration VERSION.
rake db:migrate:redo                 # Rollbacks the database one migration and re migrate up.
rake db:migrate:reset                # Resets your database using your migrations for the current environment
rake db:migrate:up                   # Runs the "up" for a given migration VERSION.
rake db:reset                        # Drops and recreates the database from db/schema.rb for the current environment.
rake db:rollback                     # Rolls the schema back to the previous version.
rake db:schema:dump                  # Create a db/schema.rb file that can be portably used against any DB supported by AR
rake db:schema:load                  # Load a schema.rb file into the database
rake db:sessions:clear               # Clear the sessions table
rake db:sessions:create              # Creates a sessions migration for use with CGI::Session::ActiveRecordStore
rake db:structure:dump               # Dump the database structure to a SQL file
rake db:test:clone                   # Recreate the test database from the current environment's database schema
rake db:test:clone_structure         # Recreate the test databases from the development structure
rake db:test:load                    # Recreate the test database from the current schema.rb
rake db:test:prepare                 # Check for pending migrations and load the test schema
rake db:test:purge                   # Empty the test database
rake db:version                      # Retrieves the current schema version number
rake doc:app                         # Build the app HTML Files
rake doc:clobber_app                 # Remove rdoc products
rake doc:clobber_plugins             # Remove plugin documentation
rake doc:clobber_rails               # Remove rdoc products
rake doc:guides                      # Generate Rails guides
rake doc:plugins                     # Generate documentation for all installed plugins
rake doc:rails                       # Build the rails HTML Files
rake doc:reapp                       # Force a rebuild of the RDOC files
rake doc:rerails                     # Force a rebuild of the RDOC files
rake gems                            # List the gems that this rails application depends on
rake gems:build                      # Build any native extensions for unpacked gems
rake gems:install                    # Installs all required gems for this application.
rake gems:refresh_specs              # Regenerate gem specifications in correct format.
rake gems:unpack                     # Unpacks the specified gem into vendor/gems.
rake gems:unpack:dependencies        # Unpacks the specified gems and its dependencies into vendor/gems
rake log:clear                       # Truncates all *.log files in log/ to zero bytes
rake notes                           # Enumerate all annotations
rake notes:custom                    # Enumerate a custom annotation, specify with ANNOTATION=WTFHAX
rake notes:fixme                     # Enumerate all FIXME annotations
rake notes:optimize                  # Enumerate all OPTIMIZE annotations
rake notes:todo                      # Enumerate all TODO annotations
rake rails:freeze:edge               # Lock to latest Edge Rails, for a specific release use RELEASE=1.2.0
rake rails:freeze:gems               # Lock this application to the current gems (by unpacking them into vendor/rails)
rake rails:unfreeze                  # Unlock this application from freeze of gems or edge and return to a fluid use of system gems
rake rails:update                    # Update both configs, scripts and public/javascripts from Rails
rake rails:update:configs            # Update config/boot.rb from your current rails install
rake rails:update:javascripts        # Update your javascripts from your current rails install
rake rails:update:scripts            # Add new scripts to the application script/ directory
rake routes                          # Print out all defined routes in match order, with names.
rake secret                          # Generate a crytographically secure secret key.
rake stats                           # Report code statistics (KLOCs, etc) from the application
rake test                            # Run all unit, functional and integration tests
rake test:benchmark                  # Run tests for benchmarkdb:test:prepare / Benchmark the performance tests
rake test:functionals                # Run tests for functionalsdb:test:prepare / Run the functional tests in test/functional
rake test:integration                # Run tests for integrationdb:test:prepare / Run the integration tests in test/integration
rake test:plugins                    # Run tests for pluginsenvironment / Run the plugin tests in vendor/plugins/*/**/test (or specify with PLUGIN=name)
rake test:profile                    # Run tests for profiledb:test:prepare / Profile the performance tests
rake test:recent                     # Run tests for recentdb:test:prepare / Test recent changes
rake test:uncommitted                # Run tests for uncommitteddb:test:prepare / Test changes since last checkin (only Subversion and Git)
rake test:units                      # Run tests for unitsdb:test:prepare / Run the unit tests in test/unit
rake time:zones:all                  # Displays names of all time zones recognized by the Rails TimeZone class, grouped by offset.
rake time:zones:local                # Displays names of time zones recognized by the Rails TimeZone class with the same offset as the system local time
rake time:zones:us                   # Displays names of US time zones recognized by the Rails TimeZone class, grouped by offset.
rake tmp:cache:clear                 # Clears all files and directories in tmp/cache
rake tmp:clear                       # Clear session, cache, and socket files from tmp/
rake tmp:create                      # Creates tmp directories for sessions, cache, and sockets
rake tmp:pids:clear                  # Clears all files in tmp/pids
rake tmp:sessions:clear              # Clears all files in tmp/sessions
rake tmp:sockets:clear               # Clears all files in tmp/sockets
分享到:
评论

相关推荐

    rake详解(清晰)

    在这个例子中,`:default`是任务名,`do...end`之间的代码块是任务体,当执行`rake`命令时,如果没有指定任务,就会默认执行`:default`任务。 ### 3. 任务依赖 Rake支持任务间的依赖关系,例如: ```ruby task :...

    Halcon——rake_测量

    使用halcon进行测量,使用的是rake算子;使用halcon进行测量,使用的是rake算子;

    rake-0.8.7

    通过运行`gem install rake-0.8.7.gem`命令,开发者可以将这个特定版本的rake添加到他们的开发环境中。而`rake1-0.8.7.tgz`则是一个压缩包,可能包含了源代码和其他相关文件,用于那些希望从源码编译安装的用户。 ...

    RAKE接收机程序,Rake接收机主要解决,matlab

    RAKE接收机是一种在无线通信系统中用于处理多径衰落信号的重要技术,尤其是在扩频码分多址(CDMA)系统中。它利用多径传播的特性,将来自不同路径的延迟信号分别进行接收和合并,从而提高信号的接收质量。在本压缩包...

    rake-0.8.7.tgz

    安装这个版本的rake,开发者通常需要解压文件,然后使用gem(Ruby的包管理器)进行安装,命令可能类似于`gem install rake-0.8.7.gem`。确保安装正确后,就可以在Rails环境中使用rake来执行各种项目任务。 值得注意...

    rake接收matlab仿真

    rake接收matlab仿真 rake接收(多径分集技术)是一种常用的信道分集技术,通过在接收端对信号进行分集和合并,以提高信道容量和抗干扰能力。Matlab仿真程序是使用Matlab语言编写的仿真程序,用于模拟rake接收机的...

    mess_organizer:使用简单的 rake 命令组织您的文档

    使用简单的 rake 命令整理您的桌面、下载和其他杂乱文件夹。 简单有效。 用法 在开始使用 Mess Organizer 之前,您需要在您的操作系统上安装和 。 如果你已经安装了 Rake gem,只需将这个 repo 克隆到你想要组织的...

    matlab rake

    标题中的“matlab rake”指的是使用MATLAB编程实现的RAKE接收机,这是一种在无线通信系统中常用于多径衰落信道下的信号接收技术。RAKE接收机通过合并来自不同传播路径的信号副本,有效地利用了多径分集,从而提高...

    rake接收机程序

    RAKE接收机是一种在无线通信系统中,特别是用于3G(第三代)移动通信网络中的关键技术。它主要用于CDMA(码分多址)系统,通过利用多径传播的优点来提高信号的接收质量和系统的容量。RAKE接收机的工作原理是将来自...

    RAKE接收技术的Matlab仿真实验(附源码).docx

    RAKE接收技术是移动通信,特别是第三代CDMA(码分多址)系统中用来对抗多径衰落的重要手段。在CDMA系统中,信号的宽带特性导致了复杂的多径传播,这会严重影响通信质量。RAKE接收机利用了多径分集的原理,能够从时间...

    RAKE关键词提取python代码

    安装`RAKE`库的命令为: ```bash pip install git+https://github.com/aneesha/RAKE.git ``` 使用时,首先需要导入`RAKE`模块,然后创建`RAKE`对象,加载停用词列表,接着对文本进行处理并提取关键词: ```python ...

    扩频多径信道下RAKE接收机的性能分析(matlab仿真)

    扩频多径信道下RAKE接收机的性能分析(matlab仿真) 本文主要研究了扩频多径信道下RAKE接收机的性能分析,通过使用MATLAB软件进行仿真,比较了不同的合并方式和分集重数对RAKE接收机性能的影响。 首先,文章介绍了...

    Rake接收机性能仿真(与非Rake接收机对比).pdf

    RAKE接收机是一种在CDMA(码分多址)移动通信系统中用于对抗多径衰落的重要技术。它通过在时间域中分离并合并多径信号来提高接收性能。Rake接收机的基本思想是对到达的不同路径上的信号进行独立处理,然后以某种方式...

    自定义rake工具.zip

    rake工具是用来检测直线的,通过鼠标画一条线,然后工具根据已设定好的参数去附近区域寻找并拟合直线,返回这条直线。两条直线就可以计算交点了。 rake工具封装了三个函数来完成,代码不少,下面我就来展示详细的...

    BPPM-rake1.rar_BPPM_Rake接收机_rake_th rake

    标题中的"BPPM-rake1.rar"指的是使用BPPM(Binary Phase Shift Keying - Rake)调制技术的RAKE接收机的相关研究,而"rake_th rake"可能是对特定类型的RAKE接收机或算法的标识,可能是"Time-Hopping RAKE"的简写。...

    Rake接收机 Matlab程序仿真

    在无线通信领域,Rake接收机是一种用于处理多径衰落信道的高效接收技术,尤其是在扩频系统和CDMA(码分多址)系统中广泛应用。本篇将详细讲解Rake接收机的工作原理,结合Matlab进行仿真,并探讨分集接收与合并技术。...

    短波通信中的Rake接收技术

    "短波通信中的Rake接收技术" 短波通信中的Rake接收技术是指在短波扩频通信中,利用多径信号的有效能量提高输出信噪比,改善短波通信质量的技术。该技术可以将多径信号进行识别和分离,提高接收信号的信噪比,达到...

    基于Halcon,鸟叔的spoke和rake函数

    在本主题中,我们聚焦于"基于Halcon,鸟叔的spoke和rake函数",这两个函数是鸟叔(一位在机器视觉社区中有影响力的专家)针对Halcon进行的特定封装,以帮助用户更方便地进行边缘检测和圆形特征的查找。 首先,让...

    rake接收机的基本原理

    "RAKE 接收机的基本原理" RAKE 接收机是 CDMA 扩频系统中的一种经典的分集接收器,其原理是基于多径信号的自相关特性。CDMA 扩频码在选择时就要求它有很好的自相关特性,使得信道带宽远远大于信道的平坦衰落带宽。 ...

Global site tag (gtag.js) - Google Analytics